:root {
    --primary-color: #ea580c; /* High contrast orange for white background */
    --primary-hover: #c2410c;
    --bg-light: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --font-main: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    /* Premium light gradient */
    background: radial-gradient(circle at top right, #f8fafc, #ffffff);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background grid pattern for light theme */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

/* Dynamic subtle glowing effect */
body::before {
    content: '';
    position: absolute;
    width: 200vw;
    height: 200vh;
    background: conic-gradient(from 180deg at 50% 50%, rgba(234, 88, 12, 0.03) 0deg, transparent 60deg, transparent 300deg, rgba(234, 88, 12, 0.03) 360deg);
    top: -50%;
    left: -50%;
    z-index: 0;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.container {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 4rem;
    max-width: 900px;
    width: 92%;
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

header .logo {
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    transition: transform 0.4s ease;
}

header .logo:hover {
    transform: translateY(-5px);
}

.content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-dark);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 80%;
    margin: 0 auto;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    perspective: 1000px;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    min-width: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.time-box:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.3);
    box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.15);
}

.time-box:hover::before {
    transform: scaleX(1);
}

.time-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.time-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
}

.contact-item:hover {
    color: var(--primary-color);
}

.icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.contact-item:hover .icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .container {
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }
    
    .title {
        font-size: 2.4rem;
    }
    
    .subtitle {
        max-width: 100%;
        font-size: 1rem;
    }

    .countdown-container {
        gap: 0.8rem;
    }
    
    .time-box {
        min-width: 70px;
        padding: 1rem 0.5rem;
    }
    
    .time-value {
        font-size: 1.8rem;
    }
    
    .time-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
