/* Gameplayfire — base */
:root {
  --primary: #0ea5e9;
  --secondary: #06b6d4;
  --accent: #22d3ee;
  --dark: #0d0d14;
  --surface: #16161f;
  --light: #e8e8ec;
  --muted: rgba(255, 255, 255, 0.6);
  --gradient: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #22d3ee 100%);
  --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s ease;
}

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

a {
  text-decoration: none;
}

ul li {
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--light);
  background-color: var(--dark);
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: var(--transition);
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--light);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--light);
  transform: translateY(-2px);
}

section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
section[id] {
  scroll-margin-top: 90px;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
  color: var(--light);
  animation: fade-in-up 0.7s ease-out both;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(12px);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(13, 13, 20, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
  transition: var(--transition);
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--light);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  padding: 120px 0 60px;
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  position: relative;
  z-index: 5;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  animation: fade-in-up 0.6s ease-out both;
  backdrop-filter: blur(8px);
}

.hero-badge span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Heading */
.hero-heading {
  font-size: 4.25rem;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--light);
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fade-in-up 0.7s ease-out 0.1s both;
}

.hero-heading-gradient {
  background: linear-gradient(
    135deg,
    #0ea5e9 0%,
    #22d3ee 40%,
    #a78bfa 70%,
    #0ea5e9 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-gradient-shift 4s ease-in-out infinite;
}

@keyframes hero-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fade-in-up 0.7s ease-out 0.2s both;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-in-up 0.7s ease-out 0.3s both;
}

.btn-hero {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero i {
  font-size: 0.9rem;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding: 20px 36px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  animation: fade-in-up 0.7s ease-out 0.45s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--light);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-value i {
  -webkit-text-fill-color: var(--accent);
  font-size: 1.3rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* Showcase Cards */
.hero-showcase {
  position: relative;
  z-index: 5;
  margin-top: 56px;
  width: 100%;
  animation: fade-in-up 0.8s ease-out 0.55s both;
}

.hero-showcase-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  perspective: 1200px;
}

.hero-showcase-card {
  position: relative;
  width: 280px;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
}

.hero-showcase-card:first-child {
  transform: rotateY(8deg) scale(0.92);
  opacity: 0.7;
}

.hero-showcase-card:last-child {
  transform: rotateY(-8deg) scale(0.92);
  opacity: 0.7;
}

.hero-showcase-card--featured {
  width: 340px;
  height: 230px;
  box-shadow:
    0 12px 48px rgba(14, 165, 233, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(14, 165, 233, 0.2);
  z-index: 2;
}

.hero-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-showcase-card:hover img {
  transform: scale(1.08);
}

.hero-showcase-card:hover {
  transform: rotateY(0deg) scale(1.02) translateY(-6px);
  opacity: 1;
  box-shadow:
    0 16px 56px rgba(14, 165, 233, 0.25),
    0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(14, 165, 233, 0.35);
}

.hero-showcase-card--featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.hero-showcase-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 50%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-showcase-card:hover .hero-showcase-card-shine {
  opacity: 1;
}

/* Background Effects */
.hero-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.2) 0%,
    transparent 70%
  );
  top: -10%;
  right: -5%;
  animation: hero-orb-float-1 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.15) 0%,
    transparent 70%
  );
  bottom: -5%;
  left: -8%;
  animation: hero-orb-float-2 10s ease-in-out infinite;
}

.hero-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(167, 139, 250, 0.12) 0%,
    transparent 70%
  );
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: hero-orb-float-3 7s ease-in-out infinite;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    black 0%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    black 0%,
    transparent 70%
  );
}

@keyframes hero-orb-float-1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-30px, 20px);
  }
  66% {
    transform: translate(20px, -15px);
  }
}

@keyframes hero-orb-float-2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(25px, -20px);
  }
  66% {
    transform: translate(-15px, 25px);
  }
}

@keyframes hero-orb-float-3 {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-25px);
  }
}

/* Global animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Games section */
.games-section {
  background: var(--dark);
  position: relative;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.game-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: fade-in-up 0.6s ease-out both;
}

.game-card:nth-child(1) {
  animation-delay: 0.05s;
}
.game-card:nth-child(2) {
  animation-delay: 0.1s;
}
.game-card:nth-child(3) {
  animation-delay: 0.15s;
}
.game-card:nth-child(4) {
  animation-delay: 0.2s;
}
.game-card:nth-child(5) {
  animation-delay: 0.25s;
}
.game-card:nth-child(6) {
  animation-delay: 0.3s;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(14, 165, 233, 0.3);
}

.game-link {
  display: block;
  color: inherit;
}

.game-thumbnail {
  width: 100%;
  height: 180px;
  background: var(--surface);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.game-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.play-btn {
  padding: 12px 28px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
}

.game-info {
  padding: 20px;
}

.game-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--light);
}

.game-info p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.show-more-wrap {
  text-align: center;
  margin-top: 36px;
}

/* About */
.about-section {
  background: var(--surface);
  position: relative;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 48px;
}

.about-text {
  flex: 1;
}
.about-content .about-image-first {
  order: -1;
}
@media (max-width: 1024px) {
  .about-content .about-image-first {
    order: 0;
  }
}

.about-text h2 {
  text-align: left;
  margin-bottom: 24px;
  color: var(--light);
}

.about-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Gallery */
.gallery-section {
  background: var(--dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--surface);
  transition: var(--transition);
  animation: scale-in 0.6s ease-out both;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* How to play */
.how-to-play-section {
  background: var(--surface);
  padding: 80px 0;
}

.how-to-play-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.how-to-play-section .section-header h2 {
  color: var(--light);
  margin-bottom: 12px;
}

.how-to-play-section .section-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  animation: fade-in-up 0.5s ease-out both;
}

.step:nth-child(1) {
  animation-delay: 0.1s;
}
.step:nth-child(2) {
  animation-delay: 0.2s;
}
.step:nth-child(3) {
  animation-delay: 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.2);
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-content h3 {
  color: var(--light);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* 18+ Disclaimer */
.disclaimer-section {
  background: var(--surface);
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.disclaimer-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(251, 191, 36, 0.08);
  border-left: 4px solid #fbbf24;
  padding: 20px 24px;
  border-radius: 12px;
}

.disclaimer-icon {
  font-size: 1.75rem;
  color: #fbbf24;
  min-width: 36px;
  text-align: center;
}

.disclaimer-text h3 {
  color: #fbbf24;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.disclaimer-text p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.disclaimer-text a {
  color: var(--accent);
  font-weight: 600;
}

/* Safe gaming block */
.safe-gaming {
  background: var(--surface);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.safe-gaming .container {
  text-align: center;
}

.safe-gaming h3 {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 500;
}

.safe-gaming-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.safe-gaming-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  transition: var(--transition);
}

.safe-gaming-logos a:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.safe-gaming-logos img {
  width: 120px;
  height: 50px;
  object-fit: contain;
}

/* Footer */
.footer {
  background: #08080c;
  padding: 60px 0 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 220px;
}

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

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--light);
}

.footer-logo p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  min-width: 140px;
}

.footer-column h4 {
  color: var(--light);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-column a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--light);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gradient);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  margin: 0;
}

/* Game page */
.game-page-hero {
  padding: 100px 0 40px;
  text-align: center;
}

.game-page-hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--light);
}

.game-iframe-wrap {
  max-width: 1000px;
  margin: 0 auto 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background: #000;
  aspect-ratio: 16/10;
}

.game-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.game-how-to-play {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px;
  background: var(--surface);
  border-radius: 16px;
  margin-bottom: 40px;
}

.game-how-to-play h2 {
  color: var(--light);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.game-how-to-play p,
.game-how-to-play ul {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.game-how-to-play ul {
  padding-left: 24px;
}

/* Static content */
.static-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 32px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.static-content section {
  padding: 0;
  margin-bottom: 28px;
}

.static-content h1 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 16px;
  color: var(--light);
}

.static-content h2 {
  font-size: 1.35rem;
  margin: 24px 0 12px;
  color: var(--accent);
}

.static-content p,
.static-content li {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.static-content ul {
  padding-left: 24px;
}

/* Page main (inner pages) */
.page-main {
  padding: 100px 0 60px;
  min-height: 50vh;
}
.page-title {
  margin-bottom: 12px;
}
.page-lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.form-success {
  margin-top: 20px;
  padding: 16px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 12px;
  color: var(--accent);
  text-align: center;
}

/* Popups: hidden by default so they never flash before JS runs */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.25s,
    opacity 0.25s;
}
.popup-overlay.is-visible {
  visibility: visible;
  opacity: 1;
}
.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}
.popup-box {
  position: relative;
  width: 90%;
  max-width: 420px;
  padding: 32px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--box-shadow);
}
.popup-title {
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: var(--light);
}
.popup-text {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}
.popup-confirm {
  width: 100%;
}
.popup-cookies-bar {
  align-items: flex-end;
}
.popup-cookies-inner {
  position: relative;
  width: 100%;
  padding: 20px 24px;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  width: fit-content;
  border-radius: 20px;
  margin-bottom: 20px;
}
.popup-cookies-text {
  flex: 1;
  min-width: 200px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.popup-cookies-text a {
  color: var(--accent);
}

.last-updated {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--light);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  background: var(--gradient);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
}

.contact-info {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border-radius: 16px;
}

.contact-info p {
  margin: 8px 0;
  color: var(--muted);
}

.email-link {
  color: var(--accent);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-text h2 {
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
  }
  .footer-logo {
    text-align: center;
  }
  .footer-logo p {
    margin: 0 auto;
  }
  .footer-column {
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero {
    padding: 100px 0 40px;
  }
  .hero-heading {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-stats {
    gap: 20px;
    padding: 16px 20px;
  }
  .hero-stat-value {
    font-size: 1.2rem;
  }
  .hero-showcase-track {
    flex-direction: column;
    gap: 16px;
  }
  .hero-showcase-card,
  .hero-showcase-card--featured {
    width: 100%;
    max-width: 340px;
    height: 200px;
  }
  .hero-showcase-card:first-child,
  .hero-showcase-card:last-child {
    transform: none;
    opacity: 0.85;
  }
  .hero-showcase-card--featured {
    height: 220px;
  }
  .hero-showcase {
    margin-top: 36px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 60px 0;
  }
  .safe-gaming-logos {
    gap: 20px;
  }
  .safe-gaming-logos a,
  .safe-gaming-logos img {
    width: 100px;
    height: 42px;
  }

  .static-content {
    padding: 24px 20px;
    margin: 0 16px;
  }
  .static-content h1 {
    font-size: 1.75rem;
  }
  .game-iframe-wrap {
    aspect-ratio: 4/3;
    margin: 0 16px 32px;
  }
  .page-main {
    padding: 88px 0 40px;
  }
  .popup-cookies-inner {
    flex-direction: column;
    text-align: center;
  }
  .popup-cookies-inner .btn {
    width: 100%;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .animate-float {
    animation: none;
  }
  .hero-heading,
  .hero-heading-gradient,
  .hero-subtitle,
  .hero-badge,
  .cta-buttons,
  .hero-stats,
  .hero-showcase,
  .hero-orb,
  .section-title,
  .game-card,
  .gallery-item,
  .step {
    animation: none;
  }
}
