* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
                 "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    color: #111;
    background: #f5f5f7;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.9), transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(180,220,255,0.5), transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(220,220,255,0.5), transparent 40%),
        linear-gradient(135deg, #ffffff, #eef2f7);
}

/* Main glass container */
.glass-card {
    width: 420px;
    padding: 45px;
    border-radius: 32px;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);

    border: 1px solid rgba(255,255,255,0.7);

    box-shadow:
        0 30px 60px rgba(0,0,0,0.08),
        inset 0 1px 1px rgba(255,255,255,0.8);

    text-align: center;
}

h1 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
    color: #111;
}

p {
    font-size: 17px;
    color: #6e6e73;
    margin-bottom: 32px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Glass buttons */
.glass-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 16px;

    border-radius: 18px;

    color: #111;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;

    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.8);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.05),
        inset 0 1px 2px rgba(255,255,255,0.9);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.glass-link img {
    width: 24px !important;
    height: 24px !important;

    max-width: 24px;
    max-height: 24px;

    object-fit: contain;
    flex-shrink: 0;
}

.glass-link:hover {
    transform: translateY(-4px);

    background: rgba(255,255,255,0.75);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.1),
        inset 0 1px 3px rgba(255,255,255,1);
}

.glass-link:active {
    transform: scale(0.98);
}

/* Mobile support */
@media (max-width: 500px) {
    .glass-card {
        width: 90%;
        padding: 32px;
        border-radius: 26px;
    }

    h1 {
        font-size: 36px;
    }
}

.contact-info {
    position: fixed !important;
    bottom: 15px !important;
    left: 0 !important;
    right: 0 !important;

    width: 100%;
    text-align: center;

    font-size: 13px;
    color: rgba(0, 0, 0, 0.4);

    letter-spacing: 0.2px;
    z-index: 9999;
}

.corner-gif {
    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 64px;
    height: 64px;

    object-fit: contain;

    z-index: 5;

    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.12));

    animation: floatGif 4s ease-in-out infinite;
}

@keyframes floatGif {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Dark mode toggle button */
.theme-toggle {
    position: fixed;

    bottom: 20px;
    left: 20px;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.5);

    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    font-size: 20px;
    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.12);

    transition: all 0.3s ease;

    z-index: 9999;
}

.theme-toggle:hover {
    transform: scale(1.1);
}


/* =====================
   DARK MODE
===================== */

body.dark-mode {
    color: #fff;
    background: #050505;
}


body.dark-mode .background {
    background:
        radial-gradient(circle at 20% 20%, rgba(80,80,120,0.4), transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(0,120,255,0.25), transparent 40%),
        linear-gradient(135deg, #111, #000);
}


body.dark-mode .glass-card {
    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.15);

    box-shadow:
        0 30px 60px rgba(0,0,0,0.5),
        inset 0 1px 1px rgba(255,255,255,0.15);
}


body.dark-mode .glass-link {
    color: white;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.15);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.3);
}


body.dark-mode .glass-link:hover {
    background:
        rgba(255,255,255,0.18);
}


body.dark-mode h1 {
    color: white;
}


body.dark-mode p {
    color: rgba(255,255,255,0.6);
}


body.dark-mode .contact-info {
    color: rgba(255,255,255,0.45);
}


body.dark-mode .theme-toggle {
    background: rgba(255,255,255,0.15);
    color: white;
}