/* ==========================================================================
   ROYAL STAKE - Premium Mobile & Desktop Responsive Design System
   (Royal Green & Black Theme)
   ========================================================================== */

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

:root {
  /* Color Palette - Royal Green & Black Theme */
  --bg-dark: #060b08;
  --bg-card: #0e1712;
  --bg-card-hover: #15221b;
  --bg-elevated: #1a2a20;
  --bg-glass: rgba(14, 23, 18, 0.94);
  
  --border-color: rgba(34, 197, 94, 0.16);
  --border-yellow-glow: rgba(16, 185, 129, 0.35);
  
  /* Brand Royal Emerald & Accent Colors */
  --accent-yellow: #10b981;
  --accent-yellow-hover: #059669;
  --accent-yellow-glow: rgba(16, 185, 129, 0.4);
  --accent-blue: #0284c7;
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-gold: #fbbf24;
  
  /* Status Colors */
  --color-live: #ff3366;
  --color-win: #10b981;
  --color-loss: #ef4444;
  
  /* Typography */
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Fonts */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Layout Dimensions */
  --header-height: 54px;
  --bottom-nav-height: 58px;
  --betslip-width: 340px;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  
  --transition-fast: 0.2s ease;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);
}
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

html {
  font-size: 14px;
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-size: 0.85rem;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--bottom-nav-height);
}

@media (min-width: 1025px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* Glowing Top Circular Pull to Refresh Spinner Bubble (No Text) */
.pull-to-refresh-bar {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #15171e;
  border: 1.5px solid var(--accent-yellow);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--accent-yellow-glow);
  transition: top 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}
.pull-to-refresh-bar.visible {
  opacity: 1;
}
.pull-to-refresh-bar i {
  font-size: 1.15rem;
  color: var(--accent-yellow);
  transition: transform 0.1s linear;
}
.pull-to-refresh-bar.refreshing i {
  animation: spinPull 0.65s linear infinite !important;
}

@keyframes spinPull {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 8px;
  width: 100%;
  box-sizing: border-box;
}

.text-yellow { color: var(--accent-yellow); }
.text-blue { color: var(--accent-blue); }
.text-green { color: var(--color-win); }
.text-muted { color: var(--text-muted); }
.text-live { color: var(--color-live); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 16px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-vip {
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
}

.badge-live {
  background: rgba(255, 51, 102, 0.15);
  color: var(--color-live);
  border: 1px solid rgba(255, 51, 102, 0.3);
}

/* Desktop Navbar */
.navbar {
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

@media (max-width: 1024px) {
  .navbar {
    display: none !important;
  }
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand-logo span {
  color: var(--accent-yellow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.nav-item.active a {
  color: var(--accent-yellow);
}

.btn-signin-yellow {
  background: var(--accent-yellow);
  color: #000;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
  box-shadow: 0 0 10px var(--accent-yellow-glow);
}
.btn-signin-yellow:hover {
  background: var(--accent-yellow-hover);
}

.link-register {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 8px;
}

/* Dedicated Mobile Top Header Bar */
.mobile-top-header {
  display: none;
  height: 50px;
  background: #09100b;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1500;
  padding: 0 10px;
}

@media (max-width: 1024px) {
  .mobile-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.hamburger-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
}

/* Sticky Mobile Bottom Navigation Bar - Pixel-Matched to Screenshot */
.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #09100b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 3000;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

@media (min-width: 1025px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}
.mobile-nav-item i {
  font-size: 1.15rem;
}
.mobile-nav-item.active {
  color: var(--accent-yellow);
}

/* Center Featured Yellow SLIP Button (Matched to Screenshot) */
.mobile-nav-slip-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -12px;
  flex: 1;
}

.mobile-nav-slip-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #10b981;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #09100b;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.mobile-nav-slip-btn:active {
  transform: scale(0.92);
}
.mobile-nav-slip-btn i {
  font-size: 1.25rem;
  color: #000;
}

.mobile-nav-slip-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #09100b;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

.mobile-nav-slip-label {
  color: var(--accent-yellow);
  font-weight: 900;
  font-size: 0.68rem;
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.03em;
}

/* Floating Notification Bell (Top Right Floating Circle Matched to Screenshot) */
.floating-notif-bell {
  position: fixed;
  bottom: 76px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0e1712;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-size: 1.05rem;
  z-index: 1900;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  transition: transform 0.15s ease;
}
.floating-notif-bell:active {
  transform: scale(0.92);
}
.floating-notif-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
}
@media (min-width: 1025px) {
  .floating-notif-bell {
    display: none;
  }
}

/* Main Layout Wrapper */
.layout-wrapper {
  display: grid;
  grid-template-columns: 200px 1fr var(--betslip-width);
  gap: 16px;
  min-height: calc(100vh - var(--header-height) - 100px);
  padding-top: 12px;
  padding-bottom: 24px;
  width: 100%;
}
.layout-wrapper.full-width {
  grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
  .layout-wrapper {
    grid-template-columns: 1fr !important;
    padding-top: 8px;
  }
  .sidebar-left {
    display: none !important;
  }
}

/* Sidebar Left Nav (Desktop Only) */
.sidebar-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
}

.sidebar-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.sports-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}

.sports-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}
.sports-nav-item.active a {
  background: var(--bg-card-hover);
  color: var(--accent-yellow);
}

/* Main Content Area */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

/* Horizontal Sliding Track Banner Carousel */
.carousel-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.crimson-promo-banner {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 22px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.promo-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

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

.promo-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.btn-claim-bonus {
  background: var(--accent-yellow);
  color: #000;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 7px 16px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 12px var(--accent-yellow-glow);
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}
.dot-item {
  height: 6px;
  border-radius: 3px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.dot-item.active {
  width: 18px;
  background: var(--accent-yellow);
  box-shadow: 0 0 8px var(--accent-yellow-glow);
}
.dot-item:not(.active) {
  width: 6px;
  border-radius: 50%;
}

/* Sports Category Pills */
.sports-pills-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  width: 100%;
}
.sports-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  background: #20232c;
  color: #fff;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}
.sports-pill.active {
  background: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
  box-shadow: 0 0 12px var(--accent-yellow-glow);
}

/* Date Filter Pills */
.date-pills-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  width: 100%;
}
.date-pill {
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  background: #ffffff;
  color: #000000;
  flex-shrink: 0;
}
.date-pill.active-all {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

/* Match Section Headers */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.section-title-text {
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.link-see-all {
  font-size: 0.75rem;
  color: var(--accent-yellow);
  font-weight: 800;
}

/* Match Card Listing Style */
.matches-listing-container {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4px 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.match-listing-item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  box-sizing: border-box;
}
.match-listing-item:last-child {
  border-bottom: none;
}

.match-listing-top-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 700;
}

.match-listing-main-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.match-teams-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.team-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 16px;
  min-width: 0;
}

.team-line-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.team-line-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.team-line-name {
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-line-score {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.link-all-markets {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}
.link-all-markets:hover {
  color: var(--accent-yellow);
}

/* 3 Odds Buttons Grid */
.odds-triple-grid {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
  margin-top: -6px;
}

.odds-square-btn {
  background: #142018;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 52px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.88rem;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
}
.odds-square-btn:hover {
  border-color: var(--accent-yellow);
  background: rgba(16, 185, 129, 0.12);
}
.odds-square-btn.selected {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #000000 !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6) !important;
}

.odds-square-btn.selected span {
  color: #000000 !important;
}

/* Mobile Screen Fits */
@media (max-width: 480px) {
  .matches-listing-container {
    padding: 8px 10px;
  }
  .odds-square-btn {
    width: 44px;
    height: 36px;
    font-size: 0.78rem;
  }
  .team-line-name {
    font-size: 0.78rem;
    max-width: 120px;
  }
  .container {
    padding: 0 6px;
  }
}

/* Dark Backdrop Overlay for Mobile Drawer */
.betslip-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2700;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.betslip-backdrop.active {
  display: block;
  opacity: 1;
}

/* Betslip Sidebar (Desktop) & Mobile Bottom Sheet Drawer */
.sidebar-right {
  position: sticky;
  top: calc(var(--header-height) + 12px);
  height: calc(100vh - var(--header-height) - 24px);
  display: flex;
  flex-direction: column;
}

.betslip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.betslip-header {
  padding: 12px 14px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.betslip-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.betslip-footer {
  padding: 14px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-code-box {
  display: flex;
  gap: 5px;
}
.booking-input {
  flex: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.btn-booking-load {
  background: var(--accent-yellow);
  color: #000;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.stake-input {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  outline: none;
}

.btn-place-bet {
  width: 100%;
  background: var(--accent-yellow);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.92rem;
  padding: 12px;
  border-radius: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 12px var(--accent-yellow-glow);
}

/* Global Betslip Slide-out Drawer Panel & Backdrop */
.betslip-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.betslip-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.betslip-sidebar, #betslip-sidebar-container, .sidebar-right {
  position: fixed;
  top: 0;
  right: -450px;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: #0e1712;
  border-left: 1.5px solid var(--accent-yellow);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.betslip-sidebar.open, #betslip-sidebar-container.open, .sidebar-right.open {
  right: 0 !important;
}

/* Mobile Slide-Up Drawer */
@media (max-width: 1024px) {
  .betslip-sidebar, #betslip-sidebar-container, .sidebar-right {
    top: auto;
    right: 0 !important;
    left: 0;
    bottom: -120%;
    width: 100vw;
    height: auto;
    max-height: 85vh;
    border-left: none;
    border-top: 2px solid var(--accent-yellow);
    border-radius: 20px 20px 0 0;
  }
  
  .betslip-sidebar.open, #betslip-sidebar-container.open, .sidebar-right.open {
    bottom: 0 !important;
  }

  .betslip-card {
    border-radius: 20px 20px 0 0;
    border: none;
    height: auto;
    max-height: 85vh;
  }
}

/* Mobile Drag Handle Bar */
.mobile-drag-handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 8px auto 2px;
}
@media (min-width: 1025px) {
  .mobile-drag-handle {
    display: none;
  }
}

/* Global Footer Styles */
.footer {
  background: #060b08;
  border-top: 1px solid var(--border-color);
  padding: 36px 0 calc(var(--bottom-nav-height) + 24px);
  margin-top: auto;
  width: 100%;
}

@media (min-width: 1025px) {
  .footer {
    padding: 40px 0 24px;
  }
}

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

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

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.footer-col h4 {
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 800;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent-yellow);
}

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

/* Form Styling */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-control {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #fff;
  outline: none;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 74px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 1025px) {
  .toast-container {
    bottom: 20px;
  }
}

.toast {
  background: var(--bg-elevated);
  border-left: 4px solid var(--accent-yellow);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
