* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background-image: url('../images/bg1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

header {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0px 10px;
    margin-top: 30px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1366px;
    width: 100%;
    border-radius: 24px;
    padding: 18px 32px;
    background: linear-gradient(90deg,
            rgba(11, 11, 11, 0.15) 0%,
            rgba(123, 145, 98, 0.15) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    gap: 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-inner:hover {
    border-color: rgba(165, 255, 110, 0.3);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(165, 255, 110, 0.1);
}

/* Hover для логотипу */
.header-inner>a {
    transition: transform 0.3s ease, filter 0.3s ease;
    display: inline-block;
}

.header-inner>a:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

header nav {
    display: flex;
    gap: 64px;
}

header nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

/* Анімований підкреслення для навігації */
header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #A5FF6E, #7B9162);
    transition: width 0.4s ease;
}

header nav a:hover {
    color: #A5FF6E;
    transform: translateY(-2px);
}

header nav a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    color: white;
}

.vip {
    display: flex;
    align-items: center;
    padding: 0px 24px;
}

/* Hover для VIP іконки */
.vip a {
    transition: transform 0.3s ease, filter 0.3s ease;
    display: inline-block;
}

.vip a:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 12px #A5FF6E);
}

/* Анімація для VIP індикатора */
.vip a span {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.profile {
    display: flex;
    align-items: center;
    padding: 0px 24px;
    border-right: 1px solid #A6A5A5;
    gap: 12px;
    transition: border-color 0.3s ease;
}

.profile:hover {
    border-right-color: rgba(165, 255, 110, 0.5);
}

.profile a {
    color: #FFF;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile a:hover {
    color: #A5FF6E;
    transform: translateX(3px);
}

/* Hover для profile іконки */
.profile a img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.profile a:hover img {
    transform: rotate(10deg) scale(1.1);
    filter: brightness(1.3);
}

footer {
    display: flex;
    width: 100%;
    padding: 0px 64px;
    margin-top: 200px;
}

.footer-inner {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 24px 0px;
    border-top: 1px solid #FFF;
    transition: border-color 0.3s ease;
}

.footer-inner:hover {
    border-top-color: rgba(165, 255, 110, 0.6);
}

/* Hover для футер логотипу */
.footer-inner>img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-inner>img:hover {
    transform: scale(1.08);
    filter: brightness(1.25);
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

/* М'який hover для футер навігації */
.footer-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #A5FF6E;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: #A5FF6E;
    transform: translateY(-2px);
}

.footer-nav a:hover::before {
    width: 100%;
}

.copyright {
    color: #AEAEAE;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    transition: color 0.3s ease;
}

.copyright:hover {
    color: #D0D0D0;
}

/* Бургер */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: transform 0.3s ease;
    position: relative;
}

.burger-btn span {
    width: 28px;
    height: 3px;
    background: #FFF;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.burger-btn:hover {
    transform: scale(1.1);
}

.burger-btn:hover span {
    background: #A5FF6E;
}

/* Анімація бургера в хрестик */
.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: #A5FF6E;
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    background: #A5FF6E;
}

/* Мобільне меню */
.mobile-menu {
    position: fixed;
    top: 83px;
    right: -100%;
    /* Початкова позиція за межами екрану */
    width: 100%;
    height: calc(100vh - 83px);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    background-image: url(../images/bg1.jpg);
    background-size: cover;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 80px 32px 32px 32px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 51px;
    margin-top: 40px;
}

.mobile-nav a {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 125%;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: #A5FF6E;
    transform: translateX(10px);
}

.mobile-nav a.vip-link {
    color: #FFD700;
    /* font-size: 28px; */
    /* margin-top: 24px; */
}

.mobile-nav-top-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-nav a.vip-link:hover {
    color: #FFF;
    text-shadow: 0 0 20px #FFD700;
}

.mobile-menu-footer {
    text-align: center;
    margin-top: auto;
    padding-top: 40px;
}

.mobile-menu-footer p {
    color: #AEAEAE;
    font-size: 12px;
    line-height: 1.5;
}

/* Блокування скролу коли меню відкрите */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
}

@media(max-width:768px) {
    header {
        padding: 0px;
        margin-top: 0px;
    }

    .header-inner {
        border-radius: 0px;
        padding: 22px 20px;
    }

    .burger-btn {
        display: flex;
    }

    .header-right,
    .header-nav {
        display: none;
    }

    footer {
        margin-top: 60px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        padding: 32px 0px 10px 0px;
    }

    .footer-nav {
        margin: 32px auto 48px auto;
    }
}