:root {
    --primary: #63217d;
    --secondary: #9f5379;
    --bg-dark: #0f0714;
    --text-main: #ffffff;
    --text-muted: #b8a9c0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background gradient orb */
body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 33, 125, 0.15) 0%, rgba(15,7,20,0) 70%);
    z-index: 0;
    border-radius: 50%;
}

/* Floating Boxes Animation */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.box {
    position: absolute;
    border: 2px solid rgba(159, 83, 121, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 33, 125, 0.05), rgba(159, 83, 121, 0.05));
    backdrop-filter: blur(2px);
    animation: float 20s infinite linear;
}

.box-1 { width: 80px; height: 80px; left: 10%; top: 20%; animation-duration: 25s; animation-delay: 0s; }
.box-2 { width: 120px; height: 120px; left: 80%; top: 15%; animation-duration: 30s; animation-delay: -5s; }
.box-3 { width: 60px; height: 60px; left: 70%; top: 75%; animation-duration: 22s; animation-delay: -10s; }
.box-4 { width: 100px; height: 100px; left: 15%; top: 70%; animation-duration: 28s; animation-delay: -2s; }
.box-5 { width: 50px; height: 50px; left: 45%; top: 10%; animation-duration: 18s; animation-delay: -7s; }
.box-6 { width: 90px; height: 90px; left: 50%; top: 80%; animation-duration: 24s; animation-delay: -12s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Main Container */
.glass-container {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3rem 4rem;
    max-width: 800px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out;
}

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

/* Logo */
.logo-wrapper {
    margin-bottom: 2rem;
    background: white; /* Added white background to support transparent dark logos if needed, or rounded pill */
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Typography */
.title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #d38ec4, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-inline: auto;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time {
    font-size: 3.5rem;
    font-weight: 600;
    background: linear-gradient(180deg, #ffffff 0%, #b8a9c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-top: 0.5rem;
    font-weight: 600;
}

.separator {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    margin-top: -1.5rem;
}


/* Responsive - Laptop & Tablet */
@media (max-width: 1024px) {
    .glass-container { padding: 2.5rem 3rem; max-width: 90%; }
    .title { font-size: 2.5rem; }
    .time { font-size: 3rem; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .glass-container { padding: 2rem 1.5rem; width: 95%; }
    .title { font-size: 2rem; }
    .subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .countdown { flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
    .time-block { min-width: 65px; margin: 0.5rem; }
    .time { font-size: 2.25rem; }
    .separator { display: none; /* Hide separators on small screens to allow wrapping */ }
    .logo { max-height: 60px; }
    .logo-wrapper { padding: 0.75rem 1.5rem; margin-bottom: 1.5rem; }
}

/* Extra small devices */
@media (max-width: 480px) {
    .glass-container { padding: 1.5rem 1rem; }
    .title { font-size: 1.75rem; }
    .time { font-size: 2rem; }
    .time-block { min-width: 60px; margin: 0.25rem; }
}
