/* ============================================================
   DINOSSAUROS FOFOS — style.css
   Paleta: Rosa, Verde-menta, Lilás, Amarelo-bebê, Pastel
   Fonte: Fredoka One, Nunito, Pacifico
   ============================================================ */

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

:root {
  /* Paleta Pastel */
  --pink:        #FFB6C1;
  --pink-dark:   #FF8FA3;
  --pink-light:  #FFE4EA;
  --mint:        #B5EAD7;
  --mint-dark:   #6DD4B0;
  --mint-light:  #E0FBF2;
  --lavender:    #C7B8EA;
  --lavender-dark: #A390D4;
  --lavender-light: #EDE8FC;
  --yellow:      #FFEAA7;
  --yellow-dark: #FDCB6E;
  --yellow-light:#FFFBE6;
  --peach:       #FFDAC1;
  --sky:         #C5E8F8;
  --white:       #FFFFFF;
  --off-white:   #FFF9FB;
  --text-dark:   #4A3F5C;
  --text-mid:    #7B6E8E;
  --text-light:  #AFA3BE;

  /* Typography */
  --font-title:  'Fredoka One', cursive;
  --font-fancy:  'Pacifico', cursive;
  --font-body:   'Nunito', sans-serif;

  /* Spacing */
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   32px;
  --radius-xl:   48px;

  /* Shadows */
  --shadow-soft: 0 8px 32px rgba(199, 184, 234, 0.25);
  --shadow-card: 0 4px 20px rgba(180, 160, 210, 0.2);
  --shadow-hover:0 12px 40px rgba(180, 160, 210, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SCROLLBAR FOFA ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--pink-light); }
::-webkit-scrollbar-thumb {
  background: var(--lavender);
  border-radius: 10px;
  border: 2px solid var(--pink-light);
}
::-webkit-scrollbar-thumb:hover { background: var(--lavender-dark); }

/* ============================================================
   KEYFRAMES — ANIMAÇÕES
   ============================================================ */

@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

@keyframes floatingSmall {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(5deg); }
}

@keyframes bouncing {
  0%, 100% { transform: translateY(0px) scale(1); }
  40%       { transform: translateY(-14px) scale(1.05); }
  60%       { transform: translateY(-8px) scale(1.02); }
}

@keyframes beating {
  0%, 100% { transform: scale(1); }
  15%       { transform: scale(1.3); }
  30%       { transform: scale(1); }
  45%       { transform: scale(1.2); }
  60%       { transform: scale(1); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-8deg); }
  75%       { transform: rotate(8deg); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.7); }
  80%  { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50%       { opacity: 0.6; transform: scale(1.2) rotate(20deg); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heartFloat {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-80px) scale(1.5); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(120%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(120%); }
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.04); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes counterBump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); color: var(--pink-dark); }
  100% { transform: scale(1); }
}

/* ---------- ANIMATION CLASSES ---------- */
.floating  { animation: floating  3.5s ease-in-out infinite; }
.bouncing  { animation: bouncing  2.2s ease-in-out infinite; }
.beating   { animation: beating   1.5s ease-in-out infinite; }
.wiggling  { animation: wiggle    1s   ease-in-out infinite; }

/* ============================================================
   HEADER & NAV
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--pink-light);
  box-shadow: 0 2px 20px rgba(199, 184, 234, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-emoji {
  font-size: 2rem;
  display: inline-block;
  animation: wiggle 2s ease-in-out infinite;
}

.logo-text {
  font-family: var(--font-fancy);
  font-size: 1.5rem;
  color: var(--lavender-dark);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-mid);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--lavender-light);
  color: var(--lavender-dark);
}

.nav-link.active {
  background: var(--lavender);
  color: var(--text-dark);
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-btn {
  background: rgba(199, 184, 234, 0.18);
  border: 2px solid rgba(163, 144, 212, 0.35);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 700;
  transition: all 0.3s ease;
  color: var(--lavender-dark);
  letter-spacing: 0.3px;
  line-height: 1;
}

.lang-btn:hover {
  background: var(--lavender-light);
  border-color: var(--lavender-dark);
  transform: scale(1.06);
}

.lang-btn.active {
  background: var(--lavender);
  border-color: var(--lavender-dark);
  color: var(--text-dark);
  transform: scale(1.06);
  box-shadow: 0 3px 12px rgba(163, 144, 212, 0.35);
}

/* Transição suave ao trocar idioma */
[data-i18n] {
  transition: opacity 0.2s ease;
}

[data-i18n].lang-fade {
  opacity: 0;
}

/* ============================================================
   NAV TOGGLE (mobile)
   ============================================================ */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--lavender-dark);
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--lavender-light) 50%, var(--mint-light) 100%);
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.shape-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: shapeFloat 7s ease-in-out infinite;
}

.shape-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--lavender) 0%, transparent 70%);
  top: 50%; right: -80px;
  animation: shapeFloat 9s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  bottom: -60px; left: 30%;
  animation: shapeFloat 6s ease-in-out infinite 1s;
}

.shape-4 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 70%);
  top: 20%; left: 40%;
  animation: shapeFloat 8s ease-in-out infinite 0.5s;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  animation: fadeInUp 0.8s ease both;
}

.hero-tag {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lavender-dark);
  background: var(--lavender-light);
  border: 2px solid var(--lavender);
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  animation: sparkle 2.5s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--pink-dark);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--yellow);
  border-radius: 4px;
  z-index: -1;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hug-counter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 2px solid var(--pink);
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.hug-counter-label {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.hug-counter {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--pink-dark);
  min-width: 50px;
  display: inline-block;
}

/* Hero Dino Side */
.hero-dino {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease 0.3s both;
}

.dino-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dino-emoji {
  font-size: 9rem;
  filter: drop-shadow(0 10px 30px rgba(199, 184, 234, 0.5));
  cursor: pointer;
  transition: transform 0.2s ease;
  display: block;
}

.dino-emoji:hover {
  transform: scale(1.1);
}

.dino-speech {
  background: white;
  border: 2.5px solid var(--pink);
  border-radius: var(--radius-lg);
  padding: 10px 22px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--pink-dark);
  position: relative;
  box-shadow: var(--shadow-soft);
}

.dino-speech::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: var(--pink);
}

.dino-speech::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: white;
}

/* Floating hearts & stars */
.deco-hearts, .deco-stars {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.heart {
  position: absolute;
  font-size: 1.8rem;
}

.h1 { top: 5%;  left: 5%;  animation: floatingSmall 3.2s ease-in-out infinite; }
.h2 { top: 15%; right: 5%; animation: floatingSmall 2.8s ease-in-out infinite 0.5s; }
.h3 { bottom: 20%; left: 8%;  animation: floatingSmall 3.6s ease-in-out infinite 1s; }
.h4 { bottom: 10%; right: 8%; animation: floatingSmall 3s   ease-in-out infinite 0.3s; }

.star {
  position: absolute;
  font-size: 1.4rem;
}

.s1 { top: 30%; left: 0;   animation: sparkle 2.5s ease-in-out infinite; }
.s2 { top: 10%; right: 15%; animation: sparkle 3s   ease-in-out infinite 0.7s; }
.s3 { bottom: 5%; left: 20%; animation: sparkle 2s   ease-in-out infinite 0.3s; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius-xl);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lavender-dark), var(--pink-dark));
  color: white;
  box-shadow: 0 6px 20px rgba(163, 144, 212, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(163, 144, 212, 0.55);
}

.btn-secondary {
  background: white;
  color: var(--lavender-dark);
  border: 2.5px solid var(--lavender);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--lavender-light);
  transform: translateY(-3px);
}

.btn-white {
  background: white;
  color: var(--lavender-dark);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  font-weight: 800;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

/* ============================================================
   STATS SECTION
   ============================================================ */

.stats {
  background: white;
  padding: 40px 0;
  border-bottom: 2px solid var(--pink-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  border: 2px solid var(--pink-light);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--lavender);
  box-shadow: var(--shadow-card);
}

.stat-icon { font-size: 2.2rem; }

.stat-num {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--lavender-dark);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 600;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   DINOS CARDS SECTION
   ============================================================ */

.dinos-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--lavender-light) 100%);
}

.dinos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dino-card {
  border-radius: var(--radius-lg);
  background: white;
  border: 2.5px solid var(--lavender-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 0.6s ease both;
}

.dino-card:nth-child(2) { animation-delay: 0.1s; }
.dino-card:nth-child(3) { animation-delay: 0.2s; }
.dino-card:nth-child(4) { animation-delay: 0.3s; }
.dino-card:nth-child(5) { animation-delay: 0.4s; }
.dino-card:nth-child(6) { animation-delay: 0.5s; }

.dino-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--lavender);
}

.dino-card-inner {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.dino-card-emoji {
  font-size: 4rem;
  transition: transform 0.3s ease;
  display: block;
}

.dino-card:hover .dino-card-emoji {
  transform: scale(1.15) rotate(5deg);
}

.dino-card-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--lavender-dark);
  background: var(--lavender-light);
  border: 1.5px solid var(--lavender);
  padding: 4px 14px;
  border-radius: var(--radius-xl);
}

.dino-card-name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--text-dark);
}

.dino-card-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.dino-card-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.trait {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--yellow-light);
  border: 1.5px solid var(--yellow-dark);
  color: var(--text-dark);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}

.btn-hug {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 143, 163, 0.4);
  transition: all 0.25s ease;
  width: 100%;
}

.btn-hug:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 143, 163, 0.55);
}

.btn-hug:active {
  transform: scale(0.97);
}

/* ============================================================
   QUIZ SECTION
   ============================================================ */

.quiz-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--yellow-light) 100%);
}

.quiz-box {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  box-shadow: var(--shadow-hover);
  border: 3px solid var(--mint);
  text-align: center;
  position: relative;
}

.quiz-deco {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 12px;
  animation: bouncing 2.5s ease-in-out infinite;
}

.quiz-title {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.quiz-desc {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 32px;
}

.quiz-question {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  min-height: 48px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-option {
  padding: 14px 20px;
  border: 2.5px solid var(--lavender-light);
  border-radius: var(--radius-md);
  background: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.quiz-option:hover {
  background: var(--lavender-light);
  border-color: var(--lavender);
  transform: translateY(-2px);
}

.quiz-option.selected {
  background: var(--lavender);
  border-color: var(--lavender-dark);
  color: var(--text-dark);
}

.quiz-result {
  animation: popIn 0.5s ease both;
  background: linear-gradient(135deg, var(--pink-light), var(--lavender-light));
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.quiz-result-emoji { font-size: 4rem; display: block; margin-bottom: 8px; }
.quiz-result-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.quiz-result-desc {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ============================================================
   MOMENTS / GALLERY
   ============================================================ */

.moments-section {
  padding: 90px 0;
  background: var(--off-white);
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.moment-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--pink-light);
  padding: 28px 16px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.moment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pink);
}

.moment-card.big {
  grid-column: span 2;
}

.moment-emoji {
  font-size: 3.2rem;
  display: block;
  margin-bottom: 12px;
  transition: transform 0.3s;
}

.moment-card:hover .moment-emoji {
  transform: scale(1.15);
}

.moment-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-mid);
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--lavender-light) 0%, var(--pink-light) 100%);
}

.cta-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--lavender-dark), var(--pink-dark));
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  color: white;
  box-shadow: 0 16px 60px rgba(163, 144, 212, 0.45);
}

.cta-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.85);
  padding-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: var(--font-fancy);
  font-size: 1.4rem;
  color: white;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--pink); }

.footer-hearts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-heart {
  font-size: 1.3rem;
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ============================================================
   TOAST
   ============================================================ */

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: white;
  border: 2.5px solid var(--pink);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-hover);
  z-index: 9999;
  max-width: 320px;
  display: none;
}

.toast.show {
  display: block;
  animation: toastIn 0.4s ease both;
}

.toast.hide {
  animation: toastOut 0.4s ease both;
}

/* Floating heart on click */
.click-heart {
  position: fixed;
  pointer-events: none;
  font-size: 2rem;
  z-index: 9998;
  animation: heartFloat 1s ease forwards;
}

/* ============================================================
   ABOUT PAGE — PAGE HERO
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--sky) 50%, var(--lavender-light) 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-content {
  max-width: 640px;
  margin: 0 auto 32px;
}

.page-hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--text-dark);
  margin: 16px 0;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
}

.page-hero-dinos {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.ph-dino {
  font-size: 3.5rem;
  display: inline-block;
}

/* ============================================================
   STORY SECTION
   ============================================================ */

.story-section {
  padding: 90px 0;
  background: var(--off-white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}

.story-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.story-dino-big {
  font-size: 8rem;
  filter: drop-shadow(0 10px 30px rgba(199, 184, 234, 0.5));
}

.story-bubble {
  background: var(--yellow);
  border: 2px solid var(--yellow-dark);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-dark);
}

.story-title {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.story-text p {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--pink-light) 100%);
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--lavender), var(--pink));
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
  align-items: flex-start;
}

.timeline-item.left {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-item.right {
  flex-direction: row;
  text-align: left;
  padding-left: calc(50% + 34px);
}

.timeline-item.left {
  padding-right: calc(50% + 34px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  background: white;
  border: 3px solid var(--lavender);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.timeline-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--lavender-light);
  transition: all 0.3s ease;
  flex: 1;
}

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

.timeline-era {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--lavender-dark);
  display: block;
  margin-bottom: 6px;
}

.timeline-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================================
   VALUES
   ============================================================ */

.values-section {
  padding: 90px 0;
  background: var(--off-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 2.5px solid var(--mint-light);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--mint-dark);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 16px;
  transition: transform 0.3s;
}

.value-card:hover .value-icon {
  transform: scale(1.2) rotate(10deg);
}

.value-card h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================================
   TEAM
   ============================================================ */

.team-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--yellow-light) 0%, var(--peach) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  border: 2.5px solid var(--yellow);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--yellow-dark);
}

.team-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 12px;
}

.team-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--yellow-dark);
  margin-bottom: 12px;
}

.team-card p:last-child {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.6;
}

/* ============================================================
   MOBILE NAV (open state)
   ============================================================ */

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  padding: 20px 24px;
  border-bottom: 2px solid var(--pink-light);
  box-shadow: 0 8px 30px rgba(199, 184, 234, 0.25);
  animation: slideDown 0.3s ease both;
  z-index: 99;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text { order: 1; }
  .hero-dino  { order: 2; }

  .hero-buttons, .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons { justify-content: center; }

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

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

  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .timeline::before { left: 28px; }

  .timeline-item.left,
  .timeline-item.right {
    flex-direction: row;
    text-align: left;
    padding-left: 80px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 0;
    transform: none;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-hearts { justify-content: center; }
  .footer-links  { flex-direction: row; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .lang-switcher {
    gap: 0.3rem;
  }

  .lang-btn {
    padding: 0.25rem 0.55rem;
    font-size: 0.75rem;
  }

  .nav-toggle { display: flex; }

  .hero { padding: 60px 0; min-height: auto; }
  .dino-emoji { font-size: 6rem; }

  .dinos-grid { grid-template-columns: 1fr; }

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

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

  .moment-card.big { grid-column: span 2; }

  .quiz-box { padding: 36px 24px; }
  .quiz-options { grid-template-columns: 1fr; }

  .cta-box { padding: 40px 24px; }

  .values-grid { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: 1fr; }

  .page-hero { padding: 70px 0 50px; }
}
