/* Color Palette & Variables from Site 1 */
:root {
    --background: #020617; 
    --card: rgba(30, 41, 59, 0.7); 
    --primary: #06b6d4; /* Cyan 500 */
    --primary-hover: #22d3ee; 
    --foreground: #f8fafc; 
    --muted: #94a3b8; 
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--background);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--foreground);
    overflow-x: hidden;
    line-height: 1.6;
}

#bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.overlay {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: env(safe-area-inset-top) 20px 40px;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes timerPulse {
    0% { text-shadow: 0 0 5px rgba(6, 182, 212, 0.2); }
    50% { text-shadow: 0 0 15px rgba(6, 182, 212, 0.6); }
    100% { text-shadow: 0 0 5px rgba(6, 182, 212, 0.2); }
}

.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.8s ease-out forwards; }
.animate-fade-in-delayed { opacity: 0; animation: fadeIn 0.8s ease-out 0.5s forwards; }

/* --- UI ELEMENTS --- */
.logo {
    width: 75px;
    height: auto;
    margin: 40px auto 30px;
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.4));
}

.content-card {
    max-width: 520px;
    width: 100%;
    background: var(--card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 35px;
    margin-bottom: 120px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.content-card h1 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(to right, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    letter-spacing: -0.02em;
}

/* --- COUNTDOWN --- */
.countdown-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px dashed var(--primary);
}

.timer-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.timer-display {
    font-family: 'Courier New', monospace;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    animation: timerPulse 2s infinite ease-in-out;
}

.text-content p { margin-bottom: 18px; font-size: 16px; color: #e2e8f0; }
.text-content strong { color: var(--primary); }
.signature { margin-top: 30px; font-weight: 700; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- CTA BUTTON --- */
.cta-container {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, var(--background) 70%, transparent);
    display: flex; justify-content: center; z-index: 50;
}

.cta {
    width: 100%; max-width: 400px;
    padding: 18px; text-align: center;
    background: var(--primary);
    color: #020617; font-weight: 800;
    font-size: 18px; border-radius: 16px;
    text-decoration: none; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.5);
}

.cta:hover { transform: translateY(-4px); background: var(--primary-hover); box-shadow: 0 15px 30px -5px rgba(6, 182, 212, 0.7); }

/* --- NOTIFICATIONS --- */
.notification-toast {
    position: fixed;
    bottom: 115px; left: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    padding: 12px 18px;
    border-radius: 50px;
    transform: translateX(-150%);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 100;
}

.notification-toast.show { transform: translateX(0); }
.notification-content { display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 30px; height: 30px; background: var(--primary); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 12px; }
.notification-text { font-size: 13px; color: #fff; white-space: nowrap; }
.user-name { font-weight: 700; color: var(--primary); margin-right: 3px; }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 480px) {
    .content-card { padding: 25px; border-radius: 20px; }
    .notification-toast { left: 10px; right: 10px; bottom: 130px; }
}