/*
======================
    MENU CONTAINER
======================
*/
.menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 70%;
    min-height: 90px;
    margin: 20px auto;
    padding: 10px 30px;
    background-color: #03096D;
    border-radius: 50px;
    box-shadow:
        0 0 20px 20px rgba(25, 25, 112, 0.7),
        0 0 40px 30px rgba(138, 43, 226, 0.7);
}

.menu-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

/*
============
    LOGO
============
*/
.menu-logo img {
    max-width: 160px;
    height: auto;
    display: block;
}

/*
================
    NAV LIST
================
*/
.menu-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.menu-link,
.submenu-link {
    display: block;
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    box-shadow: 0 0 12px 4px rgba(174, 23, 185, 0.4);
}

.menu-link:hover,
.menu-link:focus,
.submenu-link:hover {
    background-color: #7904A8;
    outline: none;
    color: #FFF;
}

/*
================
    DROPDOWN
================
*/
.menu-dropdown {
    position: relative;
}

.menu-dropdown .menu-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background-color: #10178D;
    z-index: 1000;
    min-width: 200px;
    list-style: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 23, 141, 0.4);
}

.menu-dropdown:hover .menu-submenu,
.menu-dropdown:focus-within .menu-submenu {
    display: block;
}

.menu-submenu li a {
    display: block;
    color: #FFF;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(121, 4, 168, 0.4);
    transition: background-color 0.2s ease;
}

.menu-submenu li:last-child a {
    border-bottom: none;
}

.menu-submenu li a:hover {
    background-color: #7904A8;
}

/*
======================
    SOCIAL BUTTONS
======================
*/
.social-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.social-label {
    color: #FFF;
    font-size: 14px;
    white-space: nowrap;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.social-btn:hover {
    transform: scale(1.15);
    opacity: 0.9;
    color: #FFF;
}

.fb-btn {
    background-color: #0866FF;
}

.discord-btn {
    background-color: #5662F6;
}

/*
========================
    FOOTER CONTAINER
========================
*/
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 70%;
    margin: 20px auto 0;
    padding: 20px 20px 40px;
    border-top: 2px solid rgba(121, 4, 168, 0.4);
    position: relative;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-info {
    width: 60%;
    font-size: 16px;
    color: #10178D;
    text-align: right;
    font-weight: bold;
    line-height: 1.8;
}

.footer-info span {
    color: #9E32C8;
    font-weight: bold;
}

.footer-info a {
    color: #9E32C8;
}

.footer-info a:hover {
    color: #7904A8;
}

.footer-info .copyright {
    font-size: 18px;
    font-family: Arial, sans-serif;
    color: #10178D;
    margin-right: 4px;
}

/*
===================
    BACK TO TOP
===================
*/
.back-to-top {
    position: fixed;
    bottom: 36px;
    right: 28px;
    background-color: #10178D;
    color: #9E32C8;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-decoration: none;
    animation: pulsate 1.8s infinite ease-in-out;
    transition: background-color 0.2s ease;
}

.back-to-top:hover {
    background-color: #7904A8;
    color: #FFF;
    animation: none;
}

.back-to-top svg {
    stroke: currentColor;
}

@keyframes pulsate {
    0% { box-shadow: 0 0 6px 2px rgba(16, 23, 141, 0.6); }
    50% { box-shadow: 0 0 16px 6px rgba(121, 4, 168, 0.8); }
    100% { box-shadow: 0 0 6px 2px rgba(16, 23, 141, 0.6); }
}


/*
================================
    RESPONSIVE - SMALL PHONE
================================
*/
@media only screen and (max-width: 480px) {
    .menu-container {
        max-width: 100%;
        border-radius: 0;
        margin: 0;
        padding: 10px;
        min-height: unset;
    }

    .menu-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .menu-list {
        flex-wrap: wrap;
        gap: 4px;
    }

    .menu-logo img {
        max-width: 100px;
    }

    .menu-link,
    .submenu-link {
        font-size: 12px;
        padding: 5px 8px;
    }

    .social-buttons {
        justify-content: flex-start;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
        padding: 12px 10px 30px;
    }

    .footer-logo,
    .footer-info {
        width: 100%;
        text-align: center;
    }

    .footer-info {
        font-size: 13px;
        margin-top: 12px;
    }
}

/*
===========================
    RESPONSIVE - MOBILE
===========================
*/
@media only screen and (max-width: 768px) {
    .menu-container {
        max-width: 100%;
        border-radius: 0;
        margin: 0;
        padding: 10px 15px;
        min-height: unset;
        flex-wrap: wrap;
    }

    .menu-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .menu-list {
        flex-wrap: wrap;
        gap: 6px;
    }

    .menu-logo img {
        max-width: 120px;
    }

    .menu-link,
    .submenu-link {
        font-size: 13px;
        padding: 6px 10px;
    }

    .social-buttons {
        justify-content: flex-start;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
        padding: 16px 10px 40px;
    }

    .footer-logo,
    .footer-info {
        width: 100%;
        text-align: center;
    }

    .footer-info {
        font-size: 14px;
        margin-top: 16px;
    }
}

/*
===========================
    RESPONSIVE - TABLET
===========================
*/
@media (min-width: 769px) and (max-width: 1024px) {
    .menu-container {
        max-width: 100%;
        border-radius: 0;
        margin: 0;
        padding: 10px 20px;
        min-height: unset;
        flex-wrap: wrap;
    }

    .menu-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .menu-list {
        flex-wrap: wrap;
        gap: 6px;
    }

    .menu-logo img {
        max-width: 140px;
    }

    .menu-link,
    .submenu-link {
        font-size: 14px;
        padding: 7px 12px;
    }

    .social-buttons {
        justify-content: flex-start;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
    }

    .footer-logo,
    .footer-info {
        width: 100%;
        text-align: center;
    }

    .footer-info {
        margin-top: 20px;
    }
}