/* JK Trader — International Billion-Dollar Ultra-Luxury Design System */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;700;800&family=Playfair+Display:ital,wght@1,700;1,800;1,900&display=swap');

:root {
  --bg-main: #FAFCFF;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;
  
  --text-main: #090D16;           /* Deep Obsidian Midnight */
  --text-muted: #334155;          /* Slate Navy */
  --text-light: #64748B;
  
  /* Billion-Dollar Metallic Champagne Gold & Executive Obsidian Palette */
  --primary: #D4AF37;             /* Metallic Champagne Gold */
  --primary-dark: #B8860B;        /* Royal Deep Gold */
  --primary-light: #FFFDF0;       /* Soft Cream Satin Accent */
  
  --gold-accent: #D4AF37;
  --border-gold: rgba(212, 175, 55, 0.32);
  
  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;
  
  --shadow-sm: 0 2px 6px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(212, 175, 55, 0.08);
  --shadow-lg: 0 20px 48px -6px rgba(15, 23, 42, 0.1), 0 8px 24px -4px rgba(212, 175, 55, 0.14);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --font-heading: 'Sora', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-italic: 'Playfair Display', Georgia, serif;
  --font-mono: 'Space Grotesk', monospace;
}

.italic-gold {
  font-family: var(--font-italic) !important;
  font-style: italic !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  padding-right: 3px;
}

/* Thin Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}
::-webkit-scrollbar-track {
  background: #FAFCFF !important;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4AF37, #B8860B) !important;
  border-radius: 99px !important;
}
::-webkit-scrollbar-thumb:hover {
  background: #B8860B !important;
}

html, body {
  scrollbar-width: thin !important;
  scrollbar-color: #D4AF37 #FAFCFF !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 13.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.4px;
}

.hero-title {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: -0.9px !important;
  color: #090D16 !important;
}

.section-title {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: -0.6px !important;
  color: #090D16 !important;
}

.serif-title {
  font-family: var(--font-heading) !important;
  font-weight: 800;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Layout Container */
.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 44px 0;
  background-color: var(--bg-main);
}

.section-bg {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.text-center { text-align: center; }
.text-right { text-align: right; }

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

.section-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.55;
}

/* Top Real-Time Ticker Bar */
.ticker-bar {
  background: #FFFDF0;
  color: #1E293B;
  font-size: 12px;
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid #FDE68A;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.08);
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: ticker 35s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.ticker-symbol { font-weight: 800; color: #78350F; font-family: var(--font-heading); }
.ticker-price { color: #090D16; font-family: var(--font-mono); font-weight: 700; }
.ticker-up { color: #B8860B; font-weight: 800; }
.ticker-down { color: #E11D48; font-weight: 800; }

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

/* Header Navigation & Mobile Toggle */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #090D16;
  letter-spacing: -0.6px;
}

.brand-logo span {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-nav-toggle {
  display: none;
  background: var(--primary-light);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
}

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

.mobile-drawer-header {
  display: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  letter-spacing: -0.2px;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--primary-dark);
}

/* Header Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -10px;
  width: 270px;
  background: #FFFFFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1050;
}

@media (min-width: 769px) {
  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-light);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--primary-dark);
}

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

/* Hero Section */
.hero-section {
  padding: 36px 0 28px 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, rgba(255, 255, 255, 0) 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFFDF0 0%, #FDE68A 100%);
  color: #78350F;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.hero-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Trading View Interactive Chart Card */
.chart-widget-card {
  background: #FFFFFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  height: 450px;
  width: 100%;
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
  background: #B8860B;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

.btn-outline {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  background: var(--primary-light);
}

.btn-sm {
  padding: 5px 12px;
  font-size: 11.5px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 14px;
  border-radius: var(--radius-md);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.badge-live {
  background: #FFF1F2;
  color: #E11D48;
  border: 1px solid #FECDD3;
}

.badge-vip {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #FFFFFF;
}

.badge-free {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--border-gold);
}

.badge-category {
  background: #F1F5F9;
  color: #334155;
}

.badge-gold {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--border-gold);
}

/* CARD DEFINITION & COMPACT FLEX CARDS */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.grid > .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.billion-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(212, 175, 55, 0.07);
}

/* Pricing Cards Styling */
.pricing-card {
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.28s ease;
}

.pricing-card.popular {
  border: 2px solid #D4AF37;
  background: linear-gradient(180deg, #FFFDF0 0%, #FFFFFF 100%);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.18);
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 3px 8px rgba(184, 134, 11, 0.35);
}

.price-val {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #B8860B;
  margin: 6px 0;
}

.price-val span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.feature-list {
  list-style: none;
  margin: 10px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.feature-icon {
  color: #D4AF37;
  font-size: 11px;
}

/* STRICT 5 CARDS PER ROW (.grid-5 FORCED FOR SCREENS >= 1000px) */
.grid {
  display: grid;
  gap: 12px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-5 {
  grid-template-columns: repeat(5, 1fr) !important;
}

/* Stream Cards HD Height */
.stream-card-thumb {
  position: relative;
  width: 100%;
  height: 185px !important;
  overflow: hidden;
  background: #0F172A;
  cursor: pointer;
}

.stream-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.stream-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.trader-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.trader-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.trader-name {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
}

.stream-title {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 34px;
}

/* Broker Card Layout HD Height */
.broker-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.broker-logo-wrap {
  width: 100%;
  height: 165px !important;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
}

.broker-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

.broker-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}

.broker-rating {
  font-size: 11px;
  font-weight: 700;
  color: #B8860B;
  margin-bottom: 8px;
}

.broker-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg-subtle);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.spec-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-light);
}

.spec-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
}

/* PnL Proof Gallery HD Height */
.pnl-card {
  overflow: hidden;
}

.pnl-img {
  width: 100%;
  height: 165px !important;
  object-fit: cover !important;
  border-bottom: 1px solid var(--border-color);
}

.pnl-body {
  padding: 10px 12px;
}

.pnl-amount {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #B8860B;
}

/* Video Modal Popup Container */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}

.video-modal-overlay.show { display: flex; }

.video-modal-box {
  background: #FFFFFF;
  width: 100%;
  max-width: 880px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border: 1px solid var(--border-gold);
}

.video-modal-header {
  padding: 12px 18px;
  background: #FFFDF0;
  border-bottom: 1px solid #FDE68A;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-modal-body {
  position: relative;
  width: 100%;
  height: 490px;
  background: #0B0F19;
}

/* Clean Footer */
.site-footer {
  background: #FAFCFF;
  color: #475569;
  padding: 42px 0 20px 0;
  border-top: 2px solid var(--primary);
}

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

.footer-title {
  color: #090D16;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #64748B;
  font-size: 12px;
}

.disclaimer-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 11.5px;
  line-height: 1.5;
  color: #64748B;
  margin-bottom: 20px;
}

/* Scrollable Admin Table Wrapper */
.admin-table-wrap {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  min-width: 750px;
}

.admin-table th {
  background: var(--bg-subtle);
  padding: 10px 12px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-heading);
}

.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

/* Super Admin White Theme Layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #FAFCFF;
}

.admin-sidebar {
  width: 250px;
  background: #FFFFFF;
  color: #090D16;
  padding: 20px 0;
  flex-shrink: 0;
  border-right: 1px solid var(--border-color);
}

.admin-brand {
  padding: 0 20px 20px 20px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  border-bottom: 1px solid var(--border-color);
}

.admin-menu {
  list-style: none;
  padding: 16px 0;
}

.admin-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-heading);
}

.admin-menu-link:hover, .admin-menu-link.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-left: 3px solid #D4AF37;
}

.admin-content {
  flex: 1;
  background: #FFFFFF;
  padding: 24px;
  overflow-x: hidden;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* Responsive Mobile Navigation & Full Height Mobile Slide Drawer */
@media (max-width: 1000px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr) !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stream-main-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .chart-widget-card { height: 340px; }
}

@media (max-width: 768px) {
  body {
    padding-top: 58px !important;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 58px !important;
    z-index: 3000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
  }
  
  .nav-container {
    height: 58px !important;
    padding: 0 14px !important;
  }
  
  .brand-logo {
    font-size: 20px !important;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #78350F !important;
    background: linear-gradient(135deg, #FFFDF0 0%, #FDE68A 100%) !important;
    border: 1px solid #D4AF37 !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25) !important;
    cursor: pointer !important;
  }
  
  body.menu-open {
    overflow: hidden !important;
  }
  
  /* Sleek Ultra-Luxury Full Height Fixed Left Slide Drawer */
  .nav-menu {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 300px !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background: #FFFFFF !important;
    border-right: 3px solid var(--primary);
    flex-direction: column;
    padding: 20px 18px;
    gap: 10px;
    box-shadow: 15px 0 50px rgba(15, 23, 42, 0.25);
    z-index: 9999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-menu.show {
    display: flex !important;
  }

  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
    width: 100%;
  }

  .nav-link {
    padding: 14px 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #F1F5F9 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    text-align: left !important;
  }

  .nav-link i:first-child {
    color: #B8860B !important;
    font-size: 16px !important;
    width: 22px !important;
    text-align: center !important;
  }
  
  .dropdown-menu {
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 2px solid #D4AF37 !important;
    background: transparent !important;
    margin-top: 4px !important;
    margin-left: 10px !important;
    border-radius: 0 !important;
    display: none;
    padding: 4px 0 4px 10px !important;
  }

  .dropdown-menu .dropdown-item {
    background: transparent !important;
    padding: 8px 6px !important;
    border-bottom: 1px dashed #F1F5F9 !important;
    color: var(--text-main) !important;
  }

  .dropdown-menu .dropdown-item:hover {
    color: var(--primary-dark) !important;
  }

  .dropdown-menu.mobile-open {
    display: block !important;
  }

  /* Admin Mobile Slide-Over Drawer */
  .admin-layout {
    flex-direction: column;
  }
  
  .admin-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    height: 100vh;
    background: #FFFFFF;
    border-right: 3px solid var(--primary);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.25);
    z-index: 2500;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .admin-sidebar.show {
    display: block !important;
  }
  
  .admin-content {
    padding: 14px;
    width: 100%;
    overflow-x: hidden;
  }

  .admin-table-wrap {
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table {
    min-width: 750px !important;
  }

  .grid-5 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .stream-main-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .stream-card-thumb {
    height: 165px !important;
  }
  .broker-logo-wrap {
    height: 155px !important;
  }
  .pnl-img {
    height: 155px !important;
  }
}

@media (max-width: 480px) {
  .grid-5 { grid-template-columns: 1fr !important; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
}
