* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   CLICK TO ENTER
========================= */

#enter-screen {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    cursor: pointer;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

#enter-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.enter-content {
    text-align: center;
    animation: enterFloat 3s ease-in-out infinite;
}

.enter-logo {
    color: #fff;
    font-size: clamp(70px, 10vw, 140px);
    font-weight: 300;
    letter-spacing: -10px;
    margin-bottom: 35px;
}

.enter-text {
    color: #fff;
    font-size: 11px;
    letter-spacing: 6px;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.enter-content:hover .enter-text {
    opacity: 1;
}

@keyframes enterFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =========================
   MAIN
========================= */

#main {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.5s ease, transform 2s cubic-bezier(.2,.8,.2,1);
}

#main.visible {
    opacity: 1;
    transform: scale(1);
}

/* =========================
   BACKGROUND VIDEO
========================= */

#background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* =========================
   OVERLAY
========================= */

.overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.65));
}

.overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 25%, rgba(0,0,0,0.7) 100%);
}

/* =========================
   CONTENT
========================= */

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

/* =========================
   PROFILE PICTURE (PC: slightly bigger)
========================= */

.pfp {
    width: 115px;
    height: 115px;
    object-fit: cover;
    margin-bottom: 22px;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
    border-radius: 50%;
}

@keyframes logoAppear {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   NAME
========================= */

.name {
    font-size: clamp(32px, 4.5vw, 46px);
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 27px;
    text-shadow: 0 0 30px rgba(255,255,255,0.2);
}

/* =========================
   SOCIALS
========================= */

.socials {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.socials a {
    color: white;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.socials a:hover {
    opacity: 1;
}

/* =========================
   BUTTONS
========================= */

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.button {
    width: 260px;
    color: white;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 3px;
    padding: 14px 0;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.3s ease, border 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.button:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
    transform: translateY(-3px);
}

/* =========================
   DISCORD POPUP
========================= */

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
}

.popup-overlay.active {
    display: flex;
}

.popup-box {
    width: 320px;
    position: relative;
    text-align: center;
    padding: 42px 30px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.4);
    animation: popupFade 0.4s ease;
}

@keyframes popupFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.popup-logo {
    color: #fff;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: -3px;
    margin-bottom: 16px;
}

.popup-logo-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}

.popup-title {
    color: white;
    font-size: 23px;
    letter-spacing: 8px;
    margin-bottom: 11px;
}

.popup-text {
    color: white;
    font-size: 12px;
    opacity: 0.7;
    letter-spacing: 3px;
    margin-bottom: 26px;
}

.popup-link {
    color: white;
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 13px 23px;
    transition: background 0.3s ease;
}

.popup-link:hover {
    background: rgba(255,255,255,0.12);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    opacity: 0.6;
    font-size: 14px;
}

.popup-close:hover {
    opacity: 1;
}

/* =========================
   MOBILE (moderate increase)
========================= */

@media (max-width: 600px) {
    .pfp {
        width: 145px;
        height: 145px;
        margin-bottom: 28px;
    }

    .name {
        font-size: 34px;
        letter-spacing: 6px;
        margin-bottom: 32px;
    }

    .socials {
        gap: 18px;
        margin-bottom: 36px;
    }

    .socials a {
        font-size: 14px;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
        align-items: center;
    }

    .button {
        width: 220px;
        padding: 17px 0;
        font-size: 14px;
    }

    .popup-box {
        width: 280px;
        padding: 38px 20px;
    }

    .popup-logo {
        font-size: 52px;
    }

    .popup-logo-img {
        width: 90px;
        height: 90px;
        margin-bottom: 18px;
    }

    .popup-title {
        font-size: 28px;
        letter-spacing: 6px;
    }

    .popup-text {
        font-size: 14px;
    }

    .popup-link {
        font-size: 14px;
        padding: 15px 26px;
    }
}