/* Chinese New Year Theme - Red & Gold */
:root {
    --primary-red: #c41e3a;
    --deep-red: #8b0000;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --dark-bg: #1a0a0a;
    --darker-bg: #0d0505;
    --text-light: #fff8f0;
    --text-gold: #f4d03f;
    --text-muted: #cc9999;
}

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

body {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    background-image: 
        radial-gradient(ellipse at 20% 20%, rgba(196, 30, 58, 0.15), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.1), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 0, 0, 0.2), transparent 70%);
}

/* Decorative Lanterns Background */
.lanterns-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.lantern {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: lantern-sway 4s ease-in-out infinite;
}

.lantern-1 { top: 10%; left: 5%; animation-delay: 0s; }
.lantern-2 { top: 15%; right: 8%; animation-delay: 0.5s; }
.lantern-3 { top: 60%; left: 3%; animation-delay: 1s; }
.lantern-4 { top: 70%; right: 5%; animation-delay: 1.5s; }
.lantern-5 { top: 40%; left: 50%; font-size: 1.5rem; animation-delay: 2s; }

@keyframes lantern-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Navigation */
.navbar {
    background: rgba(26, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    font-family: 'Bebas Neue', sans-serif;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-light) !important;
    letter-spacing: 4px;
    font-family: 'Bebas Neue', sans-serif;
}

.brand-icon {
    margin-right: 8px;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 3px;
    margin: 0 10px;
    font-family: 'Bebas Neue', sans-serif;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

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

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(196, 30, 58, 0.08) 0%, transparent 30%);
    z-index: 0;
}

.prelaunch-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), var(--deep-red));
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 15px rgba(196, 30, 58, 0.5); }
    50% { opacity: 0.9; box-shadow: 0 0 25px rgba(196, 30, 58, 0.7); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shine 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gold-shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-family: 'Noto Serif SC', serif;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Countdown */
.countdown-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(196, 30, 58, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
}

.countdown-label {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-timer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 70px;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.countdown-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.launch-date {
    margin-top: 1rem;
    color: var(--gold);
    font-weight: 600;
    font-size: 1rem;
}

/* Buttons */
.hero-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--deep-red));
    border: 1px solid var(--gold);
    color: var(--gold-light);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(196, 30, 58, 0.6);
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Coin Image */
.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coin-container {
    position: relative;
}

.coin-img {
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.4));
    animation: float 4s ease-in-out infinite;
    /* Removes white background by blending it with the dark page */
    mix-blend-mode: multiply;
}

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

.coin-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Section Styles */
section {
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* About Section */
.about-section {
    background: var(--darker-bg);
}

.feature-card {
    background: rgba(196, 30, 58, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(196, 30, 58, 0.1);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* Tokenomics Section */
.tokenomics-section {
    background: var(--dark-bg);
}

.tokenomics-card {
    background: rgba(196, 30, 58, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
}

.tokenomics-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.tokenomics-card h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.breakdown-item {
    margin-bottom: 1.5rem;
}

.progress {
    height: 10px;
    background: rgba(196, 30, 58, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 1rem 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.features-list i {
    color: var(--gold);
    margin-right: 10px;
}

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

.roadmap-timeline {
    position: relative;
    padding: 2rem 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-red), var(--gold));
}

.roadmap-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 3rem;
}

.roadmap-icon {
    position: absolute;
    left: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid var(--gold);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.4);
    z-index: 1;
}

.roadmap-content {
    background: rgba(196, 30, 58, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.roadmap-content:hover {
    transform: translateX(10px);
    background: rgba(196, 30, 58, 0.1);
    border-color: var(--gold);
}

.roadmap-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.roadmap-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* Launch Section */
.launch-section {
    background: var(--dark-bg);
}

.launch-card {
    background: rgba(196, 30, 58, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 3rem;
}

.prelaunch-notice {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contract-address {
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.address-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.address-box code {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

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

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.social-link {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease 0.6s both;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 1s ease 0.8s both;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .coin-img {
        max-height: 300px;
    }
    
    .roadmap-item {
        padding-left: 80px;
    }
    
    .roadmap-timeline::before {
        left: 30px;
    }
    
    .roadmap-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
}
