:root {
    /* Day Theme Variables */
    --bg-color: #eef2f5;
    --text-color: #1a1a1a;
    --text-secondary: #5e6c7c;

    /* Liquid Glass Variables */
    --card-bg: rgba(255, 255, 255, 0.25);
    --card-border: rgba(255, 255, 255, 0.6);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --btn-bg: rgba(255, 255, 255, 0.3);
    --btn-hover-bg: rgba(255, 255, 255, 0.5);
    --btn-border: rgba(255, 255, 255, 0.5);
    --btn-text: #1a1a1a;

    --accent-glow: rgba(99, 102, 241, 0.4);
    /* Indigo */
    --accent-glow-2: rgba(168, 85, 247, 0.4);
    /* Purple */
    --accent-glow-3: rgba(236, 72, 153, 0.4);
    /* Pink */

    --footer-text: #888;
    --cursor-spotlight: rgba(255, 255, 255, 0.8);
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Dark Theme Variables */
        --bg-color: #050507;
        --text-color: #f2f2f2;
        --text-secondary: #a0a0a0;

        --card-bg: rgba(20, 20, 25, 0.3);
        --card-border: rgba(255, 255, 255, 0.08);
        --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

        --btn-bg: rgba(255, 255, 255, 0.03);
        --btn-hover-bg: rgba(255, 255, 255, 0.08);
        --btn-border: rgba(255, 255, 255, 0.05);
        --btn-text: #fff;

        --accent-glow: rgba(99, 102, 241, 0.25);
        --accent-glow-2: rgba(168, 85, 247, 0.25);
        --accent-glow-3: rgba(236, 72, 153, 0.25);

        --footer-text: #444;
        --cursor-spotlight: rgba(255, 255, 255, 0.03);
    }
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    position: relative;
    padding: 20px;
}

/* Background Animation */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-color);
}

/* Standard Glass Card */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 60px 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    z-index: 10;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

/* Profile Section */
.avatar-container {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 28px;
    border-radius: 50%;
    padding: 3px;
    /* Space for gradient border */
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-glow-3));
    /* Gradient border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background-color: var(--bg-color);
    /* To separate image from gradient if transparent */
    border: 3px solid var(--card-bg);
    /* Inner border to separate from gradient */
}

h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.04em;
    color: var(--text-color);
}

.slogan {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 48px;
    letter-spacing: 0.01em;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 24px;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--btn-text);
    text-decoration: none;
    border-radius: 20px;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(4px);
    overflow: hidden;
    z-index: 1;
}

/* New Hover: Smooth Glow/Fill */
.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-glow), var(--accent-glow-2));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.link-btn:hover {
    border-color: rgba(255, 255, 255, 0);
    /* Keep space for border */
    color: #fff;
    /* Always white text on hover */
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
    /* Reduced glow intensity */
    transform: translateY(-2px);
    /* Subtle move up */
}

.link-btn:hover::before {
    opacity: 1;
}

.link-btn i {
    font-size: 1.4rem;
    /* Sizing for Remix Icons */
    transition: color 0.3s ease;
}

.link-btn:hover i {
    color: #fff;
}

/* Footer */
footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--footer-text);
    z-index: 10;
    letter-spacing: 0.02em;
    opacity: 0.6;
    transition: opacity 0.3s;
}

footer:hover {
    opacity: 1;
}

.company-details {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 50px 24px;
        border-radius: 32px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .slogan {
        font-size: 1rem;
        margin-bottom: 36px;
    }
}

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

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