/* ═══════════════════════════════════════════════
   XBIT — GLASSMORPHISM SYSTEM
   Defines the transparent layering contract
   that lets the 3D canvas background show through
   all page content on every secondary page.
═══════════════════════════════════════════════ */

/* ── PAGE WRAPPER (z-index seat above canvas) ── */
.page-glass {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  background: transparent;
}

/* ── GLASS CARD (Standard panel) ── */
.glass-card {
  background: rgba(14, 14, 32, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
              background 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}
.glass-card:hover { 
  transform: translateY(-5px); 
  background: rgba(20, 20, 50, 0.65); 
  border-color: rgba(124, 106, 247, 0.3);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.35);
}

/* ── GLASS CARD DARK (High-emphasis) ── */
.glass-card-dark {
  background: rgba(8, 8, 22, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: all 0.3s ease;
}
.glass-card-dark:hover {
  background: rgba(12, 12, 30, 0.82);
  border-color: rgba(124, 106, 247, 0.2);
}

/* ── GLASS CARD LIGHT (Subtle) ── */
.glass-card-light {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.glass-card-light:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* ── GLASS PANEL (Full-width section blocks) ── */
.glass-panel {
  background: rgba(14, 14, 32, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── GLASS TABLE ── */
.glass-table {
  background: rgba(14, 14, 32, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
}
.glass-table th {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  padding: 16px;
}
.glass-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 16px;
}
.glass-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

/* ── GLOW ACCENTS ── */
.glow-top-left {
  position: absolute;
  top: -80px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(124,106,247,0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.glow-top-right {
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(79,195,247,0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.glow-center {
  position: absolute;
  top: 30%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(124,106,247,0.1) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* ── GLASS STAT CARD ── */
.glass-stat {
  background: rgba(14, 14, 32, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}
.glass-stat:hover { 
  background: rgba(20, 20, 50, 0.6); 
  border-color: rgba(79, 195, 247, 0.3);
}

/* ── GLASS FORM ELEMENT ── */
.glass-input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s;
  width: 100%;
}
.glass-input:focus {
  outline: none;
  border-color: rgba(124, 106, 247, 0.5);
}
.glass-input::placeholder { color: rgba(255,255,255,0.3); }

.glass-select {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s;
  appearance: none;
}
.glass-select:focus { outline: none; border-color: rgba(124,106,247,0.5); }

/* ── PAGE SECTION CONTAINER ── */
.page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 80px;
  position: relative;
  z-index: 2;
}

/* ── PAGE HERO ── */
.glass-hero {
  padding: 120px 48px 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.glass-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.glass-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--blue, #7c6af7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.glass-hero-h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 200;
  line-height: 1.1;
  margin-bottom: 20px;
}
.glass-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ── RESPONSIVE MOBILE ADJUSTMENTS (100% completion) ── */
@media (max-width: 1200px) {
  .page-section { padding: 0 32px 60px; }
  .glass-hero   { padding: 100px 32px 48px; }
}

@media (max-width: 768px) {
  .page-section { padding: 0 20px 50px; }
  .glass-hero   { padding: 90px 20px 40px; }
  .glass-hero-h1 { font-size: clamp(28px, 6vw, 42px); }
  .glass-card, .glass-card-dark, .glass-card-light { border-radius: 14px; }
  .glass-stat { padding: 18px; }
  .glow-top-left, .glow-top-right, .glow-center { display: none; }
}

@media (max-width: 480px) {
  .page-section { padding: 0 14px 40px; }
  .glass-hero   { padding: 80px 14px 32px; }
  .glass-hero-h1 { font-size: 28px; }
  .glass-hero-desc { font-size: 14px; }
}

/* ═══════════════════════════════════════════════
   GLOBAL TRANSPARENCY ENFORCEMENT
   Matches the Signup page reference:
   - Cards use near-transparent bg + heavy blur
   - Globe wireframe + floating tags visible THROUGH cards
   - Same aesthetic as .auth-card (transparent + blur(28px))
═══════════════════════════════════════════════ */

/* Force body to use deep navy */
body {
  background: #0b0c15 !important;
}

/* ── CARDS: 100% transparent glass like signup's auth-card ── */
.stat-card,
.earn-card,
.proto-card,
.val-card,
.team-card,
.vis-card,
.inv-row,
.panel-card,
.calc-box,
.mk-card,
.table-wrap,
.lc-wrap,
.positions-table,
.swap-card,
.gc-card-form,
.side-card,
.brand-card,
.rate-box,
.upload-area,
.w3-panel,
.swap-box,
.rate-info,
.captcha-row,
.plan-opt,
.cv-widget,
.cv-box,
.sec-card,
.sec-checklist,
.ref-box,
.ref-step,
.pr-card,
.pr-coverage,
.spot-right,
.tv-chart {
  background: transparent !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(124,106,247,0.10), 0 20px 50px rgba(0,0,0,0.25);
  animation: cardIn .55s cubic-bezier(.22,.68,0,1.2) both;
}

@keyframes cardIn { 
  from { opacity: 0; transform: translateY(22px) scale(.97); } 
  to { opacity: 1; transform: none; } 
}

/* Slightly more opaque for cards with dense text/data */
.calc-section,
.ob-row,
.trade-row {
  background: rgba(10, 12, 28, 0.1) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
}

/* ── WRAPPERS: Fully transparent so globe shows through ── */
.section,
.page-hero,
.page,
.wrap,
.mk-wrapper,
.w3-wrapper,
.page-inner,
.cat-tabs,
.stat-ticker,
.cta-section,
.stat-row,
.gc-hero-main,
.gc-layout,
.how-to-sell,
.gc-filters-belt,
.gc-grid-10,
.gc-sidebar,
.how-steps-wrap,
.earn-grid,
.proto-grid,
.values-grid,
.team-grid,
.timeline,
.mission-grid,
.right-panel,
.ec-stats {
  background: transparent !important;
}

/* ── NAV: Glass with deeper blur ── */
nav {
  background: rgba(5, 5, 16, 0.4) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
}

/* ── FOOTER: Semi-transparent glass ── */
footer {
  background: rgba(5, 5, 16, 0.35) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}
