@import url('https://fonts.googleapis.com/css2?family=Benne&family=Cinzel:wght@400..900&family=Fascinate&family=Italianno&family=Orbitron:wght@400..900&display=swap');

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Orbitron', sans-serif;
    background-color: #000;
    color: white;
}

main#page-container {
    padding-top: clamp(50px, 8vh, 70px);
    /* nav height */
    padding-bottom: 80px;
    /* footer height */
    box-sizing: border-box;
    flex: 1;

}

.container {
    all: unset;
}

/* main text middle of screen */
.welcomegg {
    display: flex;
    flex-direction: column;
    text-align: center;
    animation: fadeInOut 10s infinite ease-in-out, textGlow 2s infinite;
    font-size: clamp(32px, 6vw, 80px);
}

.welcomegg p {
    /* add gap between h1 and p */
    font-size: clamp(18px, 4vw, 30px);
    margin-top: clamp(20px, 30vh, 400px);
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

.bg-video2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;

    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border-top: 2px solid #b04fff;
    box-sizing: border-box;
}

/* Optional: subtle top fade */
footer::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(to top, rgba(20, 20, 30, 0.5), rgba(20, 20, 30, 0));
    pointer-events: none;
    z-index: -1;
}


footer h1 {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 20px);
    font-weight: 600;
    color: white;
}

.user-box {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-box img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* tooltip */
#user-tooltip {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* show name on hover */
.user-box:hover #user-tooltip {
    opacity: 1;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    background: rgba(20, 20, 30, 0.95);
    border: 1px solid #b04fff;
    border-radius: 8px;
    padding: 6px;

    min-width: 120px;
    z-index: 50;

    box-shadow: 0 0 15px rgba(176, 79, 255, 0.4);
}

.user-dropdown button {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
    border-radius: 4px;
}

.user-dropdown button:hover {
    background: rgba(176, 79, 255, 0.2);
}


/* Social icons */
footer .socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

footer .socials img {
    width: 24px;
    height: 24px;
    cursor: pointer;
    filter: drop-shadow(0 0 4px #b04fff);
    transition: transform 0.3s, filter 0.3s;
}

footer .socials img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px #ff4ff3);
}

.bg-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* repeat bg-img2 */
.bg-img2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/screenloop.png");
    background-repeat: repeat;
    z-index: -1;
}

.bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    mix-blend-mode: screen; /* KEY for neon */
    filter: saturate(1.5) contrast(1.1) blur(30px);

    will-change: background;
}

a {
    color: white;
    text-decoration: none;
}

.map-title {
    text-align: center;
    font-size: clamp(28px, 5vw, 48px);
    color: #b04fff;
    text-shadow: 0 0 10px #b04fff;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(50px, 8vh, 70px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background-color: transparent;
    backdrop-filter: blur(0);
    border-bottom: 2px solid transparent;
    transition: backdrop-filter 0.6s ease, border-color 1.8s ease;
}

.nav-left,
.nav-center,
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.is-hidden {
    display: none !important;
}

.discord-btn {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;
    border-radius: 999px;

    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    border: none;
    cursor: pointer;

    box-shadow: 0 0 10px rgba(88, 101, 242, 0.4);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

.discord-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(88, 101, 242, 0.8);
    filter: brightness(1.1);
}

.discord-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 8px rgba(88, 101, 242, 0.6);
}

.discord-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    gap: 12px;
}


.nav-center {
    justify-content: center;
}

.nav-left img {
    height: clamp(30px, 5vh, 50px);
}

.nav-center ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav img {
    height: clamp(30px, 5vh, 50px);
    margin-right: auto;
    margin-left: 20px;
}

nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.6);
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}

nav.scrolled::before {
    opacity: 1;
}

nav.scrolled {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: #b04fff;
}

.welcome-cont {
    margin-top: 7vh;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    background-color: rgba(46, 46, 46, 0.715);
    padding-bottom: 1.1vh;
    padding-left: 1vw;
    padding-right: 1vw;
    border-radius: 1vh;
    box-shadow: 0 0 5px #b04fff;
    /* animation: pulse 2s infinite; */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* welcome cont hover */

.welcome-cont:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #f4eef9;
}

.nav-btn {
    color: white;
    padding: clamp(4px, 0.5vh, 8px) clamp(10px, 1vw, 16px);
    text-align: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin: 0 5px;
    border-radius: 0.2rem;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}


.nav-btn:hover {
    background-color: #86e1ff;
    /* glow */
    box-shadow: 0 0 10px #86e1ff;
}

.nav-btn.active {
    /* background-color: #ff4ff3; */
    border: #ff4ff3 2px solid;
    box-shadow: 0 0 5px #b04fff;
    animation: pulse 2s infinite;
}

/* pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 5px #b04fff;
    }

    50% {
        box-shadow: 0 0 20px #b04fff;
    }

    100% {
        box-shadow: 0 0 5px #b04fff;
    }
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.25;
    }

    50% {
        opacity: 1;
    }
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 5px #b04fff;
    }

    50% {
        text-shadow: 0 0 20px #b04fff;
    }
}

.map-frame {
    position: relative;
    width: 80%;
    height: 80vh;
    border: none;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.about-page {
    display: flex;
    justify-content: center;
    padding: 6vh 4vw;
}

.about-container {
    max-width: 900px;
    background: rgba(20, 20, 30, 0.65);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 0 15px rgba(176, 79, 255, 0.4);
}

.about-container h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    text-shadow: 0 0 12px #b04fff;
}

.about-container h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #86e1ff;
}

.about-container p {
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 14px;
    color: #e6e6e6;
}

.about-intro {
    font-size: 18px;
    font-weight: 500;
}

.about-footer {
    margin-top: 30px;
    font-style: italic;
    opacity: 0.85;
}

.games-page {
    display: flex;
    justify-content: center;
    padding: 6vh 4vw;
}

.games-container {
    max-width: 900px;
    background: rgba(20, 20, 30, 0.65);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 0 15px rgba(176, 79, 255, 0.4);
}

.games-container h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    text-shadow: 0 0 12px #b04fff;
}

.games-container h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #86e1ff;
}

.games-container p {
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 14px;
    color: #e6e6e6;
}

.games-intro {
    font-size: 18px;
    font-weight: 500;
}

.games-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.games-list li {
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 3px solid #b04fff;
}

.games-footer {
    margin-top: 30px;
    font-style: italic;
    opacity: 0.85;
}

.contact-page {
    display: flex;
    justify-content: center;
    padding: 6vh 4vw;
}

.contact-container {
    max-width: 700px;
    background: rgba(20, 20, 30, 0.65);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 0 15px rgba(176, 79, 255, 0.4);
    text-align: center;
}

.contact-container h1 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 20px;
    text-shadow: 0 0 12px #b04fff;
}

.contact-container p {
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 16px;
    color: #e6e6e6;
}

.contact-link a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-link a:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(88, 101, 242, 0.8);
}

.contact-footer {
    margin-top: 25px;
    font-style: italic;
    opacity: 0.85;
}

