body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b1e3b;
    color: white;
    padding-top: 80px;
    padding-bottom: 100px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    overflow-y: scroll;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #091831;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

/* 🍔 Hide hamburger by default (desktop only) */
.hamburger {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* 📱 Mobile layout */
@media (max-width: 768px) {

    /* Side drawer nav */
    nav {
        position: fixed;
        top: 0;
        right: -250px;
        /* hidden off screen */
        width: 250px;
        height: 100%;
        background: #091831;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1rem;
        transition: right 0.3s ease-in-out;
        /* smooth slide */
        z-index: 1500;
    }

    nav a {
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav.active {
        right: 0;
        /* slides into view */
    }

    /* Hamburger always visible on mobile */
    .hamburger {
        display: block;
        z-index: 1600;
        /* above nav */
        cursor: pointer;
    }

    .hamburger i {
        transition: transform 0.3s ease;
    }

    .hamburger.open i {
        content: "\f00d";
        /* FontAwesome "X" */
        transform: rotate(180deg);
    }

}


@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    section {
        padding: 2rem 1rem;
    }
}


header h1 {
    margin: 0;
    font-size: 1.8rem;
}

nav a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

section {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
    box-sizing: border-box;
    scroll-snap-type: y proximity;
    scroll-snap-align: start;
    scroll-margin-top: 80px;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.filter-bar input,
.filter-bar select {
    flex: 1;
    min-width: 180px;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.job-card {
    background: #1f2b44;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(77, 121, 255, 0.3);
    transition: transform 0.3s ease;
    text-align: left;
}

.job-card:hover {
    transform: scale(1.03);
}

.job-card h3 {
    margin: 0 0 0.5rem;
    color: #4d9dfd;
}

.job-card p {
    margin: 0.3rem 0;
    color: #ddd;
}

.button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #1f51ff, #4d79ff);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    max-width: 250px;
    text-align: center;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #4d79ff;
}

.scroll-button {
    display: inline-block;
    margin-top: 2rem;
    font-size: 2rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 0.5rem 0.7rem;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
}

.scroll-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(5px);
}

.careers {
    padding: 2rem;
    color: white;
}

.company-dropdown {
    margin-top: 1.5rem;
    border: 1px solid #444;
    border-radius: 8px;
    background: #1a1a1a;
}

.dropdown-toggle {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-toggle:hover {
    background: #222;
}

.dropdown-content {
    display: none;
    padding: 1rem;
    border-top: 1px solid #333;
}

.job-card {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* 🎯 Universal Reset for Inputs */
input,
textarea,
select,
button {
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    border: none;
    outline: none;
}

/* 🏷️ Labels */
label {
    display: block;
    margin-bottom: 0.4rem;
    color: #cdd7f2;
    font-weight: 600;
}

/* ✍️ Text Inputs & Textareas */
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #1f2b44;
    color: #ffffff;
    border: 1px solid #2f3e60;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    transition: border 0.3s, box-shadow 0.3s;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #4d79ff;
    box-shadow: 0 0 0 3px rgba(77, 121, 255, 0.3);
}

/* 🧾 Placeholder Text */
input::placeholder,
textarea::placeholder {
    color: #a3adc7;
}

/* 📤 Submit Button (matches your existing style) */
button[type="submit"],
.apply-btn {
    background: linear-gradient(135deg, #1f51ff, #4d79ff);
    color: white;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

button[type="submit"]:hover,
.apply-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #4d79ff;
}

/* ☠️ Error Text (Optional) */
.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: -0.8rem;
    margin-bottom: 1rem;
}

/* ✅ Success Highlight (Optional) */
input.success,
textarea.success {
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}


.job-date {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.3rem;
}

.tab-container {
    margin-top: 2rem;
    background: #1c2b45;
    border-radius: 15px;
    padding: 1rem;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.tab-button {
    background: #2a2a2a;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: #3b3b3b;
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg, #4d79ff, #1f51ff);
    color: #fff;
    box-shadow: 0 0 10px #1f51ff;
}

.tab-content {
    display: none;
    padding: 1rem;
    border-radius: 10px;
    background: #12284a;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    background-color: #12284a;
    padding: 1rem;
    border-radius: 20px;
    max-width: 300px;
    width: 90%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.info-block {
    background-color: rgba(255, 255, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-block i {
    margin-right: 10px;
    font-size: 1.5em;
}


.game-card:hover {
    transform: scale(1.03);
}

.game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.game-card h3 {
    margin: 10px;
    font-size: 1.2em;
}

.game-card p {
    margin: 10px;
    color: #555;
}


.apply-btn {
    margin-top: 0.8rem;
    background: #4f9cf0;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.apply-btn:hover {
    background: #327fd3;
}


.games-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.alert-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffcc00cc;
    color: #000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1500;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    cursor: default;
}

.alert-banner i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.alert-banner button {
    background: none;
    border: none;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    line-height: 1;
}


.game-card {
    background-color: #12284a;
    padding: 1rem;
    border-radius: 20px;
    max-width: 300px;
    width: 90%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

img:hover {
    transform: scale(1.03);
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

html {
    scroll-behavior: smooth;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background-color: #12284a;
    padding: 1.5rem;
    border-radius: 20px;
    width: 250px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: scale(1.05);
}

.team-card img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1rem;
}