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

body {
    font-family: 'Rajdhani', sans-serif;
    background: #0a0a0a;
    overflow: hidden;
    color: white;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg.jpg') center/cover no-repeat;
    z-index: 0;
    filter: brightness(0.4) contrast(1.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
    margin-bottom: 20px;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    animation: expand 2s ease-out infinite;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6)); }
    to { filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.9)); }
}

@keyframes expand {
    0%, 100% { width: 100px; opacity: 0.5; }
    50% { width: 300px; opacity: 1; }
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #e0e0e0;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

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

.countdown {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.time-unit {
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 10px;
    min-width: 120px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

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

.time-unit:hover::before {
    left: 100%;
}

.time-unit:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.8);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.time-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b35;
    display: block;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.time-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #aaa;
    margin-top: 5px;
    display: block;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    text-decoration: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
    border: 2px solid transparent;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
    position: relative;
    overflow: hidden;
}

.discord-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: left 0.5s;
}

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

.discord-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.6);
    border-color: rgba(255,255,255,0.3);
}

.discord-icon {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.footer {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.footer span {
    color: #ff6b35;
    font-weight: 700;
}

@media (max-width: 768px) {
    .countdown {
        gap: 15px;
    }
    .time-unit {
        min-width: 80px;
        padding: 15px 20px;
    }
    .time-value {
        font-size: 2rem;
    }
}