/* ============================================================
   NEON ARCADE — GAME PORTAL STYLESHEET
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --accent:        #00d9ff;
  --accent2:       #a855f7;
  --accent3:       #22d3ee;
  --neon-green:    #00ff9f;
  --bg:            #050a12;
  --bg-card:       #0a1628;
  --bg-sidebar:    #070e1c;
  --surface:       #0d1f38;
  --surface2:      #122440;
  --border:        rgba(0,217,255,0.12);
  --border-strong: rgba(0,217,255,0.28);
  --text:          #e2eaf4;
  --text-muted:    #7a9ab8;
  --text-dim:      #4a6a8a;
  --sidebar-w:     240px;
  --header-h:      52px;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --shadow-neon:   0 0 20px rgba(0,217,255,0.2), 0 0 60px rgba(0,217,255,0.06);
  --shadow-card:   0 4px 24px rgba(0,0,0,0.5);
  --transition:    0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input { font-family: inherit; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── SVG Icons ──────────────────────────────────────────────── */
.icon {
  width: 1.1em; height: 1.1em;
  display: inline-block; vertical-align: middle;
  fill: currentColor; flex-shrink: 0;
}

/* ── Page Wrapper ───────────────────────────────────────────── */
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* ── Mobile Header ──────────────────────────────────────────── */
.mobile-header {
  display: none;
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(7,14,28,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 1rem;
}
.mobile-header__inner {
  height: 100%; max-width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

/* ── Logo ───────────────────────────────────────────────────── */
.logo-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter var(--transition);
}
.logo-link:hover { filter: brightness(1.2); }
.logo-img {
  width: 44px; height: 44px;
  min-width: 44px; max-width: 44px;
  min-height: 44px; max-height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0,217,255,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.logo-link:hover .logo-img {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 0 24px rgba(0,217,255,0.6);
}

/* ── Menu Button ─────────────────────────────────────────────── */
.menu-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: background var(--transition), border-color var(--transition);
}
.menu-btn:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }

/* ── Layout ─────────────────────────────────────────────────── */
.layout {
  display: flex; flex: 1;
  max-width: 1600px; margin: 0 auto; width: 100%;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
}
.sidebar--desktop {
  position: sticky; top: 0;
  height: 100vh; overflow-y: auto;
  scrollbar-width: none;
}
.sidebar--desktop::-webkit-scrollbar { display: none; }
.sidebar--mobile {
  display: none;
  position: fixed; top: 0; left: -100%; z-index: 200;
  width: var(--sidebar-w); height: 100vh;
  overflow-y: auto;
  transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
}
.sidebar--mobile.open { left: 0; }

.sidebar__inner {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  min-height: 100%;
  padding: 1.25rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}

.sidebar__logo { padding: 0 0.5rem 0.5rem; }

/* ── Search ─────────────────────────────────────────────────── */
.search-wrap { position: relative; padding: 0 0.25rem; }
.search-box {
  position: relative;
  display: flex; align-items: center;
}
.search-icon {
  position: absolute; left: 14px;
  color: var(--text-muted); font-size: 1rem;
  pointer-events: none;
}
.search-box input {
  width: 100%; padding: 0.65rem 1rem 0.65rem 2.8rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  color: var(--text); font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box input::placeholder { color: var(--text-dim); }
.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,217,255,0.1);
}
.search-results {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: none;
  box-shadow: var(--shadow-card);
  margin-top: 4px;
}
.search-results.visible { display: block; }
.search-results a {
  display: flex; align-items: center; gap: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.875rem;
  transition: background var(--transition);
}
.search-results a:hover { background: var(--surface); }

/* ── Sidebar Divider ─────────────────────────────────────────── */
.sidebar__divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-strong), transparent);
  margin: 0 0.25rem;
}

/* ── Sidebar Nav ─────────────────────────────────────────────── */
.sidebar__nav ul { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  position: relative; overflow: hidden;
}
.nav-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; border-radius: 0 3px 3px 0;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform var(--transition);
}
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item:hover::before { transform: scaleY(1); }
.nav-item.active {
  background: rgba(0,217,255,0.1);
  color: var(--accent);
  font-weight: 600;
}
.nav-item.active::before { transform: scaleY(1); }

/* Mobile sidebar header */
.mobile-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0.5rem 0.5rem;
}
.close-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.close-btn:hover { background: var(--surface); color: var(--text); }

/* ── Sidebar Overlay ─────────────────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 150;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}
.sidebar-overlay.visible { display: block; opacity: 1; }

/* ── Main Content ─────────────────────────────────────────────── */
.main-content {
  flex: 1; min-width: 0;
  padding: 1.25rem 1.5rem 0;
}

/* ── Game Section ─────────────────────────────────────────────── */
.game-section {
  max-width: 960px;
  margin: 0 auto 1.75rem auto;
  width: 100%;
}

.game-frame-wrapper {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-neon), var(--shadow-card);
  border: 1px solid var(--border-strong);
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
  background: #000;
  transition: box-shadow var(--transition);
}
.game-frame-wrapper:hover {
  box-shadow: 0 0 40px rgba(0,217,255,0.3), 0 0 100px rgba(0,217,255,0.08), var(--shadow-card);
}

.game-frame-wrapper:fullscreen,
.game-frame-wrapper:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  border-radius: 0;
  border: none;
}
.game-frame-wrapper:fullscreen .game-frame-container,
.game-frame-wrapper:-webkit-full-screen .game-frame-container {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
}

.game-frame-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #02060f;
  user-select: none;
}
.game-frame-container iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Game Splash ─────────────────────────────────────────────── */
.game-splash {
  position: absolute; inset: 0;
  cursor: pointer;
}
.splash-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.splash-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,10,20,0.05) 0%, rgba(5,10,20,0.15) 30%, rgba(5,10,20,0.65) 65%, rgba(5,10,20,0.92) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1.25rem 1.25rem 1.85rem;
}
.splash-content {
  text-align: center;
  animation: fadeUp 0.5s ease both;
  max-width: 650px;
  width: 100%;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.play-badge {
  display: inline-block;
  background: rgba(0,217,255,0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.splash-title {
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 60%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}
.splash-sub {
  color: var(--text-muted); font-size: 0.82rem; font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.play-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0.75rem 1.85rem;
  background: linear-gradient(135deg, var(--accent), #0099bb);
  color: #000;
  font-size: 0.98rem; font-weight: 800;
  border-radius: 99px;
  box-shadow: 0 0 25px rgba(0,217,255,0.5), 0 4px 16px rgba(0,0,0,0.3);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  position: relative; overflow: hidden;
}
.play-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition);
}
.play-btn:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(0,217,255,0.7), 0 6px 25px rgba(0,0,0,0.4); }
.play-btn:hover::after { opacity: 1; }
.play-btn:active { transform: scale(0.98); }
.play-btn__icon { font-size: 1.15rem; }
.splash-controls {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 0.8rem;
  font-size: 0.76rem; color: var(--text-muted); font-weight: 500;
}

/* ── Player Footer ────────────────────────────────────────────── */
.player-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.player-footer__left {
  display: flex; align-items: center; gap: 12px;
}
.footer-thumb {
  width: 48px; height: 48px;
  min-width: 48px; max-width: 48px;
  min-height: 48px; max-height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: 0 0 10px rgba(0,217,255,0.3);
}
.footer-title {
  font-size: 1rem; font-weight: 700;
  color: var(--text);
}
.footer-rating {
  display: flex; align-items: center; gap: 2px;
  margin-top: 2px;
}
.star-icon { color: #f59e0b; width: 0.85em; height: 0.85em; }
.star-half { opacity: 0.5; }
.rating-count { font-size: 0.75rem; color: var(--text-muted); margin-left: 4px; }

.player-footer__right { display: flex; gap: 8px; flex-wrap: wrap; }

.footer-action-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 99px;
  color: var(--text-muted);
  font-size: 0.82rem; font-weight: 600;
  transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
}
.footer-action-btn:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(0,217,255,0.06);
  box-shadow: 0 0 12px rgba(0,217,255,0.2);
}
.footer-action-btn.active {
  border-color: #f43f5e; color: #f43f5e;
  background: rgba(244,63,94,0.08);
}

/* ── Games Section ────────────────────────────────────────────── */
.games-section { margin-bottom: 2rem; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.1rem; font-weight: 700; color: var(--text);
}
.section-title .icon { color: #f97316; }
.see-all-link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--accent);
  transition: color var(--transition), letter-spacing var(--transition);
}
.see-all-link:hover { letter-spacing: 0.05em; }

/* ── Games Grid ───────────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

/* ── Game Card ────────────────────────────────────────────────── */
.game-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0,217,255,0.2), 0 0 0 1px rgba(0,217,255,0.2);
}

.game-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.game-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover .game-card__img-wrap img { transform: scale(1.08); }

/* Gradient placeholder cards */
.gradient-thumb {
  display: flex; align-items: center; justify-content: center;
}
.gradient-thumb__icon { font-size: 2.5rem; z-index: 1; }

.game-card__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity var(--transition);
}
.game-card:hover .game-card__overlay { opacity: 1; }
.play-pill {
  padding: 0.35rem 0.9rem;
  background: var(--accent);
  color: #000; font-size: 0.78rem; font-weight: 800;
  border-radius: 99px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 20px rgba(0,217,255,0.5);
}

.game-card__badge {
  position: absolute; top: 6px; left: 6px;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.game-card__badge.hot     { background: #f97316; color: #fff; }
.game-card__badge.new     { background: var(--neon-green); color: #000; }
.game-card__badge.top     { background: var(--accent2); color: #fff; }
.game-card__badge.subzero { background: #00d9ff; color: #000; box-shadow: 0 0 8px rgba(0,217,255,0.6); }
.game-card__badge.demon   { background: #ff0033; color: #fff; box-shadow: 0 0 8px rgba(255,0,51,0.6); }

.game-card__info { padding: 0.5rem 0.6rem; }
.game-card__title {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3;
}

/* View More */
.view-more-wrap { text-align: center; margin-top: 1.25rem; }
.view-more-btn {
  display: inline-block;
  padding: 0.65rem 2rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 99px;
  font-size: 0.9rem; font-weight: 700;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.view-more-btn:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(0,217,255,0.05);
}

/* ── Description Section ──────────────────────────────────────── */
.description-section { margin-bottom: 2.5rem; }
.description-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 2rem;
}

.desc-block h2 {
  font-size: 1.25rem; font-weight: 800;
  color: var(--text);
  margin-bottom: 0.85rem;
  display: flex; align-items: center; gap: 8px;
}
.desc-block h2::before {
  content: ''; width: 4px; height: 1.2em;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  border-radius: 99px; display: inline-block; flex-shrink: 0;
}
.desc-block p {
  color: var(--text-muted); line-height: 1.75;
  margin-bottom: 0.75rem; font-size: 0.95rem;
}
.desc-block p em { color: var(--accent); font-style: normal; }
.desc-block ol {
  padding-left: 1.3rem; color: var(--text-muted); font-size: 0.95rem;
  display: flex; flex-direction: column; gap: 0.4rem; line-height: 1.6;
}

/* Info Cards Grid */
.desc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.desc-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.desc-info-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 20px rgba(0,217,255,0.08);
}
.desc-info-card h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--text);
  margin-bottom: 0.65rem;
}
.desc-info-card ul {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.desc-info-card li {
  font-size: 0.82rem; color: var(--text-muted);
  display: flex; align-items: baseline; gap: 6px;
  line-height: 1.5;
}
.desc-info-card li strong { color: var(--text); }

/* Difficulty badges */
.diff {
  display: inline-block; padding: 0.1rem 0.5rem;
  border-radius: 6px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase;
}
.diff.easy   { background: rgba(34,197,94,0.15); color: #22c55e; }
.diff.normal { background: rgba(59,130,246,0.15); color: #60a5fa; }
.diff.hard   { background: rgba(245,158,11,0.15); color: #f59e0b; }
.diff.extreme{ background: rgba(249,115,22,0.15); color: #fb923c; }
.diff.demon  { background: rgba(239,68,68,0.15); color: #f87171; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-section { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem; font-weight: 600; color: var(--text);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-chevron {
  font-size: 1.1rem; transition: transform var(--transition);
  line-height: 1; flex-shrink: 0;
}
.faq-q.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.2s;
  padding: 0 1.1rem;
}
.faq-a.open { max-height: 200px; padding: 0 1.1rem 0.9rem; }
.faq-a p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-sidebar);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}
.site-footer__inner,
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 700; color: var(--text);
}
.footer-logo,
.footer-brand__img {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  flex-shrink: 0 !important;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.4);
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  font-size: 0.85rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }

/* ── Share Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.visible { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: min(440px, 92vw);
  position: relative;
  box-shadow: 0 0 60px rgba(0,217,255,0.12), var(--shadow-card);
  transform: translateY(24px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.modal-overlay.visible .modal { transform: translateY(0); }
.modal h3 {
  font-size: 1.3rem; font-weight: 800; color: var(--text);
  margin-bottom: 0.4rem;
}
.modal p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--surface); color: var(--text); }
.share-url-box {
  display: flex; gap: 8px; margin-bottom: 1.25rem;
}
.share-url-box input {
  flex: 1; padding: 0.65rem 1rem;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-size: 0.85rem;
  outline: none;
}
.share-url-box button {
  padding: 0.65rem 1.2rem;
  background: var(--accent); color: #000;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.9rem;
  transition: filter var(--transition);
}
.share-url-box button:hover { filter: brightness(1.15); }
.share-social { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-social__btn {
  padding: 0.55rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 700; color: #fff;
  transition: filter var(--transition);
}
.share-social__btn:hover { filter: brightness(1.2); }
.share-social__btn.tw { background: #1d9bf0; }
.share-social__btn.fb { background: #1877f2; }
.share-social__btn.wa { background: #25d366; }

/* ── Icon Kit & Skins Modal ────────────────────────────────── */
.icon-kit-modal {
  width: min(580px, 94vw);
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
}
.icon-kit-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.icon-kit-header h3 {
  margin-bottom: 0.2rem;
  font-size: 1.25rem;
  color: var(--text);
}
.icon-kit-header p {
  margin-bottom: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.skin-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 1.5rem;
}
.skin-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition);
}
.skin-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.25);
}
.skin-card.equipped {
  border-color: var(--neon-green);
  background: rgba(0, 255, 159, 0.06);
  box-shadow: 0 0 15px rgba(0, 255, 159, 0.25);
}
.skin-cube-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.4));
}
.skin-card__name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}
.skin-card__desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: block;
}
.skin-card__btn {
  margin-top: 4px;
  width: 100%;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.skin-card__btn.active {
  background: var(--neon-green);
  color: #050a12;
  border-color: var(--neon-green);
  box-shadow: 0 0 10px rgba(0, 255, 159, 0.4);
}
.skin-modal-footer {
  text-align: center;
}
.skin-equip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--accent), #0099bb);
  color: #050a12;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 99px;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.45);
  cursor: pointer;
  transition: transform var(--transition);
}
.skin-equip-btn:hover {
  transform: scale(1.04);
}

/* ── Particle Background (decorative) ────────────────────────── */
.page-wrapper::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(0,217,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(168,85,247,0.05) 0%, transparent 55%);
}

/* ── Animations ───────────────────────────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,217,255,0.2); }
  50%       { box-shadow: 0 0 40px rgba(0,217,255,0.45); }
}

/* ── Responsive ───────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1100px) {
  .sidebar--desktop { display: none; }
  .sidebar--mobile  { display: block; }
  .mobile-header    { display: flex; }
  .layout           { flex-direction: column; }
  .main-content     { padding: 1rem; }
  :root { --sidebar-w: 290px; }
}

/* Smaller tablet */
@media (max-width: 768px) {
  .main-content { padding: 0.75rem; }
  .description-card { padding: 1.25rem; }
  .desc-grid { grid-template-columns: 1fr 1fr; }
  .player-footer { padding: 0.75rem; }
  .footer-title { font-size: 0.9rem; }
  .footer-action-btn span { display: none; }
  .footer-action-btn { padding: 0.45rem 0.65rem; }
}

/* Mobile */
@media (max-width: 520px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
  .desc-grid  { grid-template-columns: 1fr; }
  .player-footer { flex-direction: column; align-items: flex-start; }
  .player-footer__right { width: 100%; justify-content: space-between; }
  .footer-action-btn span { display: inline; }
  .splash-controls { flex-direction: column; gap: 0.4rem; }
  .modal { padding: 1.5rem; }
}

/* ── GEOMETRY DASH CANVAS HUD & ENGINE ───────────────────────── */
.game-frame-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #02060f;
  user-select: none;
}

#gdCanvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: pointer;
}

.gd-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 14px;
}

.gd-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gd-progress-wrap {
  position: relative;
  flex: 1;
  max-width: 340px;
  height: 18px;
  background: rgba(4, 8, 16, 0.85);
  border: 1px solid rgba(0, 217, 255, 0.35);
  border-radius: 99px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.gd-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--neon-green));
  box-shadow: 0 0 12px var(--neon-green);
  transition: width 0.08s linear;
}

.gd-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.05em;
}

.gd-hud-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}

.gd-hud-btn {
  background: rgba(10, 22, 40, 0.88);
  border: 1px solid rgba(0, 217, 255, 0.3);
  color: #e2eaf4;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.gd-hud-btn:hover {
  background: rgba(0, 217, 255, 0.18);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.gd-hud-level-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  flex-wrap: wrap;
  background: rgba(5, 10, 20, 0.7);
  padding: 6px 10px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 217, 255, 0.15);
}

.gd-lvl-btn {
  background: rgba(10, 20, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #7a9ab8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.gd-lvl-btn:hover {
  color: #ffffff;
  border-color: var(--accent);
}
.gd-lvl-btn.active {
  background: rgba(0, 217, 255, 0.22);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.gd-skin-selector {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.gd-skin-btn {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.5);
  transition: transform 0.2s;
}
.gd-skin-btn:hover {
  transform: scale(1.18);
}

/* ============================================================
   GOOGLE SEO, ADSENSE & COMPETITOR ENHANCEMENTS
   ============================================================ */

/* ── AdSense Ad Unit Slots ─────────────────────────────────── */
.ad-slot-container {
  width: 100%;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(10, 22, 40, 0.6);
  border: 1px dashed rgba(0, 217, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 10px;
  min-height: 90px;
  overflow: hidden;
}
.ad-slot-container--leaderboard {
  min-height: 90px;
  max-width: 100%;
}
.ad-slot-container--sidebar {
  min-height: 250px;
  margin: 16px 0;
}
.ad-slot-container--grid {
  grid-column: 1 / -1;
  min-height: 100px;
  margin: 10px 0;
}
.ad-badge-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 700;
}
.ad-placeholder-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ── Interactive Star Rating System ────────────────────────── */
.rating-interactive-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.rating-stars-group {
  display: inline-flex;
  gap: 3px;
  cursor: pointer;
}
.rating-star-btn {
  font-size: 1.25rem;
  color: #4a6a8a;
  transition: transform 0.15s ease, color 0.15s ease;
  line-height: 1;
}
.rating-star-btn.active,
.rating-star-btn.hover {
  color: #ffc107;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  transform: scale(1.15);
}
.rating-meta-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.rating-user-feedback {
  font-size: 0.75rem;
  color: var(--neon-green);
  font-weight: 700;
  display: none;
}
.rating-user-feedback.show {
  display: inline-block;
  animation: fadeIn 0.3s ease;
}

/* ── Difficulty Filter Tabs ────────────────────────────────── */
.difficulty-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 20px 0;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.difficulty-btn {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.difficulty-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.difficulty-btn.active {
  color: #050a12;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0, 217, 255, 0.45);
}
.difficulty-btn.btn-demon.active {
  background: #ff3366;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 51, 102, 0.5);
}
.difficulty-btn.btn-hot.active {
  background: #ff6600;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 102, 0, 0.5);
}

/* ── Neon Badges on Game Cards ─────────────────────────────── */
.game-card__badge.badge-hot {
  background: linear-gradient(135deg, #ff3b30, #ff9500);
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.6);
  color: #ffffff;
}
.game-card__badge.badge-new {
  background: linear-gradient(135deg, #00ff9f, #00b4d8);
  box-shadow: 0 0 10px rgba(0, 255, 159, 0.6);
  color: #050a12;
}
.game-card__badge.badge-demon {
  background: linear-gradient(135deg, #8b00ff, #ff0055);
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.6);
  color: #ffffff;
}
.game-card__badge.badge-top {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  color: #050a12;
}

/* ── Breadcrumb Navigation ─────────────────────────────────── */
.breadcrumb-nav {
  padding: 10px 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-nav a {
  color: var(--accent);
  transition: color var(--transition);
}
.breadcrumb-nav a:hover {
  text-decoration: underline;
}
.breadcrumb-separator {
  color: var(--text-dim);
}

/* ── Scroll To Top Floating Button ─────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--accent);
  color: #050a12;
  box-shadow: var(--shadow-neon);
}

/* ── Legal / Policy Pages Container ────────────────────────── */
.legal-page-container {
  max-width: 960px;
  margin: 30px auto;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.legal-page-container h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.legal-page-container .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.legal-page-container h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin: 24px 0 10px 0;
}
.legal-page-container p,
.legal-page-container ul {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-page-container ul {
  padding-left: 24px;
}
.legal-page-container li {
  margin-bottom: 8px;
}

/* ── Comments & Player Discussion Section ─────────────────── */
.comments-section {
  margin: 2.5rem 0 1.5rem;
}
.comments-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}
.comments-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.comments-count-pill {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 217, 255, 0.15);
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 99px;
  border: 1px solid rgba(0, 217, 255, 0.3);
}
.comments-form-wrap {
  background: rgba(5, 10, 20, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.comments-form-inputs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.comment-input-name {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition);
}
.comment-input-name:focus {
  border-color: var(--accent);
}
.comment-rating-select {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.comment-rating-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.comment-stars-picker {
  display: inline-flex;
  gap: 3px;
  cursor: pointer;
}
.comment-star-pick {
  color: #ffc107;
  font-size: 1.1rem;
  transition: transform 0.15s;
  user-select: none;
}
.comment-star-pick:hover {
  transform: scale(1.2);
}
.comment-textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  outline: none;
  transition: border-color var(--transition);
}
.comment-textarea:focus {
  border-color: var(--accent);
}
.comments-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px;
}
.comment-char-count {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.comment-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, var(--accent), #0099bb);
  color: #050a12;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 99px;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.comment-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.7);
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.comment-item {
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: border-color var(--transition);
}
.comment-item:hover {
  border-color: rgba(0, 217, 255, 0.3);
}
.comment-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 6px;
}
.comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.3);
  flex-shrink: 0;
}
.comment-author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.comment-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(0, 255, 159, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 159, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comment-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.comment-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.comment-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.comment-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color var(--transition);
  cursor: pointer;
}
.comment-action-btn:hover {
  color: var(--accent);
}
.comment-action-btn.active {
  color: var(--accent);
  font-weight: 700;
}

/* ── ICON KIT & SKINS MODAL STYLES ──────────────────────────── */
.icon-kit-modal {
  max-width: 680px;
  width: 95%;
  background: linear-gradient(135deg, #071322 0%, #0d1e34 100%);
  border: 1px solid rgba(0, 217, 255, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 217, 255, 0.2);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  text-align: left;
}

.icon-kit-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.icon-kit-badge {
  display: inline-block;
  background: rgba(0, 217, 255, 0.12);
  border: 1px solid rgba(0, 217, 255, 0.4);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.icon-kit-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.icon-kit-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.skin-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .skin-selector-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .icon-kit-modal {
    padding: 1.5rem 1.1rem;
  }
}

.skin-card {
  background: rgba(13, 27, 46, 0.7);
  border: 1.5px solid rgba(0, 217, 255, 0.15);
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.skin-card:hover {
  border-color: rgba(0, 217, 255, 0.6);
  transform: translateY(-3px);
  background: rgba(13, 27, 46, 0.95);
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.15);
}

.skin-card.active {
  border-color: var(--accent);
  background: rgba(0, 217, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.25), inset 0 0 12px rgba(0, 217, 255, 0.1);
}

.skin-card.active::after {
  content: "EQUIPPED";
  position: absolute;
  top: -8px;
  right: -6px;
  background: var(--accent);
  color: #030813;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.skin-cube-preview {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.skin-card:hover .skin-cube-preview {
  transform: scale(1.08) rotate(3deg);
}

.skin-card__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.25;
}

.skin-equip-btn {
  width: 100%;
  padding: 6px 0;
  font-size: 0.74rem;
  font-weight: 800;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.skin-card:not(.active) .skin-equip-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.skin-card:not(.active) .skin-equip-btn:hover {
  background: var(--accent);
  color: #030813;
}

.skin-card.active .skin-equip-btn {
  background: var(--accent);
  color: #030813;
}

/* ── Ads Display Controller: Hidden by default until approved in CMS ── */
.ad-slot-container,
.ad-placeholder-box,
.ad-badge-label,
.ad-banner,
ins.adsbygoogle {
  display: none !important;
}

body.ads-active .ad-slot-container,
body.ads-active .ad-badge-label,
body.ads-active ins.adsbygoogle {
  display: block !important;
}

