/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --accent-primary: #f5a623;
    --accent-secondary: #e6951d;
    --accent-glow: rgba(245, 166, 35, 0.5);
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --danger: #ef4444;
    --warning: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #f5a623 0%, #e6951d 50%, #cc7a00 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-bg: radial-gradient(ellipse at center, #1a1a25 0%, #0a0a0f 100%);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --border-radius: 12px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video,
.video-background iframe,
.video-background #yt-player {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    opacity: 0.6;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    min-width: 100%;
    min-height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    opacity: 0.65;
}

/* Particle Effect Container */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    animation: float-up 8s infinite;
    box-shadow: 0 0 10px var(--accent-glow);
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* Sound Overlay */
.sound-overlay {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition-normal);
    animation: pulse-border 2s infinite;
}

.sound-overlay:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: var(--accent-primary);
}

.sound-overlay span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.sound-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

@keyframes pulse-border {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.1);
    }
    50% {
        border-color: rgba(245, 166, 35, 0.5);
    }
}

/* Main Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.main-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 18vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-glow 2s ease-in-out infinite;
    position: relative;
    line-height: 1;
    text-transform: uppercase;
}

.main-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(40px);
    opacity: 0.8;
    z-index: -1;
}

.main-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(80px);
    opacity: 0.5;
    z-index: -2;
}

@keyframes title-glow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 40px var(--accent-glow));
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 80px var(--accent-glow));
    }
}

.subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 4vw, 1.8rem);
    font-weight: 600;
    background: linear-gradient(90deg, #fff 0%, var(--accent-primary) 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.15em;
    margin-top: 10px;
    text-transform: uppercase;
    animation: subtitle-shine 3s ease-in-out infinite;
}

@keyframes subtitle-shine {
    0%, 100% {
        opacity: 0.9;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px var(--accent-glow));
    }
}

/* Countdown Section */
.countdown-section {
    margin: 20px 0;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
}

.time-digit {
    font-size: clamp(3rem, 12vw, 5rem);
    font-weight: 700;
    color: var(--text-primary);
    min-width: 2ch;
    text-align: center;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    position: relative;
}

.time-separator {
    font-size: clamp(2.5rem, 10vw, 4rem);
    font-weight: 700;
    color: var(--accent-primary);
    animation: blink 1s step-end infinite;
}

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

/* Urgent state - less than 1 hour */
.countdown.urgent .time-digit {
    color: #ff3333;
    text-shadow: 
        0 0 20px rgba(255, 50, 50, 0.8),
        0 0 40px rgba(255, 50, 50, 0.5),
        0 0 60px rgba(255, 50, 50, 0.3);
    animation: pulse-urgent 0.5s ease-in-out infinite;
}

.countdown.urgent .time-separator {
    color: #ff3333;
    text-shadow: 0 0 20px rgba(255, 50, 50, 0.8);
}

@keyframes pulse-urgent {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 
            0 0 20px rgba(255, 50, 50, 0.8),
            0 0 40px rgba(255, 50, 50, 0.5);
    }
    50% { 
        transform: scale(1.02);
        text-shadow: 
            0 0 30px rgba(255, 50, 50, 1),
            0 0 60px rgba(255, 50, 50, 0.7),
            0 0 80px rgba(255, 50, 50, 0.4);
    }
}

/* Time's up state */
.countdown.times-up .time-digit {
    color: #ff0000;
    animation: flash-red 0.3s ease-in-out infinite;
}

@keyframes flash-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Market Cap Display - Minimal Style */
.market-cap-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}

.mcap-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-primary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--accent-glow);
}

.mcap-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 4rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.02em;
    position: relative;
}

.mcap-value::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-primary) 50%, 
        transparent 100%
    );
    opacity: 0.5;
}

/* Progress Section */
/* Progress Section - Minimal Luxury Style */
.progress-section {
    width: 100%;
    padding: 30px 0;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 215, 0, 0.05) 100%
    );
    border-radius: 2px;
}

.progress-track::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.progress-track::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--accent-primary) 0%, 
        #ffec8b 50%,
        var(--accent-primary) 100%
    );
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.progress-tip {
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #fff 0%, var(--accent-primary) 60%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px var(--accent-primary),
        0 0 40px var(--accent-glow),
        0 0 60px rgba(255, 215, 0, 0.3);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.progress-tip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-tip 1.5s ease-in-out infinite;
}

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

.progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-family: var(--font-display);
}

.progress-start,
.progress-end {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

.progress-end {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-glow);
}

.progress-current {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contract Section */
.contract-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    overflow: hidden;
}

.contract-address {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: all;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-primary);
}

.copy-btn.copied {
    color: var(--accent-primary);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    width: 100%;
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-glow);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Social Section */
.social-section {
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-normal);
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.social-link svg {
    transition: var(--transition-normal);
}

.social-link:hover svg {
    color: var(--accent-primary);
}

/* Disclaimer */
.disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
        gap: 20px;
    }

    .main-title {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .countdown {
        gap: 4px;
    }

    .time-digit {
        font-size: 2.5rem;
    }

    .time-separator {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .stats-row {
        flex-direction: column;
        gap: 10px;
    }

    .contract-address {
        font-size: 0.7rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}
