body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: white;
    /* allow scrolling on small devices */
    overflow-x: hidden;
    cursor: url('../assets/cursor.png') 4 4, auto;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    text-align: center;
}



#click-text {
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

#click-text:hover {
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.profile-embed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(780px, 92%);
    max-width: 780px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.8));
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 5;
    animation: fadeInUp 1s ease-out;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.pfp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.pfp:hover {
    transform: scale(1.1);
}

h1 {
    margin: 0 0 15px 0;
    font-size: 3em;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.5;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.links a {
    display: inline-block;
    margin: 0 20px;
    color: white;
    text-decoration: none;
    padding: 16px 28px;
    border: 2px solid white;
    border-radius: 12px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.05em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* make sure touch targets are comfortable on mobile */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.links a:hover::before {
    left: 100%;
}

.links a:hover {
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.4);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #click-text {
        font-size: 1.5em;
    }

    .profile-embed {
        padding: 15px;
        max-width: 90%;
    }

    .pfp {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 2em;
        letter-spacing: 2px;
    }

    p {
        font-size: 1em;
    }

    .links a {
        margin: 0 10px;
        padding: 15px 30px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    body {
        overflow: auto;
    }

    #click-text {
        font-size: 0.8em;
        letter-spacing: 0.3px;
        padding: 0 10px;
    }

    #background-video {
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }

    /* On very small screens, present the profile as a bottom sheet
       so it occupies a predictable height and doesn't get cut off */
    .profile-embed {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 12px 16px;
        max-height: 65vh;
        overflow-y: auto;
        border-radius: 12px 12px 0 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        border: 2px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6);
        margin: 0 auto;
        z-index: 6;
    }

    .pfp {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }

    h1 {
        font-size: 1.2em;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }

    p {
        font-size: 0.8em;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .links a {
        margin: 5px 0;
        padding: 8px 12px;
        font-size: 0.8em;
        letter-spacing: 0.5px;
        width: 85%;
        text-align: center;
        border-radius: 10px;
    }
}
