@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');

:root {
  --brand-dark: #0d1536;
  --brand-primary: #1a2a6c;
  --brand-secondary: #b21f1f;
  --brand-accent: #fdbb2d;
  --brand-light: #f0f4f8;
  --brand-white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  color: #333;
  background: var(--brand-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-dark);
  padding: 0 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.navbar-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.navbar-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(253,187,45,0.3);
  flex-shrink: 0;
}

.navbar-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.navbar-title {
  font-weight: 900;
  font-size: 18px;
  color: var(--brand-white);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-white);
  background: rgba(255,255,255,0.1);
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--brand-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: radial-gradient(circle at center, rgba(26,42,108,0.3), var(--brand-dark) 70%, #000);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-logo {
  width: 120px;
  height: 120px;
  background: var(--brand-accent);
  border-radius: 40px;
  transform: rotate(12deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  box-shadow: 0 0 60px rgba(253,187,45,0.3);
  animation: float 3s ease-in-out infinite;
}

.hero-logo span {
  transform: rotate(-12deg);
  font-weight: 900;
  font-size: 64px;
  color: var(--brand-dark);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-12px) rotate(12deg); }
}

.hero h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--brand-white);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.hero-subtitle {
  color: var(--brand-accent);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.hero-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto 32px;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-accent);
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(253,187,45,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-play:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 32px rgba(253,187,45,0.5);
}

.btn-play svg {
  width: 24px;
  height: 24px;
}

/* ===== STORE BUTTONS ===== */
.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-store:hover {
  transform: scale(1.05);
}

.btn-store svg {
  width: 22px;
  height: 22px;
}

.btn-appstore {
  background: var(--brand-white);
  color: var(--brand-dark);
  box-shadow: 0 4px 24px rgba(255,255,255,0.2);
}

.btn-appstore:hover {
  box-shadow: 0 6px 32px rgba(255,255,255,0.3);
}

.btn-googleplay {
  background: var(--brand-accent);
  color: var(--brand-dark);
  box-shadow: 0 4px 24px rgba(253,187,45,0.4);
}

.btn-googleplay:hover {
  box-shadow: 0 6px 32px rgba(253,187,45,0.5);
}

/* ===== FEATURES ===== */
.features {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}

.features h2 {
  text-align: center;
  font-weight: 900;
  font-size: 28px;
  color: var(--brand-dark);
  margin-bottom: 40px;
}

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

.feature-card {
  background: var(--brand-white);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.feature-card h3 {
  font-weight: 900;
  font-size: 16px;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ===== HOW TO PLAY ===== */
.how-to-play {
  background: var(--brand-dark);
  padding: 64px 24px;
  color: var(--brand-white);
}

.how-to-play-inner {
  max-width: 960px;
  margin: 0 auto;
}

.how-to-play h2 {
  text-align: center;
  font-weight: 900;
  font-size: 28px;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--brand-accent);
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
}

.cta h2 {
  font-weight: 900;
  font-size: 28px;
  color: var(--brand-white);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  font-size: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: #070b1e;
  color: rgba(255,255,255,0.5);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand .navbar-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.footer-brand .navbar-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.footer-brand-name {
  font-weight: 900;
  font-size: 16px;
  color: var(--brand-white);
}

.footer-desc {
  font-size: 13px;
  max-width: 280px;
  line-height: 1.5;
}

.footer-links h4 {
  color: var(--brand-white);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 960px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 12px;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-page h1 {
  font-weight: 900;
  font-size: 32px;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-weight: 900;
  font-size: 20px;
  color: var(--brand-dark);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-primary);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-page p {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-page ul {
  margin: 8px 0 16px 24px;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}

.legal-page ul li {
  margin-bottom: 4px;
}

/* ===== CONTACT PAGE ===== */
.contact-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.contact-page h1 {
  font-weight: 900;
  font-size: 32px;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.contact-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--brand-white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--brand-dark);
  color: var(--brand-white);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 16px;
  transition: transform 0.2s, background 0.2s;
}

.contact-email:hover {
  background: var(--brand-primary);
  transform: scale(1.03);
}

.contact-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.contact-category {
  background: var(--brand-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}

.contact-category-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.contact-category h3 {
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.contact-category p {
  font-size: 12px;
  color: #888;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    flex-direction: column;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

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

  .nav-links a {
    padding: 12px 14px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-logo {
    width: 96px;
    height: 96px;
    border-radius: 32px;
  }

  .hero-logo span {
    font-size: 48px;
  }

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

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-desc {
    max-width: 100%;
  }

  .contact-categories {
    grid-template-columns: 1fr;
  }

  .legal-page h1,
  .contact-page h1 {
    font-size: 26px;
  }
}
