:root {
    --primary-color: #6366f1; /* Indigo */
    --accent-color: #a855f7; /* Purple */
    --text-color: #f8fafc;
    --bg-dark: #0f172a;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Animation */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, #0f172a 100%);
    z-index: -1;
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: drift 20s infinite alternate;
}

.background-animation::before {
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.background-animation::after {
    background: var(--accent-color);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Container & Card */
.container {
    padding: 20px;
    width: 100%;
    max-width: 500px;
    perspective: 1000px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(20px);
    opacity: 0;
}

@keyframes slideUp {
    to { transform: translateY(0); opacity: 1; }
}

/* Typography & Elements */
.icon-container {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--accent-color);
    background: rgba(168, 85, 247, 0.1);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.icon-container svg {
    width: 32px;
    height: 32px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #cbd5e1;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
    display: inline-block;
}

.features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #e2e8f0;
}

.check {
    color: #10b981; /* Emerald */
    margin-right: 8px;
    font-weight: bold;
}

/* Countdown */
.countdown-container {
    margin-bottom: 24px;
}

.countdown-container p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

#countdown {
    font-weight: 700;
    color: var(--text-color);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 100%; /* Inicia lleno */
    transition: width 1s linear;
}

/* Button */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.4);
    filter: brightness(1.1);
}

.footer-note {
    margin-top: 24px;
    font-size: 0.8rem;
    color: #64748b;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .card {
        padding: 24px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
}
