:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --accent-color: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.5);
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
}

/* Abstract Background Blobs */
.background-glob {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s infinite alternate;
    z-index: 0;
}

.background-glob-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float-reverse 25s infinite alternate;
    z-index: 0;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes float-reverse {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-30px, -30px);
    }
}

/* Main Container */
.container {
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    z-index: 10;
}

/* Glass Card */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Typography & Elements */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--accent-glow);
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #7dd3fc;
    margin-bottom: 1.5rem;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    /* Increased line-height to prevent clipping */
    padding-bottom: 0.2em;
    /* Added padding to ensure descenders aren't cut */
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Email Spoiler & Link */
.email-wrapper {
    margin-bottom: 3rem;
    height: 3.5rem;
    /* Reserve space to prevent layout shift */
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-spoiler {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-spoiler:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.email-link {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.email-link:hover {
    background: rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* Social Buttons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.x-btn:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.github-btn:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .social-links {
        flex-direction: column;
    }
}