/* Mobile Header Styles */
.header {
    width: 100%;
    height: 6.625rem; /* 106px */
    display: flex;
    align-items: center;
    padding: 0 2.5%; /* 5% total, 2.5% each side */
    background: #1E1E1E4D;
}

.header__container {
    width: 95%;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
}

.header__logo img {
    width: 235px;
    height: auto;
}

/* Hamburger Menu Button */
.header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.header__hamburger-line {
    width: 1.5rem;
    height: 2px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.header__hamburger.active .header__hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active .header__hamburger-line:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active .header__hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Container */
.header__right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #000000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    padding-top: calc(6.625rem + 2rem); /* Header height (106px) + 32px spacing */
}

.header__right.active {
    opacity: 1;
    visibility: visible;
}

.header__nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem; /* 24px */
    width: 100%;
}

.header__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* 24px */
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__menu-item {
    margin: 0;
}

.header__menu-link {
    font-style: normal;
    font-weight: 400;
    font-size: 1rem; /* 16px */
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header__menu-link:hover {
    opacity: 0.7;
}

/* Button */
.header__button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1.5rem; /* 8px 24px */
    gap: 0.5rem; /* 8px */
    isolation: isolate;
    width: 9rem; /* 144px */
    height: 2.625rem; /* 42px */
    background: rgba(227, 227, 227, 0.5);
    border-radius: 0.5rem; /* 8px */
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    flex: none;
    flex-grow: 0;
}

/* Gradient layers for button */
.header__button::before {
    content: '';
    position: absolute;
    width: 20.736rem; /* 331.78px */
    height: 13.125rem; /* 210px */
    left: -3.818rem; /* -61.09px */
    top: -6.808rem; /* -108.93px */
    background: radial-gradient(ellipse at center, #F2F1F5 0%, transparent 70%);
    filter: blur(0.989rem); /* blur(15.8184px) */
    transform: rotate(11.08deg);
    z-index: 0;
    opacity: 0.6;
}

.header__button::after {
    content: '';
    position: absolute;
    width: 16.054rem; /* 256.87px */
    height: 9.629rem; /* 154.07px */
    left: -1.003rem; /* -16.04px */
    top: -4.163rem; /* -66.6px */
    background: radial-gradient(ellipse at center, #8A38F5 0%, transparent 60%);
    filter: blur(0.329rem); /* blur(5.26218px) */
    transform: rotate(11.08deg);
    z-index: 0;
    opacity: 0.5;
}

.header__button:hover {
    background: rgba(227, 227, 227, 0.6);
}

.header__button-text {
    font-style: normal;
    font-weight: 600;
    font-size: 1rem; /* 16px */
    line-height: 100%;
    text-align: center;
    color: #1E1E1E;
    flex: none;
    order: 1;
    flex-grow: 0;
    z-index: 1;
    position: relative;
}
