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

:root {
    --space-black: #050505;
    --deep-blue: #020b1a;
    --solana-neon: #14F195;
    --solana-emerald: #00FF88;
    --neon-gold: #FFD700;
    --solana-purple: #9945FF;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    --surface-blur: 8px; /* Reduced for better performance */
    --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: 0.3s ease;
    
    /* Orbit Responsive Vars */
    --orbit-radius: 220px;
    --orbit-item-size: 150px;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--space-black);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-left: 0; /* Removing the fixed padding for the marquee, we will redesign it */
}

h1, h2, h3, h4, .logo, .marquee-text {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    color: #f1e014;
}

/* Background Galaxy Effect */
.galaxy-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #020b1a 0%, #000 100%);
    overflow: hidden;
}

.star {
    position: absolute;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    pointer-events: none;
    color: #fff;
    opacity: 0.3;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: translate3d(0, 0, 0) scale(1); }
    50% { opacity: 0.8; transform: translate3d(0, 0, 0) scale(1.1); }
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--surface-blur));
    -webkit-backdrop-filter: blur(var(--surface-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition-slow);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(153, 69, 255, 0.1);
}

/* Header & Nav */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--solana-neon), var(--solana-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(20, 241, 149, 0.5));
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--solana-emerald);
    text-shadow: 0 0 10px rgba(20, 241, 149, 0.5);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2000;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-slow);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--solana-neon), #0ec178);
    color: #000;
    box-shadow: 0 4px 20px rgba(20, 241, 149, 0.4);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 241, 149, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--solana-emerald), #0ec178);
    color: #000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    text-align: center;
    perspective: 1000px; /* Added perspective context for 3D transforms */
    overflow: hidden; /* Prevent animation overflow */
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 900;
    
    /* 3D Transform & Perspective */
    transform: rotateX(10deg) rotateY(-5deg);
    transform-style: preserve-3d;
    
    /* Gradient Text with Clip */
    background: linear-gradient(135deg, #ffffff 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Complex Layered Shadow for Extrusion Effect */
    filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.8)) 
            drop-shadow(0 15px 20px rgba(0,0,0,0.6));
            
    will-change: transform, filter;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), 
                filter 0.6s ease;
    animation: magneticTitle 12s ease-in-out infinite;
}

@keyframes magneticTitle {
    /* 0-50%: Calm Floating */
    0%, 50%, 100% { 
        transform: perspective(1000px) rotateX(10deg) rotateY(-5deg) translate3d(0,0,0) scale(1);
        filter: brightness(1) drop-shadow(2px 2px 0px rgba(0,0,0,0.8));
    }
    25% { 
        transform: perspective(1000px) rotateX(12deg) rotateY(-2deg) translate3d(0,-15px,0) scale(1);
    }
    
    /* 62-72%: INTENSE MAGNETIC ATTRACTION */
    62% {
        transform: perspective(1000px) rotateX(10deg) rotateY(5deg) translate3d(calc(var(--pull-x) * 0.375), 0, 0) scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 10px var(--solana-neon));
    }
    
    66% { 
        transform: perspective(1000px) rotateX(5deg) rotateY(var(--pull-rot)) translate3d(calc(var(--pull-x) * 1.06), calc(var(--pull-y) * 0.4), 0) scale(0.85); 
        filter: brightness(1.8) drop-shadow(0 0 20px #fff); 
    }
    
    70% { 
        transform: perspective(1000px) rotateX(5deg) rotateY(var(--pull-rot)) translate3d(var(--pull-x), var(--pull-y), 0) scale(0.9);
        filter: brightness(1.4) drop-shadow(5px 5px 0px rgba(20, 241, 149, 0.5));
    }
    
    /* Snapping back */
    75% {
        transform: perspective(1000px) rotateX(10deg) rotateY(-2deg) translate3d(calc(var(--pull-x) * 0.25), 0, 0) scale(1);
        filter: brightness(1.1) drop-shadow(2px 2px 0px rgba(0,0,0,0.8));
    }
}

.hero h1:hover {
    transform: rotateX(15deg) rotateY(10deg) scale(1.03) translateZ(50px);
    filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.8)) 
            drop-shadow(6px 6px 0px rgba(20, 241, 149, 0.2))
            drop-shadow(0 30px 40px rgba(0,0,0,0.8));
}

.hero h1 span {
    background: linear-gradient(to bottom, #f1e014, #d4c612);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(241, 224, 20, 0.4));
    transform: translateZ(20px); /* Brings the spanned text forward in 3D space */
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
}

.hero-side-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* Added for sparks positioning */

    /* Animation Variables for Responsive Control */
    --pull-x: 80px;
    --pull-y: 5px;
    --pull-rot: 20deg;
    --spark-top: 50%;
    --spark-left: 45%;
    --spark-rot: 0deg;
    --pull-ls-neg: -2px;
    --pull-ls-pos: 2px;
}

/* Electric Sparks Container */
.sparks-container {
    position: absolute;
    width: 300px;
    height: 200px;
    top: var(--spark-top);
    left: var(--spark-left); 
    transform: translate(-50%, -50%) rotate(var(--spark-rot));
    pointer-events: none;
    z-index: 100;
}

.spark {
    position: absolute;
    background: #fff;
    width: 100px;
    height: 2px;
    opacity: 0;
    filter: drop-shadow(0 0 10px var(--solana-emerald));
    clip-path: polygon(0% 50%, 25% 0%, 20% 50%, 50% 10%, 45% 60%, 75% 30%, 70% 80%, 100% 50%, 80% 100%, 85% 60%, 55% 90%, 60% 40%, 30% 100%, 35% 50%);
}

.s1 { top: 20%; left: 10%; transform: rotate(-10deg) scale(1.5); animation-delay: 0.1s; }
.s2 { top: 50%; left: 30%; transform: rotate(15deg) scale(2); animation-delay: 0.3s; }
.s3 { top: 80%; left: 0%; transform: rotate(-30deg) scale(1.2); animation-delay: 0.5s; }

@keyframes sparkFlash {
    0%, 64%, 69%, 100% { opacity: 0; }
    64.1%, 65%, 66%, 67%, 68% { opacity: 1; filter: drop-shadow(0 0 15px #fff) brightness(2); }
    64.5%, 65.5%, 66.5%, 67.5% { opacity: 0; }
}

.spark {
    animation: sparkFlash 12s infinite;
}

.hero-text-side {
    z-index: 10;
}

.hero-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: 
        coinFloat 6s ease-in-out infinite,
        coinReaction 12s ease-in-out infinite; /* Synced with title magnetism */
}

@keyframes coinReaction {
    0%, 60%, 80%, 100% { filter: brightness(1); }
    67% { filter: brightness(2.5) drop-shadow(0 0 50px var(--solana-emerald)); transform: scale(1.1); }
}

.coin-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden-cover {
    position: absolute;
    width: 120px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 5;
    opacity: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.1) rotate(0deg);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
    filter: blur(5px);
}

.coin-wrapper:hover .hidden-cover {
    opacity: 1;
    filter: blur(0);
    pointer-events: auto;
}

/* Individual Scatter Positions - Increased distance as requested */
.coin-wrapper:hover .c1 { transform: translate(-210%, -130%) scale(1) rotate(-12deg); transition-delay: 0.1s; }
.coin-wrapper:hover .c2 { transform: translate(110%, -150%) scale(1) rotate(8deg); transition-delay: 0.2s; }
.coin-wrapper:hover .c3 { transform: translate(-220%, 50%) scale(1) rotate(-5deg); transition-delay: 0.3s; }
.coin-wrapper:hover .c4 { transform: translate(120%, 40%) scale(1) rotate(15deg); transition-delay: 0.4s; }

/* Subtle float once they are out */
@keyframes coverFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -8px; }
}

.coin-wrapper:hover .hidden-cover {
    animation: coverFloat 3s ease-in-out infinite alternate;
}

.main-coin {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(20, 241, 149, 0.4));
    transform-style: preserve-3d;
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
                filter 0.3s ease;
}

.coin-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--solana-neon) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(40px);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes coinFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -20px, 0); }
}

@keyframes coinRotate {
    0% { filter: drop-shadow(0 0 30px rgba(20, 241, 149, 0.4)); }
    50% { filter: drop-shadow(15px 0 40px rgba(20, 241, 149, 0.6)); }
    100% { filter: drop-shadow(0 0 30px rgba(20, 241, 149, 0.4)); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.3); }
}

.floating-asset {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
    filter: blur(1px);
    animation: floatAsset var(--duration) infinite ease-in-out;
}

@keyframes floatAsset {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    33% { transform: translate3d(20px, -30px, 0) rotate(3deg); }
    66% { transform: translate3d(-15px, 25px, 0) rotate(-3deg); }
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

@media (max-width: 900px) {
    section {
        padding: 60px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f1e014;
    text-shadow: 0 0 15px rgba(241, 224, 20, 0.3);
}

.section-title p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
}

/* Features/Benefits Cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--solana-neon);
    display: block;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.6);
}

.full-width-card {
    grid-column: 1 / -1;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

/* Laser Border Beam */
.stat-item::before, .benefit-card::before {
    content: '';
    position: absolute;
    width: 250%;
    height: 250%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        var(--solana-neon)
    );
    top: 50%;
    left: 50%;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Inner Glass/Circuit Layer */
.stat-item::after, .benefit-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 13px;
    z-index: -1;
    transition: all 0.5s ease;
}

.stat-item:hover, .benefit-card:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(20, 241, 149, 0.2);
    border-color: transparent;
}

.stat-item:hover::before, .benefit-card:hover::before {
    opacity: 1;
    animation: borderRotate 4s linear infinite;
}

.stat-item:hover::after, .benefit-card:hover::after {
    background: 
        linear-gradient(rgba(10, 15, 12, 0.95), rgba(10, 15, 12, 0.95)),
        repeating-linear-gradient(0deg, transparent 0, transparent 30px, rgba(20, 241, 149, 0.03) 30px, rgba(20, 241, 149, 0.03) 31px),
        repeating-linear-gradient(90deg, transparent 0, transparent 30px, rgba(20, 241, 149, 0.03) 30px, rgba(20, 241, 149, 0.03) 31px);
}

@keyframes borderRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--solana-emerald);
    display: block;
    margin-bottom: 0.5rem;
}

/* Roadmap */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--solana-neon), var(--solana-emerald), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 2rem 3rem;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border: 2px solid var(--solana-emerald);
    border-radius: 50%;
    top: 2.5rem;
    z-index: 10;
    box-shadow: 0 0 10px var(--solana-emerald);
}

.left { left: 0; text-align: right; }
.right { left: 50%; }

.left::after { right: -8px; }
.right::after { left: -8px; }

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    transition: var(--transition-slow);
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--solana-neon);
    transform: scale(1.02);
}

/* Tokenomics */
.tokenomics-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.chart-wrapper {
    position: relative;
    padding: 2rem;
}

.chart-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-info .value { font-size: 2rem; font-weight: 900; color: var(--solana-neon); }
.chart-info .label { font-size: 0.8rem; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    background: var(--glass-bg);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-question {
    color: var(--solana-emerald);
}

/* Marquee */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2.5rem 0;
    z-index: 1;
}

.marquee-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: rgba(20, 241, 149, 0.05);
    border-top: 1px solid rgba(20, 241, 149, 0.1);
    border-bottom: 1px solid rgba(20, 241, 149, 0.1);
    transform: rotate(-1.5deg);
    z-index: -1;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-spin 20s linear infinite;
}

.marquee-content span {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 2rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

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

/* Token Access Visual */
.token-access-visual {
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-token {
    width: 150px;
    height: 150px;
    z-index: 2;
    filter: drop-shadow(0 0 30px var(--solana-neon));
    /* animation: rotate 10s linear infinite; Removed rotation as requested */
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-item {
    position: absolute;
    width: var(--orbit-item-size);
    height: var(--orbit-item-size);
    border-radius: 50%;
    border: 3px solid var(--glass-border);
    background: var(--glass-bg);
    padding: 20px;
    z-index: 5;
}

.orbit-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.orbit-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--solana-neon));
    transform-origin: left center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    box-shadow: 0 0 10px var(--solana-neon);
}

.energy-pulse {
    position: absolute;
    color: var(--solana-emerald);
    font-size: 14px;
    filter: drop-shadow(0 0 8px var(--solana-emerald));
    animation: flow-energy var(--flow-duration) infinite linear;
    z-index: 2;
    top: -6px; /* Center icon on the line */
}

@keyframes flow-energy {
    0% { left: 0; opacity: 0; transform: scale(0.5) rotate(90deg); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; transform: scale(1.2) rotate(90deg); }
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--solana-neon);
    transform: translateY(-3px);
}

.footer-grid ul {
    list-style: none;
    line-height: 2.5;
}

.footer-grid ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block; /* Helps with underline offset */
}

.footer-grid ul li a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: var(--solana-neon);
    text-decoration-thickness: 2px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.token-details-panel {
    padding: 2.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    :root {
        --orbit-radius: 150px;
        --orbit-item-size: 115px;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-side-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
        /* Mobile Attraction Overrides */
        --pull-x: 0px;
        --pull-y: -40px; /* Pull UP towards the coin */
        --pull-rot: 5deg;
        --spark-top: 25%; /* Position between coin (top) and text (bottom) */
        --spark-left: 50%;
        --spark-rot: 90deg; /* Vertical discharge */
        --pull-ls-neg: 0px; /* No letter-spacing shift on mobile */
        --pull-ls-pos: 0px;
    }

    .hero-text-side {
        width: 100%;
        
    }

    .hero-image-side {
        order: -1; /* Coin always on top on mobile */
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .coin-wrapper {
        width: 150px;
        height: 150px;
    }

    /* Compact scatter for mobile - Slightly increased as requested */
    .coin-wrapper:hover .c1 { transform: translate(-140%, -100%) scale(0.7) rotate(-5deg); }
    .coin-wrapper:hover .c2 { transform: translate(40%, -110%) scale(0.7) rotate(5deg); }
    .coin-wrapper:hover .c3 { transform: translate(-150%, 20%) scale(0.7) rotate(-3deg); }
    .coin-wrapper:hover .c4 { transform: translate(50%, 10%) scale(0.7) rotate(3deg); }

    .spark {
        width: 80px;
        height: 1.5px;
    }

    .hero p {
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-grid .stats-grid {
        margin-top: 2rem;
    }

    .menu-toggle { display: block; }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-slow);
        z-index: 1500;
        border-left: 1px solid var(--glass-border);
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-family: 'Outfit', sans-serif;
    }

    .d-desktop { display: none; }

    .token-access-visual {
        height: 420px;
    }

    .center-token {
        width: 100px;
        height: 100px;
    }
    
    .tokenomics-container, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .chart-wrapper {
        padding: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }

    .chart-info .value {
        font-size: 1.5rem;
    }

    .token-details-panel {
        padding: 2rem !important;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100% !important;
        padding-left: 60px !important;
        padding-right: 20px !important;
        text-align: left !important;
        left: 0 !important;
    }
    
    .timeline-item::after {
        left: 12px !important;
    }

    .section-title {
        margin-bottom: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stat-item {
        padding: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .glass-panel {
        border-radius: 15px;
    }

    .marquee-content span {
        font-size: 2rem;
        margin: 0 1rem;
    }

    /* Fix image carousels on mobile */
    .marquee-content img {
        height: 100px !important;
    }
}

/* Shooting Stars Mini */
.shooting-star-mini {
    position: absolute;
    color: var(--solana-emerald);
    font-size: 10px;
    font-weight: 900;
    pointer-events: none;
    z-index: 100;
    animation: shooting-star-anim 1s forwards cubic-bezier(0, 0, 0.2, 1);
    text-shadow: 0 0 10px var(--solana-emerald);
}

@keyframes shooting-star-anim {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Interactive Coin */
footer {
    position: relative;
    overflow: hidden;
}

.footer-coin-container {
    position: absolute;
    bottom: -20px;
    right: 5%;
    width: 200px;
    height: 200px;
    perspective: 1000px;
    z-index: 0;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-coin {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(20, 241, 149, 0.2));
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: footerCoinFloat 8s ease-in-out infinite;
}

.footer-coin-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--solana-neon) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(30px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes footerCoinFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@media (max-width: 900px) {
    .footer-coin-container {
        width: 120px;
        height: 120px;
        right: 2%;
        bottom: -10px;
        opacity: 0.5;
    }
}
