/* Modern CSS Reset & Setup */
:root {
    --primary: #2d6a4f;
    --secondary: #40916c;
    --accent: #52b788;
    --bg-dark: #081c15;
    --text: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.4);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2rem 1rem;
    position: relative;
}

/* Background Animations for Visual Impact */
.background-animation {
    position: fixed;
    top: -50vh;
    left: -50vw;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle at center, #1b4332 0%, #081c15 40%, var(--bg-dark) 80%);
    z-index: -1;
    animation: rotateBg 40s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

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

/* Floating Gradient Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: floatBlob 10s ease-in-out infinite;
}

.blob-1 {
    background: var(--primary);
    width: 40vw;
    height: 40vw;
    top: -10%;
    left: -10%;
}

.blob-2 {
    background: var(--secondary);
    width: 35vw;
    height: 35vw;
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Premium Glassmorphism Container */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem 3rem;
    width: 90%;
    margin: auto;
    max-width: 900px;
    z-index: 10;
    box-shadow: 0 30px 60px var(--glass-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Header & Typography */
header {
    margin-bottom: 2rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 6px;
    background: linear-gradient(to right, #fff, var(--text), rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

main h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

main p {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 3.5rem auto;
    line-height: 1.6;
    max-width: 650px;
}

/* Countdown Timer Styling */
.countdown-wrapper {
    display: flex;
    gap: 2rem;
    margin-bottom: 3.5rem;
    justify-content: center;
}

.time-box {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.time-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(45, 106, 79, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.time-box:hover::before {
    opacity: 1;
}

.time-box span:first-child {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.2rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.time-box .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    z-index: 1;
}

/* Notification Form */
.notify-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.notify-section input {
    width: 100%;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 1.05rem;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.notify-section input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.notify-section input:focus {
    border-color: var(--secondary);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.15);
}

.notify-section button {
    width: 100%;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(45, 106, 79, 0.3);
    position: relative;
    overflow: hidden;
}

.notify-section button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.notify-section button:hover::after {
    left: 150%;
}

.notify-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(45, 106, 79, 0.4);
}

.notify-section button:active {
    transform: translateY(1px);
}

/* Footer & Socials */
footer {
    margin-top: 3rem;
    width: 100%;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.socials a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
}

.socials a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.socials a:hover {
    color: #fff;
}

.socials a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-container {
        padding: 3rem 2rem;
        width: 95%;
    }

    main h1 {
        font-size: 2.5rem;
    }

    .countdown-wrapper {
        gap: 1rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
    }

    .time-box {
        min-width: 90px;
        padding: 1rem;
    }

    .time-box span:first-child {
        font-size: 2.8rem;
    }

    .notify-section {
        flex-direction: column;
    }

    .notify-section button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .glass-container {
        padding: 2.5rem 1.2rem;
        border-radius: 20px;
    }

    .logo {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    main h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    main p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .countdown-wrapper {
        gap: 0.8rem;
    }

    .time-box {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 100px;
        padding: 1.2rem 0.5rem;
        border-radius: 12px;
    }

    .time-box span:first-child {
        font-size: 2.5rem;
    }

    .time-box .label {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .notify-section {
        gap: 0.8rem;
    }

    .notify-section input,
    .notify-section button {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .socials {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}