/* ===================================
   Global Styles & Variables
   =================================== */
:root {
    --primary-color: #00e5ff;
    --secondary-color: #6ee7b7;
    --accent-color: #06d6a0;
    --success-color: #10b981;
    --warning-color: #fbbf24;
    --danger-color: #ef4444;
    
    --bg-primary: #0f1419;
    --bg-secondary: #1a2329;
    --bg-tertiary: #1e2832;
    --bg-card: #1e2a38;
    
    --text-primary: #ffffff;
    --text-secondary: #a0c4d0;
    --text-muted: #6b8fa0;
    
    --border-color: #2a3f50;
    --shadow-color: rgba(0, 229, 255, 0.15);
    
    --gradient-primary: linear-gradient(135deg, #00e5ff 0%, #6ee7b7 100%);
    --gradient-secondary: linear-gradient(135deg, #06d6a0 0%, #fbbf24 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(110, 231, 183, 0.2) 100%);
    
    --font-primary: 'Rajdhani', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Loading Screen
   =================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Molecular Loader Animation */
.loading-animation {
    position: relative;
    width: 480px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.molecular-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
    overflow: visible;
    padding: 0 10px;
}

/* Prevent horizontal overflow on mobile */
#loading-screen {
    overflow: hidden;
}

.atom-ch {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
    animation: atomBounce 1s ease-in-out infinite;
    flex-shrink: 0;
}

.bond-loader {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: bondPulse 1s ease-in-out infinite;
    flex-shrink: 0;
}

.loader-atom-1 { animation-delay: 0s; }
.loader-atom-2 { animation-delay: 0.15s; }
.loader-atom-3 { animation-delay: 0.3s; }
.loader-atom-4 { animation-delay: 0.45s; }
.loader-atom-5 { animation-delay: 0.6s; }
.loader-atom-6 { animation-delay: 0.75s; }
.loader-atom-7 { animation-delay: 0.9s; }

.bond-1 { animation-delay: 0.05s; }
.bond-2 { animation-delay: 0.2s; }
.bond-3 { animation-delay: 0.35s; }
.bond-4 { animation-delay: 0.5s; }
.bond-5 { animation-delay: 0.65s; }
.bond-6 { animation-delay: 0.8s; }

@keyframes atomBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
    }
    50% {
        transform: translateY(-20px) scale(1.15);
        box-shadow: 0 0 50px rgba(0, 229, 255, 1);
    }
}

@keyframes bondPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(0, 229, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    animation: progressLoad 2s ease-in-out infinite;
}

@keyframes progressLoad {
    0% {
        width: 0%;
        margin-left: 0%;
    }
    50% {
        width: 80%;
        margin-left: 10%;
    }
    100% {
        width: 100%;
        margin-left: 0%;
    }
}

.loader .crypto-symbol {
    font-size: 4rem;
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
}

.loader p {
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    animation: fadeInOut 2s ease-in-out infinite;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px var(--shadow-color);
    animation: buttonGlow 1.5s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--warning-color);
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

/* Animated Background */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(110, 231, 183, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 214, 160, 0.2) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%; 
    }
    50% { 
        background-position: 100% 100%, 0% 0%, 25% 75%; 
    }
}

/* Chemical Particles Animation */
.chemical-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.chemical-particles::before,
.chemical-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 
        50vw 70vh var(--primary-color),
        30vw 20vh var(--primary-color),
        80vw 50vh var(--secondary-color),
        20vw 80vh var(--secondary-color),
        70vw 10vh var(--accent-color),
        15vw 40vh var(--accent-color),
        90vw 80vh var(--primary-color),
        60vw 60vh var(--secondary-color),
        40vw 30vh var(--primary-color),
        10vw 90vh var(--accent-color),
        85vw 25vh var(--secondary-color),
        45vw 80vh var(--primary-color);
    animation: sparkle 8s ease-in-out infinite;
}

.chemical-particles::after {
    animation-delay: 4s;
    opacity: 0.7;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(2);
    }
}

/* Animated Grid Pattern */
.animated-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glowing Orbs */
.hero-background::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.4) 0%, transparent 70%);
    top: -250px;
    left: -250px;
    animation: orbRotate 20s linear infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(110, 231, 183, 0.35) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation: orbRotate 15s linear infinite reverse;
}

@keyframes orbRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Molecular Bonds Animation */
.molecular-bonds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.molecule-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.4;
    animation: bondFlow 3s ease-in-out infinite;
}

.molecule-line.molecule-1 {
    top: 20%;
    left: 10%;
    width: 200px;
    transform: rotate(25deg);
    animation-delay: 0s;
}

.molecule-line.molecule-2 {
    top: 60%;
    right: 20%;
    width: 150px;
    transform: rotate(-35deg);
    animation-delay: 1s;
}

.molecule-line.molecule-3 {
    bottom: 30%;
    left: 50%;
    width: 180px;
    transform: rotate(45deg);
    animation-delay: 2s;
}

@keyframes bondFlow {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(0.5);
    }
    50% {
        opacity: 0.6;
        transform: scaleX(1);
    }
}

.molecule-atom {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    animation: atomPulse 2s ease-in-out infinite;
}

.molecule-atom.atom-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.molecule-atom.atom-2 {
    top: 55%;
    right: 25%;
    animation-delay: 0.5s;
}

.molecule-atom.atom-3 {
    bottom: 35%;
    left: 45%;
    animation-delay: 1s;
}

.molecule-atom.atom-4 {
    top: 45%;
    left: 30%;
    animation-delay: 1.5s;
}

@keyframes atomPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 40px rgba(0, 229, 255, 0.9);
    }
}

/* Floating Formulas */
.floating-formulas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.formula-float {
    position: absolute;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    opacity: 0.3;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    animation: floatFormula 15s ease-in-out infinite;
}

.formula-float:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.formula-float:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
    font-size: 2rem;
}

.formula-float:nth-child(3) {
    bottom: 25%;
    left: 55%;
    animation-delay: 10s;
    font-size: 1.3rem;
}

@keyframes floatFormula {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-60px) rotate(0deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-30px) rotate(-5deg);
        opacity: 0.4;
    }
}

/* Fun Glitch Effect */
.hero:hover .hero-background .shape {
    animation: glitchFloat 2s ease-in-out infinite;
}

@keyframes glitchFloat {
    0%, 100% {
        filter: blur(60px);
    }
    50% {
        filter: blur(80px);
        opacity: 0.7;
    }
}

/* Rainbow Border Pulse */
.molecule-info .info-card:hover {
    animation: rainbowBorder 3s ease-in-out infinite;
}

@keyframes rainbowBorder {
    0% { border-color: var(--primary-color); }
    33% { border-color: var(--secondary-color); }
    66% { border-color: var(--accent-color); }
    100% { border-color: var(--primary-color); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.molecule-info {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    flex: 1;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.info-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.crypto-animation {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coin-flip {
    width: 200px;
    height: 200px;
    position: relative;
    animation: coinFlip 3s ease-in-out infinite;
}

.coin-front,
.coin-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.5);
}

.coin-front {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: white;
    letter-spacing: 2px;
}

.coin-back {
    font-size: 1.5rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    color: white;
    overflow: hidden;
}

.coin-back img {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.coin-back .coin-back-text {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: white;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    opacity: 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ===================================
   Features Section
   =================================== */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 25px 80px var(--shadow-color);
    animation: cardShake 0.5s ease-in-out;
}

@keyframes cardShake {
    0%, 100% { transform: translateY(-15px) scale(1.03) rotate(0deg); }
    25% { transform: translateY(-15px) scale(1.03) rotate(-1deg); }
    75% { transform: translateY(-15px) scale(1.03) rotate(1deg); }
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   Tokenomics Section
   =================================== */
.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tokenomics-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.detail-label {
    color: var(--text-muted);
}

.detail-value {
    font-weight: 600;
}

.contract-addr {
    font-family: monospace;
    background: var(--bg-secondary);
    padding: 5px 10px;
    border-radius: 6px;
}

/* ===================================
   Roadmap Section
   =================================== */
.roadmap {
    background: var(--bg-secondary);
}

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

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
}

.timeline-phase {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.timeline-list li:last-child {
    border-bottom: none;
}

/* ===================================
   Community Section
   =================================== */
.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.community-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px var(--shadow-color);
}

.community-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.community-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.community-card p {
    color: var(--text-muted);
}

/* ===================================
   Buy Section
   =================================== */
.buy-section {
    background: var(--bg-secondary);
}

.buy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.swap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

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

.swap-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.network-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.swap-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.swap-input label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-weight: 600;
}

.input-group {
    display: flex;
    gap: 10px;
}

.swap-amount,
.token-select {
    flex: 1;
    padding: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
}

.token-select {
    cursor: pointer;
}

.swap-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.swap-disclaimer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.buy-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.buy-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.buy-steps {
    list-style: none;
}

.buy-steps li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-secondary);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ===================================
   Animations
   =================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes coinFlip {
    0% { transform: rotateY(0deg) scale(1); }
    25% { transform: rotateY(90deg) scale(1.1); }
    50% { transform: rotateY(180deg) scale(1); }
    75% { transform: rotateY(270deg) scale(1.1); }
    100% { transform: rotateY(360deg) scale(1); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

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

/* ===================================
   Responsive Design
   =================================== */
/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .buy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tokenomics-content {
        gap: 40px;
    }
    
    .crypto-animation {
        width: 250px;
        height: 250px;
    }
    
    .coin-flip {
        width: 200px;
        height: 200px;
    }
    
    .molecule-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .info-card {
        padding: 20px;
    }
}

/* Small Desktop / Large Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .buy-content {
        grid-template-columns: 1fr;
    }
}

/* Tablet Loading Screen */
@media (max-width: 1024px) and (min-width: 769px) {
    .loading-animation {
        width: 380px;
        height: 130px;
    }
    
    .molecular-loader {
        gap: 9px;
    }
    
    .atom-ch {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .bond-loader {
        width: 20px;
    }
    
    .loading-text {
        font-size: 1.3rem;
    }
    
    .loading-progress {
        width: 280px;
    }
    
    .loader {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .loading-animation {
        width: 95vw;
        max-width: 380px;
        height: 120px;
    }
    
    .molecular-loader {
        gap: 8px;
    }
    
    .atom-ch {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .bond-loader {
        width: 15px;
    }
    
    .loading-text {
        font-size: 1.1rem;
        text-align: center;
        padding: 0 20px;
    }
    
    .loading-progress {
        width: 85vw;
        max-width: 280px;
    }
    
    .loader {
        gap: 20px;
        padding: 0 20px;
    }
    
    /* Landscape Mobile Optimization */
    @media (orientation: landscape) and (max-height: 600px) {
        .loading-animation {
            width: 80vw;
            max-width: 500px;
            height: 80px;
        }
        
        .atom-ch {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }
        
        .bond-loader {
            width: 12px;
        }
        
        .molecular-loader {
            gap: 7px;
        }
        
        .loading-text {
            font-size: 1rem;
        }
        
        .loading-progress {
            width: 70vw;
            max-width: 400px;
        }
        
        .loader {
            gap: 15px;
        }
    }
    
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .molecule-info {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tokenomics-content {
        grid-template-columns: 1fr;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .roadmap-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        margin-left: 10px;
    }
    
    .formula-symbol {
        display: none;
    }
    
    .molecule-atom {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .molecule-line {
        opacity: 0.2;
    }
    
    .formula-float {
        font-size: 1rem;
    }
    
    /* Hero Section Mobile */
    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Stats Mobile */
    .stat-card {
        flex-direction: row;
        padding: 15px;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    /* Feature Cards Mobile */
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
    
    /* Tokenomics Mobile */
    .chart-container {
        grid-template-columns: 1fr;
    }
    
    /* Roadmap Mobile */
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-phase {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Buy Section Mobile */
    .swap-card,
    .buy-info {
        padding: 30px 20px;
    }
    
    .swap-header h3 {
        font-size: 1.5rem;
    }
    
    /* Navbar Mobile */
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .nav-buttons {
        gap: 10px;
    }
    
    .nav-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Footer Mobile */
    .footer-links {
        gap: 30px;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    /* Crypto Animation Mobile */
    .crypto-animation {
        width: 200px;
        height: 200px;
    }
    
    .coin-flip {
        width: 180px;
        height: 180px;
    }
    
    .coin-front {
        font-size: 1.4rem;
    }
    
    /* Section Headers Mobile */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Molecular Particles Hide on Mobile */
    .molecule-line {
        display: none;
    }
    
    .floating-formulas {
        display: none;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    /* Loading Screen Small Mobile */
    .loading-animation {
        width: 98vw;
        max-width: 360px;
        height: 100px;
    }
    
    .molecular-loader {
        gap: 6px;
    }
    
    .atom-ch {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .bond-loader {
        width: 10px;
        height: 2px;
    }
    
    .loading-text {
        font-size: 0.95rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .loading-progress {
        width: 90vw;
        max-width: 250px;
        height: 3px;
    }
    
    .loader {
        gap: 15px;
        padding: 0 15px;
    }
    
    .formula-badge {
        font-size: 0.85rem;
        padding: 4px 10px;
    }
    
    .info-card {
        padding: 18px;
    }
    
    .info-icon {
        font-size: 2rem;
    }
    
    .info-content h3 {
        font-size: 1.2rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
}

/* Very Small Devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .loading-animation {
        width: 100vw;
        max-width: 350px;
        height: 90px;
        padding: 0 5px;
    }
    
    .molecular-loader {
        gap: 5px;
    }
    
    .atom-ch {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .bond-loader {
        width: 8px;
    }
    
    .loading-text {
        font-size: 0.9rem;
    }
    
    .loading-progress {
        width: 95vw;
        max-width: 240px;
    }
    
    .loader {
        gap: 12px;
        padding: 0 10px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .info-icon {
        font-size: 1.8rem;
    }
    
    .info-content h3 {
        font-size: 1.1rem;
    }
    
    .info-content p {
        font-size: 0.85rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .crypto-animation {
        width: 150px;
        height: 150px;
    }
    
    .coin-flip {
        width: 140px;
        height: 140px;
    }
    
    .coin-front {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: 85vh;
        padding-top: 70px;
    }
}

/* Mobile Menu Toggle Styles */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 0;
        border-top: 1px solid var(--border-color);
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu.active .nav-link {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
        animation: fadeInLink 0.3s ease-out backwards;
    }
    
    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.3s; }
    
    @keyframes fadeInLink {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ===================================
   Chemical Formula Styles
   =================================== */
.formula-symbol {
    display: inline-block;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    background: var(--bg-secondary);
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 10px;
    letter-spacing: 1px;
}

.formula-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-right: 10px;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
    }
    50% { 
        box-shadow: 0 4px 25px rgba(0, 229, 255, 0.6);
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .logo {
    margin: 0;
}

.feature-title {
    font-family: var(--font-heading);
}

.feature-card:hover .formula-badge {
    transform: scale(1.05);
}

/* Extra Fun Effects */
.navbar {
    backdrop-filter: blur(20px) saturate(180%);
}

.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    animation: infoPulse 3s ease-in-out infinite;
}

@keyframes infoPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
}

.community-card {
    position: relative;
}

.community-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 229, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.community-card:hover::after {
    transform: translateX(100%);
}

/* Loading Screen More Fun */
.loader .crypto-symbol {
    animation: spinAndPulse 2s ease-in-out infinite;
}

@keyframes spinAndPulse {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

