:root {
  --bg-base: #07090e;
  --bg-surface: #0f131d;
  --bg-surface-2: #161c2b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 210, 255, 0.35);
  --text-primary: #f4f7fb;
  --text-secondary: #9aa5b8;
  --accent-cyan: #00d2ff;
  --accent-cyan-dark: #0099cc;
  --accent-gold: #ffb800;
  --accent-gold-dark: #d99700;
  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-md: 12px;
  --radius-lg: 18px;
  --nav-height: 74px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

.hidden {
  display: none !important;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(255, 184, 0, 0.25));
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(255, 184, 0, 0.2));
}

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

.nav-tab {
  position: relative;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.09);
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.nav-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-cyan);
  color: #05080f;
}

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

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}

.btn-icon:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.98rem;
}

.btn:not(.btn-sm):not(.btn-lg) {
  padding: 11px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0088ff 100%);
  color: #04070d;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 210, 255, 0.45);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #ffd147 0%, var(--accent-gold-dark) 100%);
  color: #0b0800;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 8px 28px rgba(255, 184, 0, 0.42);
  transform: translateY(-1px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

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

.btn-ghost {
  color: var(--text-secondary);
  padding-left: 10px;
  padding-right: 10px;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* ==================== TAB PANELS ==================== */
main {
  padding-top: var(--nav-height);
  min-height: calc(100vh - 220px);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.28s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== HERO CAROUSEL ==================== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: clamp(480px, 74dvh, 720px);
  min-height: 480px;
  overflow: hidden;
  background: #05070c;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 14, 0.92) 0%, rgba(7, 9, 14, 0.65) 48%, rgba(7, 9, 14, 0.25) 100%),
    linear-gradient(180deg, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin-left: max(82px, calc((100% - 1280px) / 2 + 24px));
  padding-right: 24px;
  padding-bottom: 40px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 210, 255, 0.14);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.hero-tag.gold {
  background: rgba(255, 184, 0, 0.14);
  border-color: rgba(255, 184, 0, 0.35);
  color: var(--accent-gold);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.pulse-dot.gold {
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: #d0d8e8;
  max-width: 560px;
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.meta-pill {
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 19, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.carousel-arrow:hover {
  background: var(--accent-cyan);
  color: #05080f;
  border-color: var(--accent-cyan);
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 12px;
}

.dot {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 19, 29, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}

.dot.active {
  background: rgba(0, 210, 255, 0.18);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

/* ==================== SECTIONS & CARDS ==================== */
.section {
  padding: 68px 24px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.featured-grid,
.games-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.game-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0e16;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.game-card:hover .game-card-media img {
  transform: scale(1.06);
}

.game-card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  padding: 5px 11px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 210, 255, 0.9);
  color: #040810;
}

.badge-gold {
  background: rgba(255, 184, 0, 0.92);
  color: #0b0700;
}

.badge-dark {
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(8px);
  color: #ffd147;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.game-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.game-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.game-card-top h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.platform-tags {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.release-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
}

.release-chip.gold {
  background: rgba(255, 184, 0, 0.12);
  color: var(--accent-gold);
}

.game-card-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex: 1;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chips span {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-surface-2);
  color: #cbd5e1;
  border: 1px solid var(--border-subtle);
}

.game-card-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

/* ==================== STUDIO BANNER ==================== */
.studio-banner {
  background: linear-gradient(135deg, #0d1322 0%, #091826 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 64px 0;
}

.studio-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.studio-banner-text {
  max-width: 600px;
}

.studio-banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}

.studio-banner-text p {
  color: var(--text-secondary);
}

.studio-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  min-width: 140px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==================== PAGE HERO & CATALOG TOOLBAR ==================== */
.page-hero {
  background: radial-gradient(circle at 20% 20%, rgba(0, 210, 255, 0.14), transparent 55%),
              linear-gradient(180deg, #0d121d 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 54px 0 42px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-desc {
  color: var(--text-secondary);
  max-width: 640px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

.filter-pill.active {
  background: var(--accent-cyan);
  color: #040810;
  border-color: var(--accent-cyan);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 9px 14px;
  width: 100%;
  max-width: 320px;
  min-width: 0;
  color: var(--text-secondary);
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  width: 100%;
  font-size: 0.92rem;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ==================== NEWS & STUDIO ==================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.news-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.news-body {
  padding: 24px;
}

.news-date {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.news-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.news-body p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.studio-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* ==================== FOOTER ==================== */
.footer {
  background: #05070b;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent-cyan);
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  outline: none;
}

.newsletter-msg {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #4ade80;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

/* ==================== MODALS & MINI-DEMOS ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(7, 9, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close.static {
  position: static;
}

.modal-hero {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.1) 0%, rgba(15, 19, 29, 0.98) 100%);
}

.modal-hero-text {
  position: relative;
  z-index: 2;
}

.modal-hero-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-top: 8px;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-desc {
  color: #cbd5e1;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.spec-item {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
}

.spec-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}

.modal-features h4 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.modal-features ul {
  padding-left: 18px;
  color: var(--text-secondary);
  display: grid;
  gap: 6px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Play Modal */
.play-modal-card {
  max-width: 780px;
  padding: 24px;
}

.play-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.play-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.demo-stage {
  background: #06080f;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.demo-hud {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.demo-canvas {
  width: 100%;
  max-width: 680px;
  height: auto;
  border-radius: 10px;
  background: #08111f;
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.ludo-board-mini {
  display: grid;
  grid-template-columns: repeat(7, 44px);
  grid-template-rows: repeat(7, 44px);
  gap: 4px;
  padding: 10px;
  background: #141926;
  border: 2px solid rgba(255, 184, 0, 0.35);
  border-radius: 12px;
}

.ludo-cell {
  border-radius: 6px;
  background: #1d2436;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.ludo-cell.path { background: #263047; }
.ludo-cell.home { background: linear-gradient(135deg, #ffd147, #d99700); color: #090600; }
.ludo-cell.safe { border-color: #00d2ff; }
.ludo-token {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff4b8, #ffb800);
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.8);
}

/* ==================== RESPONSIVE (LAPTOP, TABLET, MOBILE) ==================== */
@media (max-width: 1120px) {
  .studio-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .featured-grid,
  .games-catalog-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .studio-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .studio-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-box {
    min-width: 0;
    padding: 18px 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 64px;
  }

  .brand-logo-img {
    height: 46px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 105;
    background: #0a0e18;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    gap: 6px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-tab {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }

  .nav-tab.active::after {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-carousel {
    height: clamp(500px, 78dvh, 600px);
    min-height: 500px;
  }

  .hero-content {
    margin-left: 0;
    padding: 28px 20px 76px;
    max-width: 100%;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 9, 14, 0.45) 0%, rgba(7, 9, 14, 0.88) 65%, rgba(7, 9, 14, 0.97) 100%);
  }

  .carousel-arrow {
    display: none;
  }

  .studio-pillars {
    grid-template-columns: 1fr;
  }

  .search-box {
    max-width: 100%;
  }

  .modal-specs {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container,
  .nav-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 44px 16px;
  }

  .page-hero {
    padding: 38px 0 30px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .carousel-dots {
    bottom: 16px;
    gap: 8px;
    width: calc(100% - 32px);
    justify-content: center;
  }

  .dot {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .studio-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal-hero {
    height: 190px;
    padding: 18px;
  }

  .modal-hero-text h2 {
    font-size: 1.55rem;
  }

  .modal-body {
    padding: 18px;
  }

  .modal-actions .btn,
  .game-card-actions .btn {
    width: 100%;
  }
}
