/* Bible Quiz - Terms & Policies Style */
/* Navy Blue + Gold Theme */

:root {
  /* Primary Colors - Navy Blue Theme */
  --primary: #1A237E;
  --primary-light: #3949AB;
  --primary-dark: #0D1642;

  /* Secondary Colors - Gold Theme */
  --secondary: #C9A227;
  --secondary-light: #D4AF37;
  --accent: #B8860B;

  /* Light Mode */
  --background: #FAF8F5;
  --surface: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #757575;
  --border: #E0E0E0;

  /* Feedback */
  --correct: #4CAF50;
  --wrong: #F44336;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #121212;
    --surface: #1E1E1E;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --border: #333333;
    --primary-light: #5C6BC0;
  }
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: var(--primary);
}

.lang-btn svg {
  width: 16px;
  height: 16px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  transition: background 0.2s;
}

.lang-option:hover {
  background: var(--secondary-light);
  color: var(--text-primary);
}

.lang-option.active {
  background: var(--secondary);
  color: #1A1A1A;
  font-weight: 600;
}

/* Content Sections */
.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

main {
  padding-bottom: 40px;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.effective-date {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  color: var(--text-primary);
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
  color: var(--text-primary);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Info Cards */
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

.info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

/* Support Page Specific */
.app-info {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 32px;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
}

.app-details h3 {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
}

.app-details p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

/* FAQ */
.faq-section {
  margin-top: 32px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  color: var(--text-secondary);
  padding-left: 16px;
  border-left: 3px solid var(--secondary);
}

/* Contact Card */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 12px;
  margin: 24px 0;
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.contact-card .info h4 {
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card .info a {
  color: var(--secondary-light);
  font-weight: 500;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
  .container {
    padding: 16px;
  }

  header {
    flex-direction: column;
    gap: 16px;
  }

  .logo h1 {
    font-size: 1.25rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .app-info {
    flex-direction: column;
    text-align: center;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }
}
