/* ==========================================================================
   IMFORU369 MODERN GAMING PLATFORM DESIGN SYSTEM
   Brand Identity: IMFORU369 / IMFORU369 Book Cricket
   ========================================================================== */

:root {
  /* Color Palette - Dark Premium Gaming Theme */
  --bg-primary: #080b11;
  --bg-secondary: #0f141e;
  --bg-elevated: #151c2a;
  --bg-surface: #1c2537;
  --bg-surface-hover: #242f44;
  --bg-glass: rgba(18, 24, 38, 0.78);
  --bg-glass-card: rgba(22, 30, 47, 0.7);
  --bg-glass-modal: rgba(14, 19, 31, 0.92);

  /* Accents */
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-blue: #0284c7;
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.35);
  --accent-rose: #f43f5e;
  --accent-rose-glow: rgba(244, 63, 94, 0.35);

  /* Text colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-cyan: rgba(0, 240, 255, 0.3);
  --border-active: #00f0ff;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.55);
  --shadow-cyan: 0 0 24px rgba(0, 240, 255, 0.25);
  --shadow-purple: 0 0 24px rgba(139, 92, 246, 0.25);
  --shadow-gold: 0 0 24px rgba(245, 158, 11, 0.25);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Gradients */
  --grad-cyan: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  --grad-cyan-h: linear-gradient(135deg, #38bdf8 0%, #00f0ff 100%);
  --grad-purple: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --grad-emerald: linear-gradient(135deg, #34d399 0%, #059669 100%);
  --grad-rose: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(28, 38, 58, 0.85) 0%, rgba(17, 24, 39, 0.95) 100%);
  --grad-glass-border: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(0,240,255,0.2) 50%, rgba(255,255,255,0.05) 100%);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', 'Saira', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 240, 255, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(16, 185, 129, 0.05), transparent);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: #38bdf8;
  text-decoration: none;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Container Adjustments */
.platform-container {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 16px 85px 16px;
}

@media (min-width: 992px) {
  .platform-container {
    max-width: 1020px;
    padding: 0 24px 90px 24px;
  }
}

/* ==========================================================================
   TOP MODERN HEADER
   ========================================================================== */
.platform-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.platform-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.brand-logo-box {
  width: 44px;
  min-width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo-box {
  transform: scale(1.05);
}

.brand-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ffffff 0%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

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

.header-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(22, 30, 47, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.header-chip:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
}

.header-chip .chip-icon {
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.header-chip.chip-gold {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}

.header-chip.chip-gold .chip-icon {
  color: #fbbf24;
}

.header-btn-apk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-cyan);
  color: #07090e !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-cyan);
  transition: all var(--transition-fast);
}

.header-btn-apk:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

/* ==========================================================================
   NAVBAR & SUBHEADER (PAGE TITLE HEADER)
   ========================================================================== */
.page-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 990;
}

.page-back-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.page-back-btn:hover {
  background: var(--accent-cyan);
  color: #07090e;
  border-color: var(--accent-cyan);
}

.page-heading-title {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 0;
  text-align: center;
  flex: 1;
}

/* ==========================================================================
   CARDS & GLASS PANELS
   ========================================================================== */
.glow-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.6;
}

.glow-card:hover {
  border-color: var(--border-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 240, 255, 0.15);
  transform: translateY(-2px);
}

.glass-panel {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

/* Card Header & Titles */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.section-title i {
  color: var(--accent-cyan);
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  min-height: 46px;
  user-select: none;
}

.btn-primary-glow {
  background: var(--grad-cyan);
  color: #080b11 !important;
  border: none;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.35);
}

.btn-primary-glow:hover, .btn-primary-glow:focus {
  background: var(--grad-cyan-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
  color: #080b11 !important;
}

.btn-purple-glow {
  background: var(--grad-purple);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
}

.btn-purple-glow:hover, .btn-purple-glow:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
  color: #ffffff !important;
}

.btn-gold-glow {
  background: var(--grad-gold);
  color: #080b11 !important;
  border: none;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-gold-glow:hover, .btn-gold-glow:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #080b11 !important;
}

.btn-emerald-glow {
  background: var(--grad-emerald);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-emerald-glow:hover, .btn-emerald-glow:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  color: #ffffff !important;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-glass:hover, .btn-glass:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan) !important;
}

.btn-block {
  width: 100%;
}

.btn-sm-custom {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group-modern {
  margin-bottom: 18px;
}

.form-label-modern {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-wrapper-modern {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 16px;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 2;
}

.input-addon-text {
  position: absolute;
  left: 16px;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}

.form-control-modern {
  width: 100%;
  height: 50px;
  background: rgba(11, 16, 26, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-control-modern.has-left-icon {
  padding-left: 48px;
}

.form-control-modern.has-left-addon {
  padding-left: 56px;
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(14, 20, 32, 0.95);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.18);
  color: #ffffff;
}

.form-control-modern::placeholder {
  color: var(--text-muted);
}

/* ==========================================================================
   BADGES & CHIPS
   ========================================================================== */
.badge-neon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1.2 !important;
}

.badge-neon-cyan {
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.badge-neon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-neon-gold {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-neon-rose {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-neon-purple {
  background: rgba(139, 92, 246, 0.12);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* ==========================================================================
   MARQUEE ANNOUNCEMENT TICKER
   ========================================================================== */
.announcement-ticker {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ticker-badge {
  background: var(--grad-cyan);
  color: #080b11;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.ticker-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.ticker-text marquee {
  margin: 0;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   MISSION & TEAM CARDS
   ========================================================================== */
.mission-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  text-decoration: none;
  color: #ffffff !important;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.mission-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.mission-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

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

.mission-card.men-mission {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.85) 0%, rgba(14, 116, 144, 0.95) 100%);
  border-color: rgba(56, 189, 248, 0.4);
}

.mission-card.women-mission {
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.85) 0%, rgba(190, 24, 93, 0.95) 100%);
  border-color: rgba(244, 114, 182, 0.4);
}

.mission-card.mix-mission {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.85) 0%, rgba(91, 33, 182, 0.95) 100%);
  border-color: rgba(167, 139, 250, 0.4);
}

.mission-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.mission-content {
  flex: 1;
  padding: 0 16px;
}

.mission-title {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0 0 2px 0;
}

.mission-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.mission-action-arrow {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.mission-card:hover .mission-action-arrow {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   TEAM SELECTION GRID
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

.team-card {
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--team-color, var(--accent-cyan));
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--team-color, var(--accent-cyan));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), 0 0 15px var(--team-color-glow, rgba(0, 240, 255, 0.3));
}

.team-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  padding: 4px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-fast);
}

.team-card:hover .team-logo-img {
  transform: scale(1.08);
}

.team-card-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.team-card-code {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--team-color, var(--accent-cyan));
  margin-top: 4px;
}

/* ==========================================================================
   GAME PLATFORM CARDS (MULTI-GAME READY)
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.game-platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
}

.game-platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 240, 255, 0.2);
}

.game-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000000;
}

.game-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.game-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

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

.game-card-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.game-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.game-card-btn {
  margin-top: auto;
  width: 100%;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==========================================================================
   PRICING & SUBSCRIPTION CARDS
   ========================================================================== */
.plan-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .plan-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .plan-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.25);
}

.plan-badge-popular {
  position: absolute;
  top: 14px;
  right: 14px;
}

.plan-header {
  margin-bottom: 16px;
}

.plan-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.plan-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.plan-amount {
  font-family: 'Exo 2', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex: 1;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.plan-features-list li i {
  color: var(--accent-emerald);
  font-size: 0.95rem;
}

/* ==========================================================================
   USER DASHBOARD / PROFILE (MYACCOUNT)
   ========================================================================== */
.user-hero-card {
  background: linear-gradient(135deg, rgba(14, 28, 48, 0.9) 0%, rgba(20, 20, 36, 0.95) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.12);
  margin-bottom: 20px;
}

.user-profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.user-avatar-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--grad-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  flex-shrink: 0;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  object-fit: cover;
}

.user-main-info {
  flex: 1;
}

.user-mobile-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.user-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wallet-balance-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wallet-stat-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.wallet-stat-value {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.wallet-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Quick Navigation Menu Grid */
.account-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 576px) {
  .account-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .account-menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.menu-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.menu-item-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  color: #ffffff;
}

.menu-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 10px;
  transition: transform var(--transition-fast);
}

.menu-item-card:hover .menu-item-icon {
  transform: scale(1.1);
  background: var(--accent-cyan);
  color: #080b11;
}

.menu-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

/* ==========================================================================
   MODERN DATA TABLES & TRANSACTION HISTORY
   ========================================================================== */
.table-container-modern {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-modern {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  color: var(--text-primary);
}

.table-modern thead th {
  background: rgba(11, 16, 26, 0.9);
  padding: 14px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.table-modern tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  vertical-align: middle;
}

.table-modern tbody tr:last-child td {
  border-bottom: none;
}

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

/* Card-style transaction rows for mobile */
.history-row-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition-fast);
}

.history-row-card:hover {
  border-color: var(--border-light);
}

.history-details {
  display: flex;
  flex-direction: column;
}

.history-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.history-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.history-amount-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.history-amount {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.amount-credit {
  color: var(--accent-emerald);
}

.amount-debit {
  color: var(--accent-rose);
}

/* ==========================================================================
   BOTTOM APP MENU (MOBILE DOCK)
   ========================================================================== */
.appBottomMenu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  min-height: 60px;
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 9999;
  padding: 5px 8px;
  padding-bottom: calc(5px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .appBottomMenu {
    width: 100% !important;
    max-width: 600px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px 20px 0 0;
  }
}

.appBottomMenu .item {
  flex: 1 1 0%;
  width: auto;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.appBottomMenu .item a,
.appBottomMenu .item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  color: #94a3b8 !important;
  text-decoration: none;
  position: relative;
  padding: 3px 2px;
  box-sizing: border-box;
  transition: all var(--transition-fast);
}

.appBottomMenu .item i,
.appBottomMenu .item ion-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin: 0 0 2px 0;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.appBottomMenu .item span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.1;
  color: #94a3b8;
  display: block;
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.appBottomMenu .item:hover a,
.appBottomMenu .item:hover a i,
.appBottomMenu .item:hover a span {
  color: #ffffff !important;
}

.appBottomMenu .item.active a,
.appBottomMenu .item.active a span {
  color: #ffffff !important;
  font-weight: 700;
}

.appBottomMenu .item.active a i {
  color: #00f0ff !important;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.7));
}

.appBottomMenu .item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 32px;
  height: 3px;
  background: #00f0ff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 10px #00f0ff;
}

/* ==========================================================================
   EMPTY STATES
   ========================================================================== */
.empty-state-box {
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  margin: 20px 0;
}

.empty-state-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  opacity: 0.6;
}

.empty-state-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto 16px auto;
}

/* ==========================================================================
   MICRO-ANIMATIONS
   ========================================================================== */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  }
}

.pulse-glow-animation {
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Hide elements gracefully */
.d-none-important {
  display: none !important;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
