@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-deep: #042f2e;
  --coral: #ff6b6b;
  --coral-light: #ff8787;
  --cream: #fef9f3;
  --dark: #0c1e1c;
  --card-bg: #ffffff;
  --text-dark: #1a2e2c;
  --text-mid: #3d5a57;
  --text-light: #6b8a87;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--coral); }

.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.4rem; color: var(--teal); letter-spacing: 0.5px;
}
.logo svg { width: 36px; height: 36px; }

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--text-mid); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a:hover { color: var(--coral); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px; background: var(--teal);
  border-radius: 2px; transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero - split panel */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 68px;
}

.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 48px;
  background: var(--teal-deep); color: #fff;
}

.hero-text h1 {
  font-size: 3rem; font-weight: 800; line-height: 1.15;
  margin-bottom: 20px; color: #fff;
}

.hero-text h1 span { color: var(--coral); }

.hero-text p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 500px; }

.hero-visual {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; position: relative; overflow: hidden;
}

.hero-visual::before {
  content: ''; position: absolute; width: 300px; height: 300px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,0.05);
  top: -80px; right: -80px;
}

.hero-visual::after {
  content: ''; position: absolute; width: 200px; height: 200px;
  border-radius: 50%; border: 30px solid rgba(255,255,255,0.04);
  bottom: -60px; left: -40px;
}

.hero-badges {
  display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 2;
}

.badge {
  background: rgba(255,255,255,0.12); border-radius: 16px;
  padding: 24px 32px; color: #fff; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
}

.badge .icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.badge strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.badge span { font-size: 0.9rem; opacity: 0.8; }

.btn-primary {
  display: inline-block; padding: 14px 38px;
  background: var(--coral); color: #fff; font-weight: 700;
  border-radius: 8px; font-size: 1rem; transition: all 0.3s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--coral-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,107,0.3); color: #fff; }

/* Game Section */
.game-section {
  padding: 80px 28px; background: #fff;
}

.section-header { text-align: center; margin-bottom: 48px; }

.section-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--teal-deep); margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.game-frame {
  max-width: 960px; margin: 0 auto;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 3px solid var(--teal);
}
.game-frame iframe { width: 100%; height: 600px; border: none; display: block; }

/* Card grid */
.card-section { padding: 80px 28px; }

.card-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px;
}

.info-card {
  background: var(--card-bg); padding: 36px 32px;
  border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-left: 4px solid var(--coral);
  transition: transform 0.3s, box-shadow 0.3s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

.info-card .card-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.info-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--teal-deep); margin-bottom: 10px; }
.info-card p { color: var(--text-mid); font-size: 0.95rem; }

/* Ticker */
.ticker-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 48px;
  padding: 48px 28px; background: var(--teal-deep); color: #fff;
}

.ticker-item { text-align: center; }
.ticker-value { font-size: 2.6rem; font-weight: 800; display: block; color: var(--coral); }
.ticker-label { font-size: 0.85rem; opacity: 0.7; margin-top: 4px; }

/* About strip */
.about-strip {
  padding: 80px 28px; background: linear-gradient(to right, var(--cream), #e8f5f3);
}
.about-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
}
.about-inner h2 { font-size: 2rem; font-weight: 800; color: var(--teal-deep); margin-bottom: 20px; }
.about-inner p { color: var(--text-mid); font-size: 1.05rem; margin-bottom: 16px; }

/* Footer */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.6);
  padding: 48px 28px; text-align: center;
}
.footer-nav { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500; }
.footer-nav a:hover { color: var(--coral); }

.footer-responsible { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-responsible p { font-size: 0.85rem; margin-bottom: 10px; }
.responsible-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.responsible-links a { color: var(--coral); font-size: 0.85rem; text-decoration: underline; }

.footer-copy { margin-top: 24px; font-size: 0.78rem; opacity: 0.4; }

/* Age overlay */
.age-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.age-overlay.hidden { display: none; }

.age-box {
  background: #fff; border-radius: 16px; padding: 44px 36px;
  max-width: 420px; width: 100%; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.age-box h2 { font-size: 1.5rem; color: var(--teal-deep); margin-bottom: 14px; }
.age-box p { color: var(--text-mid); margin-bottom: 28px; font-size: 0.95rem; }

.age-buttons { display: flex; gap: 14px; justify-content: center; }
.age-buttons button {
  padding: 12px 34px; border-radius: 8px; font-weight: 700;
  font-size: 1rem; cursor: pointer; font-family: 'Raleway', sans-serif; transition: all 0.3s;
}
.btn-yes { background: var(--teal); color: #fff; border: 2px solid var(--teal); }
.btn-yes:hover { background: var(--teal-dark); }
.btn-no { background: transparent; color: var(--coral); border: 2px solid var(--coral); }
.btn-no:hover { background: rgba(255,107,107,0.1); }

/* Page content */
.page-banner {
  padding: 120px 28px 60px; text-align: center;
  background: var(--teal-deep); color: #fff;
}
.page-banner h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 10px; }
.page-banner p { opacity: 0.7; font-size: 1.05rem; }

.page-content {
  max-width: 860px; margin: 0 auto; padding: 60px 28px;
}
.page-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--teal-deep); margin: 32px 0 14px; }
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content ul, .page-content li { color: var(--text-mid); margin-bottom: 14px; font-size: 0.98rem; }
.page-content ul { padding-left: 24px; }
.page-content li { margin-bottom: 8px; }

/* Play page */
.play-area {
  padding: 100px 28px 60px; max-width: 1100px; margin: 0 auto;
}
.play-area h1 { text-align: center; font-size: 2.2rem; color: var(--teal-deep); margin-bottom: 12px; }
.play-note { text-align: center; color: var(--text-light); margin-bottom: 32px; font-size: 0.95rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 40px 28px; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-visual { min-height: 360px; }
  .game-frame iframe { height: 450px; }
}

@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; width: 100%;
    flex-direction: column; background: rgba(255,255,255,0.98);
    padding: 20px 28px; gap: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text { padding: 32px 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .game-frame iframe { height: 320px; }
  .ticker-bar { gap: 28px; }
  .section-header h2 { font-size: 1.7rem; }
  .page-banner h1 { font-size: 1.9rem; }
}
