:root {
  --bg: #0b0e14;
  --panel: #0f141d;
  --ink: #e7ecf3;
  --muted: #9aa7b8;
  --line: rgba(255, 255, 255, .08);
  --accent: #ff8c2b;
  --accent-2: #00e5ff;
  --accent-3: #a970ff;
  --glow: 0 0 24px rgba(255, 140, 43, .35);
  --hero-heading-highlight: #ffdfa6;
  --hero-heading-gradient: linear-gradient(135deg, #fff 30%, var(--hero-heading-highlight));
  --heading-font-family: "Russo One", "Noto Sans", system-ui, sans-serif;
  --heading-letter-spacing: .06em;
  --body-copy-font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --body-copy-color: var(--muted);
  --body-copy-line-height: 1.6
}

* {
  box-sizing: border-box
}

html,
body {
  min-height: 100%;
  overflow-x: hidden
}

html {
  scroll-behavior: smooth;
  overflow-y: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/var(--body-copy-line-height) var(--body-copy-font-family);
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto
}

.muted {
  color: var(--muted)
}

.center {
  text-align: center
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  margin-inline: 10px
}


/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, .72);
  backdrop-filter: saturate(130%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .2s ease, border-color .2s ease
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 20px;
  height: 84px;
  padding: 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none
}

.brand-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(255, 140, 43, .45))
}

.brand-text {
  font-family: var(--body-copy-font-family);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff
}

.nav {
  position: relative;
  display: flex;
  justify-content: center
}

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center
}

.nav-list a {
  color: #c2c9d4;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .2s ease
}

.nav-list a:hover {
  color: var(--ink)
}

.nav-list a[aria-current="page"] {
  color: var(--accent)
}

.nav-list #accountNavItem a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .02);
  color: #d6dde8;
  transition: all .2s ease
}

.nav-list #accountNavItem a:hover {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink)
}

/* Language Switcher */
.lang-switcher {
  position: relative
}

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

.header-account-btn {
  height: 40px;
  padding: 0 16px;
  font-size: 14px
}

.nav-account-mobile {
  display: none
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, .08)
}

.lang-code {
  min-width: 24px;
  text-align: center
}

.lang-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
  transition: transform .2s ease
}

.lang-switcher.is-open .lang-caret {
  transform: rotate(180deg)
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  padding: 6px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  display: none;
  gap: 4px;
  z-index: 1200
}

.lang-switcher.is-open .lang-menu {
  display: grid
}

.lang-option {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s, border-color .15s
}

.lang-option:hover {
  background: rgba(255, 255, 255, .05)
}

.lang-option.is-active {
  border-color: rgba(255, 140, 43, .45);
  background: rgba(255, 140, 43, .12)
}

/* =============================
   New User Profile Dropdown 
   ============================= */
.user-profile-widget {
  position: relative;
  display: inline-block;
}

.profile-toggle-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 6px 12px 6px 6px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-toggle-btn:hover,
.user-profile-widget.active .profile-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.profile-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff6b6b);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
}

.profile-name {
  font-weight: 600;
  font-size: 14px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-arrow {
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.2s ease;
  margin-left: 4px;
}

.user-profile-widget.active .profile-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  background: #0f141d;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  overflow: hidden;
}

.user-profile-widget.active .profile-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.user-email {
  display: block;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}

.dropdown-links {
  list-style: none;
  padding: 8px;
  margin: 0;
}

.dropdown-links li {
  margin-bottom: 2px;
}

.dropdown-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.dropdown-links a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-links a i {
  width: 20px;
  text-align: center;
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 6px 0;
}

.danger-link {
  color: #ff6b6b !important;
}

.danger-link:hover {
  background: rgba(255, 107, 107, 0.1) !important;
}

.danger-link i {
  color: #ff6b6b !important;
}

/* Hero Enhanced */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 140, 43, 0.08) 0%, transparent 70%);
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -100px;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  padding: 100px 0 40px;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 1;
}

/* Pulsing glow logo */
.hero-logo {
  width: clamp(180px, 40vw, 520px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 140, 43, .35)) drop-shadow(0 0 10px rgba(0, 229, 255, .2));
  transition: transform 0.5s ease-out;
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 30px rgba(255, 140, 43, .35)) drop-shadow(0 0 10px rgba(0, 229, 255, .2));
  }

  50% {
    filter: drop-shadow(0 0 50px rgba(255, 140, 43, .55)) drop-shadow(0 0 25px rgba(0, 229, 255, .4));
  }
}

.hero-logo:hover {
  transform: scale(1.02);
}

/* Tagline */
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  min-height: 1.4em;
}

.hero-tagline-text {
  display: inline-flex;
  align-items: center;
  min-height: 1.4em;
  font-family: var(--body-copy-font-family);
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.hero-tagline-text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  background: var(--accent);
  animation: taglineBlink 1s step-end infinite;
}

@keyframes taglineBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-title {
  margin: 24px 0 12px;
  font: 800 clamp(32px, 5vw, 56px)/1.1 var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing);
  text-transform: uppercase;
  background: var(--hero-heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto;
  color: var(--body-copy-color);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: var(--body-copy-line-height);
}

/* Animated glow CTA button */
.hero-btn-glow {
  position: relative;
  z-index: 0;
}

.hero-btn-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  background-size: 300% 100%;
  animation: glowBorder 3s linear infinite;
  z-index: -1;
  opacity: 0.7;
  filter: blur(6px);
}

@keyframes glowBorder {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin: -250px auto 48px;
  padding: 20px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  width: fit-content;
  position: relative;
  z-index: 2;
}

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

.hero-stat-number {
  font-family: var(--heading-font-family);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #fff 30%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-icon {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-label {
  font-family: var(--body-copy-font-family);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
  white-space: nowrap;
}

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

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

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

:where(.section-title, .mode-card-title, .game-screen__title, .feature-title, .card-title, .hero-name, .story h2, .news-card-title, .news-detail-title, .news-detail-content h2, .news-detail-content h3, .legal-title, .legal-doc h2, .panel-title, .subscription-title, .auth-title, .auth-success h2, .download-title, .download-content .section-title, .reskin-info h2, .plan-header h3, .benefits-subtitle) {
  font-family: var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing);
  color: var(--hero-heading-highlight);
}

:where(.section, .legal-doc, .account-panel, .modal-card, .news-detail, .auth-card, .download-content, .store-hero, .plan-card, .trust-card, .faq-card, .story) :where(h1, h2, h3, h4) {
  font-family: var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing);
  color: var(--hero-heading-highlight);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  :where(.section-title, .mode-card-title, .benefits-subtitle, .game-screen__title, .plan-header h3, .legal-title, .legal-doc h2, .news-detail-title, .news-detail-content h2, .news-detail-content h3) {
    background: var(--hero-heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .store-page .panel-title,
  .account-page .panel-title,
  .modal-card #checkoutTitle {
    background: var(--hero-heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .game-screen__title :where(.game-screen__icon, i, svg, .fa, .fas, .far, .fab) {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
  }
}

:where(.section p, .section li, .mode-card-description, .game-screen__text, .game-screen__features li, .story p, .news-summary, .news-detail-summary, .news-detail-content, .legal-doc p, .legal-doc li, .plan-features li, .download-content p, .auth-card p, .account-panel p, .store-hero p) {
  font-family: var(--body-copy-font-family);
  color: var(--body-copy-color);
  line-height: var(--body-copy-line-height);
}

:where(.section, .legal-doc, .account-panel, .modal-card, .news-detail, .auth-card, .download-content, .store-hero, .plan-card, .trust-card, .faq-card, .story) :where(p, li) {
  font-family: var(--body-copy-font-family);
  color: var(--body-copy-color);
  line-height: var(--body-copy-line-height);
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center
}

/* Sections */
.section {
  padding: 80px 0
}

.section-dark {
  background-color: transparent
}

.section-light {
  background-color: transparent
}

.section-title {
  font: 700 clamp(22px, 3vw, 34px)/1.2 var(--heading-font-family);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 10px
}

.section-subtitle {
  margin: 0 0 28px
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px
}

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

.align-center {
  align-items: center
}

.stack>* {
  margin: 0
}

.stack>*+* {
  margin-top: 14px
}

.media {
  margin: 0
}

.media-img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--glow)
}

.responsive-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px
}

.benefits-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--line);
  border-radius: 16px
}

.feature-icon {
  font-size: 32px;
  color: var(--accent-2);
  margin-bottom: 16px
}

.feature-title {
  font: 700 18px/1.3 var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing);
  text-transform: uppercase;
  margin: 0 0 8px
}

.benefits-subtitle {
  margin: 0 0 16px;
  font-size: 20px;
  text-transform: uppercase;
}

/* Feature Grid with Images */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px
}

.feature-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  width: 100%;
  z-index: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 140, 43, 0.4);
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 30px rgba(255, 140, 43, .2), 0 0 60px rgba(169, 112, 255, .15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.feature-image:hover::after {
  opacity: 1;
}

.feature-image>* {
  position: relative;
  z-index: 1
}

.feature-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2/3;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, .02)
}

/* Feature Game Screen */
.feature-game-screen {
  aspect-ratio: 3/4;
  display: flex
}

.feature-game-screen .game-screen {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  background-size: cover;
  background-position: center top;
  color: #fff;
  font-family: var(--body-copy-font-family);
  overflow: hidden;
}

.feature-game-screen .game-screen--gameplay {
  background-image: url("resources/gameplay.webp");
}

.feature-game-screen .game-screen--calibration {
  background-image: url("resources/calibration.webp");
}

.feature-game-screen .game-screen--guardian {
  background-image: url("resources/guardian.webp");
}

.feature-game-screen .game-screen--launcher {
  background-image: url("resources/launcher.webp");
}

.feature-game-screen .game-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feature-game-screen .game-screen>* {
  position: relative;
  z-index: 1
}

.game-screen__header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: #0f141d;
  padding: 24px;
  width: 100%;
  height: 160px;
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-screen__title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Hidden icon inside title to save space */
.game-screen__title .game-screen__icon {
  display: none;
}

.game-screen__icon {
  display: inline-block;
  margin-right: 6px
}

.game-screen__icon--red {
  color: #ff4d4d
}

.game-screen__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px
}

.game-screen__features li {
  display: flex;
  align-items: center;
  color: var(--body-copy-color);
  font-family: var(--body-copy-font-family);
  line-height: var(--body-copy-line-height);
  font-size: 16px
}

.game-screen__features li>span:not(.game-screen__icon) {
  font-family: var(--body-copy-font-family);
  color: var(--body-copy-color);
  line-height: var(--body-copy-line-height);
}

.game-screen__text {
  margin: 0;
  font-family: var(--body-copy-font-family);
  color: var(--body-copy-color);
  font-size: 16px;
  line-height: var(--body-copy-line-height);
}

.game-screen__spacer {
  flex: 1
}

.game-screen__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
  justify-content: space-between;
}

.game-card {
  border-radius: 8px;
  border: 1px solid #6b7aff;
  box-shadow: 0 0 8px rgba(107, 122, 255, .6);
  background-color: rgba(0, 0, 0, .6);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  height: 76px;
  display: flex;
  align-items: flex-end;
  transition: transform .2s, border-color .2s;
}

.game-card:hover {
  transform: scale(1.02);
  border-color: #fff
}

.game-card span {
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, .5);
  width: 100%;
  text-transform: uppercase;
}

.game-card--small {
  width: 31%
}

.game-card--wide {
  width: 48%;
  height: 92px
}

.game-card--arcadium {
  background-image: url("resources/pvp.webp")
}

.game-card--landslide {
  background-image: url("resources/pvp.webp")
}

.game-card--forge {
  background-image: url("resources/pvp.webp")
}

.game-card--control1 {
  background-image: url("resources/pvp.webp")
}

.game-card--control2 {
  background-image: url("resources/pvp.webp")
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }
}

/* Benefits Section Redesign */
.benefits-section {
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 980px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.benefit-card {
  background: #0f141d;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 140, 43, 0.2);
}

.benefit-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-card__content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.benefit-card__title {
  font-family: var(--heading-font-family);
  font-size: 24px;
  color: #fff;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #fff 30%, #ffdfa6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--body-copy-font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.benefit-list li i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.benefit-list li span {
  color: var(--ink);
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .02));
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25)
}

.card-media {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05)
}

.card-media::after {
  content: "";
  display: block;
  inset: 0;
  position: absolute;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 14, 20, .9))
}

.card-body {
  position: relative;
  margin-top: -64px;
  padding: 18px
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 43, .4);
  background: rgba(255, 140, 43, .08);
  color: #ffdfa6;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase
}

.chip-cyan {
  border-color: rgba(0, 229, 255, .45);
  background: rgba(0, 229, 255, .08);
  color: #ccf7ff
}

.chip-purple {
  border-color: rgba(169, 112, 255, .45);
  background: rgba(169, 112, 255, .08);
  color: #e6ddff
}

.card-title {
  margin: 10px 0 6px;
  font: 700 20px/1.2 "Russo One", "Noto Sans", system-ui, sans-serif;
  letter-spacing: .06em
}

.card-text {
  margin: 0;
  color: var(--body-copy-color);
  line-height: var(--body-copy-line-height)
}

/* CTA */
.section-cta {
  background: transparent
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

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

/* Partnership Section */
.partnership-section {
  background-color: transparent;
  color: #fff;
}

.partnership-section .section-title {
  color: var(--hero-heading-highlight);
}

.partnership-section p {
  color: var(--body-copy-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .02em;
  transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  font-size: 15px
}

.btn:active {
  transform: scale(0.96)
}

.btn.primary {
  background: linear-gradient(135deg, #FF8C2B 0%, #FF6B3D 100%);
  border-color: rgba(255, 140, 43, .5);
  box-shadow: 0 6px 20px rgba(255, 140, 43, .25);
  color: #fff
}

.btn.primary:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 140, 43, .35)
}

.btn.ghost {
  background: transparent
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, .08);
  transform: translateY(-1px)
}

/* Footer */
.site-footer {
  margin-top: 72px;
  background: #0b0e14;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 64px 0 26px
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 36px
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 32px
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 14px
}

.footer-brand .brand-logo {
  height: 34px;
  filter: drop-shadow(0 0 12px rgba(255, 140, 43, .35))
}

.footer-brand .brand-text {
  font-size: 22px
}

.footer-about {
  margin: 0;
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s ease
}

.footer-socials a:hover {
  color: #fff;
  border-color: rgba(255, 140, 43, .45);
  background: rgba(255, 140, 43, .2)
}

.footer-title {
  margin: 4px 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-links-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease
}

.footer-links-list a:hover {
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 20px;
  color: #6b7280;
  font-size: 14px
}

.footer-inner {
  display: block
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--delay, 0ms)
}

.reveal.visible {
  opacity: 1;
  transform: none
}

/* Responsive */
@media (max-width: 980px) {

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr
  }

  .card-grid {
    grid-template-columns: 1fr 1fr
  }

  .lang-menu {
    left: 0;
    right: auto;
    min-width: 0;
    width: max-content;
    max-width: calc(100vw - 24px)
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr
  }

  .header-inner {
    column-gap: 8px
  }

  .nav-account-area {
    display: none
  }

  .nav-account-mobile {
    display: list-item
  }

  .nav-toggle {
    display: flex
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 84px;
    flex-direction: column;
    background: rgba(11, 14, 20, .92);
    backdrop-filter: saturate(130%) blur(12px);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    min-width: 200px;
    display: none
  }

  .nav-list.show {
    display: flex
  }

  /* Profile widget mobile adjustments */
  .user-profile-widget {
    width: 100%
  }

  .profile-toggle-btn {
    width: 100%;
    justify-content: flex-start
  }

  .profile-dropdown-menu {
    right: auto;
    left: 0;
    width: 100%
  }

  /* Partnership: both buttons same size, fit on screen */
  .partnership-section .cta-actions {
    flex-direction: column;
    width: 100%
  }

  .partnership-section .cta-actions .btn {
    width: 100%;
    padding: 0 16px;
    font-size: 14px;
    box-sizing: border-box
  }

  .hero-stats {
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
    margin: 24px auto 0;
    width: fit-content;
  }

  .hero-stat {
    padding: 0;
    flex-direction: row;
    gap: 10px;
  }

  .hero-stat-divider {
    width: 60%;
    height: 1px;
  }

  .scroll-indicator {
    bottom: 12px;
  }

  .site-footer {
    margin-top: 56px;
    padding: 48px 0 24px
  }

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

  .footer-bottom {
    padding-top: 18px;
    font-size: 12px
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none
  }

  .hero-logo {
    animation: none;
  }

  .hero-tagline-text {
    animation: none;
    border-right: none;
  }

  .hero-btn-glow::before {
    animation: none;
  }

  .scroll-indicator {
    animation: none;
  }
}

/* Heroes list (vertical) */
.hero-list {
  display: grid;
  gap: 16px;
  margin-top: 20px
}

.hero-row {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .02));
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25)
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block
}

.hero-info {
  padding: 18px
}

.hero-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px
}

.hero-name {
  margin: 0;
  font: 700 26px/1.2 "Russo One", "Noto Sans", system-ui, sans-serif;
  letter-spacing: .06em
}

.role {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 43, .4);
  background: rgba(255, 140, 43, .08);
  color: #ffdfa6;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap
}

.role-cyan {
  border-color: rgba(0, 229, 255, .45);
  background: rgba(0, 229, 255, .08);
  color: #ccf7ff
}

.role-purple {
  border-color: rgba(169, 112, 255, .45);
  background: rgba(169, 112, 255, .08);
  color: #e6ddff
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap
}

.hide-mobile {
  display: block
}

/* Hero page */
.hero-page {
  padding: 60px 0
}

.hero-cover {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 22px;
  align-items: center
}

.hero-cover .media-img {
  max-height: none;
  aspect-ratio: 4/3
}

.crumbs {
  display: flex;
  gap: 10px;
  margin: 8px 0 18px
}

.crumbs a {
  color: var(--muted);
  text-decoration: none
}

.crumbs a:hover {
  color: var(--ink)
}

@media (max-width: 980px) {
  .hero-row {
    grid-template-columns: 1fr
  }

  .hero-cover {
    grid-template-columns: 1fr
  }
}

@media (max-width: 640px) {
  .hide-mobile {
    display: none
  }
}

/* Hero galleries */
#gallery {
  scroll-margin-top: 80px
}

.gallery {
  display: grid;
  gap: 16px;
  margin-top: 16px
}

.gallery .media-img {
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--glow)
}

.gallery figure {
  margin: 0
}

.gallery .caption {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px
}

/* Lore page */
.lore-hero {
  position: relative;
  min-height: 46vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden
}

.lore-hero .lore-bg {
  position: absolute;
  inset: 0;
  background: transparent
}

.lore-hero .lore-title {
  position: relative;
  margin: 18px 0 6px;
  font: 700 clamp(28px, 4vw, 48px)/1.2 "Russo One", system-ui, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase
}

.lore-hero .lore-sub {
  position: relative;
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto
}

.story {
  padding: 60px 0
}

.reading {
  width: min(900px, 92vw);
  margin-inline: auto
}

.toc {
  position: sticky;
  top: 76px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, .03)
}

.toc-title {
  margin: 0 0 8px;
  font: 700 14px/1.2 "Russo One", "Noto Sans", system-ui, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted)
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px
}

.toc-list a {
  text-decoration: none;
  color: var(--muted)
}

.toc-list a:hover {
  color: var(--ink)
}

.story-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px
}

.story h2 {
  font: 700 26px/1.2 "Russo One", "Noto Sans", system-ui, sans-serif;
  letter-spacing: .06em;
  margin: 26px 0 10px
}

.story p {
  color: var(--body-copy-color);
  line-height: var(--body-copy-line-height);
  margin: 0 0 12px
}

.callout {
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  background: rgba(255, 140, 43, .05);
  border-radius: 8px
}

@media (max-width: 980px) {
  .story-grid {
    grid-template-columns: 1fr
  }

  .toc {
    position: relative;
    top: auto
  }
}

/* Game Modes Page v2 */
.mode-selection-container {
  max-width: 1200px;
}

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

.mode-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .02));
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mode-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, .35), var(--glow);
  border-color: rgba(255, 140, 43, .5);
}

.mode-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(1.1);
}

.mode-card-content {
  padding: 20px;
}

.mode-card-title {
  margin: 0 0 8px;
  font: 700 22px/1.2 "Russo One", "Noto Sans", system-ui, sans-serif;
  letter-spacing: .06em;
}

.mode-card-description {
  margin: 0;
  color: var(--muted);
}

/* Reskin Page */
.breadcrumbs {
  margin-bottom: 16px;
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.reskin-selector {
  margin-top: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.reskin-tabs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.reskin-tab {
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.reskin-tab:hover {
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
}

.reskin-tab.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

#reskin-details-container {
  margin-top: 40px;
}

.reskin-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.reskin-info h2 {
  font: 700 28px/1.2 "Russo One", "Noto Sans", system-ui, sans-serif;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.reskin-info p {
  margin-bottom: 12px;
}

.reskin-gallery-container {
  display: grid;
  gap: 16px;
}

@media (max-width: 980px) {
  .reskin-content {
    grid-template-columns: 1fr;
  }
}

/* Video Section */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--glow);
  margin-top: 24px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Account page */
.account-hero {
  padding-top: 120px;
  padding-bottom: 40px
}

.account-hero-content {
  display: grid;
  gap: 24px
}

.eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent)
}

.account-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.quick-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02)
}

.quick-card .quick-value {
  margin: 6px 0 0;
  font-weight: 700
}

.account-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start
}

.account-menu {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .02)
}

.account-menu-link {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600
}

.account-menu-link:hover {
  background: rgba(255, 255, 255, .04);
  color: var(--ink)
}

.account-content {
  display: grid;
  gap: 24px
}

.account-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .02));
  padding: 22px
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px
}

.panel-title {
  margin: 0;
  font: 700 20px/1.2 var(--heading-font-family);
  letter-spacing: .06em
}

.account-page .panel-title {
  letter-spacing: .075em;
}

.panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px
}

.profile-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  display: grid;
  place-items: center
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.form-field {
  display: grid;
  gap: 6px
}

.form-field label {
  font-weight: 600;
  color: var(--muted)
}

.form-field input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, .6);
  color: var(--ink);
  padding: 0 12px;
  font-size: 15px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%
}

.form-field input:focus {
  outline: 2px solid rgba(255, 140, 43, .4);
  border-color: rgba(255, 140, 43, .6)
}

.field-hint {
  font-size: 12px;
  color: var(--muted)
}

.profile-value {
  font-size: 15px;
  color: var(--ink);
  padding: 10px 0;
  min-height: 44px;
  display: flex;
  align-items: center
}

.toast {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600
}

.toast.success {
  border: 1px solid rgba(0, 229, 255, .4);
  background: rgba(0, 229, 255, .08);
  color: #ccf7ff
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.subscription-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, .02);
  display: grid;
  gap: 14px
}

.subscription-card.empty {
  justify-items: start;
  align-content: start
}

.subscription-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.subscription-title {
  margin: 6px 0 0;
  font: 700 18px/1.3 "Russo One", "Noto Sans", system-ui, sans-serif
}

.subscription-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em
}

.status-active {
  background: rgba(0, 229, 255, .12);
  color: #ccf7ff;
  border: 1px solid rgba(0, 229, 255, .4)
}

.status-pending {
  background: rgba(255, 140, 43, .12);
  color: #ffd4a3;
  border: 1px solid rgba(255, 140, 43, .45)
}

.status-expired,
.status-inactive,
.status-cancelled {
  background: rgba(255, 90, 90, .1);
  color: #ffb3b3;
  border: 1px solid rgba(255, 90, 90, .35)
}

.status-error {
  background: rgba(255, 90, 90, .12);
  color: #ffb3b3;
  border: 1px solid rgba(255, 90, 90, .4)
}

.status-success {
  background: rgba(76, 175, 80, .12);
  color: #b9f6ca;
  border: 1px solid rgba(76, 175, 80, .4)
}

.status-failed {
  background: rgba(255, 90, 90, .12);
  color: #ffb3b3;
  border: 1px solid rgba(255, 90, 90, .4)
}

.status-refunded {
  background: rgba(156, 39, 176, .12);
  color: #e1bee7;
  border: 1px solid rgba(156, 39, 176, .4)
}

.status-subscription {
  background: rgba(255, 193, 7, .12);
  color: #ffe082;
  border: 1px solid rgba(255, 193, 7, .4)
}

.tx-subscription-row {
  border-left: 3px solid rgba(255, 193, 7, .4);
}

.filter-group .btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.state-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.table-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line)
}

.data-table th {
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted)
}

.empty-state {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02)
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.security-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  display: grid;
  gap: 10px
}

.security-card.danger {
  border-color: rgba(255, 90, 90, .4)
}

.notification-grid {
  display: grid;
  gap: 12px
}

.toggle-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  cursor: pointer
}

.toggle-card input {
  display: none
}

.toggle-ui {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  position: relative;
  flex-shrink: 0
}

.toggle-ui::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--muted);
  position: absolute;
  top: 3px;
  left: 4px;
  transition: transform .2s ease, background .2s ease
}

.toggle-card input:checked+.toggle-ui {
  background: rgba(0, 229, 255, .2)
}

.toggle-card input:checked+.toggle-ui::after {
  transform: translateX(18px);
  background: var(--accent-2)
}

@media (max-width: 980px) {
  .account-grid {
    grid-template-columns: 1fr
  }

  .account-menu {
    position: relative;
    top: auto;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr))
  }

  .account-quick {
    grid-template-columns: 1fr
  }

  .profile-card {
    grid-template-columns: 1fr
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .subscription-grid {
    grid-template-columns: 1fr
  }

  .security-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width: 640px) {
  .delete-modal-card {
    width: min(420px, 94vw);
    padding: 20px
  }

  .delete-modal-card h3 {
    font-size: 18px
  }

  .delete-actions {
    flex-direction: column
  }

  .delete-actions .btn {
    width: 100%
  }
}

/* Store page */
.store-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background: radial-gradient(circle at center top, rgba(255, 140, 43, .08) 0, transparent 50%)
}

.store-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px
}

.hero-text-block {
  max-width: 800px;
  margin: 0 auto
}

.display-title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px
}

.text-gradient {
  background: var(--hero-heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.hero-lead {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted)
}

.store-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, .05);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line)
}

.store-switcher .period-btn {
  border-radius: 999px;
  border: none;
  height: 40px;
  padding: 0 24px;
  font-size: 14px
}

.store-switcher .period-btn.is-active {
  background: var(--ink);
  color: var(--bg)
}

.store-switcher-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px
}

.currency-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center
}

.currency-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted)
}

.currency-options {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05)
}

.currency-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s
}

.currency-btn.is-active {
  background: var(--ink);
  color: var(--bg)
}

.currency-note {
  margin: 0;
  font-size: 12px;
  max-width: 520px
}

.currency-note.is-hidden {
  display: none
}

.discount-pill {
  background: #10B981;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 8px;
  vertical-align: middle
}

.store-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, .2);
  color: var(--muted);
  display: none
}

.store-alert.visible {
  display: block
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px
}

.plan-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, .02);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all .3s ease
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04)
}

.plan-card.popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 140, 43, .08), rgba(255, 255, 255, .02));
  box-shadow: 0 0 0 1px var(--accent), 0 20px 40px rgba(255, 140, 43, .15);
  z-index: 1;
}

.popular-badge-corner {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: 0 4px 12px rgba(255, 140, 43, .4)
}

.plan-header h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--hero-heading-highlight);
  font-family: var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing)
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 0
}

.plan-price .amount {
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1
}

.plan-price .period {
  color: var(--muted);
  font-weight: 500
}

.plan-price .old-price {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 8px
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--body-copy-color);
  font-size: 15px;
  line-height: var(--body-copy-line-height)
}

.plan-features li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  font-size: 11px;
  color: var(--accent-2);
  flex-shrink: 0
}

.plan-card.popular .plan-features li::before {
  background: var(--accent);
  color: #fff
}

.plan-cta {
  width: 100%;
  height: 52px;
  font-size: 16px
}

.promo-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, .02);
  margin-top: 40px;
}

.promo-input {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.promo-input input {
  flex: 1;
  min-width: 200px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, .6);
  color: var(--ink);
  padding: 0 12px
}

.promo-status {
  margin: 0;
  font-weight: 600
}

.promo-status.success {
  color: #ccf7ff
}

.promo-status.error {
  color: #ffb3b3
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px
}

.trust-card,
.faq-card {
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02)
}

.trust-card .panel-title,
.faq-card .panel-title {
  margin-bottom: 24px;
  font-size: 22px
}

.faq-card details {
  padding: 12px 0;
  border-bottom: 1px solid var(--line)
}

.faq-card details:last-child {
  border-bottom: none
}

.faq-card summary {
  cursor: pointer;
  font-weight: 600;
  padding: 4px 0
}

.benefits-list {
  display: grid;
  gap: 16px
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, .03);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all .2s
}

.benefits-list li:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, .05)
}

.benefits-list li i {
  font-size: 20px;
  color: var(--accent-2)
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 100
}

.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, .75)
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(520px, 92vw);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45)
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer
}

.checkout-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0
}

.summary-value {
  margin: 4px 0 0;
  font-weight: 700
}

.checkout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px
}

.checkout-note {
  margin-top: 12px;
  color: var(--muted)
}

.checkout-note.warning {
  color: #ffd4a3
}

.checkout-note.success {
  color: #7dffb3
}

/* Order form inside checkout modal */
.order-modal-card {
  width: min(560px, 94vw);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto
}

/* hCaptcha challenge overlay must appear above modal */
body > div[style*="position"] iframe[src*="hcaptcha"],
body > div[style*="z-index"]:has(iframe[src*="hcaptcha"]) {
  z-index: 99999 !important
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 8px
}

.order-field {
  display: flex;
  flex-direction: column;
  gap: 5px
}

.order-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 600
}

.order-field input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, .6);
  color: var(--ink);
  padding: 0 14px;
  font-size: 15px;
  transition: border-color .2s
}

.order-field input:focus {
  outline: none;
  border-color: var(--accent)
}

.order-field input.field-error {
  border-color: #ff6b6b;
  animation: shake .35s ease-in-out
}

@keyframes shake {
  0%, 100% { transform: translateX(0) }
  25% { transform: translateX(-6px) }
  50% { transform: translateX(6px) }
  75% { transform: translateX(-4px) }
}

.captcha-field label {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0
}

.order-note {
  font-size: 13px;
  margin: 4px 0 0
}

@media (max-width: 980px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto
  }

  .store-grid {
    grid-template-columns: 1fr
  }

  .display-title {
    font-size: 32px
  }
}

/* ═══════════════════════════════════════════════
   NEWS — list page
═══════════════════════════════════════════════ */
.news-page {
  padding-top: 120px;
  padding-bottom: 64px
}

.news-hero {
  padding-top: 48px;
  padding-bottom: 36px;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 229, 255, .09), transparent 70%)
}

.news-hero-text {
  max-width: 660px;
  margin: 14px auto 0
}

/* Loading spinner */
.news-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding: 16px 2px
}

.news-loading-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .15);
  border-top-color: var(--accent-2);
  animation: spin .7s linear infinite
}

/* Grid */
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px
}

/* First card → featured full-width */
.news-list .news-card:first-child {
  grid-column: 1 / -1
}

.news-list .news-card:first-child .news-card-image {
  aspect-ratio: 21 / 8
}

.news-list .news-card:first-child .news-card-title {
  font-size: clamp(22px, 3vw, 32px)
}

/* Card base */
.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .015) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 229, 255, .2);
  border-color: rgba(0, 229, 255, .22)
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: opacity .25s ease
}

.news-card:hover .news-card-image {
  opacity: .88
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px
}

/* Date badge */
.news-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px
}

.news-meta::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: .75;
  flex-shrink: 0
}

.news-card-title {
  margin: 0 0 12px;
  font: 700 20px/1.3 var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing);
  color: #fff
}

.news-summary {
  margin: 0;
  flex: 1;
  color: var(--body-copy-color);
  font-size: 15px;
  line-height: var(--body-copy-line-height);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.news-card-footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start
}

.news-readmore {
  height: 38px;
  padding: 0 20px;
  font-size: 13px
}

.news-empty,
.news-error {
  padding: 20px 4px;
  color: var(--muted)
}

.news-error {
  color: #ffb3b3
}

/* ═══════════════════════════════════════════════
   NEWS — detail page
═══════════════════════════════════════════════ */
.news-detail-page {
  padding-top: 120px;
  padding-bottom: 64px
}

.news-detail-shell {
  padding-top: 32px
}

.news-detail {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 44px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .015) 100%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
  max-width: 860px
}

.news-detail .news-meta {
  margin-bottom: 14px
}

.news-detail-title {
  margin: 0 0 16px;
  font: 700 clamp(26px, 4vw, 42px)/1.2 var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing);
  color: #fff
}

.news-detail-summary {
  margin: 0 0 24px;
  color: #c4d0e0;
  font-size: 18px;
  line-height: 1.65;
  border-left: 3px solid var(--accent-2);
  padding-left: 16px
}

.news-detail-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 4px 0 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3)
}

.news-detail-content {
  display: grid;
  gap: 14px;
  color: #c4d0e0;
  font-size: 17px;
  line-height: 1.75
}

.news-detail-content p {
  margin: 0
}

.news-detail-content h2,
.news-detail-content h3 {
  margin: 22px 0 6px;
  font: 700 26px/1.25 var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing);
  color: #fff
}

.news-detail-content ul,
.news-detail-content ol {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.news-detail-content blockquote {
  margin: 4px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent-2);
  background: rgba(0, 229, 255, .06);
  border-radius: 0 10px 10px 0;
  color: #d8faff;
  font-style: italic
}

.news-detail-content a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px
}

.news-detail-content a:hover {
  color: #8ff4ff
}

.news-detail-content img {
  width: min(100%, 780px);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25)
}

@media (max-width: 900px) {
  .news-list {
    grid-template-columns: 1fr
  }

  .news-list .news-card:first-child {
    grid-column: auto
  }

  .news-list .news-card:first-child .news-card-image {
    aspect-ratio: 16 / 9
  }

  .news-list .news-card:first-child .news-card-title {
    font-size: 22px
  }
}

@media (max-width: 640px) {
  .news-card-body {
    padding: 18px
  }

  .news-card-title {
    font-size: 18px
  }

  .news-summary {
    font-size: 14px;
    -webkit-line-clamp: 3
  }

  .news-detail {
    padding: 22px 18px
  }

  .news-detail-title {
    font-size: 26px
  }

  .news-detail-summary {
    font-size: 16px
  }

  .news-detail-content {
    font-size: 15px
  }

  .news-detail-content h2,
  .news-detail-content h3 {
    font-size: 21px
  }
}

/* Legal pages */
.legal-doc-page {
  padding-top: 120px;
  padding-bottom: 50px
}

.legal-hero {
  padding-top: 34px;
  padding-bottom: 18px;
  background: radial-gradient(circle at top, rgba(255, 140, 43, .08), transparent 62%)
}

.legal-shell {
  display: grid;
  gap: 12px
}

.legal-title {
  margin: 0;
  font: 700 clamp(28px, 4vw, 44px)/1.2 var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing)
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--muted)
}

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

.legal-switch .btn {
  height: 42px;
  padding: 0 18px
}

.legal-switch .btn.is-active {
  background: rgba(255, 140, 43, .16);
  border-color: rgba(255, 140, 43, .5);
  color: #ffd7b4
}

.legal-doc {
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
  box-shadow: 0 12px 34px rgba(0, 0, 0, .25)
}

.legal-doc section {
  display: grid;
  gap: 10px
}

.legal-doc h2 {
  margin: 0;
  font: 700 clamp(20px, 2.4vw, 28px)/1.3 var(--heading-font-family);
  letter-spacing: var(--heading-letter-spacing)
}

.legal-doc p {
  margin: 0;
  font-size: 16px;
  line-height: var(--body-copy-line-height)
}

.legal-doc ul,
.legal-doc ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px
}

.legal-doc li {
  line-height: var(--body-copy-line-height)
}

.legal-doc a {
  color: var(--accent-2)
}

.legal-doc a:hover {
  color: #8ff4ff
}

.legal-note {
  padding: 12px 14px;
  border: 1px solid rgba(0, 229, 255, .25);
  border-radius: 12px;
  background: rgba(0, 229, 255, .08);
  color: #d8faff
}

@media (max-width: 640px) {
  .legal-doc {
    padding: 18px
  }

  .legal-title {
    font-size: 30px
  }

  .legal-doc p,
  .legal-doc li {
    font-size: 15px;
    line-height: var(--body-copy-line-height)
  }
}

/* Auth Page */
.auth-section {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 0 60px
}

.auth-card {
  width: min(440px, 100%);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  padding: 28px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .35)
}

.auth-header {
  text-align: center;
  margin-bottom: 20px
}

.auth-logo {
  height: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(255, 140, 43, .4))
}

.auth-title {
  font: 700 24px/1.2 "Russo One", "Noto Sans", system-ui, sans-serif;
  letter-spacing: .06em;
  margin: 0 0 6px
}

.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  padding: 4px
}

.auth-tab {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s ease
}

.auth-tab.is-active {
  background: rgba(255, 140, 43, .15);
  color: var(--ink)
}

.auth-tab:hover:not(.is-active) {
  color: var(--ink)
}

.auth-alert {
  display: none;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center
}

.auth-alert.error {
  background: rgba(255, 100, 100, .12);
  border: 1px solid rgba(255, 100, 100, .3);
  color: #ffb3b3
}

.auth-alert.warning {
  background: rgba(255, 180, 80, .12);
  border: 1px solid rgba(255, 180, 80, .3);
  color: #ffd4a3
}

.auth-alert.success {
  background: rgba(0, 229, 255, .1);
  border: 1px solid rgba(0, 229, 255, .3);
  color: #ccf7ff
}

.auth-panel {
  display: none
}

.auth-panel.is-active {
  display: block
}

.auth-form {
  display: grid;
  gap: 14px
}

.auth-form .form-field {
  display: grid;
  gap: 4px
}

.auth-form label {
  font-weight: 600;
  font-size: 14px
}

.auth-form input {
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, .6);
  color: var(--ink);
  padding: 0 14px;
  font-size: 15px;
  transition: border-color .15s ease
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent)
}

.auth-form input.has-error {
  border-color: #ff6b6b
}

.auth-form input:disabled {
  opacity: .5;
  cursor: not-allowed
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap input {
  padding-right: 44px !important;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 15px;
  transition: color .15s;
  line-height: 1;
}

.password-toggle:hover {
  color: var(--ink);
}

.field-error {
  display: none;
  color: #ffb3b3;
  font-size: 13px;
  font-weight: 500
}

.field-hint {
  color: var(--muted);
  font-size: 13px
}

.field-hint.success {
  color: #00e5ff
}

.pw-strength {
  display: none;
  margin-top: 5px
}

.pw-strength.visible {
  display: block
}

.pw-strength__bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-bottom: 4px
}

.pw-strength__fill {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width .3s ease, background-color .3s ease
}

.pw-strength__label {
  font-size: 12px;
  font-weight: 500
}

.pw-strength[data-level="1"] .pw-strength__fill { width: 25%; background-color: #f44336 }
.pw-strength[data-level="2"] .pw-strength__fill { width: 50%; background-color: #ff9800 }
.pw-strength[data-level="3"] .pw-strength__fill { width: 75%; background-color: #ffc107 }
.pw-strength[data-level="4"] .pw-strength__fill { width: 100%; background-color: #4caf50 }
.pw-strength[data-level="1"] .pw-strength__label { color: #f44336 }
.pw-strength[data-level="2"] .pw-strength__label { color: #ff9800 }
.pw-strength[data-level="3"] .pw-strength__label { color: #ffc107 }
.pw-strength[data-level="4"] .pw-strength__label { color: #4caf50 }

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent)
}

.checkbox-field a {
  color: var(--accent-2);
  text-decoration: underline
}

.auth-submit {
  position: relative;
  margin-top: 6px;
  height: 50px;
  font-size: 16px
}

.auth-submit.is-loading .btn-text {
  opacity: 0
}

.auth-submit.is-loading .btn-loader {
  display: block
}

.btn-loader {
  display: none;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .6s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px
}

.auth-link {
  background: none;
  border: none;
  color: var(--accent-2);
  font-weight: 600;
  cursor: pointer;
  padding: 0
}

.auth-link:hover {
  text-decoration: underline
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line)
}

.auth-social {
  display: flex;
  gap: 10px
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.auth-success {
  text-align: center;
  padding: 20px 0
}

.auth-success i {
  font-size: 48px;
  color: var(--accent-2);
  margin-bottom: 16px
}

.auth-success h2 {
  margin: 0 0 10px;
  font: 700 22px/1.2 "Russo One", "Noto Sans", system-ui, sans-serif
}

/* Delete Account Modal */
.delete-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 100
}

.delete-modal.is-open {
  opacity: 1;
  pointer-events: auto
}

.delete-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, .8)
}

.delete-modal-card {
  position: relative;
  z-index: 2;
  width: min(840px, 92vw);
  border-radius: 18px;
  border: 1px solid rgba(255, 100, 100, .3);
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5)
}

.delete-modal-card h3 {
  margin: 0 0 10px;
  font: 700 20px/1.2 "Russo One", "Noto Sans", system-ui, sans-serif;
  color: #ffb3b3
}

/* Password change modal overrides */
#changePasswordModal .delete-modal-card {
  width: min(460px, 92vw);
  border-color: rgba(255, 140, 43, .3)
}

#changePasswordModal .delete-modal-card h3 {
  color: var(--accent, #ff8c2b)
}

#changePasswordModal .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px
}

#changePasswordModal .form-field input {
  width: 100%;
  box-sizing: border-box
}

.delete-warning {
  padding: 14px;
  margin: 14px 0;
  border-radius: 12px;
  background: rgba(255, 100, 100, .1);
  border: 1px solid rgba(255, 100, 100, .25)
}

.delete-warning strong {
  color: #ffb3b3
}

.delete-confirm-input {
  margin: 14px 0
}

.delete-confirm-input input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, .6);
  color: var(--ink);
  padding: 0 14px;
  box-sizing: border-box;
  max-width: 100%
}

.delete-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px
}

.delete-actions .btn.danger {
  background: rgba(255, 100, 100, .2);
  border: 1px solid rgba(255, 100, 100, .4);
  color: #ffb3b3
}

.delete-actions .btn.danger:hover {
  background: rgba(255, 100, 100, .3)
}

.delete-actions .btn.danger:disabled {
  opacity: .5;
  cursor: not-allowed
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 14, 20, .85);
  backdrop-filter: blur(10px) saturate(120%);
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility .3s ease
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.loading-spinner {
  position: relative;
  width: 60px;
  height: 60px
}

.loading-spinner::before,
.loading-spinner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent
}

.loading-spinner::before {
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  animation: spin 1.2s cubic-bezier(.5, 0, .5, 1) infinite
}

.loading-spinner::after {
  border-top-color: var(--accent-2);
  border-right-color: var(--accent-2);
  animation: spin 1.5s cubic-bezier(.5, 0, .5, 1) infinite reverse;
  opacity: .6
}

@keyframes spin {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

/* Download Page */
.download-page {
  min-height: 100vh
}

.download-hero {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 100px
}

.download-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto
}

.download-state,
.download-success,
.download-error {
  padding: 40px 20px
}

.hidden {
  display: none !important
}

/* Download Icon with Spinner */
.download-icon {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center
}

.download-icon i {
  font-size: 48px;
  color: var(--accent);
  position: relative;
  z-index: 2;
  animation: downloadBounce 2s ease-in-out infinite
}

.download-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-right-color: var(--accent-2);
  animation: spin 1.5s linear infinite
}

@keyframes downloadBounce {

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

  50% {
    transform: translateY(8px)
  }
}

.download-title {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 12px
}

.download-subtitle {
  font-size: 18px;
  margin-bottom: 32px
}

.download-subtitle strong {
  color: var(--accent-2)
}

/* Progress Bar */
.download-progress-container {
  max-width: 400px;
  margin: 0 auto 40px
}

.download-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px
}

.download-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width .5s ease
}

.download-progress-text {
  font-size: 14px
}

/* Fallback Link */
.download-fallback {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .02);
  margin-top: 32px
}

.download-fallback.always-visible {
  display: block !important
}

.download-fallback p {
  margin: 0 0 16px
}

.download-retry {
  gap: 10px
}

.download-retry i {
  font-size: 14px
}

/* Success State */
.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(34, 197, 94, .12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.success-icon i {
  font-size: 40px;
  color: #22c55e
}

.install-steps {
  display: grid;
  gap: 12px;
  margin: 32px 0;
  text-align: left
}

.install-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  transition: border-color .2s
}

.install-step:hover {
  border-color: rgba(255, 255, 255, .15)
}

.download-page .step-number {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  border: none
}

.step-content h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600
}

.step-content p {
  margin: 0;
  font-size: 14px
}

.download-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

/* Auth Required State */
.download-auth-required {
  padding: 40px 20px
}

.auth-required-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: rgba(255, 193, 7, .12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.auth-required-icon i {
  font-size: 48px;
  color: #ffc107
}

.auth-required-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px
}

/* Error State */
.error-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: rgba(255, 100, 100, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.error-icon i {
  font-size: 48px;
  color: #ff6b6b
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px
}

/* Info Cards Grid */
.download-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .02);
  text-align: center
}

.info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(255, 140, 43, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.info-icon i {
  font-size: 24px;
  color: var(--accent)
}

.info-card a {
  color: var(--accent-2)
}

@media(max-width:980px) {
  .download-info-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:640px) {
  .install-steps {
    gap: 12px
  }

  .install-step {
    padding: 16px
  }

  .download-actions {
    flex-direction: column
  }

  .download-actions .btn {
    width: 100%
  }
}

/* ============================================================
   BOOKING PAGE — Public Online Booking Widget
   ============================================================ */

.booking-page {
  min-height: 80vh;
  padding-bottom: 80px;
}

.booking-hero {
  padding: 48px 0 24px;
}

.booking-hero .display-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}

.booking-hero .hero-lead {
  max-width: 560px;
  margin-inline: auto;
}

/* ---- Widget Container ---- */
.booking-widget {
  max-width: 780px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px 40px;
}

/* ---- Step Indicator ---- */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .45;
  transition: opacity .3s;
}

.booking-step.active,
.booking-step.completed {
  opacity: 1;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  transition: all .3s;
}

.booking-step.active .step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 140, 43, .35);
}

.booking-step.completed .step-number {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.booking-step.active .step-label {
  color: var(--ink);
}

.booking-step-line {
  width: 32px;
  height: 2px;
  background: var(--line);
  margin: 0 8px;
  transition: background .3s;
}

.booking-step-line.completed {
  background: #22c55e;
}

/* ---- Step Content ---- */
.booking-step-content {
  animation: fadeInUp .35s ease;
}

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

.booking-step-title {
  font-family: var(--heading-font-family);
  font-size: 1.25rem;
  letter-spacing: var(--heading-letter-spacing);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-step-title i {
  color: var(--accent);
  font-size: 1rem;
}

/* ---- Fields ---- */
.booking-field {
  margin-bottom: 24px;
}

.booking-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--ink);
}

.booking-label .required {
  color: #ef4444;
}

.booking-label-inline {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* ---- Location Cards ---- */
.booking-location-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.location-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  transition: all .2s;
  position: relative;
}

.location-card:hover {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .04);
}

.location-card.selected {
  border-color: var(--accent);
  background: rgba(255, 140, 43, .06);
}

.location-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 140, 43, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.location-card-name {
  font-weight: 700;
  font-size: 15px;
}

.location-card-address {
  font-size: 13px;
  margin-top: 2px;
}

.location-check {
  color: var(--accent);
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 16px;
}

/* ---- Room Cards ---- */
.booking-room-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.room-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  background: rgba(255, 255, 255, .02);
}

.room-card:hover {
  border-color: rgba(255, 255, 255, .15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.room-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(255, 140, 43, .15);
}

.room-card-color {
  height: 6px;
  width: 100%;
}

.room-card-body {
  padding: 18px 16px 16px;
}

.room-card-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.room-card-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.room-card-meta i {
  margin-right: 4px;
  font-size: 11px;
}

.room-card-desc {
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.room-card-price {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}

.room-card-check {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--accent);
  font-size: 20px;
}

/* ---- Calendar ---- */
.booking-calendar {
  max-width: 380px;
}

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

.calendar-month {
  font-weight: 700;
  font-size: 16px;
  text-transform: capitalize;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
  gap: 4px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: default;
  transition: all .2s;
}

.cal-day.empty {
  visibility: hidden;
}

.cal-day.past {
  opacity: .3;
}

.cal-day.available {
  cursor: pointer;
  color: var(--ink);
}

.cal-day.available:hover {
  background: rgba(255, 255, 255, .08);
}

.cal-day.today {
  border: 2px solid var(--accent);
}

.cal-day.selected {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 140, 43, .3);
}

/* Closed-day dot indicator */
.cal-closed-mark {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  margin: 1px auto 0;
  opacity: .5;
}

/* ---- Time Grid ---- */
.booking-time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.time-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: default;
  transition: all .2s;
  text-align: center;
  gap: 4px;
}

.time-slot .slot-time {
  font-weight: 700;
  font-size: 16px;
}

.time-slot .slot-price {
  font-size: 12px;
  color: var(--muted);
}

.time-slot .slot-status {
  font-size: 11px;
  color: var(--muted);
}

.time-slot.available {
  cursor: pointer;
  background: rgba(255, 255, 255, .02);
}

.time-slot.available:hover {
  border-color: var(--accent);
  background: rgba(255, 140, 43, .06);
}

.time-slot.available.selected {
  border-color: var(--accent);
  background: rgba(255, 140, 43, .12);
  box-shadow: 0 0 0 1px var(--accent);
}

.time-slot.available.selected .slot-time {
  color: var(--accent);
}

.time-slot.booked {
  opacity: .4;
  background: rgba(239, 68, 68, .05);
  border-color: rgba(239, 68, 68, .15);
}

.time-slot.past {
  opacity: .25;
}

/* ---- Player Counter ---- */
.booking-player-count {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.player-counter {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2px;
}

.player-count-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  font-weight: 700;
  font-size: 16px;
}

/* ---- Summary Card ---- */
.booking-summary-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 28px;
}

.summary-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.summary-row + .summary-row {
  border-top: 1px solid var(--line);
}

.summary-icon {
  width: 28px;
  text-align: center;
  color: var(--accent);
  flex-shrink: 0;
}

.summary-text {
  font-size: 15px;
}

.summary-price .summary-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}

.summary-discount .summary-icon.discount-badge {
  color: #f59e0b;
}

.summary-discount .summary-text {
  font-size: 14px;
  color: #f59e0b;
  font-weight: 600;
}

.summary-final .summary-text {
  font-weight: 700;
  font-size: 18px;
  color: #22c55e;
}

.summary-final .summary-icon {
  color: #22c55e;
}

/* ---- Contact Form ---- */
.booking-form {
  margin-bottom: 8px;
}

.booking-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.booking-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}

.booking-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 140, 43, .15);
}

.booking-input::placeholder {
  color: var(--muted);
  opacity: .6;
}

.booking-textarea {
  resize: vertical;
  min-height: 80px;
}

/* ---- Actions ---- */
.booking-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
}

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

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 14px;
}

/* ---- Success / Confirmation ---- */
.booking-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 64px;
  color: #22c55e;
  margin-bottom: 16px;
  animation: scaleIn .5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.booking-success .booking-step-title {
  justify-content: center;
  font-size: 1.4rem;
}

.booking-confirmation-card {
  max-width: 400px;
  margin: 28px auto;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}

.confirmation-number {
  padding: 18px 20px;
  background: rgba(255, 140, 43, .08);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.conf-label {
  font-size: 13px;
  color: var(--muted);
}

.conf-value {
  font-weight: 700;
  font-size: 18px;
  font-family: var(--heading-font-family);
  letter-spacing: .04em;
  color: var(--accent);
}

.confirmation-details {
  padding: 16px 20px;
}

.conf-row {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.conf-row + .conf-row {
  border-top: 1px solid var(--line);
}

.conf-row i {
  color: var(--accent);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* ---- Loading & Empty States ---- */
.booking-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  color: var(--muted);
}

.loading-spinner.small {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.booking-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.booking-empty i {
  font-size: 36px;
  margin-bottom: 12px;
  opacity: .4;
  display: block;
}

/* ---- Discount Code Block ---- */
.booking-discount-block {
  margin-bottom: 20px;
}

.discount-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background .2s, border-color .2s;
}

.discount-toggle-btn:hover {
  background: rgba(255,255,255,.04);
  border-color: var(--accent);
}

.discount-caret {
  margin-left: auto;
  font-size: 11px;
  transition: transform .25s;
}

.discount-caret.open {
  transform: rotate(180deg);
}

.discount-input-wrap {
  margin-top: 12px;
  animation: fadeIn .2s ease;
}

.discount-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.discount-row .booking-input {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.discount-row .btn {
  flex-shrink: 0;
  padding: 0 20px;
  height: 44px;
  line-height: 44px;
}

.discount-status {
  margin-top: 8px;
  font-size: 13px;
  min-height: 20px;
  font-weight: 600;
  transition: color .2s;
}

.discount-status.success { color: #22c55e; }
.discount-status.error   { color: #ef4444; }

.discount-conf-row { color: #f59e0b; }
.final-conf-row    { color: #22c55e; }

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

/* ---- Toast ---- */
.booking-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: all .35s cubic-bezier(.25, .46, .45, .94);
  pointer-events: none;
  white-space: nowrap;
}

.booking-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.booking-toast.success {
  background: #22c55e;
  color: #fff;
}

.booking-toast.error {
  background: #ef4444;
  color: #fff;
}

.booking-toast.info {
  background: #3b82f6;
  color: #fff;
}

/* ---- Loading button state ---- */
#submitBooking.loading .btn-text { opacity: 0; }
#submitBooking.loading .btn-loader { display: inline-block; }
#submitBooking .btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  position: absolute;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#submitBooking {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .booking-widget {
    padding: 24px 16px 28px;
    border-radius: 16px;
  }

  .booking-steps {
    gap: 0;
    margin-bottom: 24px;
  }

  .step-label {
    display: none;
  }

  .booking-step-line {
    width: 20px;
    margin: 0 4px;
  }

  .booking-room-cards {
    grid-template-columns: 1fr;
  }

  .booking-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .booking-time-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .booking-actions {
    flex-direction: column-reverse;
  }

  .booking-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .booking-location-cards {
    grid-template-columns: 1fr;
  }
}

/* =============================
   Showcase Sections (Index)
   ============================= */
.hero--compact {
  min-height: 70vh;
}

.showcases {
  padding: 0;
}

.showcase-item {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.showcase-item--alt {
  background: rgba(255, 255, 255, 0.015);
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-row--reverse {
  direction: rtl;
}

.showcase-row--reverse > * {
  direction: ltr;
}

.showcase-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-chip {
  display: inline-block;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 43, .4);
  background: rgba(255, 140, 43, .08);
  color: #ffdfa6;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.showcase-title {
  font: 700 clamp(24px, 3vw, 36px)/1.2 var(--heading-font-family);
  letter-spacing: .04em;
  margin: 0;
  text-transform: uppercase;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .showcase-title {
    background: var(--hero-heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.showcase-desc {
  color: var(--muted);
  font-family: var(--body-copy-font-family);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  margin: 0;
}

.showcase-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.showcase-media:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 140, 43, 0.3);
}

.showcase-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.showcase-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(255, 140, 43, 0.06), rgba(0, 229, 255, 0.06));
  display: grid;
  place-items: center;
}

.showcase-placeholder i {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.12);
}

/* Image Lightbox */
.image-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  cursor: zoom-out;
}

.image-lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  animation: zoom-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: default;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #ff8c2b;
}

/* Showcase Responsive */
@media (max-width: 768px) {
  .showcase-item {
    padding: 48px 0;
  }

  .showcase-row,
  .showcase-row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .showcase-title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .hero--compact {
    min-height: 60vh;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE REDESIGN — Global tokens & layout
   ═══════════════════════════════════════════════════════════ */
.pg-container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.pg-section {
  padding: 120px 0;
}

.pg-section-header {
  margin-bottom: 64px;
}

.pg-section-header--center {
  text-align: center;
}

.pg-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pg-eyebrow--light { color: rgba(255,255,255,.55); }

.pg-h1 {
  font-family: var(--heading-font-family);
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: var(--heading-letter-spacing);
  text-transform: uppercase;
  margin: 0;
  background: var(--hero-heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pg-h1__accent {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.pg-h2 {
  font-family: var(--heading-font-family);
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: var(--heading-letter-spacing);
  margin: 0;
}

.pg-body {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

/* Buttons */
.pg-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}

.pg-btn-primary:hover {
  background: #ff9e4a;
  transform: translateY(-2px);
}

.pg-btn-glow {
  box-shadow: 0 0 24px rgba(255,140,43,.4);
}

.pg-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}

.pg-btn-ghost:hover {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.04);
  transform: translateY(-2px);
}

.pg-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}

.pg-btn-outline:hover {
  background: rgba(255,140,43,.08);
  transform: translateY(-2px);
}

.pg-btn--full { width: 100%; }

/* Countdown tile clock */
.pg-countdown-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0 0 8px;
}

.pg-countdown-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.pg-countdown-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 56px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 140, 43, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.pg-countdown-tile__num {
  font-family: var(--heading-font-family);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 30%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pg-countdown-tile__label {
  font-family: var(--body-copy-font-family);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .03em;
  text-transform: lowercase;
}

.pg-countdown-sep {
  font-family: var(--heading-font-family);
  font-size: 24px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
  margin-bottom: 18px;
  animation: countdownBlink 1s step-end infinite;
}

@keyframes countdownBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Input */
.pg-input {
  height: 56px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}

.pg-input:focus {
  border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════════ */
.pg-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 24px 120px;
  overflow: hidden;
}

.pg-hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Scale iframe to always cover the section regardless of aspect ratio */
.pg-hero__video {
  position: absolute;
  /* Center the iframe */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Minimum size: cover the full viewport, maintain 16:9 */
  width: 177.78vh;  /* 16/9 × 100vh */
  height: 56.25vw;  /* 9/16 × 100vw */
  /* whichever dimension is bigger wins */
  min-width: 100%;
  min-height: 100%;
  border: none;
  pointer-events: none;
}

/* Dark gradient overlay so text stays legible */
.pg-hero__video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(11,14,20,.55) 0%,
      rgba(11,14,20,.45) 50%,
      rgba(11,14,20,.75) 100%);
}

/* Subtle grid on top of video */
.pg-hero__video-wrap .pg-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.pg-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.pg-hero__desc {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 24px;
}

.pg-hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.pg-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pg-hero__scroll span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: pg-scroll-hint 2s ease-in-out infinite;
}

@keyframes pg-scroll-hint {
  0%, 100% { opacity: 1; transform: scaleY(1) translateY(0); }
  50% { opacity: .4; transform: scaleY(.6) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════
   2. INTRO — Turn Space
   ═══════════════════════════════════════════════════════════ */
.pg-intro {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pg-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pg-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pg-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--ink);
}

.pg-checklist .fa-check-circle {
  color: var(--accent);
  font-size: 15px;
  flex-shrink: 0;
}

.pg-intro__visual {
  position: relative;
}

.pg-intro__img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.pg-intro__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.pg-intro__badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(11,14,20,.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  text-align: center;
}

.pg-intro__badge--a {
  bottom: 24px;
  left: 24px;
}

.pg-intro__badge--b {
  top: 24px;
  right: 24px;
}

.pg-intro__badge-val {
  font-family: var(--heading-font-family);
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}

.pg-intro__badge-lbl {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ═══════════════════════════════════════════════════════════
   3. GAMES — Slider (native scroll-snap)
   ═══════════════════════════════════════════════════════════ */

/* Outer clipping wrapper so the scrollbar area doesn't push layout */
.pg-games__outer {
  /* extra top/bottom padding so card hover shadow isn't clipped */
  padding: 12px 0 16px;
  margin: -12px 0 -16px;
  overflow: hidden;
}

/* The scrollable track */
.pg-games__viewport {
  display: flex;
  gap: 24px;
  /* align first card to the container left edge */
  padding-left: clamp(16px, calc(50vw - 580px), 200px);
  /* right padding lets last card fully scroll into view */
  padding-right: clamp(16px, calc(50vw - 580px), 200px);
  padding-bottom: 4px;
  overflow-x: scroll;
  scroll-snap-type: x proximity;
  scroll-padding-left: clamp(16px, calc(50vw - 580px), 200px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  /* clip keeps card shadows visible via outer padding,
     without creating a Y-axis scroll container (visible→auto bug) */
  overflow-y: clip;
}

/* overflow-y:visible is reset by browser when overflow-x is non-visible.
   Combat it: bump the outer wrapper's padding and let shadows breathe. */
.pg-games__viewport::-webkit-scrollbar { display: none; }
.pg-games__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.pg-game-card {
  scroll-snap-align: start;
  flex: 0 0 360px;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s;
  user-select: none;
  -webkit-user-drag: none;
}

.pg-game-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.pg-game-card__media {
  flex: 0 0 300px;
  overflow: hidden;
}

.pg-game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
  pointer-events: none;
  draggable: false;
}

.pg-game-card:hover .pg-game-card__media img {
  transform: scale(1.04);
}

.pg-game-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.pg-game-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.pg-game-card__title {
  font-family: var(--heading-font-family);
  font-size: 20px;
  margin: 0;
  letter-spacing: .04em;
}

.pg-game-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Footer row: dots + arrows */
.pg-games__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.pg-games__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pg-games__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, width .25s, border-radius .25s;
}

.pg-games__dot.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent);
}

.pg-games__controls {
  display: flex;
  gap: 12px;
}

.pg-games__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: background .2s, border-color .2s, transform .15s;
}

.pg-games__arrow:hover:not(:disabled) {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  transform: scale(1.05);
}

.pg-games__arrow:disabled {
  opacity: .3;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════
   4. TIERS — Product Tiers
   ═══════════════════════════════════════════════════════════ */
.pg-tiers__subtitle {
  max-width: 600px;
  margin: 16px auto 0;
}

.pg-tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pg-tier-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.pg-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}

.pg-tier-card--featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(255,140,43,.08) 0%, var(--panel) 60%);
}

.pg-tier-card--featured:hover {
  box-shadow: 0 16px 48px rgba(255,140,43,.2);
}

.pg-tier-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pg-tier-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,140,43,.12);
  border: 1px solid rgba(255,140,43,.25);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--accent);
}

.pg-tier-card__name {
  font-family: var(--heading-font-family);
  font-size: 22px;
  letter-spacing: .06em;
  margin: 0;
}

.pg-tier-card__tagline {
  font-size: 13px;
  color: var(--muted);
  margin: -8px 0 0;
}

.pg-tier-card__desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.pg-tier-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pg-tier-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

.pg-tier-card__features .fa-check {
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
}

.pg-tier-card__footer {
  margin-top: auto;
  padding-top: 8px;
}

/* ═══════════════════════════════════════════════════════════
   5. PLATFORM — Dashboard
   ═══════════════════════════════════════════════════════════ */
.pg-guardian {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pg-guardian__video {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}

.pg-guardian__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pg-launcher-os {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pg-platform__grid--reverse {
  grid-template-columns: 60% 40%;
}

.pg-platform {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pg-platform__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 64px;
  align-items: center;
}

.pg-platform__grid--solo {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.pg-feat-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.pg-feat-row:last-child { margin-bottom: 0; }

.pg-feat-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,140,43,.12);
  border: 1px solid rgba(255,140,43,.2);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--accent);
  margin-top: 2px;
}

.pg-feat-row strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--ink);
}

.pg-feat-row p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.pg-platform__visual {
  position: relative;
}

.pg-platform__screen {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  border: 1px solid var(--line);
}

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

/* ═══════════════════════════════════════════════════════════
   6. HARDWARE — VR Hardware
   ═══════════════════════════════════════════════════════════ */
.pg-hw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pg-hw-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  transition: transform .25s, box-shadow .25s;
}

.pg-hw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

.pg-hw-card__icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
}

.pg-hw-card__title {
  font-family: var(--heading-font-family);
  font-size: 20px;
  letter-spacing: .04em;
  margin: 0 0 12px;
}

.pg-hw-card__desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 20px;
}

.pg-hw-card__specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.pg-hw-card__specs li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.pg-hw-card__specs li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   7. STATS & TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.pg-social {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pg-stats {
  display: flex;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0 0 80px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
}

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

.pg-stat__val {
  font-family: var(--heading-font-family);
  font-size: 56px;
  line-height: 1;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--accent) 0%, #ffdfa6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pg-stat__lbl {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

.pg-reviews {
  overflow: hidden;
}

.pg-review-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pg-review-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pg-review-card__stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
  font-size: 14px;
}

.pg-review-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  flex: 1;
}

.pg-review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.pg-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,140,43,.15);
  border: 1px solid rgba(255,140,43,.3);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

.pg-review-card__author strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.pg-review-card__author p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════
   8. ROI CALCULATOR
   ═══════════════════════════════════════════════════════════ */
.pg-roi__banner {
  background: linear-gradient(135deg, #1a0e00 0%, #0f141d 40%, #001a24 100%);
  border: 1px solid rgba(255,140,43,.25);
  border-radius: 24px;
  padding: 80px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.pg-roi__banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,140,43,.15) 0%, transparent 70%);
  pointer-events: none;
}

.pg-roi__text {
  flex: 1;
}

.pg-roi__calc {
  flex: 0 0 340px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pg-roi__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pg-roi__field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pg-roi__field input {
  height: 56px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s;
}

.pg-roi__field input:focus {
  border-color: var(--accent);
}

.pg-roi__result {
  background: rgba(255,140,43,.1);
  border: 1px solid rgba(255,140,43,.3);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.pg-roi__result-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,140,43,.8);
}

.pg-roi__result-val {
  font-family: var(--heading-font-family);
  font-size: 28px;
  color: var(--accent);
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════
   9. PRICING
   ═══════════════════════════════════════════════════════════ */
.pg-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pg-price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

.pg-price-card:hover {
  transform: translateY(-4px);
}

.pg-price-card--featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(255,140,43,.07) 0%, var(--panel) 60%);
  box-shadow: 0 0 0 1px rgba(255,140,43,.3);
}

.pg-price-card--featured:hover {
  box-shadow: 0 16px 48px rgba(255,140,43,.2), 0 0 0 1px rgba(255,140,43,.3);
}

.pg-price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pg-price-card__header {
  margin-bottom: 24px;
}

.pg-price-card__name {
  font-family: var(--heading-font-family);
  font-size: 24px;
  letter-spacing: .06em;
  margin: 0 0 12px;
}

.pg-price-card__price {
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pg-price-card__amount {
  font-family: var(--heading-font-family);
  font-size: 36px;
  letter-spacing: .02em;
}

.pg-price-card--featured .pg-price-card__amount {
  color: var(--accent);
}

.pg-price-card__amount-old {
  font-family: var(--heading-font-family);
  font-size: 36px;
  letter-spacing: .02em;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  margin-right: 12px;
}

.pg-price-card__period {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.pg-price-card__footnote {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 0;
  opacity: 0.85;
}

.pg-price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pg-price-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
}

.pg-price-card__features .fa-check {
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
}

.pg-price-card__features .fa-times {
  color: rgba(255,255,255,.2);
  font-size: 12px;
  flex-shrink: 0;
}

.pg-disabled {
  color: var(--muted) !important;
  opacity: .5;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.pg-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
}

.pg-footer__lead {
  background: linear-gradient(135deg, rgba(255,140,43,.08) 0%, rgba(0,229,255,.05) 100%);
  border: 1px solid rgba(255,140,43,.2);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.pg-footer__lead-text h3 {
  font-family: var(--heading-font-family);
  font-size: 24px;
  letter-spacing: .06em;
  margin: 0 0 8px;
}

.pg-footer__lead-text p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 460px;
}

.pg-footer__lead-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pg-footer__lead-form .pg-input {
  width: 280px;
}

.pg-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.pg-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--heading-font-family);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.pg-footer__about {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.pg-footer__col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 20px;
}

.pg-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pg-footer__col ul li a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.pg-footer__col ul li a:hover {
  color: var(--ink);
}

.pg-footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.pg-footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: border-color .2s, color .2s;
}

.pg-footer__socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pg-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet & Mobile
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pg-h1 { font-size: 52px; }
  .pg-h2 { font-size: 38px; }

  .pg-intro__grid,
  .pg-platform__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pg-platform__grid { grid-template-columns: 1fr; }

  .pg-tiers__grid,
  .pg-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .pg-hw-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pg-roi__banner {
    flex-direction: column;
    padding: 48px 32px;
    min-height: auto;
  }

  .pg-roi__calc {
    flex: none;
    width: 100%;
  }

  .pg-review-track {
    grid-template-columns: 1fr;
  }

  .pg-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .pg-section { padding: 80px 0; }
  .pg-h1 { font-size: clamp(36px, 10vw, 52px); }
  .pg-h2 { font-size: clamp(28px, 7vw, 38px); }
  .pg-body { font-size: 16px; }

  .pg-hero {
    padding: 120px 24px 80px;
    align-items: flex-end;
    min-height: 100svh;
  }

  .pg-hero__inner { text-align: left; }
  .pg-hero__ctas { justify-content: flex-start; }

  .pg-hw-grid {
    grid-template-columns: 1fr;
  }

  .pg-stats {
    gap: 24px;
    padding-bottom: 48px;
    margin-bottom: 48px;
  }

  .pg-stat__val { font-size: 40px; }

  .pg-games__viewport {
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-left: 16px;
  }

  .pg-game-card {
    flex: 0 0 280px;
    height: 420px;
  }

  .pg-game-card__media {
    flex: 0 0 230px;
  }

  .pg-roi__banner {
    padding: 40px 24px;
  }

  .pg-footer__lead {
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
  }

  .pg-footer__lead-form input {
    width: 100%;
  }

  .pg-footer__cols {
    grid-template-columns: 1fr 1fr;
  }

  .pg-footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   VISUAL SHOWCASE — Image Gallery Section
   ═══════════════════════════════════════════════════════════ */
.pg-showcase {
  background: var(--bg);
}

.pg-showcase__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 64px);
}

.pg-showcase__item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.pg-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.pg-showcase__item:hover img {
  transform: scale(1.06);
}

.pg-showcase__item--large {
  grid-row: 1 / -1;
}

.pg-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,14,20,.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity .3s ease;
}

.pg-showcase__item:hover .pg-showcase__overlay {
  opacity: 1;
}

.pg-showcase__label {
  font-family: var(--heading-font-family);
  font-size: 18px;
  letter-spacing: .06em;
  color: #fff;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   INTRO — Extra images row
   ═══════════════════════════════════════════════════════════ */
.pg-intro__extra-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.pg-intro__extra-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.pg-intro__extra-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.pg-intro__extra-img:hover img {
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   GAMES — Bigger cards variant
   ═══════════════════════════════════════════════════════════ */
.pg-game-card--big {
  flex: 0 0 420px;
  height: 560px;
}

.pg-game-card--big .pg-game-card__media {
  flex: 0 0 380px;
}

/* ═══════════════════════════════════════════════════════════
   PLATFORM — Redesigned image-first layout
   ═══════════════════════════════════════════════════════════ */
.pg-platform__hero-img {
  margin-bottom: 64px;
}

.pg-platform__screen--hero {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px var(--line);
  border: 1px solid rgba(255,255,255,.06);
}

.pg-platform__screen--hero img {
  width: 100%;
  display: block;
}

.pg-platform__features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pg-feat-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.pg-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.pg-feat-card .pg-feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,140,43,.12);
  border: 1px solid rgba(255,140,43,.2);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--accent);
  margin: 0 auto 16px;
}

.pg-feat-card strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}

.pg-feat-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   HARDWARE — Image-rich cards
   ═══════════════════════════════════════════════════════════ */
.pg-hw-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

.pg-hw-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.pg-hw-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,14,20,.85) 0%, rgba(11,14,20,.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 48px;
}

.pg-hw-hero__stats {
  display: flex;
  gap: 64px;
}

.pg-hw-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pg-hw-hero__stat-val {
  font-family: var(--heading-font-family);
  font-size: 36px;
  letter-spacing: .04em;
  color: var(--accent);
}

.pg-hw-hero__stat-lbl {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pg-hw-card--visual {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pg-hw-card--visual .pg-hw-card__img-wrap {
  overflow: hidden;
}

.pg-hw-card--visual .pg-hw-card__img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.pg-hw-card--visual:hover .pg-hw-card__img-wrap img {
  transform: scale(1.05);
}

.pg-hw-card--visual .pg-hw-card__content {
  padding: 28px 32px 32px;
}

.pg-hw-card--visual .pg-hw-card__title {
  margin-bottom: 12px;
}

.pg-hw-card--visual .pg-hw-card__desc {
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════
   LAUNCHER PAGE — Feature cards grid
   ═══════════════════════════════════════════════════════════ */
.ln-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ln-fcard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.ln-fcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  border-color: rgba(255,140,43,.25);
}

.ln-fcard__icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}

.ln-fcard__title {
  font-family: var(--heading-font-family);
  font-size: 18px;
  letter-spacing: .04em;
  margin: 0;
}

.ln-fcard__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .ln-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ln-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — New sections
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pg-showcase__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 240px;
  }

  .pg-showcase__item--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .pg-platform__features-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .pg-showcase__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 0 16px;
  }

  .pg-showcase__item--large {
    grid-column: auto;
  }

  .pg-showcase__item img {
    height: 220px;
  }

  .pg-showcase__item--large img {
    height: 300px;
  }

  .pg-showcase__overlay {
    opacity: 1;
  }

  .pg-intro__extra-images {
    grid-template-columns: 1fr;
  }

  .pg-game-card--big {
    flex: 0 0 300px;
    height: 460px;
  }

  .pg-game-card--big .pg-game-card__media {
    flex: 0 0 280px;
  }

  .pg-platform__features-row {
    grid-template-columns: 1fr;
  }

  .pg-hw-hero img {
    height: 260px;
  }

  .pg-hw-hero__stats {
    gap: 32px;
  }

  .pg-hw-hero__stat-val {
    font-size: 28px;
  }

  .pg-hw-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== reCAPTCHA badge position ===== */
.grecaptcha-badge {
  left: 14px !important;
  right: auto !important;
  bottom: 14px !important;
  transform: none !important;
  transition: none !important;
  visibility: visible !important;
  z-index: 9999 !important;
}

/* ===== reCAPTCHA v2 Checkbox ===== */
.recaptcha-checkbox-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0 8px;
  min-height: 78px;
}

/* =====================
   Cookie Consent Banner
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: min(740px, calc(100vw - 32px));
  z-index: 9999;
  transition: transform 0.45s cubic-bezier(0.34, 1.36, 0.64, 1), opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__inner {
  background: linear-gradient(135deg, rgba(15, 20, 29, 0.98), rgba(11, 14, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, .1);
  border-top: 1px solid rgba(255, 140, 43, .2);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 140, 43, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner__icon {
  font-size: 30px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 140, 43, .4));
}

.cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.cookie-banner__text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--accent-2);
  text-decoration: none;
}

.cookie-banner__text a:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 9px 20px;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 580px) {
  .cookie-banner {
    bottom: 12px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}
