:root {
    --bg-dark: #0a0b10;
    --primary: #fca311;
    --primary-glow: rgba(252, 163, 17, 0.5);
    --secondary: #e63946;
    --text-light: #f1faee;
    --text-muted: #a8b2d1;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, .logo span {
    font-family: 'Space Grotesk', sans-serif;
}

/* Star Background */
#stars, #stars2, #stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
#stars {
    background: transparent url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIj48Y2lyY2xlIGN4PSIyMCIgY3k9IjIwIiByPSIxIiBmaWxsPSIjZmZmIi8+PGNpcmNsZSBjeD0iMjAwIiBjeT0iODAiIHI9IjEiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSIzNTAiIGN5PSIzMTAiIHI9IjEiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSIxNTAiIGN5PSIyNTAiIHI9IjEiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSI4MCIgY3k9IjM1MCIgcj0iMSIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==') repeat;
    animation: moveStars 100s linear infinite;
}
#stars2 {
    background: transparent url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MDAiIGhlaWdodD0iODAwIj48Y2lyY2xlIGN4PSI0MDAiIGN5PSI0MDAiIHI9IjEuNSIgZmlsbD0iI2ZmZiIvPjxjaXJjbGUgY3g9IjEwMCIgY3k9IjcwMCIgcj0iMS41IiBmaWxsPSIjZmZmIi8+PGNpcmNsZSBjeD0iNzAwIiBjeT0iMjAwIiByPSIxLjUiIGZpbGw9IiNmZmYiLz48L3N2Zz4=') repeat;
    animation: moveStars 150s linear infinite;
}

@keyframes moveStars {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
}

/* Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    box-shadow: 0 0 15px var(--primary-glow);
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #ffb703);
    color: #000;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 163, 17, 0.7);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

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

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

.hero-text {
    flex: 1;
}

.glitch {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(252, 163, 17, 0.1);
    border: 1px solid rgba(252, 163, 17, 0.3);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.status-badge i {
    font-size: 1.2rem;
}

.ca-box {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 5px 5px 5px 20px;
    margin-bottom: 40px;
}

#contract-address {
    font-family: monospace;
    margin-right: 15px;
    color: var(--primary);
}

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

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.hero-image {
    max-width: 100%;
    width: 450px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.1));
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-patch {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 5%;
    right: 5%;
    animation: rotatePatch 20s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
    z-index: 2;
}

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

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* About Section */
.about {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-card:hover::before {
    transform: scaleY(1);
}

.bento-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

@media (min-width: 900px) {
    .bento-box {
        grid-template-columns: repeat(3, 1fr);
    }
    .bento-large {
        grid-column: span 3;
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-header i {
    font-size: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(252,163,17,0.5));
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary);
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(252,163,17,0.05) 0%, rgba(255,255,255,0) 100%);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.patch-item img {
    object-fit: contain;
    border: none;
    filter: drop-shadow(0 0 20px rgba(252,163,17,0.3));
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Roadmap Section */
.roadmap {
    position: relative;
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
    border-left: 3px solid rgba(252, 163, 17, 0.3);
}

.roadmap-item {
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    border-left: none;
    border-radius: 0 20px 20px 20px;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 20px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-glow);
}

.phase-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(252, 163, 17, 0.2);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.roadmap-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.roadmap-item ul {
    list-style: none;
    padding-left: 10px;
}

.roadmap-item li {
    margin-bottom: 10px;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.roadmap-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Tokenomics Dashboard Upgrade */
.tokenomics-dashboard {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 900px) {
    .tokenomics-dashboard {
        flex-direction: row;
        align-items: center;
    }
}

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

.visual-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 15px solid rgba(255,255,255,0.05);
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotateCircle 10s linear infinite;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5), 0 0 30px rgba(252,163,17,0.2);
}

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

.visual-circle .ticker {
    font-size: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-light);
    animation: counterRotate 10s linear infinite;
}

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

.token-stats {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 20px;
}

.icon-large {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(252,163,17,0.5));
}

.stat-card {
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(180deg, rgba(252,163,17,0.1) 0%, rgba(255,255,255,0) 100%);
    border-color: rgba(252, 163, 17, 0.3);
    box-shadow: 0 15px 35px rgba(252, 163, 17, 0.2);
}

.stat-card:hover::after {
    opacity: 1;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
}

.stat-card h4 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(252, 163, 17, 0.3);
}

.stat-card p {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* How to Buy */
.buy-content {
    padding: 60px;
}

.buy-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.buy-steps li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    border: 1px solid var(--primary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: inset 0 0 15px rgba(252,163,17,0.2), 0 0 20px rgba(252, 163, 17, 0.2);
    transition: all 0.3s ease;
}

.buy-steps li:hover .step-icon {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 30px var(--primary-glow);
    transform: scale(1.1);
}

.step-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-text p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px 30px;
    background: rgba(0,0,0,0.3);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    border-radius: 50%;
    filter: grayscale(100%) brightness(200%);
    transition: filter 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    filter: grayscale(0%) brightness(100%);
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .nav-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }
    
    .subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .glitch {
        font-size: 3rem;
    }

    .hero-image {
        width: 300px;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .nav-links {
        display: none;
    }
    
    .buy-content {
        padding: 30px;
    }
    .buy-steps li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
