:root {
  --bg-color: #0F1115;
  --bg-color-alt: #16191E;
  --text-color: #E2E8F0;
  --text-muted: #94A3B8;
  --accent-color: #FF7B00;
  --accent-hover: #FF9833;
  --border-color: #334155;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --glow: 0 0 15px rgba(255, 123, 0, 0.4);
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.text-accent {
  color: var(--accent-color);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--accent-color);
  color: #000;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 123, 0, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(15, 17, 21, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-color);
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
}

.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s;
}

.lang-btn.active {
  color: var(--accent-color);
}

.lang-btn:hover {
  color: var(--text-color);
}

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}


.hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url('../images/bg_hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 17, 21, 0.85);
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: #fff;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.hero-images img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 16px;
}


@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 15px rgba(255, 123, 0, 0.4);
  }

  50% {
    box-shadow: 0 0 30px rgba(255, 123, 0, 0.8);
  }

  100% {
    box-shadow: 0 0 15px rgba(255, 123, 0, 0.4);
  }
}

.floating-img {
  animation: float 4s ease-in-out infinite;
}

.pulse-btn {
  animation: pulse-glow 2s infinite;
}


.games-section {
  padding: 80px 0;
  background: var(--bg-color-alt);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.game-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: var(--glow);
}

.game-thumb {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  overflow: hidden;
}

.game-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.05);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.play-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.5rem;
  box-shadow: var(--glow);
  padding-left: 5px;
}

.game-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.game-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.game-btn {
  width: 100%;
}


.info-section {
  padding: 80px 0;
  background-image: url('../images/bg_info.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 17, 21, 0.85);
  z-index: 0;
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.info-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.info-images {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.info-images img {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  object-fit: cover;
}


.reviews-section {
  padding: 80px 0;
  background: var(--bg-color-alt);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--bg-color);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-color);
}

.review-author {
  font-weight: bold;
  color: var(--accent-color);
}


.quiz-section {
  padding: 80px 0;
}

.quiz-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-color-alt);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.quiz-question {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quiz-options button {
  width: 100%;
}

.quiz-result {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-color);
}


.footer {
  background: #0A0C0F;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.footer-disclaimer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 900px;
  margin: 0 auto;
}

.footer-disclaimer strong {
  color: var(--text-color);
}

.footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.age-icon-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--text-color);
  color: var(--text-color);
  font-weight: 800;
  font-size: 1.2rem;
  opacity: 0.7;
}

.footer-badges img {
  opacity: 0.7;
  height: 24px;
  transition: opacity 0.3s;
  filter: invert(1) brightness(2);
}

.footer-badges a:hover img {
  opacity: 1;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 20px;
}


.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 12, 15, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.age-gate.hidden {
  display: none;
}

.age-gate-box {
  background: var(--bg-color-alt);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.age-gate-badge {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.age-gate-title {
  font-size: 1.75rem;
  margin-bottom: 15px;
}

.age-gate-text {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.age-gate-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.age-gate-actions button {
  flex: 1;
}

.age-gate-help {
  font-size: 0.8rem;
  color: var(--text-muted);
}


.under18-msg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0A0C0F;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.under18-msg.hidden {
  display: none;
}


.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22, 25, 30, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-color);
  padding: 16px 20px;
  border-radius: 12px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--glow);
  width: calc(100% - 32px);
  max-width: 720px;
  box-sizing: border-box;
}

.cookie-popup.hidden {
  display: none;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-color);
  flex: 1;
  min-width: 0;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .cookie-popup {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-text {
    font-size: 0.85rem;
    text-align: center;
  }

  .cookie-actions {
    justify-content: center;
  }

  .cookie-actions .btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}


@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-color);
    flex-direction: column;
    padding: 40px 20px;
    transition: left 0.3s ease;
  }

  .nav.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
  }

  .nav-links a {
    font-size: 1.25rem;
  }

  .lang-switch {
    margin-top: 40px;
  }

  .age-gate-actions {
    flex-direction: column;
  }
}


.page-header {
  padding: calc(var(--header-height) + 60px) 0 40px;
  text-align: center;
  background: var(--bg-color-alt);
  border-bottom: 1px solid var(--border-color);
}

.page-content {
  padding: 60px 15px;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  margin: 30px 0 15px;
  color: var(--text-color);
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.page-content ul {
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: disc;
}

@media (max-width: 480px) {

  .games-grid,
  .reviews-grid {
    grid-template-columns: minmax(100%, 1fr);
  }
}