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

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

:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-card: #0f3460;
  --bg-header: #2d1b69;
  --accent-yellow: #e2ff04;
  --accent-pink: #e91e84;
  --text-white: #ffffff;
  --text-muted: #8b8fa3;
  --nav-bg: #3d2a7c;
  --footer-bg: #0d1117;
  --border-color: rgba(255,255,255,0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-primary);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.logo img {
  height: 40px;
}

.header-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-register {
  background: var(--accent-yellow);
  color: #1a1a2e;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(226,255,4,0.3);
}

.btn-login {
  background: transparent;
  color: var(--text-white);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 36px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-login:hover {
  border-color: var(--text-white);
  background: rgba(255,255,255,0.05);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: var(--text-white);
  border-radius: 3px;
  transition: 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* TOP NAV */
.top-nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.top-nav-links {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0 40px;
  overflow-x: auto;
}

.top-nav-links a {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  padding: 16px 24px;
  color: var(--text-white);
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.top-nav-links a.highlight {
  color: var(--accent-yellow);
}

.top-nav-links a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--accent-yellow);
}

/* HERO BANNER */
.hero {
  position: relative;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2d1b69 0%, #1a1a2e 40%, #e91e84 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 60px;
  max-width: 500px;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-content .btn-cta {
  display: inline-block;
  background: var(--accent-yellow);
  color: #1a1a2e;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 40px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.hero-content .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(226,255,4,0.35);
}

/* GAME NAV */
.game-nav {
  background: var(--nav-bg);
  border-radius: 16px;
  margin: 30px 40px 0;
  padding: 8px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  align-items: center;
}

.game-nav .nav-link {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
  color: var(--text-white);
  background: transparent;
  border: none;
}

.game-nav .nav-link.active {
  color: var(--accent-yellow);
  background: rgba(226,255,4,0.08);
}

.game-nav .nav-link:hover {
  background: rgba(255,255,255,0.08);
}

/* GAMES GRID */
.games-section {
  padding: 30px 40px;
}

.games-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.games-toolbar span {
  font-size: 14px;
  color: var(--text-muted);
}

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

.game-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  aspect-ratio: 4/3;
  background: var(--bg-card);
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

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

.game-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.game-card:hover .overlay {
  opacity: 1;
}

.overlay .btn-play {
  background: var(--accent-yellow);
  color: #1a1a2e;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 48px;
  border-radius: 50px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.game-card .game-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* BONUS BANNER */
.bonus-banner {
  margin: 40px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--accent-yellow);
  background: linear-gradient(135deg, #2d1b69, #1a1a2e);
  display: flex;
  align-items: center;
  min-height: 180px;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.bonus-banner:hover {
  box-shadow: 0 0 40px rgba(226,255,4,0.15);
}

.bonus-banner-text {
  padding: 40px 50px;
  z-index: 2;
  flex: 1;
}

.bonus-banner-text .bonus-banner-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--accent-yellow);
  margin-bottom: 4px;
}

.bonus-banner-text .bonus-banner-subtitle {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-white);
  margin-bottom: 20px;
}

.bonus-banner-text .btn-details {
  display: inline-block;
  background: var(--accent-yellow);
  color: #1a1a2e;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 32px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.bonus-banner-text .btn-details:hover {
  transform: translateY(-2px);
}

.bonus-banner-img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 40%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}

/* PAYMENTS */
.payments-section {
  padding: 30px 40px 20px;
  border-top: 1px solid var(--border-color);
}

.payments-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.payments-row img {
  height: 32px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.payments-row img:hover {
  opacity: 1;
}

/* SEO SECTION */
.seo-section {
  padding: 50px 40px 40px;
  max-width: 960px;
  margin: 0 auto;
}

.seo-section h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 30px;
  margin-bottom: 12px;
  color: var(--accent-yellow);
  line-height: 1.3;
}

.seo-date {
  margin-bottom: 20px;
}

.seo-date time {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.seo-section h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 36px 0 14px;
  color: var(--accent-yellow);
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.seo-section h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 24px 0 10px;
  color: var(--text-white);
}

.seo-section p, .seo-section li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.seo-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.seo-section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.seo-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-yellow);
  font-size: 14px;
}

.seo-section ul li p {
  margin-bottom: 0;
}

.seo-table-scroll {
  overflow-x: auto;
  margin: 16px 0 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.seo-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(15,52,96,0.4);
}

.seo-section table thead th {
  background: var(--nav-bg);
  color: var(--accent-yellow);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid rgba(226,255,4,0.2);
}

.seo-section table tbody td {
  padding: 12px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  line-height: 1.5;
}

.seo-section table tbody tr:last-child td {
  border-bottom: none;
}

.seo-section table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

.seo-img-block {
  margin: 24px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.seo-img-block:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.seo-img-block img {
  width: 100%;
  display: block;
}

.faq-block {
  margin-top: 16px;
}

.faq-item {
  background: rgba(15,52,96,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(226,255,4,0.2);
}

.faq-item h3 {
  margin: 0 0 8px;
  padding-top: 0;
  border-top: none;
  color: var(--text-white);
  font-size: 17px;
}

.faq-item p {
  margin-bottom: 0;
}

/* FOOTER */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 30px 40px 20px;
}

.footer-social a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.footer-social img {
  width: 40px;
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 60px;
  padding: 20px 40px 30px;
  justify-content: center;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-white);
}

.footer-devs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 40px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.footer-devs img {
  height: 24px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-devs img:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom .footer-logo img {
  height: 36px;
}

.footer-bottom .age-badge {
  background: var(--accent-yellow);
  color: #1a1a2e;
  font-weight: 800;
  font-size: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* RESPONSIVE */
@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-bg { width: 55%; }
}

@media (max-width: 768px) {
  .header { padding: 12px 20px; }
  .mobile-menu-btn { display: flex; }

  .top-nav-links {
    display: none;
    flex-direction: column;
    padding: 0;
  }
  .top-nav-links.open {
    display: flex;
  }
  .top-nav-links a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .hero { min-height: 280px; }
  .hero-bg { width: 50%; opacity: 0.5; }
  .hero-content { padding: 40px 20px; }
  .hero-content h1 { font-size: 24px; }

  .game-nav { margin: 20px 16px 0; padding: 6px; gap: 2px; }
  .game-nav .nav-link { padding: 10px 16px; font-size: 13px; }

  .games-section { padding: 20px 16px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .bonus-banner { margin: 20px 16px; flex-direction: column; min-height: auto; }
  .bonus-banner-text { padding: 24px; }
  .bonus-banner-text h2 { font-size: 22px; }
  .bonus-banner-text h3 { font-size: 18px; }
  .bonus-banner-img { position: relative; width: 100%; height: 200px; }

  .payments-section { padding: 20px 16px; }
  .payments-row { gap: 16px; }
  .payments-row img { height: 24px; }

  .seo-section { padding: 24px 16px; }
  .seo-section h1 { font-size: 24px; }
  .seo-section h2 { font-size: 20px; }
  .seo-section table { font-size: 13px; }
  .seo-section table thead th { padding: 10px 12px; font-size: 12px; }
  .seo-section table tbody td { padding: 10px 12px; }
  .faq-item { padding: 16px; }

  .footer-links { flex-direction: column; gap: 24px; padding: 20px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding: 20px; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .btn-register { padding: 10px 24px; font-size: 14px; }
  .btn-login { padding: 10px 24px; font-size: 14px; }
}
