@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

* {
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: white;
    overflow: hidden; /* Prevent scrollbars */
    display: flex;
    justify-content: center;
    align-items: center; /* Center everything vertically */

}

/* Video background container */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1; /* Place the video behind everything */
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; /* Ensure video covers the entire screen */
    position: absolute;
    top: 0;
    left: 0;
}

/* Transparent navigation bar */
.container {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: flex-start; /* Align nav items to the left */
    align-items: center;
    background: transparent; /* Make the navbar transparent */
    z-index: 1; /* Ensure content is above the video */
}

/* Remove the logo outline */
.logo img {
    width: 130px;
    padding: 5px;
    border: none !important; /* Ensure no border on the logo */
}

/* Align navigation buttons next to the logo on the left */
nav {
    margin-left: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white; /* Change text color to white */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add black shadow to navbar text */
    text-decoration: none;
    font-size: 20px;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: white; /* Change underline to white */
    left: 0;
    bottom: 0;
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Content box - centered in the screen */
#logincontent {
    width: 90vw;
    max-width: 500px; /* Increased maximum width */
    min-width: 300px; /* Set a minimum width to prevent shrinking too much */
    padding: 40px;
    background: rgba(25, 25, 25, 0.7); /* Semi-transparent background */
    border-radius: 0; /* Remove rounded corners */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: white;
    border: 1px solid white;
    z-index: 2; /* Ensure content is above the video */
    position: relative;
    display: block; /* Ensures it stretches the full width */
    flex-shrink: 0;
}

/* Change green text to white */
#logincontent .label, #logincontent .value, .step span {
    color: white; /* Change any green text to white */
}

/* ===============================
   Modern Button Styles
================================ */
.steamButton,
.discordButton,
.steamGroupButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 80%;
    padding: 16px 32px;
    margin: 12px 0;

    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;

    color: #fff;
    background: linear-gradient(135deg, #2b2b2b, #1c1c1c);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;

    text-decoration: none;
    cursor: pointer;

    transition:
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

/* ===============================
   Hover Effects
================================ */
.steamButton:hover,
.discordButton:hover,
.steamGroupButton:hover {
    background: linear-gradient(135deg, #ffffff, #eaeaea);
    color: #000;

    transform: translateY(-4px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* ===============================
   Active (Click) Effects
================================ */
.steamButton:active,
.discordButton:active,
.steamGroupButton:active {
    transform: translateY(0);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    font-size: 20px;
}

/* ===============================
   Disabled State
================================ */
.steamButton:disabled,
.discordButton:disabled,
.steamGroupButton:disabled {
    background: #1a1a1a;
    color: #777;
    font-size: 20px;

    border-color: rgba(255, 80, 80, 0.6);
    box-shadow: none;

    cursor: not-allowed;
    transform: none;
}

/* ===============================
   Steam Info Panel
================================ */
.steamInfo {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);

    padding: 24px;
    margin-top: 20px;

    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);

    text-align: left;
}

/* Labels */
.steamInfo .label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

/* Values */
.steamInfo .value {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}


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

.step span {
    font-size: 20px;
    margin-bottom: 10px;
    color: white; /* Ensure step labels are white */
}

.avatars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.avatar {
    border-radius: 0; /* Remove rounded corners */
    border: 1px solid white; /* Change avatar borders to white */
    height: 125px;
}

/* Mobile responsiveness */
@media only screen and (max-device-width: 480px) {
    .container {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    #logincontent {
        padding: 30px;
    }

    #logincontent center {
        font-size: 20px;
    }

    .steamButton, .discordButton {
        padding: 10px 20px;
        font-size: 18px;
    }
}
