

/* ===== THEME TOKENS ===== */

body.dark{
  --bg: #020617;
  --card: #0f172a;
  --border: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #3b82f6;
}

body.light{
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e5e7eb;
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary: #2563eb;
}


/* ===== PREMIUM TOKENOMICS REDESIGN ===== */

:root {
  --bg-deep: #02040a;
  --accent-main: #6366f1;
  --accent-alt: #a855f7;
  --premium-grad: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- ENHANCED NAVIGATION --- */

.tok-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(2, 4, 10, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.tok-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  background: var(--premium-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tok-nav ul {
  display: flex;
  gap: 35px;
  list-style: none;
}

.tok-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
}

.tok-nav a:hover,
.tok-nav a.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* --- HERO SECTION WITH DEPTH --- */

.tok-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  /* Complex background for depth */
  background: 
    radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(circle at 0% 100%, rgba(168, 85, 247, 0.05), transparent);
    
}

.badge {
  background: var(--glass);
  color: var(--accent-main);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border: 1px solid var(--glass-border);
  margin-bottom: 30px;
  backdrop-filter: blur(5px);
  text-transform: uppercase;

}

.tok-hero h1 {
  font-size: clamp(48px, 8vw, 84px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -3px;
  margin-top: 30px;
}

.tok-hero h1 span {
  display: block;
  background: var(--premium-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub {
  max-width: 650px;
  margin-top: 25px;
  color: var(--text-secondary);
  font-size: 19px;
  font-weight: 400;
}

/* --- PREMIUM BUTTONS --- */

.hero-btns {
  margin-top: 45px;
  display: flex;
  gap: 20px;
}

.btn {
  padding: 16px 36px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn.blue {
  background: var(--premium-grad);
  color: white;
  box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.5);
  position: relative;
  overflow: hidden;
}

.btn.blue:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.6);
}

.btn.ghost {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: white;
  backdrop-filter: blur(10px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

/* --- MOBILE OPTIMIZATION --- */

@media (max-width: 768px) {
  .tok-nav {
    padding: 15px 5%;
  }
  
  .tok-nav ul {
    display: none; /* Recommended: add a mobile menu later */
  }

  .tok-hero h1 {
    font-size: 52px;
    letter-spacing: -1.5px;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  
  .btn {
    width: 100%;
  }
}


/* ===== TOKEN OVERVIEW SECTION ===== */

.qtv-token-overview {
  padding: 100px 6%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  margin-top: -70px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 60px;
}

/* --- OVERVIEW GRID --- */

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.overview-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(2, 6, 23, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

/* The "Glow" effect on hover */
.overview-card:hover {
  transform: translateY(-10px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 
              0 0 20px rgba(99, 102, 241, 0.1);
}

/* Decorative background circle */
.overview-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 100px;
  height: 100px;
  background: var(--premium-grad, linear-gradient(135deg, #6366f1, #a855f7));
  filter: blur(50px);
  opacity: 0.1;
  transition: 0.4s;
}

.overview-card:hover::before {
  opacity: 0.3;
  width: 150px;
  height: 150px;
}

.overview-card small {
  display: block;
  text-transform: uppercase;
  color: #6366f1; /* Premium Indigo */
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.overview-card h3 {
  font-size: 32px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.overview-card span {
  display: block;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

/* --- RESPONSIVE OPTIMIZATION --- */

@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .overview-card {
    padding: 30px;
  }
}

/* ============================================
   QTV THEME ALIGNMENT PATCH
   (Keeps premium look, matches main site theme)
============================================ */

/* Map tokenomics palette to main theme colors */
:root{
  --bg-deep: var(--bg, #020617);
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);

  --accent-main: var(--primary, #58a6ff);
  --accent-alt: #7c3aed;

  --premium-grad: linear-gradient(
    135deg,
    var(--accent-main),
    var(--accent-alt)
  );

  --text-primary: var(--text-main, #f8fafc);
  --text-secondary: var(--text-muted, #94a3b8);
}

/* Body inherit main site colors */
body{
  background: var(--bg-deep);
  color: var(--text-primary);
  
}

/* Hero background closer to main hero */
.tok-hero{
  background:
    radial-gradient(circle at top,#1e293b,#020617) !important;
    
}

/* Nav same glass look as main navbar */
.tok-nav{
  background: rgba(24,31,62,.9);
  border-bottom:1px solid var(--border, #30363d);
}

/* Cards match main cards */
.overview-card,
.stat-card,
.alloc-card{
  background: var(--card, #161b22);
  border:1px solid var(--border, #30363d);
  
}

/* Text harmonization */
.section-title{
  background: linear-gradient(
    90deg,
    var(--text-main),
    var(--text-muted)
  );
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.overview-card small{
  color: var(--accent-main);
}

.overview-card span{
  color: var(--text-muted);
}

/* Buttons match site buttons */
.btn.blue{
  background: linear-gradient(
    135deg,
    var(--primary),
    #2563eb
  );
  box-shadow: 0 12px 25px rgba(37,99,235,.4);
}


/* ===== SUPPLY TIMELINE SECTION ===== */

.qtv-supply-timeline {
  padding: 80px 6% 120px;
  max-width: 900px; /* Slimmer for better vertical reading */
  margin: 0 auto;
}

.timeline-box {
  position: relative;
  background: var(--card, #161b22);
  border: 1px solid var(--border, #30363d);
  border-radius: 28px;
  padding: 40px;
  margin-top: 50px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Vertical Progress Line */
.timeline-box::before {
  content: '';
  position: absolute;
  left: 55px;
  top: 50px;
  bottom: 50px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-main), transparent);
  opacity: 0.3;
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0 25px 60px; /* Space for the line */
  position: relative;
  transition: var(--transition, 0.3s ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.timeline-row:last-child {
  border-bottom: none;
}

/* Milestone Indicator (The Dot) */
.timeline-row::after {
  content: '';
  position: absolute;
  left: -8px; /* Centers dot on line (55px - 8px / 2 offset logic) */
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--bg-deep);
  border: 2px solid var(--accent-main);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px var(--accent-main);
}

.timeline-row:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: translateX(10px);
}

/* Text Styling */
.timeline-row h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-row p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Amount Info */
.amount {
  text-align: right;
}

.amount strong {
  display: block;
  font-size: 20px;
  color: var(--accent-main);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.amount span {
  font-size: 13px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .timeline-box {
    padding: 20px;
  }
  .timeline-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-left: 40px;
  }
  .timeline-box::before {
    left: 25px;
  }
  .timeline-row::after {
    left: 19px;
  }
  .amount {
    text-align: left;
  }
}

/* ===== TOKEN ALLOCATION SECTION ===== */

.qtv-token-allocation {
  padding: 80px 6%;
  max-width: 1000px;
  margin: 0 auto;
}

.allocation-box {
  background: var(--card, #161b22);
  border: 1px solid var(--border, #30363d);
  padding: 50px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
  
}

/* Row Layout */
.alloc-row {
  width: 100%;
}

.alloc-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.alloc-label strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.alloc-label span {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Bar Container */
.alloc-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* Individual Bar Fills */
.fill {
  height: 100%;
  border-radius: 20px;
  transition: width 1.5s cubic-bezier(0.17, 0.55, 0.55, 1);
  position: relative;
}

/* Custom Colors aligned with QTV Theme */
.eco       { width: 28%; background: var(--premium-grad); }
.liq       { width: 18%; background: #3b82f6; }
.dev       { width: 17%; background: #6366f1; }
.partner   { width: 14%; background: #8b5cf6; }
.team      { width: 10%; background: #a855f7; }
.community { width: 8%;  background: #ec4899; }
.market    { width: 5%;  background: #f43f5e; }

/* Add a shimmer effect to the bars */
.fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: barShimmer 3s infinite;
}

@keyframes barShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Hover Effect on Row */
.alloc-row:hover .fill {
  filter: brightness(1.2);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .allocation-box {
    padding: 30px 20px;
  }
  .alloc-label strong {
    font-size: 20px;
  }
}



/* ===== QTV GLASS-ACCENT ALLOCATION ===== */

.qtv-token-allocation {
  padding: 100px 6%;
  max-width: 1000px; /* Centered for focus */
  margin: 0 auto;
}

/* Vertical Stack with Spacing */
.alloc-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 50px;
}

/* The Glass Card */
.alloc-card {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr; /* Icon | Details | Vesting */
  align-items: center;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 40px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Glowing side-accent line */
.alloc-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: currentColor; /* Inherits from the percent color */
  box-shadow: 0 0 15px currentColor;
  opacity: 0.6;
}

.alloc-card:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(10px); /* Subtle slide-out */
}

/* 1. PERCENTAGE COLUMN */
.percent {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* 2. MAIN CONTENT COLUMN */
.alloc-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: white;
}

.amount {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.desc {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
  max-width: 90%;
}

/* 3. VESTING COLUMN (RIGHT ALIGNED) */
.lock {
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: inline-block;
  justify-self: end;
}

/* Color Palette Overrides */
.green  { color: #4ade80; }
.blue   { color: #60a5fa; }
.purple { color: #a78bfa; }
.orange { color: #fb923c; }
.cyan   { color: #22d3ee; }
.red    { color: #f87171; }
.pink   { color: #f472b6; }

/* MOBILE: Stack columns vertically but keep the style */
@media (max-width: 850px) {
  .alloc-card {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 15px;
  }
  
  .lock {
    justify-self: start;
    text-align: left;
    width: 100%;
  }

  .alloc-card:hover {
    transform: translateY(-5px);
  }
}


/* ===== QTV MULTI-THREADED ROADMAP ===== */

.qtv-roadmap {
  padding: 100px 6% 120px;
  overflow: hidden; /* Prevent body scroll */
}

/* Scroll Container for Horizontal Flow */
.roadmap-grid {
  display: flex;
  gap: 25px;
  padding: 40px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--primary, #3b82f6) transparent;
}

/* Webkit scrollbar styling for Chrome/Safari */
.roadmap-grid::-webkit-scrollbar {
  height: 6px;
}
.roadmap-grid::-webkit-scrollbar-thumb {
  background: var(--primary, #3b82f6);
  border-radius: 10px;
}

/* The "Processor" Card */
.roadmap-card {
  min-width: 320px;
  max-width: 320px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 30px;
  scroll-snap-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

/* Connector Line between cards */
.roadmap-card::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -26px;
  width: 25px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #3b82f6 0, #3b82f6 5px, transparent 5px, transparent 10px);
  opacity: 0.3;
}

.roadmap-card:last-child::before {
  display: none;
}

.roadmap-card:hover {
  transform: translateY(-10px);
  border-color: #3b82f6;
  background: #161b22;
}

/* Phase Header */
.phase {
  font-family: 'Space Mono', monospace;
  color: #3b82f6;
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.roadmap-card h3 {
  font-size: 19px;
  color: #f8fafc;
  margin-bottom: 20px;
  height: 50px; /* Keep titles aligned */
}

/* Clean Checked List */
.roadmap-card ul {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.roadmap-card li {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

/* Tech Checkbox Icon */
.roadmap-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
}

/* Progress Indicator at the bottom */
.roadmap-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--premium-grad);
  transition: 0.6s ease;
}

.roadmap-card:hover::after {
  width: 100%;
}

/* Mobile: Just stack them normally if the screen is too small */
@media (max-width: 600px) {
  .roadmap-grid {
    flex-direction: column;
    overflow-x: hidden;
  }
  .roadmap-card {
    min-width: 100%;
    max-width: 100%;
  }
  .roadmap-card::before { display: none; }
}



/* ===== LIGHT THEME OVERRIDES ===== */

body.light{
  background:#f8fafc;
  color:#0f172a;
}

/* Hero */
body.light .tok-hero{
  background: radial-gradient(circle at top,#e0e7ff,#f8fafc) !important;
}

/* Navbar */
body.light .tok-nav{
  background: rgba(255,255,255,.9);
  border-bottom:1px solid #e5e7eb;
}

/* Cards */
body.light .overview-card,
body.light .alloc-card,
body.light .timeline-box,
body.light .roadmap-card{
  background:#ffffff;
  border:1px solid #e5e7eb;
}

/* Text */
body.light .section-title{
  background: linear-gradient(90deg,#0f172a,#475569);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

body.light .desc,
body.light .amount,
body.light .overview-card span,
body.light .timeline-row p,
body.light .roadmap-card li{
  color:#475569;
}

/* Buttons */
body.light .btn.ghost{
  background:#f1f5f9;
  color:#0f172a;
  border:1px solid #e5e7eb;
}

/* Roadmap cards hover */
body.light .roadmap-card:hover{
  background:#f1f5f9;
}

/* Allocation glow line softer */
body.light .alloc-card::after{
  opacity:.35;
}

/* ===============================
   TOKENOMICS FOOTER (Same Style)
=============================== */

.token-footer {
    background-color: #0d1117;
    color: #f0f6fc;
    padding: 80px 20px 20px;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #30363d;
}

.token-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
}

/* Brand */
.token-footer .footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.token-footer .footer-logo .highlight {
    color: #58a6ff;
}

.token-footer .brand-desc,
.token-footer .brand-stats {
    color: #8b949e;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 400px;
}

/* Social */
.token-footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.token-footer .social-icon {
    font-size: 1.2rem;
    color: #f0f6fc;
    text-decoration: none;
    transition: 0.3s;
}

.token-footer .social-icon:hover {
    color: #58a6ff;
}

/* Links */
.token-footer .footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.token-footer .link-column h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.token-footer .link-column ul {
    list-style: none;
    padding: 0;
}

.token-footer .link-column li {
    margin-bottom: 12px;
}

.token-footer .link-column a {
    color: #8b949e;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
}

.token-footer .link-column a:hover {
    color: #58a6ff;
}

/* Bottom */
.token-footer .footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #30363d;
}

.token-footer .bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8b949e;
    font-size: 0.85rem;
}

.token-footer .built-on {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
    .token-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .token-footer .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .token-footer .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .token-footer .bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


.main-footer {
  background:#020617;
  color:#f0f6fc;
  padding:80px 20px 20px;
  border-top:1px solid #1e293b;
  font-family:Inter,system-ui,sans-serif;
}

.footer-container{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.5fr 2fr;
  gap:60px;
}

/* Brand */
.footer-logo{
  font-size:1.8rem;
  font-weight:800;
}

.footer-logo .highlight{
  color:#58a6ff;
}

/* Social */
.social-links{
  display:flex;
  gap:14px;
  margin-top:22px;
}

.social-icon{
  width:42px;
  height:42px;
  border-radius:10px;
  border:1px solid #30363d;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
}

.social-icon img{
  width:18px;
  height:18px;
}

.social-icon:hover{
  background:#1e293b;
  transform:translateY(-3px);
}

/* Links */
.footer-links-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.link-column h3{
  font-size:14px;
  margin-bottom:20px;
  text-transform:uppercase;
}

.link-column ul{
  list-style:none;
  padding:0;
}

.link-column li{
  margin-bottom:12px;
}

.link-column a{
  color:#8b949e;
  text-decoration:none;
  transition:.3s;
}

.link-column a:hover{
  color:#58a6ff;
}

/* Bottom */
.footer-bottom{
  margin-top:70px;
  padding-top:25px;
  border-top:1px solid #30363d;
}

.bottom-container{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:#8b949e;
}

/* Mobile */
@media(max-width:768px){
  .footer-container{
    grid-template-columns:1fr;
  }

  .footer-links-grid{
    grid-template-columns:1fr 1fr;
  }

  .bottom-container{
    flex-direction:column;
    gap:10px;
    text-align:center;
  }
}


/* ======================================
   FINAL TOKENOMICS MOBILE POLISH
====================================== */

@media (max-width:768px){

/* GLOBAL */
section{
  padding-left:18px !important;
  padding-right:18px !important;
}

h1,h2{
  word-break:break-word;
}

/* NAV */
.tok-nav{
  padding:14px 18px;
}

.tok-logo{
  font-size:18px;
}

/* HERO */
.tok-hero{
  min-height:auto;
  padding-top:120px;
  padding-bottom:80px;
}

.badge{
  font-size:10px;
  padding:6px 14px;
}

.tok-hero h1{
  font-size:34px !important;
  letter-spacing:-0.5px;
}

.sub{
  font-size:15px;
}

/* OVERVIEW */
.qtv-token-overview{
  margin-top:-30px;
}

.overview-card h3{
  font-size:24px;
}

/* TIMELINE */
.timeline-box{
  padding:22px;
}

.timeline-row h4{
  font-size:16px;
}

.amount strong{
  font-size:17px;
}

/* ALLOCATION BARS */
.allocation-box{
  padding:22px;
}

.alloc-label strong{
  font-size:18px;
}

/* ALLOCATION CARDS */
.alloc-card{
  padding:22px !important;
}

.percent{
  font-size:18px;
}

.desc{
  font-size:13px;
}

/* ROADMAP */
.qtv-roadmap{
  padding:70px 18px 80px;
}

.roadmap-card{
  padding:22px;
}

.roadmap-card h3{
  font-size:17px;
}

/* FOOTER */
.footer-container{
  grid-template-columns:1fr;
}

.footer-links-grid{
  grid-template-columns:1fr;
}

.bottom-container{
  flex-direction:column;
  gap:10px;
  text-align:center;
}

}
