/*
 * worldcumcup.org — Premium Stylesheet
 * Brand Theme: Obsidian Stadium, Liquid Splashes, Shining Gold, and Solana Green
 */

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

:root {
    /* Color Palette */
    --bg-obsidian: hsl(225, 24%, 6%);
    --bg-card: hsla(225, 20%, 11%, 0.75);
    --bg-card-hover: hsla(225, 20%, 15%, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-gold: hsla(45, 100%, 50%, 0.3);
    --border-gold-active: hsla(45, 100%, 55%, 0.8);
    
    --gold: hsl(45, 100%, 50%);
    --gold-bright: hsl(48, 100%, 58%);
    --gold-glow: rgba(255, 200, 0, 0.4);
    
    --milky: hsl(0, 0%, 96%);
    --milky-splash: rgba(255, 255, 255, 0.9);
    --milky-glow: rgba(255, 255, 255, 0.35);
    
    --solana: hsl(152, 100%, 50%);
    --solana-glow: rgba(0, 255, 150, 0.3);
    --solana-purple: hsl(268, 100%, 63%);
    
    --pink: hsl(330, 100%, 65%);
    --text-muted: hsl(220, 12%, 65%);
    
    /* Layout & System */
    --font-sans: 'Outfit', sans-serif;
    --font-heading: 'Syne', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset & Scrollbar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 5px;
    border: 2px solid var(--bg-obsidian);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-border-active);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-obsidian);
    color: var(--milky);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Grid & Scanlines Backdrop */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 200, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 150, 0.04) 0%, transparent 40%),
        linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.6)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 2px);
    z-index: -2;
    pointer-events: none;
}

/* Live particle canvas background */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

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

/* Glassmorphism panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition-smooth);
}
.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Glow Utilities */
.glow-gold {
    box-shadow: 0 0 25px var(--gold-glow);
}
.glow-solana {
    box-shadow: 0 0 25px var(--solana-glow);
}
.glow-white {
    box-shadow: 0 0 25px var(--milky-glow);
}

/* Header / Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 13, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--milky) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px var(--gold-glow));
    font-weight: 900;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--milky);
    letter-spacing: -1px;
}
.logo-text span {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    text-shadow: 0 0 8px var(--gold-glow);
}

.wallet-btn {
    background: linear-gradient(135deg, var(--solana-purple) 0%, var(--solana) 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px var(--solana-glow);
    transition: var(--transition-smooth);
}
.wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--solana-glow), inset 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Mobile Menu Trigger */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--milky);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 200, 0, 0.1);
    border: 1px solid var(--border-gold-active);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.15);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold-bright) 30%, var(--milky) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(255, 200, 0, 0.2));
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: #0b0c10;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 800;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px var(--gold-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px var(--gold-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--milky);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.trophy-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 200, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.trophy-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 15px var(--gold-glow));
    animation: float 6s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Contract Address Section */
.ca-section {
    padding: 40px 0;
    position: relative;
}

.ca-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--border-gold);
    background: linear-gradient(135deg, rgba(255, 200, 0, 0.03) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.ca-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ca-box {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: var(--transition-smooth);
}
.ca-box:hover {
    border-color: var(--border-gold-active);
}

.ca-address {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--milky);
    letter-spacing: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.copy-btn:hover {
    color: var(--gold);
    transform: scale(1.15);
}

/* Babes Gallery Section */
.babes-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.babe-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}
.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 200, 0, 0.08);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 200, 0, 0.15);
}

.babe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
}

.babe-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}
.babe-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold-active);
    box-shadow: 0 12px 35px rgba(255, 200, 0, 0.15);
}

.babe-img-wrapper {
    width: 100%;
    aspect-ratio: 0.85;
    overflow: hidden;
    position: relative;
}

.babe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.babe-card:hover .babe-img {
    transform: scale(1.05);
}

/* Referee skin tone CSS filter effects */
.ref-white {
    filter: brightness(1.08) saturate(0.95) hue-rotate(0deg);
}
.ref-brunette {
    filter: brightness(0.88) saturate(1.4) sepia(0.25) hue-rotate(-10deg);
}
.ref-dark {
    filter: brightness(0.6) saturate(1.2) sepia(0.3) hue-rotate(15deg) contrast(1.15);
}
.ref-asian {
    filter: brightness(0.95) saturate(0.9) hue-rotate(5deg) contrast(1.05);
}

.babe-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--milky);
    text-transform: uppercase;
}

.babe-info {
    padding: 24px;
}

.babe-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.babe-role {
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.babe-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}
.stat-label {
    color: var(--text-muted);
}
.stat-val {
    font-weight: 700;
    color: var(--milky);
}

/* Sound/Action button for babe */
.babe-action-btn {
    width: 100%;
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--milky);
    padding: 10px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.babe-action-btn:hover {
    background: var(--gold);
    color: #0b0c10;
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Interactive Dashboard & Live Chart */
.dashboard-section {
    padding: 100px 0;
    position: relative;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.chart-panel {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(10, 12, 18, 0.95) 100%);
    border: 1px solid var(--border-glass);
}

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

.chart-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--milky);
    display: flex;
    align-items: center;
    gap: 8px;
}
.chart-title span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--solana);
    box-shadow: 0 0 10px var(--solana);
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.chart-price {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--solana);
}

.canvas-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

canvas#liveChart {
    width: 100%;
    height: 100%;
}

.chart-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.04;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
    pointer-events: none;
    user-select: none;
}

/* Calculator & Pools panel */
.calc-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--gold);
}

.calc-row {
    margin-bottom: 24px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 600;
}

.calc-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--milky);
    outline: none;
    transition: var(--transition-smooth);
}
.calc-input:focus {
    border-color: var(--border-gold-active);
    box-shadow: 0 0 15px rgba(255, 200, 0, 0.1);
}

.calc-currency {
    position: absolute;
    right: 18px;
    font-weight: 800;
    color: var(--gold);
}

/* Slider Style */
.slider-input {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    margin-top: 12px;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    box-shadow: 0 0 10px var(--gold-glow);
    transition: var(--transition-smooth);
}
.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-arrow {
    display: flex;
    justify-content: center;
    margin: 12px 0;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.calc-result-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-top: 12px;
}

.calc-result-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--milky);
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}
.calc-result-val span {
    color: var(--gold);
}

.calc-result-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Tokenomics Section */
.token-section {
    padding: 100px 0;
}

.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.token-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(20, 24, 35, 0.3) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    transition: var(--transition-smooth);
}
.token-card:hover {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.token-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(255, 200, 0, 0.2);
}

.token-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.token-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Token Hero Card — Single Big Supply Card */
.token-hero-card {
    margin-top: 48px;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 200, 0, 0.05) 0%, rgba(10, 13, 20, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}
.token-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 200, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.token-hero-card:hover {
    box-shadow: 0 0 60px rgba(255, 200, 0, 0.25);
    border-color: var(--border-gold-active);
}

.token-hero-inner {
    padding: 64px 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.token-hero-emoji {
    font-size: 4rem;
    margin-bottom: 24px;
    animation: float 4s ease-in-out infinite;
    display: block;
}

.token-hero-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 0 30px rgba(255, 200, 0, 0.4);
    letter-spacing: -2px;
}

.token-hero-label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--milky);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.token-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 36px auto;
    line-height: 1.7;
}
.token-hero-subtitle em {
    color: var(--milky);
    font-style: italic;
    font-weight: 700;
}

.token-hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.token-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--milky);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}
.token-tag:hover {
    background: rgba(255, 200, 0, 0.08);
    border-color: var(--gold);
    color: var(--gold);
}

/* How to Buy Section */
.buy-section {
    padding: 100px 0;
    position: relative;
}

.buy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.buy-step {
    position: relative;
    counter-increment: step-counter;
}

.buy-step::before {
    content: "0" counter(step-counter);
    position: absolute;
    top: -24px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 1;
}

.buy-step-card {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    height: 100%;
}
.buy-step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--gold);
}
.buy-step-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Roadmap Section */
.roadmap-section {
    padding: 100px 0;
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold) 0%, var(--border-glass) 100%);
    transform: translateX(-50%);
}

.timeline-card {
    width: 45%;
    margin-bottom: 40px;
    position: relative;
}

.timeline-card:nth-child(odd) {
    float: left;
    clear: both;
    text-align: right;
}

.timeline-card:nth-child(even) {
    float: right;
    clear: both;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 15px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    z-index: 10;
}

.timeline-card:nth-child(odd) .timeline-dot {
    right: -31px;
}
.timeline-card:nth-child(even) .timeline-dot {
    left: -31px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-smooth);
}
.timeline-content:hover {
    border-color: var(--border-gold-active);
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.1);
}

.timeline-phase {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.timeline-list {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.timeline-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.timeline-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 800;
}

.timeline-list.pending li::before {
    content: "○";
    color: var(--text-muted);
}

.roadmap-timeline::after {
    content: "";
    display: table;
    clear: both;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-glass);
    background: #06070a;
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.footer-info h3 span {
    color: var(--gold);
}
.footer-info p {
    color: var(--text-muted);
    max-width: 440px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--milky);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.social-btn:hover {
    background: var(--gold);
    color: #0b0c10;
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
    transform: translateY(-3px);
}

.disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* Modals & Dialogs */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-gold-active);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 440px;
    padding: 32px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 200, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.close-modal:hover {
    color: var(--milky);
}

.wallet-option {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 16px;
    color: var(--milky);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}
.wallet-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.1);
}
.wallet-option.popular {
    border-color: var(--border-gold-active);
}
.wallet-option img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.connecting-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Success/Toast message */
.toast-msg {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid var(--solana);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    color: var(--milky);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), 0 0 15px var(--solana-glow);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.toast-msg.active {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Queries */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .dash-grid {
        grid-template-columns: 1fr;
    }
    .ca-panel {
        flex-direction: column;
        align-items: stretch;
    }
    .roadmap-timeline::before {
        left: 20px;
    }
    .timeline-card {
        width: 100%;
        float: none !important;
        text-align: left !important;
        padding-left: 45px;
    }
    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile toggling can be added later */
    }
    .menu-btn {
        display: block;
    }
    .header-container {
        padding: 0 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        align-items: center;
    }
}
