/* Global Variables */
:root {
    --gray-100: #F5F5F5;
    --gray-200: #E9EAEB;
    --gray-500: #717680;
    --gray-600: #535862;
    --white: #FFF;
}

/* --------------------------------------
   HEADER
-------------------------------------- */
.header {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 80px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-bottom: 1px solid var(--gray-100);
    background: var(--white);
    box-sizing: border-box;
    position: fixed;
    z-index: 10;
}

.header-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 0 32px;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

/* Navigation */
.nav-content {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 80px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    height: 80px;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 80px;
}

/* Unified Button Styles (Nav & Auth) */
.nav-button,
.auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin: 10px 0;
    padding: 0 18px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid transparent;
    background: none;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-600, #535862);
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}

    .nav-button:hover,
    .auth-button:hover {
        color: #000;
    }

.login-button {
    border: none;
}

.sign-up-button {
    background: #4DC24D;
    border: 1px solid #4DC24D;
    color: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
}

    .sign-up-button:hover {
        background: #3BA33B;
        border-color: #3BA33B;
    }

/* Dropdown Menu */
.dropdown-menu {
    background: var(--white);
    border: 1px solid var(--gray-100);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--gray-600, #535862);
    text-decoration: none;
    padding: 10px 18px;
    transition: color 0.3s ease;
}

    .dropdown-item:hover {
        color: #000;
        background: var(--gray-100);
    }

/* Mobile Toggler & Responsive Header */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
        padding: 0 16px;
        height: 80px;
        overflow: hidden;
    }

    .logo img {
        max-width: 70px;
    }

    .navbar-toggler {
        display: block;
    }

    .nav-content {
        flex-grow: 1;
        overflow-x: auto;
    }

    .auth-buttons {
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    #navbarNav {
        display: flex !important;
        height: auto !important;
        overflow: visible !important;
    }

    .navbar-toggler {
        display: none !important;
    }
}

/* Landscape mode: shrink nav/auth buttons & logo to avoid overflow */
@media (orientation: landscape) and (max-width: 1024px) {
    .nav-button,
    .auth-button {
        height: 50px;
        margin: 5px 0;
        padding: 0 12px;
        font-size: 14px; /* Slightly smaller text */
    }

    .logo img {
        max-width: 60px; /* Smaller logo in landscape */
    }
}

/* Logo & Icon Resizing */
.logo img {
    max-width: 100px;
    height: auto;
    object-fit: contain;
}

/* Global Banner Styles */
.banner {
    width: 100%;
    max-width: 100%;
    height: 531px; /* Default height in portrait */
    flex-shrink: 0;
    border-bottom: 2.5px solid #EAEAEA;
    background-image: url('https://fantasy-tribes-llc.useast01.umbraco.io/media/ae2j2ydp/homepagebackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
}

/* Landscape mode: let banner fill more vertical space */
@media (orientation: landscape) {
    .banner {
        height: 80vh; /* Adjust as desired */
    }
}


/* --------------------------------------
   FOOTER (PC Layout)
-------------------------------------- */
.footer {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 64px 0 48px 0;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    background: var(--white);
}

.footer-container {
    display: flex;
    width: 1236px; /* Same as home content on PC */
    max-width: 100%;
    padding: 0 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    justify-content: flex-start;
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 384px;
}

    .footer-column h4 {
        font-family: Inter, sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: var(--gray-600);
        margin-bottom: 12px;
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-column li {
        margin-bottom: 8px;
    }

    .footer-column a {
        font-family: Inter, sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        color: var(--gray-600);
        text-decoration: none;
    }

        .footer-column a:hover {
            color: var(--gray-500);
        }

.footer-divider {
    height: 1px;
    align-self: stretch;
    background: var(--gray-200);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    width: 100%;
}

.footer-text {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--gray-500);
    white-space: nowrap;
}

/* Footer Button Hover */
.footer-button:hover {
    color: #000;
}

/* Footer Buttons Container */
.footer-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
}

.footer-button {
    display: flex;
    width: 100%;
    padding: 8px 0;
    justify-content: flex-start;
    align-items: center;
    border-radius: 8px;
    border: none;
    background: none;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--gray-600, #535862);
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: left;
}

/* --------------------------------------
   FOOTER on Mobile (Vertical Mode)
-------------------------------------- */
@media (max-width: 768px) {
    /* Keep columns side-by-side instead of stacking */
    .footer-links {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap; /* wrap if space is too narrow */
        gap: 24px;
        justify-content: center;
    }

    .footer-column {
        max-width: 200px; /* smaller columns so they fit side by side */
    }
}

/* 
   If you want to reduce columns further in portrait, 
   you can tweak .footer-column { max-width: XXXpx; } 
   or remove wrap so it horizontally scrolls.
*/