:root {
    --color-primary: #6a11cb; /* Deep purple */
    --color-secondary: #2575fc; /* Vibrant blue */
    --color-accent: #34e89e; /* Bright mint green */
    --color-text: #f0f0f0;
    --color-text-darker: #cccccc;
    --color-bg-container: rgba(10, 20, 40, 0.75); /* Dark, slightly transparent blueish */
    --font-primary: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: #050816; /* Very dark blue, almost black base for starry sky */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden; /* Prevents scrollbars from animations */
    position: relative; /* For star background positioning */
}

/* Animated Gradient Background - more subtle, like a nebula */
body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), #1f3057, #0e1a2f);
    background-size: 400% 400%;
    animation: gradientBG 25s ease infinite;
    opacity: 0.6; /* Soften the gradient */
    z-index: -1; /* Behind stars */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Starry background effect (if not using a particle library) */
.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, white, rgba(255,255,255,0)),
        radial-gradient(1px 1px at 40px 70px, white, rgba(255,255,255,0)),
        radial-gradient(1px 1px at 80px 120px, white, rgba(255,255,255,0)),
        radial-gradient(2px 2px at 160px 240px, white, rgba(255,255,255,0)),
        radial-gradient(1px 1px at 220px 180px, white, rgba(255,255,255,0)),
        radial-gradient(1px 1px at 300px 80px, white, rgba(255,255,255,0)),
        radial-gradient(2px 2px at 350px 280px, white, rgba(255,255,255,0)),
        radial-gradient(1px 1px at 450px 150px, white, rgba(255,255,255,0));
    background-size: 500px 500px; /* Adjust for density */
    animation: twinkleStars 60s linear infinite;
    z-index: -2; /* Behind gradient overlay */
}

@keyframes twinkleStars {
    0% { background-position: 0 0; }
    100% { background-position: -500px 500px; } /* Or any value to make them move slowly */
}


.container {
    background: var(--color-bg-container);
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(10px); /* Safari */
    padding: 30px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    width: 650px; /* Max width for larger screens */
    animation: fadeInScaleUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0; /* Start hidden for animation */
    position: relative; /* Ensure it's above pseudo-elements */
    z-index: 1;
}

@keyframes fadeInScaleUp {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

header h1 {
    font-size: 3.2em;
    margin-bottom: 0.3em;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent), 2px 2px 5px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.6em;
    font-weight: 300;
    margin-bottom: 1.5em;
    color: var(--color-text);
    opacity: 0.9;
}

.description {
    font-size: 1.15em;
    line-height: 1.7;
    margin-bottom: 2em;
    color: var(--color-text-darker);
}

.description strong {
    color: var(--color-accent);
    font-weight: 600;
}

.cta-section h2 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #fff;
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 1.2em;
    color: var(--color-text-darker);
}

.email-link {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-accent), #28b485); /* Greenish gradient */
    color: #050816; /* Dark text for contrast on light button */
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px; /* Pill shape */
    font-size: 1.25em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(40, 180, 133, 0.4);
    border: none;
}

.email-link:hover, .email-link:focus {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(40, 180, 133, 0.6);
    background: linear-gradient(45deg, #28b485, var(--color-accent)); /* Slightly shift gradient */
    outline: none; /* Remove focus outline for aesthetic consistency */
}

footer {
    margin-top: 3em;
    font-size: 0.9em;
    color: var(--color-text-darker);
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 25px 30px;
        width: auto;
        margin: 20px;
    }

    header h1 {
        font-size: 2.6em;
    }

    .tagline {
        font-size: 1.4em;
    }

    .description {
        font-size: 1.05em;
    }

    .cta-section h2 {
        font-size: 1.6em;
    }

    .email-link {
        font-size: 1.15em;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px; /* More padding reduction for small screens */
        border-radius: 15px;
    }

    header h1 {
        font-size: 2.1em; /* Smaller main heading */
    }

    .tagline {
        font-size: 1.2em;
    }

    .description {
        font-size: 1em;
    }

    .cta-section h2 {
        font-size: 1.4em;
    }

    .email-link {
        font-size: 1.05em;
        padding: 10px 20px;
        width: 90%; /* Make button nearly full width */
        box-sizing: border-box;
    }
    
    footer {
        font-size: 0.8em;
    }
}

