/* ============================================
   THERIAN COMMUNITY — CSS Design System
   Mystical Forest / Mobile-First
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --forest-deep: #1a2e1a;
  --forest-green: #2d5a27;
  --forest-light: #3a7d34;
  --earth-brown: #5c3d2e;
  --earth-light: #8b6914;
  --midnight: #0f0f23;
  --midnight-blue: #1a1a3e;
  --gold: #c9a84c;
  --gold-soft: #d4b86a;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --mist: #f5f0e8;
  --mist-dark: #e8e0d0;
  --charcoal: #2a2a2a;
  --charcoal-light: #3d3d3d;
  --fog: #d4cfc4;
  --cream: #faf8f4;
  --white: #ffffff;
  --black-soft: #1a1a1a;
  --success: #4a8c3f;
  --error: #c0392b;
  --overlay: rgba(15, 15, 35, 0.7);
  --overlay-light: rgba(15, 15, 35, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Lora', serif;
  --font-ui: 'Inter', sans-serif;
  --max-width: 1200px;
  --section-padding: 60px 20px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-ui);
}

input,
textarea {
  font-family: var(--font-ui);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.data-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
  margin-left: 6px;
  vertical-align: middle;
}

.data-label--verified {
  background: #d4edda;
  color: #155724;
}

.data-label--estimate {
  background: #fff3cd;
  color: #856404;
}

.data-label--community {
  background: #d1ecf1;
  color: #0c5460;
}

.data-label--general {
  background: #e2e3e5;
  color: #383d41;
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-gold {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(201, 168, 76, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 46, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
}

.logo span {
  color: var(--mist);
  font-weight: 400;
}

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(26, 46, 26, 0.98);
  padding: 20px;
  flex-direction: column;
  gap: 0;
}

.nav-links.active {
  display: flex;
}

.nav-links a {
  color: var(--mist);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--mist);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--overlay), rgba(26, 46, 26, 0.85)),
    url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 100px 20px 60px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  border-radius: 30px;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 .highlight {
  color: var(--gold);
  display: block;
}

.hero .subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.hero .intro-text {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--earth-light));
  color: var(--black-soft);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(201, 168, 76, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--forest-deep);
  border: 2px solid var(--forest-green);
}

.btn-outline:hover {
  background: var(--forest-green);
  color: var(--white);
}

/* --- Section Common --- */
section {
  padding: var(--section-padding);
}

.section-dark {
  background: linear-gradient(135deg, var(--forest-deep), var(--midnight));
  color: var(--mist);
}

.section-dark .section-title {
  color: var(--mist);
}

.section-dark .section-subtitle {
  color: var(--fog);
}

.section-alt {
  background: var(--mist);
}

/* --- Section Background Images --- */
#que-es {
  background: linear-gradient(to bottom, rgba(245, 240, 232, 0.92), rgba(245, 240, 232, 0.88)),
    url('https://images.unsplash.com/photo-1440581572325-0bea30075d9d?w=1920&q=70') center/cover no-repeat;
}

#historia {
  background: linear-gradient(to bottom, rgba(250, 248, 244, 0.90), rgba(250, 248, 244, 0.85)),
    url('https://images.unsplash.com/photo-1476231682828-37e571bc172f?w=1920&q=70') center/cover no-repeat;
}

#tipos {
  background: linear-gradient(to bottom, rgba(245, 240, 232, 0.88), rgba(245, 240, 232, 0.92)),
    url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1920&q=70') center/cover no-repeat;
}

#estadisticas {
  background: linear-gradient(to bottom, rgba(250, 248, 244, 0.88), rgba(250, 248, 244, 0.85)),
    url('https://images.unsplash.com/photo-1507400492013-162706c8c05e?w=1920&q=70') center/cover no-repeat;
}

#comunidad {
  background: linear-gradient(to bottom, rgba(250, 248, 244, 0.90), rgba(250, 248, 244, 0.88)),
    url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?w=1920&q=70') center/cover no-repeat;
}

#faq {
  background: linear-gradient(to bottom, rgba(245, 240, 232, 0.90), rgba(245, 240, 232, 0.88)),
    url('https://images.unsplash.com/photo-1425913397330-cf8af2ff40a1?w=1920&q=70') center/cover no-repeat;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--forest-deep);
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.card-note {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
  margin-top: 10px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* --- What Is Section --- */
.what-is-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.what-not-block {
  background: linear-gradient(135deg, rgba(26, 46, 26, 0.03), rgba(201, 168, 76, 0.05));
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  margin-top: 20px;
}

.what-not-block h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--forest-deep);
  margin-bottom: 12px;
}

.what-not-block li {
  font-size: 0.9rem;
  padding: 6px 0;
  color: #555;
  position: relative;
  padding-left: 20px;
}

.what-not-block li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

/* --- Symbols --- */
.symbols-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.symbol-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.symbol-card .symbol-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.symbol-card .symbol-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--forest-deep);
  margin-bottom: 6px;
}

.symbol-card .symbol-meaning {
  font-size: 0.85rem;
  color: #666;
}

.symbol-card .symbol-note {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
  margin-top: 8px;
  border-top: 1px solid var(--mist-dark);
  padding-top: 8px;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--forest-green), var(--midnight-blue));
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
  z-index: 1;
}

.timeline-year {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--forest-deep);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
}

.timeline-label {
  margin-top: 4px;
}

/* --- Gallery / Theriotypes --- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}

.filter-chip {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--fog);
  color: #666;
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--forest-green);
  color: var(--white);
  border-color: var(--forest-green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card-body {
  padding: 20px;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--forest-deep);
  margin-bottom: 6px;
}

.gallery-card-text {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.gallery-card-note {
  font-size: 0.72rem;
  color: #999;
  font-style: italic;
  margin-top: 8px;
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.stat-card {
  padding: 24px;
  text-align: center;
}

.stat-chart {
  margin-bottom: 16px;
}

.donut-chart {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  background: conic-gradient(var(--forest-green) 0% var(--donut-val, 65%), var(--mist-dark) var(--donut-val, 65%) 100%);
}

.donut-chart::after {
  content: attr(data-value);
  position: absolute;
  inset: 20px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--forest-deep);
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.bar-item-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 2px;
  display: flex;
  justify-content: space-between;
}

.bar-item-track {
  height: 8px;
  background: var(--mist-dark);
  border-radius: 4px;
  overflow: hidden;
}

.bar-item-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.5s ease;
}

.bar-fill-green {
  background: linear-gradient(90deg, var(--forest-green), var(--forest-light));
}

.bar-fill-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.bar-fill-blue {
  background: linear-gradient(90deg, var(--midnight-blue), #3a3a7e);
}

.stat-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--forest-deep);
  margin-bottom: 4px;
}

.stat-note {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
}

.stat-source {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 6px;
}

/* --- Discovery/Guide --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding-left: 50px;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--forest-green), var(--forest-deep));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
}

.avoid-block {
  background: rgba(192, 57, 43, 0.05);
  border-left: 4px solid var(--error);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  margin-top: 30px;
}

.avoid-block h3 {
  color: var(--error);
  font-family: var(--font-heading);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.avoid-block li {
  font-size: 0.88rem;
  padding: 4px 0;
  color: #555;
}

/* --- Community --- */
.community-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.value-text p {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* --- FAQ --- */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--mist-dark);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--forest-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .faq-icon {
  font-size: 1.4rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--gold);
  font-family: var(--font-ui);
  font-weight: 300;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* --- CTA Final --- */
.cta-final {
  background: linear-gradient(135deg, var(--forest-deep), var(--midnight));
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
}

.cta-final .section-title {
  color: var(--gold);
  font-size: 2rem;
}

.cta-final .section-subtitle {
  color: var(--fog);
}

.cta-final .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px;
}

.newsletter-form input {
  padding: 14px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* --- GPT Box --- */
.gpt-box {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(45, 90, 39, 0.08));
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 40px auto;
  max-width: 500px;
  text-align: center;
}

.gpt-box h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--forest-deep);
  margin-bottom: 8px;
}

.gpt-box p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 16px;
}

.gpt-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gpt-input-group input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--fog);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.gpt-input-group input:focus {
  outline: none;
  border-color: var(--gold);
}

.gpt-error {
  font-size: 0.8rem;
  color: var(--error);
  display: none;
  margin-top: 4px;
  text-align: left;
}

.gpt-error.show {
  display: block;
}

/* --- Music Player --- */
.music-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
}

.music-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-deep), var(--midnight));
  color: var(--gold);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 2px solid rgba(201, 168, 76, 0.3);
}

.music-toggle:hover {
  transform: scale(1.1);
}

.music-toggle.playing {
  animation: pulse-gold 2s infinite;
  border-color: var(--gold);
}

.music-panel {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: none;
  border: 1px solid var(--mist-dark);
}

.music-panel.open {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.music-panel h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--forest-deep);
  margin-bottom: 12px;
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track-btn {
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--charcoal);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.track-btn:hover {
  background: var(--gold-glow);
}

.track-btn.active {
  background: var(--forest-deep);
  color: var(--gold);
}

.track-btn .track-icon {
  font-size: 1rem;
}

.volume-control {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-control input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  background: var(--fog);
  border-radius: 2px;
  outline: none;
}

.volume-control input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--forest-green);
  border-radius: 50%;
  cursor: pointer;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: var(--charcoal);
  color: var(--mist);
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all var(--transition);
}

.cookie-accept {
  background: var(--gold);
  color: var(--black-soft);
}

.cookie-accept:hover {
  background: var(--gold-soft);
}

.cookie-reject {
  background: transparent;
  color: var(--mist);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-reject:hover {
  border-color: var(--gold);
}

.cookie-config {
  background: transparent;
  color: var(--fog);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- AdSense Placeholder --- */
.ad-slot {
  background: var(--mist);
  border: 2px dashed var(--fog);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: #aaa;
  margin: 30px auto;
  max-width: 728px;
}

.ad-slot--leaderboard {
  min-height: 90px;
}

.ad-slot--rectangle {
  min-height: 250px;
  max-width: 336px;
}

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  color: var(--fog);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  padding: 4px 0;
  opacity: 0.7;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--black-soft);
  border-color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.6;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin-top: 12px;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: var(--forest-deep);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 800;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--gold);
  color: var(--black-soft);
}

/* =============================================
   RESPONSIVE — Tablet (768px+)
   ============================================= */
@media (min-width: 768px) {
  :root {
    --section-padding: 80px 40px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .cards-grid,
  .what-is-cards,
  .symbols-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form {
    flex-direction: row;
  }

  .gpt-input-group {
    flex-direction: row;
  }

  .cookie-banner .container {
    flex-direction: row;
    align-items: center;
  }
}

/* =============================================
   RESPONSIVE — Desktop (1024px+)
   ============================================= */
@media (min-width: 1024px) {
  :root {
    --section-padding: 100px 40px;
  }

  .nav-links {
    display: flex;
    position: static;
    background: none;
    padding: 0;
    flex-direction: row;
    gap: 4px;
    width: auto;
  }

  .nav-links a {
    padding: 8px 14px;
    border-bottom: none;
    border-radius: var(--radius-sm);
  }

  .hamburger {
    display: none;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .symbols-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =============================================
   RESPONSIVE — Wide (1280px+)
   ============================================= */
@media (min-width: 1280px) {
  .hero h1 {
    font-size: 4rem;
  }

  .container {
    padding: 0 40px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- Print --- */
@media print {

  .header,
  .music-player,
  .cookie-banner,
  .scroll-top,
  .ad-slot {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}