:root {
    --primary-color: #188ecc;
    /* Blue from logo */
    --accent-color: #ff0000;
    /* Red from logo */
    --bg-dark: #0f172a;
    --text-light: #f8fafc;
    --text-muted: #cbd5e1;
    --font-main: 'Outfit', sans-serif;
    --glass-bg: rgba(15, 23, 42, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-light);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-dark);
}

/* Background image setup */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/bg.png') no-repeat center center/cover;
    z-index: -2;
    filter: brightness(0.7) contrast(1.1);
    transform: scale(1.05);
    /* Slight zoom for premium feel */
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: -1;
}

/* Glassmorphism Container */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 25px 50px -12px var(--glass-shadow);
    display: flex;
    flex-direction: column;
    text-align: center;
    animation: fadeIn 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) ease-in-out;
}

/* Header & Logo */
.header {
    margin-bottom: 2rem;
}

.brand-logo {
    max-height: 80px;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    border-radius: 4px;
    /* Optional, in case the background needs softening */
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.logo span {
    font-weight: 300;
    color: var(--text-light);
    -webkit-text-fill-color: initial;
    font-size: 1.8rem;
}

/* Main Content Typography */
.main-content {
    margin-bottom: 3rem;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.title span {
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.time-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    border-color: rgba(247, 183, 51, 0.4);
}

.time {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

/* Notify Form */
.notify-section {
    max-width: 500px;
    margin: 0 auto;
}

.notify-section p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.notify-form {
    display: flex;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.notify-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

.notify-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-notify {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 0 2rem;
    color: white;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.btn-notify:hover {
    filter: brightness(1.1);
}

.btn-notify:active {
    filter: brightness(0.9);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 20px;
    transition: opacity 0.3s;
}

.form-message.success {
    color: #4ade80;
}

/* Footer & Social */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1.2rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(247, 183, 51, 0.4);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-container {
        padding: 2rem 1.5rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .countdown {
        gap: 0.8rem;
    }

    .time-box {
        min-width: 70px;
        padding: 1rem 0.5rem;
    }

    .time {
        font-size: 2rem;
    }

    .label {
        font-size: 0.7rem;
    }

    .notify-form {
        flex-direction: column;
        border-radius: 12px;
        background: transparent;
        box-shadow: none;
        gap: 10px;
    }

    .notify-form input {
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .btn-notify {
        border-radius: 50px;
        padding: 1rem;
    }
}