/* =========================================================
   PVX1 ELITE - ARENA (PREMIUM DARK & GOLD THEME)
   Fixed Scrolling & Container Layout
========================================================= */

:root {
  --bg-main: #050b1a;
  --bg-card: #0b1630;
  --bg-card-gradient: linear-gradient(180deg, #0e1d42 0%, #081126 100%);
  
  --gold-main: #f5c542;
  --gold-light: #ffdf85;
  --gold-dark: #c58d12;
  --gold-glow: rgba(245, 197, 66, 0.35);

  --blue-btn: linear-gradient(135deg, #2f7bff, #0a45d6);
  --blue-btn-glow: rgba(47, 123, 255, 0.4);

  --border-line: rgba(245, 197, 66, 0.22);
  --text-white: #eef2fb;
  --text-muted: #8d9bb8;

  --accent-green: #00e676;
  --accent-red: #ff4d4d;
  --accent-orange: #ff7a00;

  --home-max-width: 480px;
  --card-radius: 20px;
}

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-main) !important;
  background-image: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(47, 123, 255, 0.18), transparent 75%) !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  color: var(--text-white);
  /* overflow: hidden hata diya gaya hai taaki page scroll ho sake */
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

.home-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--home-max-width);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  padding-top: 6px;
  padding-bottom: 90px; /* Bottom space taaki content chup na ho */
}

.home-section-panel {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  animation: pbxPanelIn .16s ease-out;
}

.home-section-panel[hidden] {
  display: none !important;
}

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

.home-section-panel[data-section-panel="lobby"] {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fixed-top-deck {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 0 12px;
  position: relative;
  z-index: 20;
}

.banner-carousel-wrap {
  position: relative;
  width: 100%;
  height: 126px;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-line);
  box-shadow: 0 6px 20px rgba(0,0,0,0.8), 0 0 15px rgba(245, 197, 66, 0.1);
  background: var(--bg-card);
  display: block !important;
  flex-shrink: 0;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .45s cubic-bezier(.25,1,.5,1);
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.banner-clickable-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.banner-img-node {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
}

.c-dot {
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.35);
  transition: all .25s ease;
}

.c-dot.active {
  width: 16px;
  background: var(--gold-main);
  box-shadow: 0 0 8px var(--gold-glow);
}

.quick-action-grid-4 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
  margin: 4px 0;
  box-sizing: border-box;
}

.qag-btn-item {
  position: relative;
  height: 82px;
  padding: 10px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border-radius: 16px;
  background: var(--bg-card-gradient);
  border: 1px solid var(--border-line);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease;
}

.qag-btn-item:active {
  transform: scale(0.95);
  border-color: var(--gold-main);
}

.qag-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  position: relative;
  background: var(--blue-btn);
  box-shadow: 0 4px 10px rgba(10, 69, 214, 0.4);
}

.deposit-bg { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.withdraw-bg { background: linear-gradient(135deg, #0284c7, #0369a1); }
.chat-bg { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.telegram-bg { background: linear-gradient(135deg, #0284c7, #0d9488); }

.qag-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.2px;
}

.market-deck-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-line) 50%, transparent 100%);
  margin: 10px 0;
}

.scrollable-market-deck {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 12px 30px;
  box-sizing: border-box;
}

.market-card {
  position: relative;
  background: var(--bg-card-gradient);
  border: 1px solid var(--border-line);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.mc-header-1130 {
  position: relative;
  z-index: 2;
  padding: 12px 16px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mc-title-1130 {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: .8px;
  text-transform: uppercase;
}

.mc-badge-1130 {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-live {
  background: rgba(0,230,118,.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  box-shadow: 0 0 10px rgba(0,230,118,.25);
}

.status-closed {
  background: rgba(255,77,77,.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
}

.status-locked {
  background: rgba(245,197,66,.15);
  border: 1px solid var(--gold-main);
  color: var(--gold-main);
}

.mc-body-1130 {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  width: 100%;
}

.mc-hex-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hex-pod-outer {
  position: relative;
  width: 58px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-pod-outer svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hex-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.hex-val {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-white);
}

.pod-old .hex-val { color: var(--text-muted); }
.pod-live .hex-val { color: var(--gold-main); }

.hex-sub {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}

.hex-arrow {
  color: var(--gold-main);
  font-size: 12px;
  font-weight: 900;
}

.mc-actions-1130 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-chart-1130 {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-line);
  color: var(--text-white);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-play-1130 {
  background: var(--blue-btn) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 9px 18px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px var(--blue-btn-glow);
  cursor: pointer;
}

.mc-footer-1130 {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-pill-1130 {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.closing-pill-1130 b {
  color: var(--gold-main);
}

.empty-state {
  text-align: center;
  padding: 35px 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}
