:root {
    /* Premium Color Palette */
    --clr-primary: #006a4e;
    /* Bangladesh Green */
    --clr-primary-light: #008f6a;
    --clr-accent: #f42a41;
    /* Bangladesh Red */
    --clr-accent-glow: rgba(244, 42, 65, 0.4);
    --clr-gold: #d4af37;

    --clr-bg-dark: #0a110f;
    --clr-text-main: #f8fcfb;
    --clr-text-muted: #a6b5b1;

    --clr-glass-bg: rgba(10, 17, 15, 0.6);
    --clr-glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glow: 0 10px 40px rgba(0, 106, 78, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    /* Ensure image covers the whole body seamlessly */
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Background Effects */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient overlay to ensure text readability over the image */
    background: linear-gradient(135deg,
            rgba(10, 17, 15, 0.85) 0%,
            rgba(0, 30, 20, 0.7) 50%,
            rgba(10, 17, 15, 0.9) 100%);
    z-index: -1;
}

.gradient-sphere {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--clr-primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--clr-gold);
    bottom: -50px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 50px) scale(1.1);
    }

    100% {
        transform: translate(20px, -30px) scale(0.9);
    }
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header Elements */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--clr-primary-light);
    background: rgba(0, 143, 106, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 143, 106, 0.2);
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo h1 span {
    color: var(--clr-primary-light);
}

.domain {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-gold);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Main Content Typography */
.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 4rem 0;
}

.tagline {
    margin-bottom: 2rem;
}

.badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--clr-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(to right, var(--clr-primary-light), #38ef7d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    max-width: 650px;
    margin-bottom: 3rem;
}

/* Glassmorphism Countdown */
.glassmorphism {
    background: var(--clr-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--clr-glass-border);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.glassmorphism::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.countdown-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-val {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.time-label {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.separator {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    margin-top: -1.5rem;
}

/* Footer elements */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* Animations */
.slide-down {
    animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .container {
        padding: 1.5rem 5%;
    }

    .countdown {
        gap: 1rem;
    }

    .time-val {
        font-size: 2.8rem;
    }

    .separator {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .glassmorphism {
        padding: 1.5rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .time-box {
        min-width: 60px;
    }

    .time-val {
        font-size: 2rem;
    }

    .separator {
        font-size: 1.5rem;
        margin-top: -1rem;
    }

    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}