/* ===== CSS Reset & Variables ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --accent-1: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #a855f7;
    --accent-4: #d946ef;
    --accent-5: #ec4899;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(139, 92, 246, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-4));
    --gradient-text: linear-gradient(135deg, var(--accent-2), var(--accent-4), var(--accent-5));
    --gradient-glow: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}
/* ===== Base Styles ===== */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
/* ===== Animated Background ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-2);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s infinite;
}
@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}
/* ===== Floating Orbs ===== */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-1);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}
.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-4);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}
.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}
@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }
    75% {
        transform: translate(-50px, -20px) scale(1.05);
    }
}
/* ===== Main Container ===== */
.main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    position: relative;
    z-index: 1;
}
.content-wrapper {
    max-width: 800px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== Status Badge ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    margin-bottom: var(--space-lg);
    animation: fadeInDown 0.8s ease-out 0.2s both;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.pulse-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}
.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: #22c55e;
    border-radius: 50%;
    opacity: 0.4;
    animation: pulseRing 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
@keyframes pulseRing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}
/* ===== Main Title ===== */
.main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
.highlight-text {
    position: relative;
    display: inline-block;
}
.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0.5;
    transform: skewX(-12deg);
}
/* ===== Description ===== */
.description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}
/* ===== Countdown Timer ===== */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 0.8s both;
    flex-wrap: wrap;
}
.countdown-box {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    min-width: 100px;
    backdrop-filter: blur(20px);
    transition: var(--transition-normal);
    overflow: hidden;
}
.countdown-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-2);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}
.countdown-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0.7;
}
.countdown-value {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.countdown-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: var(--space-xs);
}
.countdown-separator {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-2);
    animation: blink 1s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}
/* ===== Progress Section ===== */
.progress-section {
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    animation: fadeInUp 0.8s ease-out 1s both;
}
.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.progress-percent {
    font-weight: 600;
    color: var(--accent-2);
}
.progress-bar {
    position: relative;
    height: 8px;
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 1s ease-out;
    position: relative;
}
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
.progress-glow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 20px;
    background: var(--gradient-glow);
    opacity: 0.5;
    filter: blur(10px);
}
/* ===== Notification Section ===== */
.notification-section {
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 1.2s both;
}
.notification-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}
.notification-form {
    max-width: 500px;
    margin: 0 auto;
}
.input-wrapper {
    display: flex;
    gap: var(--space-sm);
    padding: 6px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    backdrop-filter: blur(20px);
    transition: var(--transition-normal);
}
.input-wrapper:focus-within {
    border-color: var(--accent-2);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}
.input-wrapper input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
}
.input-wrapper input::placeholder {
    color: var(--text-muted);
}
.submit-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}
.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}
.submit-btn:active {
    transform: scale(0.98);
}
.arrow-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}
.submit-btn:hover .arrow-icon {
    transform: translateX(3px);
}
.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    color: #22c55e;
    font-weight: 500;
    animation: fadeInUp 0.5s ease-out;
}
.success-message svg {
    width: 20px;
    height: 20px;
}
.success-message.show {
    display: flex;
}
/* ===== Social Section ===== */
.social-section {
    animation: fadeInUp 0.8s ease-out 1.4s both;
}
.social-section p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}
.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}
.social-link:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}
.social-link svg {
    width: 22px;
    height: 22px;
}
/* ===== Footer ===== */
.footer {
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}
.footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
}
/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .countdown-container {
        gap: var(--space-xs);
    }
    
    .countdown-box {
        min-width: 75px;
        padding: var(--space-sm) var(--space-md);
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: var(--space-sm);
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .orb-1 {
        width: 300px;
        height: 300px;
    }
    
    .orb-2 {
        width: 250px;
        height: 250px;
    }
    
    .orb-3 {
        width: 200px;
        height: 200px;
    }
}
@media (max-width: 480px) {
    .countdown-box {
        min-width: 65px;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .countdown-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}
/* ===== Loading Animation ===== */
.loading {
    opacity: 0;
    animation: none;
}
body.loaded .loading {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out forwards;
}
/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ===== Selection ===== */
::selection {
    background: var(--accent-2);
    color: var(--text-primary);
}
/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-2);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-3);
}
