/* ==========================================================================
   GameVerse - Modern Gaming Platform Stylesheet
   Architecture: Vanilla CSS with Modern Dark Gaming Aesthetic
   ========================================================================== */

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

:root {
  /* Core Backgrounds */
  --bg-primary: #07090e;
  --bg-secondary: #0c0f17;
  --bg-surface: #121626;
  --bg-surface-hover: #181e33;
  --bg-surface-elevated: #1e2540;
  --bg-input: #151a2d;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(99, 102, 241, 0.4);
  --border-accent-strong: rgba(139, 92, 246, 0.65);

  /* Gaming Accent Palette */
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --grad-surface: linear-gradient(180deg, rgba(26, 31, 52, 0.6) 0%, rgba(16, 20, 35, 0.8) 100%);
  --grad-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --glow-purple: 0 0 24px rgba(139, 92, 246, 0.35);
  --glow-cyan: 0 0 24px rgba(6, 182, 212, 0.35);
  --glow-indigo: 0 0 24px rgba(99, 102, 241, 0.35);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
  line-height: 1.5;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #20263c;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* ==========================================================================
   Desktop App Shell Layout (Sidebar + Main Content Wrapper)
   ========================================================================== */
.app-shell {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Sleek Desktop Sidebar with Glassmorphism and Neon Rail */
.app-sidebar {
  width: 260px;
  background: rgba(10, 14, 24, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 80;
  transition: width 0.3s ease;
  flex-shrink: 0;
}

/* Glowing Neon Vertical Edge Rail on Sidebar Right Border */
.sidebar-edge-rail {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #00f5ff 0%, #8b5cf6 45%, #ff007a 85%, transparent 100%);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.6);
  pointer-events: none;
  z-index: 85;
}

/* Brand Section */
.sidebar-brand {
  padding: 1.35rem 1.25rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #00f5ff 0%, #8b5cf6 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.45);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: rotate(30deg);
  animation: logoShine 4s infinite;
}

@keyframes logoShine {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-name-accent {
  color: #00f5ff;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.4);
}

/* Prominent "+ Create Game" Amber/Orange Pill Button */
.sidebar-create-container {
  padding: 0.5rem 1.15rem 0.75rem;
}

.btn-sidebar-create {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00, #ffaa00);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 122, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.2px;
}

.btn-sidebar-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 122, 0, 0.6);
  filter: brightness(1.08);
}

.plus-icon {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 800;
}

/* Sidebar Navigation Items */
.sidebar-nav-container {
  flex: 1;
  padding: 0.5rem 0.85rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sidebar-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.75rem 0.75rem 0.35rem;
  letter-spacing: 0.75px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
}

.sidebar-link svg {
  color: #64748b;
  transition: color 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.sidebar-link:hover svg {
  color: #00f5ff;
  transform: translateX(2px);
}

.sidebar-link.active {
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.15), rgba(139, 92, 246, 0.1));
  color: #ffffff;
  border-color: rgba(0, 245, 255, 0.35);
  box-shadow: inset 0 0 12px rgba(0, 245, 255, 0.08);
}

.sidebar-link.active svg {
  color: #00f5ff;
  filter: drop-shadow(0 0 6px rgba(0, 245, 255, 0.5));
}

/* Sidebar User Footer (Exact match to screenshot) */
.sidebar-user-area {
  padding: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 11, 20, 0.7);
}

.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s ease;
}

.sidebar-user-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.user-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e2439, #2b3350);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ffffff;
}

.status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0a0c14;
  box-shadow: 0 0 8px #10b981;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-username {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-userlevel {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.btn-sidebar-logout {
  color: #64748b;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-sidebar-logout:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   Main Content Area & Top Header
   ========================================================================== */
.app-main-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Sticky Top Action Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  background: rgba(8, 10, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1.25rem;
}

.header-back-btn {
  margin-right: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.header-back-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.4);
}

/* Mobile Brand Header */
.mobile-brand {
  display: none;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

/* Global Search Bar (Modern Capsule with Glow) */
.search-container {
  flex: 1;
  max-width: 460px;
  position: relative;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.15rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.search-input-wrap:focus-within {
  border-color: #00f5ff;
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.3);
  background: rgba(26, 34, 54, 0.9);
}

.search-icon {
  color: #64748b;
  margin-right: 0.65rem;
  display: flex;
  align-items: center;
}

.search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.9rem;
  width: 100%;
}

.search-input::placeholder {
  color: #64748b;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Gold Coin Capsule Pill (From reference design) */
.header-coin-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: #fbbf24;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-coin-pill:hover {
  background: rgba(245, 158, 11, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

.coin-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.coin-val {
  letter-spacing: 0.2px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
  backdrop-filter: blur(8px);
}

.icon-btn:hover {
  background: rgba(30, 40, 64, 0.9);
  color: #ffffff;
  border-color: rgba(0, 245, 255, 0.3);
}

.icon-btn:active {
  transform: scale(0.95);
}

.badge-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #07090e;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
  padding: 0 0.25rem;
}

/* Main Content Container */
.app-container {
  flex: 1;
  padding: 2rem;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

/* View Sections (SPA Transitions) */
.view-section {
  display: none;
  flex-direction: column;
  gap: 2.25rem;
  animation: fadeInView 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-section.active {
  display: flex;
}

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

/* ==========================================================================
   Typography & Shared Section Headers
   ========================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-title-icon {
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Standard Button Styles (Pristine Visual Hierarchy)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  user-select: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: var(--glow-indigo);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  color: #ffffff;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ffffff;
}

.btn-outline-purple {
  background: transparent;
  color: #c4b5fd;
  border-color: rgba(139, 92, 246, 0.4);
}

.btn-outline-purple:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-purple);
  color: #ffffff;
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* Filter Chips */
.chips-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.chip {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.chip:hover {
  color: #ffffff;
  border-color: var(--border-hover);
}

.chip.active {
  background: rgba(99, 102, 241, 0.18);
  color: #ffffff;
  border-color: var(--accent-indigo);
}

/* ==========================================================================
   Home Screen: Hero Banner & Interactive Sections
   ========================================================================== */

/* Modern Glassmorphic Hero Card (Matches Reference Image) */
.home-hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 22, 42, 0.88) 0%, rgba(26, 16, 44, 0.88) 100%);
  border: 1px solid rgba(0, 245, 255, 0.22);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(0, 245, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  margin-bottom: 2rem;
  gap: 2rem;
}

.hero-glow-accent {
  position: absolute;
  top: -40%;
  right: 25%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(0, 245, 255, 0.15) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-card-left {
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.hero-greeting-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.hero-username-gradient {
  background: linear-gradient(90deg, #00f5ff 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-stat-pills-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
  backdrop-filter: blur(8px);
}

.hero-card-right {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 200px;
}

.btn-hero-browse {
  background: linear-gradient(135deg, #00f5ff 0%, #8b5cf6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.35);
  transition: all 0.2s ease;
}

.btn-hero-browse:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 245, 255, 0.55);
}

.btn-hero-rooms {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.btn-hero-rooms:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Home Feed Preview Card (From Reference Image) */
.home-feed-section {
  margin-bottom: 2rem;
}

.home-feed-card {
  background: rgba(14, 19, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.feed-empty-graphic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  margin-bottom: 0.85rem;
}

.feed-empty-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.35rem;
}

.feed-empty-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  max-width: 440px;
  margin-bottom: 1.35rem;
  line-height: 1.5;
}

.btn-open-feed-pill {
  background: #8b5cf6;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  transition: all 0.2s ease;
}

.btn-open-feed-pill:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(139, 92, 246, 0.6);
}

.btn-link-subtle {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: color 0.15s ease;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-link-subtle:hover {
  color: #00f5ff;
}

/* Home Categories Section (From Reference Image) */
.home-categories-section {
  margin-bottom: 2.5rem;
}

.section-title-with-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.title-neon-bar {
  width: 4px;
  height: 22px;
  background: #00f5ff;
  border-radius: 2px;
  box-shadow: 0 0 12px #00f5ff;
  display: inline-block;
}

.categories-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.9rem;
}

.cat-chip-card {
  background: rgba(18, 24, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  color: #e2e8f0;
}

.cat-chip-card:hover {
  background: rgba(28, 38, 64, 0.85);
  border-color: rgba(0, 245, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 245, 255, 0.2);
  color: #ffffff;
}

.cat-emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.cat-name {
  font-size: 0.88rem;
  font-weight: 700;
}

/* Thumbnail Editor & Presets Modal Styles */
.thumbnail-live-preview-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: rgba(8, 12, 22, 0.6);
  padding: 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.thumbnail-preview-box {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #00f5ff;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.35);
}

.thumbnail-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0.65rem;
}

.preview-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.thumbnail-preview-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.thumb-presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-height: 240px;
  overflow-y: auto;
  padding: 0.25rem;
}

.thumb-preset-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.15s ease;
  aspect-ratio: 16/9;
}

.thumb-preset-card:hover {
  border-color: #00f5ff;
  transform: scale(1.03);
}

.thumb-preset-card.selected {
  border-color: #00f5ff;
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.7);
}

.thumb-preset-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-preset-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  padding: 0.2rem;
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.hero-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) saturate(1.2);
  transition: transform 0.6s ease;
}

.hero-banner:hover .hero-bg-art {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(7, 9, 14, 0.96) 0%,
    rgba(7, 9, 14, 0.7) 45%,
    rgba(7, 9, 14, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #ffffff;
}

.hero-desc {
  font-size: 1rem;
  color: #d1d5db;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Horizontal Scroll Container for Carousels */
.horizontal-scroll-section {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Platform Stats Bar */
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Storefront Game Cards (Precision Visuals, Badges & Micro-Interactions)
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.2);
}

.game-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #090c14;
}

.game-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.game-badge-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: rgba(10, 13, 22, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.game-multiplayer-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(99, 102, 241, 0.9);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
}

/* Hover Quick-Play Button Overlay */
.game-play-hover-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.game-card:hover .game-play-hover-btn {
  opacity: 1;
}

.play-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
  color: #ffffff;
  transform: scale(0.85);
  transition: transform 0.2s ease;
}

.game-card:hover .play-icon-circle {
  transform: scale(1);
}

.game-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.game-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.game-creator {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.game-desc-snip {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.2rem;
}

.game-footer-stats {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.game-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Dedicated Theater Mode (Distraction-Free Game Player)
   ========================================================================== */
.game-theater {
  position: fixed;
  inset: 0;
  background: #06080d;
  z-index: 200;
  display: none;
  flex-direction: column;
  animation: theaterFadeIn 0.2s ease;
}

.game-theater.active {
  display: flex;
}

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

.theater-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(14, 17, 28, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 10;
}

.theater-game-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theater-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.theater-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: auto;
  position: relative;
}

/* Built-in Game: Tic Tac Toe */
.ttt-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 420px;
  width: 100%;
}

.ttt-status-card {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ttt-player-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.ttt-turn-pulse {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.ttt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ttt-cell {
  background: #141829;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.ttt-cell:hover {
  background: #1d2238;
  border-color: rgba(139, 92, 246, 0.4);
}

.ttt-cell.x {
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.ttt-cell.o {
  color: #f43f5e;
  text-shadow: 0 0 20px rgba(244, 63, 94, 0.6);
}

.ttt-cell.win-cell {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* Built-in Game: Chess */
.chess-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 680px;
  width: 100%;
}

.chess-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.25rem;
}

.chess-player-indicator {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.chess-captured-box {
  display: flex;
  gap: 0.2rem;
  font-size: 1.1rem;
  min-height: 24px;
}

.chess-board-wrapper {
  position: relative;
  width: min(85vw, 540px);
  height: min(85vw, 540px);
  background: #181d2f;
  border-radius: var(--radius-lg);
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(99, 102, 241, 0.2);
}

.chess-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
}

.chess-square {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  transition: background 0.15s ease;
}

.chess-square.light {
  background-color: #d1d5db;
}

.chess-square.dark {
  background-color: #4b5563;
}

.chess-square.selected {
  background-color: #a78bfa !important;
}

.chess-square.last-move {
  background-color: rgba(251, 191, 36, 0.45) !important;
}

.chess-square.in-check {
  background-color: rgba(239, 68, 68, 0.65) !important;
}

.chess-hint-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.7);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.9);
  pointer-events: none;
}

.chess-hint-capture {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 4px solid rgba(239, 68, 68, 0.75);
  pointer-events: none;
}

.chess-piece {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.1s ease;
}

.chess-piece.white {
  color: #ffffff;
  -webkit-text-stroke: 1px #1f2937;
}

.chess-piece.black {
  color: #111827;
  -webkit-text-stroke: 1px #9ca3af;
}

/* Built-in Game: Roast Battle */
.roast-arena {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 780px;
  width: 100%;
}

.roast-spotlight {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.roast-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.roast-fighters {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.fighter-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  position: relative;
}

.fighter-card.active-turn {
  border-color: var(--accent-pink);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.vs-badge {
  font-size: 1.5rem;
  font-weight: 900;
  color: #f43f5e;
  text-shadow: 0 0 15px rgba(244, 63, 94, 0.6);
}

.roast-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.5rem;
}

.roast-bubble {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-lg);
  max-width: 80%;
}

.roast-bubble.p1 {
  align-self: flex-start;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.roast-bubble.p2 {
  align-self: flex-end;
  background: rgba(236, 72, 153, 0.2);
  border: 1px solid rgba(236, 72, 153, 0.4);
}

.judge-verdict-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.judge-scores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.score-metric {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.score-metric strong {
  display: block;
  font-size: 1rem;
  color: #fbbf24;
}

/* ==========================================================================
   GameVerse Studio (Professional Game IDE Workspace)
   ========================================================================== */
.studio-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 640px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.studio-sidebar {
  background: #0c0f1a;
  border-right: 1px solid var(--border-subtle);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.studio-main {
  display: flex;
  flex-direction: column;
  background: #090b12;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  background: #111422;
  border-bottom: 1px solid var(--border-subtle);
}

.file-tabs {
  display: flex;
  gap: 0.35rem;
}

.file-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.15s ease;
}

.file-tab.active {
  background: #181d2f;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.code-editor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-height: 440px;
}

.code-editor-area {
  width: 100%;
  height: 100%;
  background: #0a0c14;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 1.25rem;
  border: none;
  outline: none;
  resize: none;
  line-height: 1.6;
}

.preview-container {
  background: #ffffff;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
}

.preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

.console-drawer {
  background: #080a10;
  border-top: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94a3b8;
  max-height: 140px;
  overflow-y: auto;
}

/* Multiplayer Rooms */
.room-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.room-code-display {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--accent-cyan);
  background: var(--bg-input);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(6, 182, 212, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
}

.players-lobby-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lobby-player-slot {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Chat & Messaging */
.chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 620px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.convo-list {
  background: #0d101c;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.convo-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.15s ease;
}

.convo-item:hover, .convo-item.active {
  background: rgba(99, 102, 241, 0.12);
}

.chat-panel {
  display: flex;
  flex-direction: column;
  background: #090b14;
}

.chat-header {
  padding: 1rem 1.25rem;
  background: #111422;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-messages {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
}

.message-bubble {
  max-width: 70%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
}

.message-bubble.sent {
  align-self: flex-end;
  background: var(--grad-primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.message-bubble.received {
  align-self: flex-start;
  background: #181d2f;
  color: #ffffff;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.chat-input-bar {
  padding: 1rem;
  background: #111422;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.75rem;
}

/* Social Feed */
.social-feed-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
}

.post-composer {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feed-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.15s ease;
}

.post-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.post-author-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
}

.post-timestamp {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.post-content {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.post-actions-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.post-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

.post-action-btn:hover {
  color: #ffffff;
}

.post-action-btn.liked {
  color: var(--accent-pink);
}

/* Leaderboards */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table th {
  text-align: left;
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}

.leaderboard-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.leaderboard-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.88rem;
}

.rank-1 { 
  background: linear-gradient(135deg, #fbbf24, #d97706); 
  color: #000; 
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.4); 
}
.rank-2 { 
  background: linear-gradient(135deg, #e5e7eb, #9ca3af); 
  color: #000; 
}
.rank-3 { 
  background: linear-gradient(135deg, #d97706, #92400e); 
  color: #fff; 
}

/* Collectible Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.achievement-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  transition: all 0.2s ease;
}

.achievement-card.unlocked {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.05);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.achievement-card.locked {
  opacity: 0.65;
  filter: grayscale(0.5);
}

.achievement-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.achievement-card.unlocked .achievement-icon-box {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.achievement-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.achievement-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.2rem;
}

.achievement-status {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.achievement-status.unlocked {
  color: var(--accent-emerald);
}

.achievement-status.locked {
  color: var(--text-dim);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 1.5rem;
  animation: modalFade 0.2s ease;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #111526;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalZoom 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card.wide {
  max-width: 680px;
}

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

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease;
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.avatar-option {
  aspect-ratio: 1;
  background: var(--bg-surface);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.avatar-option:hover {
  background: var(--bg-surface-hover);
}

.avatar-option.selected {
  border-color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.2);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.auth-tab.active {
  color: #ffffff;
  border-bottom-color: var(--accent-indigo);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: #151a2c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  animation: slideInRight 0.25s ease;
  min-width: 280px;
}

.toast.success { border-left: 4px solid var(--accent-emerald); }
.toast.error { border-left: 4px solid var(--accent-red); }
.toast.info { border-left: 4px solid var(--accent-cyan); }
.toast.achievement {
  border-left: 4px solid #fbbf24;
  background: linear-gradient(135deg, #221c33, #151a2c);
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.3);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Empty States */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-xl);
}

.empty-state-icon {
  font-size: 2.5rem;
  color: var(--text-dim);
}

.empty-state-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.empty-state-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 400px;
}

/* User Pill Component */
.user-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.user-pill:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
}

/* Mobile Bottom Navigation Bar (Persistent for Mobile & Tablet) */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(8, 12, 22, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 0.5rem;
  z-index: 990;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  min-width: 52px;
}

.mobile-nav-item svg {
  color: #64748b;
  transition: color 0.15s ease, transform 0.15s ease;
}

.mobile-nav-item:hover svg {
  color: #00f5ff;
}

.mobile-nav-item.active {
  color: #ffffff;
}

.mobile-nav-item.active svg {
  color: #00f5ff;
  filter: drop-shadow(0 0 6px rgba(0, 245, 255, 0.6));
  transform: translateY(-1px);
}

.mobile-nav-create-btn {
  margin-top: -12px;
}

.mobile-create-pill {
  width: 44px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00, #ffaa00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.55);
  margin-bottom: 2px;
  transition: transform 0.15s ease;
}

.mobile-nav-create-btn:hover .mobile-create-pill {
  transform: scale(1.08);
}

/* ==========================================================================
   Responsive Adaptations (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .app-sidebar {
    display: none !important;
  }
  .mobile-brand {
    display: flex;
  }
  .mobile-nav {
    display: flex !important;
  }
  .app-container {
    padding: 1.25rem;
    padding-bottom: 5.5rem;
  }
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .code-editor-split {
    grid-template-columns: 1fr;
  }
  .chat-layout {
    grid-template-columns: 1fr;
  }
  .social-feed-container {
    grid-template-columns: 1fr;
  }
  .home-hero-card {
    padding: 1.75rem;
  }
}

@media (max-width: 768px) {
  .home-hero-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .hero-card-right {
    width: 100%;
    min-width: unset;
  }
  .btn-hero-browse, .btn-hero-rooms {
    width: 100%;
  }
  .hero-greeting-title {
    font-size: 1.85rem;
  }
  .thumbnail-live-preview-container {
    grid-template-columns: 1fr;
  }
  .thumb-presets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .app-header {
    padding: 0.6rem 1rem;
  }
  .header-search {
    display: none;
  }
  .hero-banner {
    padding: 1.5rem;
    min-height: 320px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .players-lobby-grid {
    grid-template-columns: 1fr;
  }
  .roast-fighters {
    grid-template-columns: 1fr;
  }
  #onboard-grid-wrap {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Ambient Dynamic Vibrant Atmosphere & Glowing System
   ========================================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  animation: floatAmbient 12s ease-in-out infinite alternate;
}

.ambient-glow-cyan {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.3) 0%, transparent 70%);
  top: -120px;
  left: 2%;
}

.ambient-glow-purple {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
  top: 20%;
  right: -50px;
  animation-delay: -4s;
}

.ambient-glow-pink {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.28) 0%, transparent 70%);
  bottom: 0;
  left: 25%;
  animation-delay: -8s;
}

@keyframes floatAmbient {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.08); }
  100% { transform: translateY(20px) scale(0.95); }
}

.ambient-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Holographic Gamer Pass & Onboarding Portal
   ========================================================================== */
.gamer-onboard-card {
  max-width: 860px;
  background: #0c101d;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(99, 102, 241, 0.25);
  position: relative;
}

.holographic-pass {
  background: linear-gradient(145deg, #13182b 0%, #0d111f 100%);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 245, 255, 0.08);
}

.holographic-pass::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(0, 245, 255, 0.08) 45%,
    rgba(139, 92, 246, 0.12) 50%,
    transparent 55%
  );
  transform: rotate(25deg);
  animation: holoSheen 6s infinite linear;
  pointer-events: none;
}

@keyframes holoSheen {
  0% { transform: translateY(-100%) rotate(25deg); }
  100% { transform: translateY(100%) rotate(25deg); }
}

.pass-chip-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.75px;
  color: var(--accent-cyan);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.pass-logo-badge {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
}

.pass-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
}

.pass-avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

.pass-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle, rgba(0, 245, 255, 0.6) 0%, transparent 70%);
  filter: blur(8px);
  animation: pulseAura 3s infinite ease-in-out;
  transition: all 0.3s ease;
}

@keyframes pulseAura {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.pass-avatar-icon {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: #181e35;
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.pass-info-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}

.pass-display-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.pass-handle {
  font-size: 0.8rem;
  color: var(--accent-purple);
  font-weight: 700;
  font-family: var(--font-mono);
}

.pass-class-badge {
  margin-top: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.45);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #c7d2fe;
}

.pass-stats-ribbon {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.65rem 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
}

.pass-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.pass-stat-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.pass-stat-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.pass-footer-watermark {
  margin-top: 1.25rem;
  font-size: 0.58rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  font-weight: 700;
  opacity: 0.7;
}

.aura-color-swatches {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.4rem 0;
}

.aura-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.aura-swatch:hover {
  transform: scale(1.15);
}

.aura-swatch.active {
  border-color: #ffffff;
  transform: scale(1.2);
}

/* Vibrant Card and Interactive Enhancements */
.game-card {
  border-color: rgba(139, 92, 246, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.game-card:hover {
  border-color: rgba(0, 245, 255, 0.5) !important;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 245, 255, 0.25) !important;
}

.chip.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.2));
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

.btn-primary {
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6), 0 0 15px rgba(6, 182, 212, 0.4);
}

.btn-thumb-quick-edit {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(10, 14, 26, 0.85);
  border: 1px solid rgba(0, 245, 255, 0.4);
  color: #ffffff;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(8px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-thumb-quick-edit:hover {
  transform: scale(1.12);
  border-color: #00f5ff;
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.5);
  background: rgba(15, 23, 42, 0.95);
}


