@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,300;1,400;1,500;1,600&family=EB+Garamond:ital,wght@1,400;1,500&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  --blue:   #5BB8D4;
  --gold:   #C9A84C;
  --navy:   #1B2A4A;
  --cream:  #f5f2ec;
  --white:  #ffffff;
  --text:   #2a2a2a;
  --muted:  #888;
  --serif:  'EB Garamond', serif;
  --card-shadow: 0 4px 32px rgba(91,184,212,0.10), 0 1px 6px rgba(0,0,0,0.05);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 860px) {
  :root { --serif: 'Cormorant Garamond', serif; }
}

/* ─── LANG SWITCHER ─── */
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switcher { position: relative; display: flex; align-items: center; }
.lang-current {
  display: none; background: none;
  border: 1.5px solid rgba(91,184,212,0.4);
  color: var(--blue);
  font: 700 0.72rem/1 'Nunito', sans-serif;
  letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 8px; cursor: pointer;
}
.lang-dropdown { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  background: none; border: 1.5px solid transparent;
  color: var(--muted);
  font: 700 0.72rem/1 'Nunito', sans-serif;
  letter-spacing: 0.08em;
  padding: 5px 9px; border-radius: 8px; cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--blue); border-color: rgba(91,184,212,0.3); }
.lang-btn.active { color: var(--blue); border-color: var(--blue); background: rgba(91,184,212,0.07); }
@media (max-width: 860px) {
  .lang-current { display: flex; }
  .lang-dropdown {
    display: none; position: absolute;
    top: calc(100% + 8px); right: 0;
    flex-direction: column; gap: 4px;
    background: rgba(245,242,236,0.97);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(91,184,212,0.15);
    border-radius: 12px; padding: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 200;
  }
  .lang-dropdown.open { display: flex; }
  .lang-btn { width: 100%; text-align: center; }
}

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,242,236,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(91,184,212,0.12);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
@media (min-width: 861px) {
  nav { height: 102px; padding: 0 80px; }
  .nl-main, .nl-dot, .nl-cz { font-size: 42px; }
}
.nav-logo { display: flex; align-items: baseline; gap: 0; text-decoration: none; }
.nl-main { font: 500 28px/1 var(--serif); font-style: italic; color: var(--blue); letter-spacing: -0.3px; }
.nl-dot  { font: 500 28px/1 var(--serif); font-style: italic; color: var(--gold); margin-left: 1px; }
.nl-cz   { font: 300 28px/1 var(--serif); font-style: italic; color: var(--blue); opacity: 0.32; margin-left: -1px; }

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  text-decoration: none;
  font: 600 0.82rem/1 'Nunito', sans-serif;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

/* ─── HERO ─── */
.hero {
  min-height: 92vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 40px;
  padding: 80px 80px 60px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  right: -120px; top: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,184,212,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  left: 30%; bottom: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-text { animation: fadeUp 0.8s ease both; }
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-title {
  font-family: var(--serif);
  font-style: italic; font-weight: 500;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1.05; color: var(--navy);
  margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--blue); font-weight: 500; }
.hero-sub {
  font-size: 1.05rem; line-height: 1.7;
  color: #555; max-width: 460px;
  margin-bottom: 44px; font-weight: 400;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: white;
  text-decoration: none;
  font: 700 0.82rem/1 'Nunito', sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 34px; border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(91,184,212,0.32);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(91,184,212,0.40);
}
.hero-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 2px solid rgba(91,184,212,0.35);
  color: var(--blue); text-decoration: none;
  font: 700 0.82rem/1 'Nunito', sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}
.hero-cta-ghost:hover { border-color: var(--blue); color: var(--navy); }

.hero-image {
  display: flex; justify-content: center; align-items: flex-end;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-fox {
  width: min(420px, 90%);
  filter: drop-shadow(0 24px 48px rgba(91,184,212,0.15));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── DIVIDER ─── */
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(to right, var(--blue), var(--gold));
  border-radius: 2px;
  margin: 0 auto 16px;
}

/* ─── ABOUT ─── */
.about {
  padding: 100px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  background: white;
}
.about-text .section-divider { margin: 0 auto 16px; }
.about-text h2 {
  font-family: var(--serif);
  font-style: italic; font-weight: 500;
  font-size: clamp(36px, 3.5vw, 52px);
  color: var(--navy); margin-bottom: 24px;
  line-height: 1.15; text-align: center;
}
.about-text h2 span:nth-child(2) { color: var(--blue); }
.about-text p {
  font-size: 1rem; line-height: 1.8;
  color: #555; margin-bottom: 18px;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-box {
  background: white; border-radius: 20px;
  padding: 28px 22px 24px;
  border: 1.5px solid rgba(91,184,212,0.13);
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.stat-box:hover {
  box-shadow: 0 8px 28px rgba(91,184,212,0.13);
  transform: translateY(-2px);
}
.stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.stat-icon.blue { background: rgba(91,184,212,0.12); }
.stat-icon.gold { background: rgba(201,168,76,0.12); }
.stat-num {
  font-family: var(--serif); font-style: italic;
  font-size: 36px; font-weight: 400;
  color: var(--blue); line-height: 1;
}
.stat-num.gold { color: var(--gold); }
.stat-num span { color: var(--gold); }
.stat-label {
  font: 700 0.82rem/1.3 'Nunito', sans-serif;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.stat-sublabel {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: -6px;
}

/* ─── GALLERY ─── */
.gallery { padding: 100px 80px; }
.gallery-header { text-align: center; margin-bottom: 56px; }
.gallery-header h2 {
  font-family: var(--serif);
  font-style: italic; font-weight: 500;
  font-size: clamp(36px, 3.5vw, 52px);
  color: var(--navy); margin-bottom: 14px;
}
.gallery-header h2 span:nth-child(2) { color: var(--blue); }
.gallery-header p {
  font-size: 0.95rem; color: var(--muted);
  max-width: 480px; margin: 0 auto;
  line-height: 1.7;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }

.game-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  position: relative;
}
.game-card.linkable { cursor: pointer; }
.game-card.linkable:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(91,184,212,0.18), 0 4px 12px rgba(0,0,0,0.06);
}
.game-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; position: relative; overflow: hidden;
}
.game-body {
  padding: 22px 22px 22px;
  flex: 1;
  display: flex; flex-direction: column;
}
.game-tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.game-title {
  font-family: var(--serif);
  font-style: italic; font-size: 1.4rem;
  font-weight: 600; color: var(--navy);
  line-height: 1.2; margin-bottom: 10px;
}
.game-desc {
  font-size: 0.85rem; color: #777;
  line-height: 1.6; flex: 1;
}
.game-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.game-age {
  font-size: 0.72rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.06em;
}
.game-play {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue);
}
.game-play.muted { color: var(--muted); }

.coming-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  color: var(--navy);
  font: 700 0.62rem/1 'Nunito', sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* empty slot card */
.game-card.empty {
  border: 2px dashed rgba(91,184,212,0.25);
  background: transparent;
  box-shadow: none;
  cursor: default;
  min-height: 280px;
  align-items: center; justify-content: center;
}
.game-card.empty:hover { transform: none; box-shadow: none; }
.empty-inner {
  text-align: center; padding: 40px;
  opacity: 0.55;
}
.empty-inner .plus {
  font-size: 2.5rem; color: var(--blue);
  line-height: 1; margin-bottom: 12px;
}
.empty-inner p {
  font-size: 0.8rem; color: var(--muted);
  letter-spacing: 0.06em; font-weight: 600;
  text-transform: uppercase;
}

/* ─── FEEDBACK ─── */
.feedback {
  background: var(--navy);
  padding: 100px 80px;
  text-align: center;
}
.feedback-inner { max-width: 560px; margin: 0 auto; }
.feedback-inner .section-divider { margin: 0 auto 16px; }
.feedback h2 {
  font-family: var(--serif);
  font-style: italic; font-weight: 500;
  font-size: clamp(36px, 3.5vw, 52px);
  color: white; margin-bottom: 20px;
  line-height: 1.15;
}
.feedback p {
  font-size: 1rem; line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}
.feedback-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: white; color: var(--navy);
  text-decoration: none;
  font: 700 0.82rem/1 'Nunito', sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 36px; border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.feedback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}
.feedback-note {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.3) !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.06em;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 64px 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-text { display: flex; align-items: baseline; gap: 0; }
.fl-main { font: 500 42px/1 'Cormorant Garamond', serif; font-style: italic; color: white; }
.fl-dot  { font: 500 42px/1 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); margin-left: 1px; }
.fl-cz   { font: 300 42px/1 'Cormorant Garamond', serif; font-style: italic; color: white; opacity: 0.32; margin-left: -1px; }
.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  nav { padding: 0 24px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(245,242,236,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; gap: 0;
    padding: 16px 0 24px;
    border-bottom: 1px solid rgba(91,184,212,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px 24px; font-size: 0.9rem; }

  .hero { grid-template-columns: 1fr; padding: 60px 28px; text-align: center; }
  .hero-image { order: -1; }
  .hero-fox { width: 240px; }
  .hero-sub { margin: 0 auto 44px; }
  .hero-ctas { flex-direction: column; align-items: center; width: 100%; }
  .hero-cta, .hero-cta-ghost { width: 100%; max-width: 280px; justify-content: center; }

  .about { grid-template-columns: 1fr; padding: 64px 28px; gap: 40px; }
  .about-text { text-align: center !important; }
  .about-text h2, .about-text p { text-align: center !important; }
  .about-stats { grid-template-columns: 1fr; gap: 12px; }
  .stat-num { font-size: 28px; }

  .gallery { padding: 64px 28px; }
  .games-grid { grid-template-columns: 1fr 1fr; }

  .feedback { padding: 64px 28px; }
  footer { flex-direction: column; text-align: center; padding: 40px 28px; }
}
@media (max-width: 540px) {
  .games-grid { grid-template-columns: 1fr; }
}
