/* ==========================================================================
   OVERTAKE STUDIOS — INDIGO CYBER DARK AESTHETIC
   Premium Roblox Game Studio Template
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg-deep: #030303;
  --bg-card: #0a0a0a;
  --bg-elevated: #111111;
  --bg-hover: #181818;
  --bg-surface: #080808;

  --accent-primary: #ffffff;
  --accent-secondary: #e0e0e0;
  --accent-glow: rgba(255, 255, 255, 0.25);
  --accent-dim: rgba(255, 255, 255, 0.08);
  --accent-cyan: #ffffff;
  --accent-cyan-glow: rgba(255, 255, 255, 0.2);
  --accent-emerald: #00e676;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-active: rgba(255, 255, 255, 0.35);

  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #666666;
  --text-dim: #444444;

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-xl: 4px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
  color-scheme: dark;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.splash-active .site-wrapper {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   SPLASH SCREEN — CINEMATIC VIDEO INTRO (AUTOPLAY MUTED + CLICK TO CONTINUE)
   ========================================================================== */

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── FULLSCREEN VIDEO CONTAINER ── */
.splash-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  overflow: hidden;
  z-index: 1;
}

.splash-intro-video {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  background: #000000;
  display: block;
}

.splash-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 65%, rgba(0, 0, 0, 0.75) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

/* ── TOP CONTROLS BAR ── */
.splash-top-bar {
  position: absolute;
  top: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.splash-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  backdrop-filter: blur(12px);
}

.splash-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  animation: dotPulseFast 1.2s ease-in-out infinite;
}

@keyframes dotPulseFast {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50%      { opacity: 1; transform: scale(1.1); }
}

.splash-meta-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #a0a0a0;
  text-transform: uppercase;
  font-weight: 600;
}

.splash-skip-btn {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 8px 18px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.splash-skip-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.skip-arrow {
  font-size: 0.9rem;
  display: inline-block;
  transition: transform 0.2s ease;
}

.splash-skip-btn:hover .skip-arrow {
  transform: translateX(3px);
}

/* ── BOTTOM/CENTER CONTINUE OVERLAY ── */
.splash-content {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.splash-prompt-wrap {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── PROGRESS BAR ── */
.splash-loader-block {
  width: 260px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 14px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.splash-loader-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #777777;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.splash-loader-percent {
  color: #ffffff;
  font-weight: 700;
}

.splash-loader-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
  overflow: hidden;
}

.splash-loader-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  transition: width 0.15s linear;
}

/* ── CLICK TO CONTINUE BUTTON ── */
.splash-enter-btn {
  position: relative;
  background: #000000;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  padding: 13px 40px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

.splash-enter-btn:hover,
.splash-enter-btn.pulse-active {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.75) !important;
  transform: translateY(-2px);
}

.splash-enter-btn.pulse-active {
  animation: continuePulse 1.2s ease-in-out infinite alternate;
}

@keyframes continuePulse {
  0%   { transform: scale(1); box-shadow: 0 0 25px rgba(255, 255, 255, 0.6); }
  100% { transform: scale(1.04); box-shadow: 0 0 50px rgba(255, 255, 255, 0.95); }
}

.splash-enter-btn:active {
  transform: translateY(0) scale(0.98);
}

.splash-btn-icon {
  display: inline-block;
  transition: transform 0.18s ease;
}

.splash-enter-btn:hover .splash-btn-icon {
  transform: translateX(4px);
}

/* ── HINT ── */
.splash-hint {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #888888;
  letter-spacing: 0.12em;
  margin-top: 12px;
}

.splash-hint-pulse {
  animation: hintPulseFast 1.6s ease-in-out infinite;
}

@keyframes hintPulseFast {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.9; }
}

/* ── SMOOTH FADE OUT & FADE IN TRANSITION ── */
.splash-screen {
  transition: opacity 0.55s ease, filter 0.55s ease;
}

.splash-screen.fade-out {
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
}

/* ==========================================================================
   SITE WRAPPER (smooth fade in after splash)
   ========================================================================== */
.site-wrapper {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-wrapper.visible {
  opacity: 1;
}

/* ==========================================================================
   AMBIENT BACKGROUND
   ========================================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -30%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  filter: blur(80px);
}

.ambient-glow-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
  filter: blur(100px);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.sr { opacity: 0; transform: translateY(50px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.sr-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.sr-right { opacity: 0; transform: translateX(60px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.sr-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }

.sr.in, .sr-left.in, .sr-right.in, .sr-scale.in { opacity: 1; transform: none; }

[data-sr-delay="1"] { transition-delay: 0.1s; }
[data-sr-delay="2"] { transition-delay: 0.2s; }
[data-sr-delay="3"] { transition-delay: 0.3s; }
[data-sr-delay="4"] { transition-delay: 0.4s; }
[data-sr-delay="5"] { transition-delay: 0.5s; }
[data-sr-delay="6"] { transition-delay: 0.6s; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

section { padding: 100px 0; position: relative; z-index: 1; }

@media (max-width: 768px) { section { padding: 64px 0; } }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.section-desc { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.6; }

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
}

.navbar {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.98);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  height: 40px;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #666666;
  text-transform: uppercase;
}

.footer-brand {
  margin-bottom: 14px;
}

@media (max-width: 600px) {
  .brand-text,
  .brand-sub {
    font-size: 1.05rem;
  }
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover { color: #fff; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease-out);
}

.btn-primary:hover {
  background: #e5e5e5;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #0d0d0d;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease-out);
}

.btn-secondary:hover {
  background: #181818;
  border-color: #ffffff;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--accent-secondary);
  cursor: pointer;
  padding: 4px;
}

.mobile-nav {
  position: fixed;
  top: 76px;
  left: 16px;
  right: 16px;
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   BRAND LOGO (OVERTAKE STUDIOS SIGNATURE SCRIPT)
   ========================================================================== */
.brand-logo-img {
  height: 38px;
  max-height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  transition: transform 0.25s var(--ease-out);
}

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

.splash-logo-img {
  width: 260px;
  max-width: 80vw;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  mix-blend-mode: screen;
}

/* ==========================================================================
   HERO (SLYGAMES FULL-SCREEN REVOLVING TILES)
   ========================================================================== */
.hero {
  min-height: 96vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 70px;
  background: #030303;
}

.hero-revolving-backdrop {
  position: absolute;
  top: -60%;
  left: -40%;
  width: 180%;
  height: 220%;
  transform: rotate(-6deg);
  transform-origin: center center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.revolving-row {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.revolving-row.row-1 {
  animation: scrollRowLeft 45s linear infinite;
}

.revolving-row.row-2 {
  animation: scrollRowRight 55s linear infinite;
}

.revolving-row.row-3 {
  animation: scrollRowLeft 48s linear infinite;
}

.revolving-row.row-4 {
  animation: scrollRowRight 52s linear infinite;
}

@keyframes scrollRowLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRowRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.revolving-tile {
  width: 200px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.revolving-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.15) brightness(0.85);
}

.revolving-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(3, 3, 3, 0.4) 0%, rgba(3, 3, 3, 0.85) 65%, #030303 100%);
  z-index: 2;
  pointer-events: none;
}


.hero-inner {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: liveBlink 2s ease-in-out infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(52, 211, 153, 0.6); }
  50% { opacity: 0.4; box-shadow: 0 0 2px rgba(52, 211, 153, 0.3); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero-title .line { display: block; }

.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px auto;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.stat-card:hover::after { opacity: 1; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.stat-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: inline-flex;
  gap: 40px;
  animation: tickerSlide 35s linear infinite;
  white-space: nowrap;
}

.ticker-wrap:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   GAMES
   ========================================================================== */
.filter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease-out);
}

.filter-btn:hover {
  color: #fff;
  border-color: var(--accent-primary);
}

.filter-btn.active {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px var(--accent-glow);
}

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

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(99, 102, 241, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 5;
}

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

.game-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-dim);
}

.game-banner {
  height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.game-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.4s var(--ease-out);
}

.game-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 16, 0.25) 0%, rgba(5, 5, 16, 0.75) 100%);
  z-index: 2;
  pointer-events: none;
}

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

.game-status {
  position: absolute;
  top: 12px; left: 12px; z-index: 3;
  background: rgba(5, 5, 16, 0.92);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-cyan);
  backdrop-filter: blur(8px);
}

.game-genre {
  position: absolute;
  top: 12px; right: 12px; z-index: 3;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 4px 9px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-secondary);
  backdrop-filter: blur(8px);
}

.game-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.game-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.game-hud {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 16px;
}

.hud-item { text-align: center; }

.hud-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hud-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.hud-value.live { color: var(--accent-emerald); }

.game-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-details {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--accent-secondary);
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-align: center;
}

.btn-details:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-primary);
  color: #fff;
}

.btn-play {
  background: linear-gradient(135deg, var(--accent-primary), #4f46e5);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-play:hover {
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

.games-history-note {
  margin-top: 32px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.games-history-note strong {
  color: #e2e8f0;
  font-weight: 700;
}

.games-history-note .note-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   TECH SECTION
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
  transform: skewX(-15deg);
  transition: left 0.5s;
}

.tech-card:hover::before { left: 150%; }

.tech-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-dim);
}

.tech-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: inline-block;
  filter: drop-shadow(0 0 10px var(--accent-glow));
  transition: transform 0.4s var(--ease-spring);
}

.tech-card:hover .tech-icon { transform: scale(1.15) rotate(-5deg); }

.tech-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.tech-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   CREW
   ========================================================================== */
.notice-bar {
  background: var(--accent-dim);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #fff;
  font-family: var(--font-mono);
}

.notice-bar strong { color: var(--accent-secondary); }

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

.crew-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.crew-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.crew-card:hover::before { opacity: 1; }

.crew-card.owner {
  border-color: var(--accent-primary);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.06), var(--bg-card));
}

.crew-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-dim);
}

.crew-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.crew-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: transform 0.4s var(--ease-spring);
}

.crew-card:hover .crew-avatar { transform: scale(1.1); }

.crew-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  border: 1px solid var(--border-subtle);
  color: var(--accent-secondary);
  text-transform: uppercase;
}

.crew-card.owner .crew-badge {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  color: #fff;
  border: none;
}

.crew-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crew-edit-tag {
  font-size: 0.6rem;
  font-family: var(--font-mono);
  background: var(--accent-dim);
  color: var(--accent-secondary);
  padding: 1px 5px;
  border-radius: 3px;
}

.crew-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.crew-bio {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.crew-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.crew-online { color: var(--accent-emerald); display: flex; align-items: center; gap: 6px; }
.crew-handle { color: var(--text-muted); }

.btn-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--accent-secondary);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}

.btn-discord:hover {
  background: #5865f2;
  border-color: #5865f2;
  color: #fff;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.4);
}

/* ==========================================================================
   COMMUNITY
   ========================================================================== */
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 52px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  position: relative;
  overflow: hidden;
}

.community-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.community-left h3 { font-size: 2.2rem; margin-bottom: 12px; }
.community-left p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 28px; line-height: 1.6; }

.roles-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.role-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #fff;
}

.role-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}

.community-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.discord-widget {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}

.discord-icon-wrap {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #5865f2, #404eed);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.discord-icon-wrap svg { width: 30px; height: 30px; fill: #fff; }
.discord-widget h4 { font-size: 1.2rem; margin-bottom: 6px; }
.discord-widget p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 20px; }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 16, 0.9);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--accent-dim);
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s var(--ease-out);
}

.modal-backdrop.active .modal-card { transform: scale(1) translateY(0); }

.modal-header {
  padding: 28px 28px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-close {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--accent-secondary);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s var(--ease-spring);
}

.modal-close:hover { background: var(--accent-primary); color: #fff; transform: rotate(90deg); }

.modal-body { padding: 28px; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.feature-pill {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.patch-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.patch-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.patch-bullet { color: var(--accent-primary); font-weight: bold; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #030308;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 30px;
  z-index: 1;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-about p { color: var(--text-secondary); font-size: 0.88rem; margin-top: 12px; max-width: 300px; line-height: 1.6; }

.footer-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover { color: var(--accent-secondary); transform: translateX(4px); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .crew-grid { grid-template-columns: repeat(2, 1fr); }
  .community-card { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .games-grid, .tech-grid, .crew-grid, .hero-stats, .features-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ROBLOX CREATOR HUB ANALYTICS & PROFILE CHARTS (GOING UP!)
   ========================================================================== */

/* ── Section Wrapper ── */
.analytics-section {
  padding: 80px 0 100px;
  background: radial-gradient(circle at 50% 10%, rgba(0, 230, 118, 0.04), transparent 70%);
}

/* ── Main Roblox Analytics Card (Matches Screenshot 2) ── */
.roblox-analytics-card {
  background: #111317;
  border: 1px solid #282a2e;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 230, 118, 0.05);
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.roblox-analytics-card:hover {
  border-color: rgba(0, 230, 118, 0.35);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 230, 118, 0.1);
}

/* Card Header */
.rblx-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #232528;
  background: #15171c;
  flex-wrap: wrap;
  gap: 14px;
}

.rblx-mode-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rblx-tab {
  background: #1e2025;
  border: 1px solid #2e3036;
  color: #9da3af;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease-out);
}

.rblx-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: #25282e;
}

.rblx-tab.active {
  background: #1c2b22;
  color: #00e676;
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
}

.rblx-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
}

.rblx-icon-robux {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.rblx-tab.active .rblx-icon-robux {
  color: #00e676;
}

/* Action buttons (Roblox profile friend + more buttons) */
.rblx-action-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rblx-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #202226;
  border: 1px solid #2e3036;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.rblx-icon-btn:hover {
  background: #2d3036;
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* Stats Row */
.rblx-stats-row {
  padding: 24px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid #1c1e22;
}

.rblx-stat-primary {
  min-width: 260px;
}

.rblx-stat-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.rblx-stat-subtitle {
  font-size: 0.8rem;
  color: #8c919a;
  margin-top: 2px;
  margin-bottom: 8px;
}

.rblx-stat-hero-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.rblx-hero-icon {
  font-size: 1.4rem;
  color: #00e676;
}

.rblx-growth-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 230, 118, 0.14);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.rblx-stat-breakdown {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.rblx-breakdown-box {
  display: flex;
  flex-direction: column;
}

.rblx-breakdown-label {
  font-size: 0.75rem;
  color: #8c919a;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.rblx-breakdown-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Time range selector pills */
.rblx-time-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #181a1f;
  padding: 4px 6px;
  border-radius: 8px;
  border: 1px solid #26282e;
}

.rblx-range-label {
  font-size: 0.72rem;
  color: #64748b;
  margin-right: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.rblx-range-btn {
  background: transparent;
  border: none;
  color: #8c919a;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.rblx-range-btn:hover {
  color: #fff;
  background: #23262d;
}

.rblx-range-btn.active {
  background: #2b332c;
  color: #00e676;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

/* Chart Canvas Area */
.rblx-chart-wrap {
  display: flex;
  padding: 20px 24px 12px 16px;
  position: relative;
  background: #0e1013;
  min-height: 310px;
}

.rblx-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 54px;
  padding-bottom: 30px;
  padding-top: 12px;
  text-align: right;
  padding-right: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #5c626e;
  user-select: none;
}

.rblx-svg-stage {
  flex: 1;
  position: relative;
  height: 280px;
}

.rblx-svg-stage svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

/* Pulse on Tip Point */
.rblx-pulse-halo {
  animation: rblxPulseRing 1.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  transform-origin: center;
}

@keyframes rblxPulseRing {
  0% { r: 5; opacity: 1; }
  100% { r: 18; opacity: 0; }
}

/* Floating Tooltip */
.rblx-tooltip {
  position: absolute;
  top: 20px;
  left: 20px;
  transform: translate(-50%, -120%);
  background: rgba(17, 19, 23, 0.95);
  border: 1px solid rgba(0, 230, 118, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 230, 118, 0.2);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.15s ease, transform 0.1s ease-out;
  white-space: nowrap;
}

.rblx-tt-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #8c919a;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.rblx-tt-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  color: #00e676;
}

.rblx-tt-badge {
  font-size: 0.65rem;
  color: #fff;
  background: rgba(0, 230, 118, 0.2);
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 3px;
}

/* Card Footer */
.rblx-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #131519;
  border-top: 1px solid #1f2126;
  font-size: 0.78rem;
  color: #8c919a;
  flex-wrap: wrap;
  gap: 10px;
}

.rblx-footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rblx-live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 10px #00e676;
  animation: liveBlink 1.8s infinite ease-in-out;
}

.rblx-footer-time {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rblx-footer-sep {
  color: #3b3e46;
}

/* ==========================================================================
   GAME CARD MINI CCU SPARKLINE (SURGING UP!)
   ========================================================================== */
.game-sparkline-box {
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.game-sparkline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.game-sparkline-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #8c919a;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.game-sparkline-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 6px #00e676;
}

.game-sparkline-growth {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #00e676;
}

.game-sparkline-svg {
  width: 100%;
  height: 38px;
  display: block;
  overflow: visible;
}

/* ==========================================================================
   HERO STAT CARDS MINI SPARKLINE
   ========================================================================== */
.stat-card-sparkline {
  margin-top: 10px;
  height: 28px;
  width: 100%;
  display: block;
}

.stat-card-sparkline svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.stat-trend-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #00e676;
  background: rgba(0, 230, 118, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 4px;
}

/* ==========================================================================
   ROBLOX PROFILE HEADER BANNER (SCREENSHOT 1)
   Applied to Studio Owner Card
   ========================================================================== */
.rblx-owner-banner-wrap {
  position: relative;
  margin: -24px -24px 18px -24px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  overflow: hidden;
  background: #111317;
  border-bottom: 1px solid #232528;
}

.rblx-owner-chart-bg {
  height: 105px;
  width: 100%;
  position: relative;
  background: #0d0f12;
}

.rblx-owner-chart-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rblx-owner-banner-top {
  position: absolute;
  top: 10px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.rblx-private-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #9da3af;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(17, 19, 23, 0.75);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rblx-owner-banner-actions {
  display: flex;
  gap: 8px;
}

.rblx-mini-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(30, 32, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.rblx-mini-btn:hover {
  background: #2e323b;
  transform: scale(1.08);
}

/* Avatar overlapping the chart banner (Screenshot 1) */
.rblx-owner-avatar-dock {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 18px 10px;
  margin-top: -30px;
  z-index: 4;
}

.rblx-circle-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #0f1015;
  border: 3.5px solid #111317;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
}

.rblx-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.rblx-online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00e676;
  border: 2px solid #111317;
  box-shadow: 0 0 8px #00e676;
  z-index: 5;
}

.rblx-owner-metrics-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #00e676;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.rblx-owner-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #0a0b0e;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  margin-top: 14px;
  margin-bottom: 14px;
  text-align: center;
}

.rblx-stat-item-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #64748b;
  text-transform: uppercase;
}

.rblx-stat-item-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-top: 2px;
}

.rblx-stat-item-val.highlight {
  color: #00e676;
}

/* ==========================================================================
   HELLNO - SUPREME STUDIO OWNER & FOUNDER (DOMINANT GOLD ROYAL STYLING)
   ========================================================================== */
.crew-card.owner-card {
  position: relative;
  border: 2px solid rgba(255, 215, 0, 0.8) !important;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.12) 0%, rgba(18, 20, 26, 0.98) 45%, #0c0d10 100%) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 215, 0, 0.22) !important;
  transform: translateY(-2px);
}

.crew-card.owner-card::before,
.crew-card.owner-card:hover::before,
.crew-card.mateo-card::before,
.crew-card.mateo-card:hover::before {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.crew-card.owner-card:hover {
  border-color: #ffd700 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 45px rgba(255, 215, 0, 0.35) !important;
  transform: translateY(-4px);
}

/* Mateo Co-Owner Card (Refined Partner Style - Subordinate to Owner) */
.crew-card.mateo-card {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), var(--bg-card)) !important;
}

.crew-card.mateo-card:hover {
  border-color: rgba(0, 230, 118, 0.4) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 230, 118, 0.08) !important;
}

/* Mateo Banned Account Notice Box */
.rblx-banned-notice {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin: 10px 0 14px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #fbbf24;
  font-family: var(--font-body);
}

.rblx-banned-notice strong {
  color: #fef08a;
}

/* Hiring Card Accent */
.crew-card.hiring-card {
  transition: all 0.3s var(--ease-out);
}

.crew-card.hiring-card {
  border: 1.5px dashed rgba(0, 230, 118, 0.45) !important;
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.05), var(--bg-card)) !important;
  transition: all 0.3s var(--ease-out);
}

.crew-card.hiring-card:hover {
  border-color: #00e676 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 230, 118, 0.15);
  transform: translateY(-4px);
}

/* Hiring card internals */
.hiring-header {
  margin-bottom: 14px;
}

.hiring-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hiring-open-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #00e676;
  letter-spacing: 0.04em;
}

.hiring-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.1;
}

.hiring-subtitle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #00e676;
  font-weight: 600;
}

.hiring-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 4px;
  padding: 12px 10px;
  margin: 14px 0;
  background: rgba(0, 230, 118, 0.04);
}

.hiring-perk {
  text-align: center;
}

.perk-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: #00e676;
  line-height: 1;
  margin-bottom: 4px;
}

.perk-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #5c626e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hiring-requirements {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  background: var(--bg-deep);
}

.req-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 7px;
  font-weight: 700;
}

.req-item {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 2px 0;
  line-height: 1.5;
}

.btn-apply-now {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #00e676, #059669);
  color: #000;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0, 230, 118, 0.3);
}

.btn-apply-now:hover {
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.55);
  transform: translateY(-2px);
}

/* Discord Copy Button */
.btn-discord-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #c7d2fe;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  width: 100%;
}

.btn-discord-copy:hover {
  background: #5865f2;
  color: #fff;
  border-color: #5865f2;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.4);
  transform: translateY(-1px);
}

.btn-discord-copy.copied {
  background: rgba(0, 230, 118, 0.15) !important;
  border-color: #00e676 !important;
  color: #00e676 !important;
}

/* Mini copy button for handles list */
.btn-discord-copy.mini {
  width: auto;
  padding: 3px 8px;
  font-size: 0.68rem;
  margin-left: auto;
  background: rgba(88, 101, 242, 0.2);
  border-radius: 4px;
}

/* Discord Handles Widget Box */
.discord-handles-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(10, 10, 24, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 10px 0;
  text-align: left;
}

.discord-handle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

.discord-handle-row .handle-role {
  color: var(--text-muted);
  font-size: 0.72rem;
  min-width: 65px;
}

.discord-handle-row .handle-name {
  color: #fff;
  font-weight: 700;
}

/* SlyGames Style Play on Roblox Button */
.btn-play-roblox {
  background: linear-gradient(135deg, #00e676, #059669) !important;
  color: #000 !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.25);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s var(--ease-out);
}

.btn-play-roblox:hover {
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.6);
  transform: translateY(-2px);
  color: #000 !important;
}

/* Flagship Banner Ribbon */
.game-flagship-ribbon {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #ffd700;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  display: inline-block;
}
