:root {
    --bg-color: #040814; /* Deep infinite navy */
    --glas-bg: rgba(7, 12, 26, 0.55);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8; /* Slate gray */
    --accent: #e2e8f0; /* Platinum Silver */
    --accent-glow: rgba(226, 232, 240, 0.15);
    --wa-color: #25d366;
    --wa-hover: #128c7e;
    --brand-blue: #1e3a8a;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 0;
}

/* Background Image & Overlay */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05); /* Slight scale to allow a subtle pan animation if desired */
    animation: slowPan 30s infinite alternate ease-in-out;
}

@keyframes slowPan {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.05) translate(-1%, -1%); }
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(4, 8, 20, 0.85) 0%, rgba(12, 20, 44, 0.75) 100%);
    z-index: -1;
}

/* Marquee Scroller */
.marquee-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.3) 0%, rgba(226, 232, 240, 0.15) 50%, rgba(30, 58, 138, 0.3) 100%);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 10;
    display: flex;
}

.marquee {
    display: inline-block;
    animation: scroll 30s linear infinite;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marquee span {
    padding: 0 2rem;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Main Container */
.glass-container {
    background: var(--glas-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Edge highlight */
    border-radius: 24px;
    padding: 3.5rem 3rem;
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

/* Header */
header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

header .logo i {
    color: var(--accent);
}

/* Typography & Content */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

/* Profile Picture */
.profile-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem auto;
}

.profile-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, var(--accent), var(--brand-blue), var(--text-primary));
    border-radius: 50%;
    z-index: -1;
    animation: spin 5s linear infinite;
    opacity: 0.5;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #0b1329; /* Matches overlay tone */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

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

.badge {
    background: rgba(226, 232, 240, 0.05); /* Very subtle silver */
    color: var(--accent);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--glass-border);
    display: inline-block;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.02);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 600;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 600px;
}

/* Countdown */
.countdown-container {
    margin-top: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.countdown-container h3 {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.time-box span {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.time-box p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.colon {
    font-size: 2rem;
    font-weight: 400;
    color: var(--glass-border);
    margin-top: -1.5rem;
}

/* Buttons */
.actions {
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--wa-color), #20b858);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.btn-primary i {
    font-size: 1.25rem;
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    width: 100%;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    text-align: center;
}

footer p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* Floating WhatsApp */
.float-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--wa-color), #20b858);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid rgba(255,255,255,0.15);
}

.float-wa:hover {
    transform: scale(1.1) translateY(-5px);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .glass-container {
        padding: 2.5rem 1.5rem;
        margin-top: 4rem;
        width: 95%;
    }
    
    .countdown {
        gap: 0.75rem;
    }
    
    .time-box span {
        font-size: 2rem;
    }
    
    .time-box {
        min-width: 50px;
    }
    
    .btn {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .colon {
        display: none;
    }
    
    .countdown {
        justify-content: space-between;
        width: 100%;
        gap: 0.25rem;
    }
    
    .float-wa {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    .profile-container {
        width: 120px;
        height: 120px;
    }
}
