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

:root {
  --gold:  #e8b84b;
  --gold2: #f0d060;
  --dark:  #0d0d0f;
  --dark2: #13151a;
  --text:  #cdd4e0;
  --nav-h: 60px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(10, 14, 26, 0.97);
  border-bottom: 1px solid rgba(232, 184, 75, 0.15);
  backdrop-filter: blur(6px);
}

.nav-logo img { height: 36px; display: block; }

/* hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* animate to X when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* nav links (desktop) */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li { position: relative; }

.nav-links > li > a {
  display: block;
  padding: 0 0.9rem;
  line-height: var(--nav-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--text);
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); }

/* dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: var(--nav-h); left: 0;
  background: rgba(10, 14, 26, 0.98);
  border: 1px solid rgba(232, 184, 75, 0.2);
  min-width: 150px;
  list-style: none;
  z-index: 300;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
}

.dropdown-menu a:hover { color: var(--gold); }

/* ── Hero ── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(to right, rgba(10,14,26,0.93) 40%, rgba(10,14,26,0.5) 100%),
    url('bg.png') center/cover no-repeat;
}

.hero-content {
  max-width: 560px;
  width: 100%;
  padding: 3rem 2rem;
  margin-left: clamp(2rem, 10vw, 12vw);
  margin-right: auto;
}

.hero-content h1 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--gold);
  text-shadow: 0 2px 24px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-content p {
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  color: #b0bccc;
  margin-bottom: 2rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.75rem 2.8rem;
  background: url('button.png') center/100% 100% no-repeat;
  border: none;
  color: #e8f0ff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  transition: filter 0.2s, transform 0.15s;
  touch-action: manipulation;
  min-width: 160px;
  text-align: center;
}

.btn:hover, .btn:active {
  filter: brightness(1.25);
  transform: scale(1.04);
  color: #fff;
}

/* ── Sections ── */
.section {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.2rem, 5vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.section-dark {
  background: var(--dark2);
  padding: clamp(3rem, 8vw, 5rem) clamp(1.2rem, 5vw, 5rem);
}

.section-dark .inner { max-width: 1100px; margin: 0 auto; }

.section h2,
.section-dark h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.07em;
  margin-bottom: 1.8rem;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}

.about-text {
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  color: var(--text);
  max-width: 680px;
  line-height: 1.85;
}

.contact-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  word-break: break-all;
}

/* ── Games grid ── */
.games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.game-card {
  width: clamp(240px, 100%, 280px);
  background: var(--dark2);
  border: 1px solid rgba(232, 184, 75, 0.2);
  overflow: hidden;
}

.game-card-img {
  height: 150px;
  background: linear-gradient(135deg, #1a2540, #0d1220);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.4rem 0.9rem;
}

.game-card-body { padding: 1.1rem; }
.game-card-body h3 { color: var(--gold2); margin-bottom: 0.5rem; font-size: 1rem; }
.game-card-body p  { font-size: 0.85rem; color: #8a96aa; }

/* ── Footer ── */
.footer {
  background: #08090d;
  border-top: 1px solid rgba(232, 184, 75, 0.12);
  text-align: center;
  padding: 2.5rem 1rem;
  color: #555e70;
  font-size: 0.82rem;
}

.footer-logo { height: 32px; margin-bottom: 1rem; opacity: 0.65; }
.footer p { margin-bottom: 0.3rem; }
.footer a { color: #667; }
.footer a:hover { color: var(--gold); }

/* ── Privacy Policy ── */
.policy-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 1.5rem 5rem;
}

.policy-wrapper h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.policy-date { font-size: 0.82rem; color: #556; margin-bottom: 2.5rem; }

.policy-wrapper h2 {
  font-size: 1rem;
  color: var(--gold2);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.policy-wrapper p,
.policy-wrapper li { color: #9aa4b4; line-height: 1.8; margin-bottom: 0.5rem; }
.policy-wrapper ul { padding-left: 1.4rem; margin-bottom: 0.5rem; }
.policy-wrapper a  { color: var(--gold); }

/* ── Mobile nav ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10, 14, 26, 0.99);
    border-bottom: 1px solid rgba(232, 184, 75, 0.15);
    padding: 0.5rem 0 1rem;
    z-index: 199;
  }

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

  .nav-links > li > a {
    line-height: 1;
    padding: 0.9rem 1.5rem;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  /* inline dropdown on mobile */
  .dropdown-menu {
    display: block;
    position: static;
    background: rgba(255,255,255,0.03);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .dropdown-menu a { padding: 0.75rem 2.5rem; font-size: 0.78rem; }

  /* hero on mobile: darken more so text is readable */
  .hero {
    background:
      linear-gradient(rgba(10,14,26,0.88), rgba(10,14,26,0.88)),
      url('bg.png') center/cover no-repeat;
    align-items: flex-start;
  }

  .hero-content { padding: 2.5rem 1.4rem; }
}
