/* CSS Variables for theming */
:root {
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --dark-text: #ffffff;
    --dark-text-secondary: #a0a0a0;
    --dark-accent: #7289da;
    --dark-accent-hover: #5b6eae;
    --dark-border: #333333;
    --dark-shadow: rgba(0, 0, 0, 0.3);
    
    --light-bg: #ffffff;
    --light-surface: #f8f9fa;
    --light-text: #1a1a1a;
    --light-text-secondary: #666666;
    --light-accent: #7289da;
    --light-accent-hover: #5b6eae;
    --light-border: #e0e0e0;
    --light-shadow: rgba(0, 0, 0, 0.1);
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

body.dark-theme {
    background: var(--dark-bg);
    color: var(--dark-text);
}

body.light-theme {
    background: var(--light-bg);
    color: var(--light-text);
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.theme-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-theme .theme-btn {
    background: var(--dark-surface);
    color: var(--dark-text);
    box-shadow: 0 4px 15px var(--dark-shadow);
}

.light-theme .theme-btn {
    background: var(--light-surface);
    color: var(--light-text);
    box-shadow: 0 4px 15px var(--light-shadow);
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-btn .fa-sun {
    display: none;
}

.theme-btn .fa-moon {
    display: block;
}

.light-theme .theme-btn .fa-sun {
    display: block;
}

.light-theme .theme-btn .fa-moon {
    display: none;
}

.content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
    position: relative;
}

.logo {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.dark-theme .subtitle {
    color: var(--dark-text-secondary);
}

.light-theme .subtitle {
    color: var(--light-text-secondary);
}

.timer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.timer-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

.timer-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.timer-separator {
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.5;
    animation: blink 1s ease-in-out infinite;
}

.cta-container {
    margin-bottom: 3rem;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(114, 137, 218, 0.3);
    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);
    box-shadow: 0 12px 35px rgba(114, 137, 218, 0.4);
}

.discord-btn i {
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-theme .social-link {
    background: var(--dark-surface);
    color: var(--dark-text);
    box-shadow: 0 4px 15px var(--dark-shadow);
}

.light-theme .social-link {
    background: var(--light-surface);
    color: var(--light-text);
    box-shadow: 0 4px 15px var(--light-shadow);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: var(--gradient-primary);
    color: white;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float-around 20s linear infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) { top: 10%; left: 10%; }
.floating-element:nth-child(2) { top: 20%; right: 20%; }
.floating-element:nth-child(3) { bottom: 30%; left: 20%; }
.floating-element:nth-child(4) { bottom: 20%; right: 10%; }
.floating-element:nth-child(5) { top: 50%; left: 50%; }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes blink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes float-around {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        opacity: 0.3;
    }
    50% {
        transform: translate(100px, -50px) rotate(180deg);
        opacity: 0.1;
    }
    75% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        opacity: 0.1;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .timer-container {
        gap: 0.5rem;
    }
    
    .timer-item {
        min-width: 60px;
    }
    
    .timer-number {
        font-size: 2rem;
    }
    
    .timer-separator {
        font-size: 1.5rem;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }
    
    .theme-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .timer-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timer-separator {
        display: none;
    }
    
    .discord-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
