/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* VIDEO BACKGROUND */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

/* OVERLAY */
.overlay {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: rgba(0, 0, 20, 0.55);
}

/* TOP BAR */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

/* HEADER */
header h1 {
    color: #4da3ff;
    font-size: 22px;
    text-shadow: 0 0 15px #1e6fff;
}

/* NAVBAR */
.navbar ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.navbar a:hover {
    color: #4da3ff;
}

/* HAMBURGER MENU (hidden by default) */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* MAIN LAYOUT */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
    flex-wrap: wrap;
    text-align: center;
}

/* BIGGER SECTIONS */
section {
    width: 500px;
    min-height: 420px;
    padding: 35px;
    border-radius: 22px;
    background: rgba(0, 20, 60, 0.35);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(77, 163, 255, 0.3);
    color: white;
    transition: 0.3s;
}

section:hover {
    transform: scale(1.02);
}

/* HEADINGS */
section h2 {
    color: #4da3ff;
    margin-bottom: 15px;
}

/* PARAGRAPH */
section p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* JOIN BUTTON */
#b1 {
    margin-top: 25px;
    padding: 12px;
    width: 160px;
    border: none;
    border-radius: 10px;
    background: #1e6fff;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#b1:hover {
    background: #4da3ff;
    transform: scale(1.05);
}

/* INPUTS */
.authentication input {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
}

.authentication input:focus {
    outline: none;
    box-shadow: 0 0 10px #4da3ff;
}

/* BUTTONS */
.b2 {
    width: 45%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
    border: none;
    background: #1e6fff;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.b2:hover {
    background: #4da3ff;
    transform: scale(1.05);
}

/* ICONS */
.icon {
    margin-top: 15px;
}

.icon a {
    color: #4da3ff;
    margin-right: 10px;
    font-size: 20px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    color: #4da3ff;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    /* SHOW HAMBURGER */
    .menu-toggle {
        display: block;
    }

    /* HIDE NAV BY DEFAULT */
    .navbar ul {
        display: none;
        flex-direction: column;
        background: rgba(0,0,40,0.9);
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 15px;
        border-radius: 10px;
    }

    /* WHEN ACTIVE (JS TOGGLE) */
    .navbar ul.show {
        display: flex;
    }

    .top-bar {
        flex-direction: row;
        justify-content: space-between;
    }

    main {
        flex-direction: column;
        padding: 40px 10px;
    }

    section {
        width: 90%;
    }
}