:root {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --accent: #0d6efd;
    --accent-hover: #0b5ed7;
    --shadow: rgba(0, 0, 0, 0.1);
    --border: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #a8b2d1;
    --accent: #64ffda;
    --accent-hover: #52e5c4;
    --shadow: rgba(100, 255, 218, 0.1);
    --border: rgba(100, 255, 218, 0.2);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.main-container {
    position: relative;
    z-index: 1;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#themeBtn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

#themeBtn:hover {
    transform: rotate(20deg) scale(1.1);
    border-color: var(--accent);
}

.logo-wrapper {
    animation: float 3s ease-in-out infinite;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 40px var(--shadow);
}

.logo-circle i {
    font-size: 3rem;
    color: white;
}

h1 {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-box {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 25px 15px;
    box-shadow: 0 8px 30px var(--shadow);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--accent);
}

.countdown-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 10px;
}

.notify-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-control {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--bg-secondary);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.25rem var(--shadow);
}

.btn-primary {
    background: var(--accent);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow);
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px) rotate(360deg);
    border-color: var(--accent);
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 60%; animation-delay: 1s; }
.particle:nth-child(6) { left: 70%; animation-delay: 3s; }
.particle:nth-child(7) { left: 80%; animation-delay: 5s; }
.particle:nth-child(8) { left: 90%; animation-delay: 7s; }

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

@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    50% { opacity: 0.3; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 1s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

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

@media (max-width: 768px) {
    .countdown-value { font-size: 2rem; }
    h1 { font-size: 2.5rem; }
    .logo-circle { width: 80px; height: 80px; }
    .logo-circle i { font-size: 2rem; }
}
