/* neoVantaNetwork.games — Light Casino Design */
/* Fonts: Orbitron, DM Sans | Icons: Font Awesome via cdnjs */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --bg-primary: #faf8f5;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-cream: #f5f1eb;
  --text-primary: #1a1a1a;
  --text-secondary: #5c5c5c;
  --accent: #c9a227;
  --accent-dark: #a67c00;
  --accent-red: #b91c3c;
  --accent-gold: linear-gradient(135deg, #d4af37, #c9a227);
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.25);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Orbitron', sans-serif;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 162, 39, 0.2); }
  50% { box-shadow: 0 0 40px rgba(201, 162, 39, 0.35); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-link .accent {
  color: var(--accent);
}

.logo-link img {
  height: 38px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, transform 0.2s;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s;
}

.nav-desktop a:hover {
  color: var(--accent-dark);
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.3s;
}

.burger-btn:hover {
  transform: scale(1.05);
}

.burger-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.burger-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.burger-menu.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.burger-menu a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}

.burger-menu a:hover {
  color: var(--accent);
  padding-left: 12px;
}

.burger-menu a:last-child {
  border-bottom: none;
}

/* Hero */
.hero {
  padding: 100px 0 120px;
  background: 
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(201, 162, 39, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 80% 30%, rgba(185, 28, 60, 0.06) 0%, transparent 50%),
    var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '◆ ★ ◆';
  position: absolute;
  top: 20px;
  right: 10%;
  font-size: 0.7rem;
  color: var(--accent);
  opacity: 0.25;
  letter-spacing: 1em;
  animation: pulse-soft 4s ease-in-out infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-content h1 .accent-text {
  background: var(--accent-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta a {
  display: inline-block;
  transition: transform 0.3s;
}

.hero-cta a:hover {
  transform: scale(1.08);
}

.hero-cta img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(201, 162, 39, 0.2));
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(201, 162, 39, 0.2);
  animation: float 6s ease-in-out infinite;
}

.hero-visual:hover img {
  animation: none;
}

/* Section common */
section {
  padding: 100px 0;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.section-title .underline {
  display: block;
  margin: 12px auto 0;
  width: 80px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
}

/* About App */
.about-app {
  background: var(--bg-secondary);
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.about-block:last-child {
  margin-bottom: 0;
}

.about-block:nth-child(even) {
  background: linear-gradient(90deg, transparent 0%, rgba(201, 162, 39, 0.05) 100%);
  margin-left: -24px;
  margin-right: -24px;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
}

.about-block:nth-child(even) .about-text {
  order: 2;
}

.about-block:nth-child(even) .about-img {
  order: 1;
}

.about-text h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.about-img img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform 0.4s;
}

.about-img img:hover {
  transform: scale(1.02);
}

/* Trailer */
.trailer-section {
  background: var(--bg-cream);
  padding: 100px 0;
}

.trailer-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.trailer-poster {
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.trailer-poster img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.trailer-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(201, 162, 39, 0.2);
  transition: box-shadow 0.3s;
}

.trailer-frame:hover {
  box-shadow: var(--shadow-gold);
}

.trailer-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.trailer-wrap > p {
  text-align: center;
  margin-top: 20px;
}

.trailer-wrap a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.trailer-wrap a:hover {
  text-decoration: underline;
}

/* Features */
.features-section {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.08), transparent);
  transition: left 0.6s;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow-gold);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover::after {
  left: 100%;
}

.feature-card .feature-img {
  width: 100%;
  height: 100px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(201, 162, 39, 0.02));
}

.feature-card .feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.5rem;
  color: var(--accent-dark);
  transition: transform 0.3s;
}

.feature-card:hover .icon {
  transform: rotate(10deg) scale(1.1);
}

.feature-card h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Gallery */
.gallery-section {
  background: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s, box-shadow 0.4s;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

/* Why Play — Stats */
.why-play {
  background: var(--bg-cream);
}

.why-play-visual {
  max-width: 600px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.why-play-visual img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 36px 52px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  min-width: 160px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--accent-gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

.stat-item:hover::before {
  opacity: 0.08;
}

.stat-item .number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  position: relative;
}

.stat-item .label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
}

.why-play .subtext {
  text-align: center;
  margin-top: 32px;
  color: var(--text-secondary);
}

/* CTA */
.cta-section {
  padding: 120px 0;
  background: 
    linear-gradient(135deg, rgba(201, 162, 39, 0.12) 0%, rgba(185, 28, 60, 0.08) 100%),
    var(--bg-primary);
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '★';
  position: absolute;
  top: 30px;
  left: 15%;
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.2;
  animation: pulse-soft 3s ease-in-out infinite;
}

.cta-section::after {
  content: '★';
  position: absolute;
  top: 30px;
  right: 15%;
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.2;
  animation: pulse-soft 3s ease-in-out infinite 0.5s;
}

.cta-visual {
  max-width: 280px;
  margin: 0 auto 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.cta-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section a {
  display: inline-block;
  transition: transform 0.3s;
}

.cta-section a:hover {
  transform: scale(1.1);
}

.cta-section a img {
  height: 56px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Footer */
.site-footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent);
}

.site-footer .logo-link {
  color: white;
}

.site-footer .logo-link .accent {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Popups */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.visible {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.popup-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
  animation: fadeInUp 0.4s ease-out;
}

.popup-box h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.popup-box p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.popup-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.popup-actions .btn {
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.popup-actions .btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-gold);
  color: white;
}

.btn-secondary {
  background: var(--bg-cream);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.popup-box a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.popup-box a:hover {
  text-decoration: underline;
}

/* Page layouts */
.page-content {
  padding: 80px 0 100px;
}

.page-content h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 28px;
}

.page-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.page-content p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.page-content ul {
  margin-bottom: 20px;
  padding-left: 28px;
}

.page-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin-top: 36px;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  margin-bottom: 22px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  padding: 14px 36px;
  background: var(--accent-gold);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Content cards */
.content-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.3s;
}

.content-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: var(--shadow-md);
}

.content-card .content-card-img {
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-height: 180px;
}

.content-card .content-card-img img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.content-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--accent-dark);
}

.content-card h3 i {
  margin-right: 10px;
  opacity: 0.9;
}

.contact-form label i {
  margin-right: 8px;
  color: var(--accent);
  width: 18px;
}

.contact-form button i {
  margin-right: 8px;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 900px) {
  .container {
    padding: 0 20px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 40px;
  }

  .about-block {
    gap: 48px;
    margin-bottom: 80px;
  }

  .about-text h3 {
    font-size: 1.35rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .feature-card {
    padding: 28px 22px;
  }

  .feature-card h4 {
    font-size: 1.05rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  .page-content h1 {
    font-size: 2rem;
  }

  .page-content h2 {
    font-size: 1.25rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    padding: 12px 0;
  }

  .header-inner {
    gap: 16px;
  }

  .logo-link {
    font-size: 0.85rem;
    gap: 8px;
  }

  .logo-link img {
    height: 32px;
  }

  .burger-menu {
    top: 58px;
    padding: 20px 16px;
  }

  .burger-menu a {
    font-size: 0.95rem;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: clamp(1.4rem, 4.5vw, 1.75rem);
    margin-bottom: 36px;
  }

  .section-title .underline {
    width: 60px;
  }

  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero::before {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.4rem);
    margin-bottom: 18px;
  }

  .hero-content .tagline {
    font-size: 1rem;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    display: flex;
    justify-content: center;
  }

  .hero-cta img {
    height: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 56px;
  }

  .about-block:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .about-block:nth-child(even) .about-text,
  .about-block:nth-child(even) .about-img {
    order: unset;
  }

  .about-text h3 {
    font-size: 1.2rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .trailer-section {
    padding: 60px 0;
  }

  .trailer-poster {
    margin-bottom: 20px;
  }

  .trailer-poster img {
    max-height: 160px;
  }

  .trailer-wrap > p {
    font-size: 0.95rem;
  }

  .features-section {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card .feature-img {
    height: 80px;
    margin-bottom: 16px;
  }

  .feature-card h4 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  .gallery-section {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item img {
    min-height: 120px;
  }

  .why-play {
    padding: 60px 0;
  }

  .why-play-visual {
    max-width: 100%;
    margin-bottom: 28px;
  }

  .why-play-visual img {
    max-height: 180px;
  }

  .stats-row {
    gap: 20px;
  }

  .stat-item {
    min-width: 100px;
    padding: 24px 24px;
  }

  .stat-item .number {
    font-size: 2rem;
  }

  .stat-item .label {
    font-size: 0.85rem;
  }

  .why-play .subtext {
    font-size: 0.95rem;
    margin-top: 24px;
  }

  .cta-section {
    padding: 80px 0;
  }

  .cta-section::before,
  .cta-section::after {
    display: none;
  }

  .cta-visual {
    max-width: 220px;
    margin-bottom: 20px;
  }

  .cta-section h2 {
    font-size: clamp(1.5rem, 5vw, 1.9rem);
    margin-bottom: 12px;
  }

  .cta-section p {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .cta-section a img {
    height: 48px;
  }

  .site-footer {
    padding: 40px 0 24px;
  }

  .footer-inner {
    gap: 24px;
    margin-bottom: 28px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-nav a {
    font-size: 0.9rem;
  }

  .site-footer .logo-link {
    font-size: 0.9rem;
  }

  .site-footer .logo-link img {
    height: 32px;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding-top: 20px;
    text-align: center;
  }

  .popup-box {
    padding: 32px 24px;
    margin: 16px;
  }

  .popup-box h3 {
    font-size: 1.15rem;
  }

  .popup-box p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .popup-actions .btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }

  .page-content {
    padding: 48px 0 72px;
  }

  .page-content h1 {
    font-size: 1.75rem;
    margin-bottom: 20px;
  }

  .page-content h1 i {
    font-size: 0.9em;
  }

  .page-content h2 {
    font-size: 1.15rem;
    margin-top: 32px;
    margin-bottom: 12px;
  }

  .page-content p {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .page-content ul {
    padding-left: 22px;
    font-size: 0.95rem;
  }

  .content-card {
    padding: 24px 20px;
    margin-bottom: 20px;
  }

  .content-card .content-card-img {
    max-height: 150px;
    margin-bottom: 16px;
  }

  .content-card .content-card-img img {
    max-height: 150px;
  }

  .content-card h3 {
    font-size: 1.1rem;
  }

  .content-card p,
  .content-card li {
    font-size: 0.95rem;
  }

  .contact-form {
    margin-top: 28px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px 16px;
    font-size: 16px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .logo-link span {
    font-size: 0.75rem;
  }

  .logo-link img {
    height: 28px;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .hero-content .tagline {
    font-size: 0.95rem;
  }

  .hero-cta img {
    height: 44px;
  }

  .hero-visual img {
    max-width: 240px;
  }

  .section-title {
    font-size: 1.35rem;
    margin-bottom: 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stats-row {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .stat-item {
    min-width: unset;
    padding: 20px 16px;
  }

  .stat-item .number {
    font-size: 1.75rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-bottom {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .page-content h1 {
    font-size: 1.5rem;
  }

  .content-card {
    padding: 20px 16px;
  }

  .cta-visual {
    max-width: 180px;
  }

  .cta-section a img {
    height: 44px;
  }
}

/* Extra small */
@media (max-width: 360px) {
  .logo-link span {
    font-size: 0.7rem;
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .popup-box {
    padding: 24px 20px;
  }

  .popup-actions {
    flex-direction: column;
  }

  .popup-actions .btn {
    width: 100%;
  }
}
