/* style.css */
:root {
    --bg-deep-indigo: #1a1d2d;
    --glow-teal: #00f2ea;
    --glow-magenta: #ff00ff;
    --glow-purple: #7f00ff;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0c0;
    --capsule-bg: rgba(26, 29, 45, 0.85); /* Semi-transparent dark */
    --button-bg-start: #6a11cb; /* Purple */
    --button-bg-end: #2575fc; /* Blue */
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden; /* Prevent scrollbars from background */
}

body {
    font-family: var(--font-main);
    background: linear-gradient(
        45deg,
        var(--bg-deep-indigo),
        #2c213f, /* Dark purple */
        #1a1d2d,
        #1f3245 /* Dark teal/blue */
    );
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
    color: var(--text-primary);
    display: flex; /* Use flex on body directly for centering */
    justify-content: center;
    align-items: center;
    position: relative; /* For pseudo-element glows */
}

/* Subtle background glow effect */
body::before,
body::after {
    content: '';
    position: absolute;
    filter: blur(80px); /* Soft blur */
    z-index: -1; /* Behind content */
    border-radius: 50%;
    opacity: 0.4; /* Subtle */
}

body::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-teal), transparent 60%);
    top: 10%;
    left: 10%;
    animation: glowMove1 25s infinite alternate ease-in-out;
}

body::after {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--glow-magenta), transparent 60%);
    bottom: 15%;
    right: 15%;
    animation: glowMove2 22s infinite alternate ease-in-out;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glowMove1 {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(50px, 30px) rotate(180deg); }
}

@keyframes glowMove2 {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(-40px, -60px) rotate(-180deg); }
}

.viewport-center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.content-capsule {
    background-color: var(--capsule-bg);
    padding: 3rem 2.5rem;
    border-radius: 25px; /* Smoothly rounded */
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    z-index: 1; /* Above background glows */
}

.announcement {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    border-radius: 50px; /* Pill shape */
    background: linear-gradient(90deg, var(--button-bg-start), var(--button-bg-end));
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(40, 116, 252, 0.4); /* Brighter shadow on hover */
}

.cta-button:active {
    transform: translateY(0px) scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .content-capsule {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .announcement {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.8rem 2rem;
    }

    body::before, body::after {
        width: 250px;
        height: 250px;
        filter: blur(60px);
    }
}

@media (max-width: 400px) {
    .announcement {
        font-size: 0.9rem;
    }
     .cta-button {
        font-size: 0.85rem;
        padding: 0.7rem 1.8rem;
    }
    body::before, body::after {
        width: 200px;
        height: 200px;
        filter: blur(50px);
    }
}