/* ==========================================
            HEADER — Reserve Club theme
========================================== */

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1400px);
    z-index: 9999;
    transition: top 0.4s ease, width 0.4s ease;
}

.header.scrolled {
    top: 12px;
}

/* ==========================================
            NAVBAR
========================================== */

.navbar {
    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 28px;
    background: rgba(10, 18, 16, 0.55);
    border: 1px solid rgba(184, 115, 51, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 70px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
    background: rgba(8, 16, 13, 0.92);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    border-color: rgba(184, 115, 51, 0.28);
}

.navbar:hover {
    border-color: rgba(184, 115, 51, 0.45);
}

/* ==========================================
            LOGO
========================================== */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 80px;
    z-index: 10001;
    background: transparent;
}

.logo img {
    display: block;
    width: auto;
    max-width: none;
    height: 62px;
    object-fit: contain;
    object-position: left center;
    background: transparent;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 10px rgba(184, 115, 51, 0.35));
}

/* ==========================================
            NAVIGATION
========================================== */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu__cta {
    display: none;
}

.nav-menu li a {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.35s ease;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #b87333;
    transition: width 0.35s ease;
}

.nav-menu li a:hover,
.nav-menu li a:focus-visible {
    color: #b87333;
    outline: none;
}

.nav-menu li a:hover::after,
.nav-menu li a:focus-visible::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a.active {
    color: #b87333;
    font-weight: 600;
}

/* Equipment dropdown */
.nav-item--dropdown {
    position: relative;
}

.nav-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: color 0.35s ease;
}

.nav-dropdown__toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown__toggle:hover,
.nav-dropdown__toggle:focus-visible,
.nav-dropdown__toggle.active,
.nav-item--dropdown.is-open .nav-dropdown__toggle,
.nav-item--dropdown.is-current .nav-dropdown__toggle {
    color: #d4a574;
}

.nav-item--dropdown.is-open .nav-dropdown__toggle i {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    z-index: 10002;
    min-width: 220px;
    margin: 0;
    padding: 12px;
    list-style: none;
    border-radius: 18px;
    border: 1px solid rgba(184, 115, 51, 0.28);
    background: rgba(10, 12, 11, 0.96);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.nav-item--dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown[hidden] {
    display: none;
}

.nav-item--dropdown.is-open .nav-dropdown[hidden] {
    display: block;
}

.nav-dropdown li a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: rgba(245, 240, 233, 0.78);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-dropdown li a::after {
    display: none;
}

.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible,
.nav-dropdown li a.active {
    color: #ffffff;
    background: rgba(184, 115, 51, 0.16);
}

/* ==========================================
            JOIN BUTTON
========================================== */

.join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, #8a5524, #b87333);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 12px 30px rgba(184, 115, 51, 0.4);
}

.join-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-30deg);
    transition: left 0.8s ease;
}

.join-btn:hover::before,
.join-btn:focus-visible::before {
    left: 130%;
}

.join-btn:hover,
.join-btn:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(138, 85, 36, 0.35);
    outline: none;
}

.join-btn i {
    transition: transform 0.35s ease;
}

.join-btn:hover i,
.join-btn:focus-visible i {
    transform: translateX(6px);
}

.join-btn--desktop {
    min-width: 150px;
}

/* ==========================================
            MENU TOGGLE
========================================== */

.menu-toggle {
    width: 48px;
    height: 48px;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10001;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    border-radius: 5px;
    transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease, background 0.35s ease;
    transform-origin: center;
}

.menu-toggle:hover span,
.menu-toggle:focus-visible span {
    background: #b87333;
}

.menu-toggle:focus-visible {
    outline: 2px solid #b87333;
    outline-offset: 4px;
    border-radius: 8px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
            OVERLAY
========================================== */

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(138, 85, 36, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================
            TABLET / LARGE LAPTOP
========================================== */

@media (max-width: 1200px) {
    .nav-menu { gap: 14px; }
    .nav-menu li a { font-size: 13px; }
    .logo img {
        height: 56px;
    }
    .join-btn--desktop {
        padding: 12px 18px;
        min-width: auto;
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .nav-menu { gap: 12px; }
    .nav-menu li a { font-size: 12px; }
}

@media (max-width: 1024px) {
    .header {
        top: 14px;
        width: min(94%, 1400px);
    }

    .navbar {
        min-height: 72px;
        padding: 0 20px;
    }

    .logo {
        min-width: 72px;
    }

    .logo img {
        height: 52px;
    }

    .join-btn--desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 100px 28px 40px;
        margin: 0;
        background: #0a0a0a;
        border-left: 1px solid rgba(184, 115, 51, 0.18);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
        transform: translateX(105%);
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.35s ease,
                    visibility 0.35s ease;
        z-index: 10000;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(8) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(9) { transition-delay: 0.45s; }
    .nav-menu.active li:nth-child(10) { transition-delay: 0.5s; }

    .nav-item--dropdown {
        width: 100%;
    }

    .nav-dropdown__toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 0;
        font-size: 18px;
    }

    .nav-dropdown {
        position: static;
        left: auto;
        top: auto;
        min-width: 0;
        width: 100%;
        margin: 0 0 8px;
        padding: 8px;
        transform: none;
        box-shadow: none;
        background: rgba(184, 115, 51, 0.06);
    }

    .nav-item--dropdown.is-open .nav-dropdown,
    .nav-dropdown:not([hidden]) {
        transform: none;
    }

    .nav-dropdown[hidden] {
        display: none !important;
    }

    .nav-item--dropdown.is-open .nav-dropdown[hidden] {
        display: block !important;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 14px 0;
        font-size: 18px;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-menu li a::after {
        bottom: 12px;
        height: 2px;
    }

    .nav-menu__cta {
        display: block;
        margin-top: 28px;
        border: none;
    }

    .nav-menu__cta .join-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 15px;
    }

    .nav-menu__cta .join-btn::after {
        display: none;
    }
}

/* ==========================================
            MOBILE
========================================== */

@media (max-width: 900px) {
    .header {
        top: 12px;
        width: calc(100% - 24px);
    }

    .header.scrolled { top: 8px; }

    .navbar {
        min-height: 64px;
        padding: 0 14px 0 18px;
        border-radius: 40px;
    }

    .logo { min-width: auto; }
    .logo img {
        height: 48px;
    }
}

@media (max-width: 480px) {
    .header {
        width: calc(100% - 16px);
        top: 10px;
    }

    .navbar {
        min-height: 58px;
        padding: 0 10px 0 14px;
    }

    .logo img {
        height: 44px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .nav-menu {
        width: min(100%, 100vw);
        padding: 90px 22px 32px;
    }

    .nav-menu li a {
        font-size: 17px;
        padding: 12px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header,
    .navbar,
    .nav-menu,
    .nav-menu li,
    .nav-overlay,
    .menu-toggle span,
    .join-btn,
    .logo img,
    .join-modal,
    .join-modal__dialog,
    .join-modal__backdrop,
    .join-field input,
    .join-field select,
    .join-field textarea,
    .join-form__submit {
        transition: none;
    }
}

/* ==========================================
            JOIN NOW MODAL
========================================== */

.join-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.join-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.join-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 20%, rgba(184, 115, 51, 0.18), transparent 60%),
        rgba(8, 8, 8, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.join-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(92vh, 860px);
    overflow: auto;
    border-radius: 28px;
    border: 1px solid rgba(184, 115, 51, 0.28);
    background:
        linear-gradient(145deg, rgba(184, 115, 51, 0.08), transparent 40%),
        linear-gradient(180deg, #171717 0%, #111111 55%, #0c0c0c 100%);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transform: translateY(28px) scale(0.97);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.join-modal.is-open .join-modal__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.join-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.join-modal__close:hover,
.join-modal__close:focus-visible {
    background: rgba(184, 115, 51, 0.2);
    border-color: rgba(184, 115, 51, 0.55);
    color: #b87333;
    outline: none;
}

.join-modal__layout {
    display: grid;
    grid-template-columns: 0.92fr 1.18fr;
    min-height: 520px;
}

.join-modal__aside {
    padding: 42px 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(160deg, rgba(138, 85, 36, 0.22), transparent 55%),
        linear-gradient(180deg, #1b1510 0%, #121212 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.join-modal__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #cfc3b4;
}

.join-modal__eyebrow--accent {
    color: #b87333;
}

.join-modal__aside h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}

.join-modal__aside p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.join-modal__perks {
    list-style: none;
    display: grid;
    gap: 12px;
}

.join-modal__perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #eee;
    font-size: 14px;
    font-weight: 500;
}

.join-modal__perks i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 115, 51, 0.18);
    color: #b87333;
    font-size: 11px;
    flex-shrink: 0;
}

.join-modal__main {
    padding: 42px 36px 36px;
    position: relative;
}

.join-modal__head {
    margin-bottom: 28px;
    padding-right: 36px;
}

.join-modal__head h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #fff;
}

.join-modal__head p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.7;
    max-width: 46ch;
}

.join-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.join-field {
    margin-bottom: 16px;
}

.join-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #cfc3b4;
}

.join-field label span {
    color: #b87333;
}

.join-field input,
.join-field select,
.join-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.join-field textarea {
    resize: vertical;
    min-height: 88px;
}

.join-field input::placeholder,
.join-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.join-field input:hover,
.join-field select:hover,
.join-field textarea:hover {
    border-color: rgba(184, 115, 51, 0.35);
}

.join-field input:focus,
.join-field select:focus,
.join-field textarea:focus {
    border-color: #b87333;
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.18);
    background: rgba(184, 115, 51, 0.06);
}

.join-field.is-invalid input,
.join-field.is-invalid select,
.join-field.is-invalid textarea {
    border-color: #d45d5d;
    box-shadow: 0 0 0 3px rgba(212, 93, 93, 0.15);
}

.join-field.is-valid input,
.join-field.is-valid select {
    border-color: rgba(184, 115, 51, 0.7);
}

.join-select-wrap {
    position: relative;
}

.join-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    cursor: pointer;
}

.join-select-wrap select option {
    background: #1a1a1a;
    color: #fff;
}

.join-select-wrap i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b87333;
    pointer-events: none;
    font-size: 12px;
}

.join-field__error {
    display: block;
    min-height: 16px;
    margin-top: 6px;
    font-size: 12px;
    color: #ff8f8f;
    opacity: 0;
    transform: translateY(-2px);
    transition: 0.2s ease;
}

.join-field.is-invalid .join-field__error {
    opacity: 1;
    transform: translateY(0);
}

.join-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.join-form__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 280px;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.48);
}

.join-form__note i {
    color: #b87333;
    margin-top: 2px;
}

.join-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 230px;
    padding: 15px 24px;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, #8a5524, #b87333);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(184, 115, 51, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.join-form__submit:hover,
.join-form__submit:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(138, 85, 36, 0.4);
    outline: none;
}

.join-form__submit i {
    transition: transform 0.3s ease;
}

.join-form__submit:hover i,
.join-form__submit:focus-visible i {
    transform: translateX(5px);
}

.join-form__submit.is-loading {
    pointer-events: none;
    opacity: 0.75;
}

.join-form__submit--ghost {
    background: transparent;
    border: 1px solid rgba(184, 115, 51, 0.45);
    color: #b87333;
    box-shadow: none;
    min-width: 140px;
}

.join-form__submit--ghost:hover,
.join-form__submit--ghost:focus-visible {
    background: rgba(184, 115, 51, 0.12);
    box-shadow: none;
}

.join-form__server-error {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(212, 93, 93, 0.35);
    background: rgba(212, 93, 93, 0.12);
    color: #ffb4b4;
    font-size: 13px;
    line-height: 1.5;
}

.join-success {
    text-align: center;
    padding: 48px 20px 20px;
}

.join-success__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(138, 85, 36, 0.35), rgba(184, 115, 51, 0.25));
    border: 1px solid rgba(184, 115, 51, 0.45);
    color: #b87333;
    font-size: 28px;
    animation: joinSuccessPop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.join-success h3 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    margin-bottom: 12px;
    color: #fff;
}

.join-success p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.7;
    max-width: 40ch;
    margin: 0 auto 28px;
}

@keyframes joinSuccessPop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

body.join-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .join-modal__layout {
        grid-template-columns: 1fr;
    }

    .join-modal__aside {
        display: none;
    }

    .join-modal__main {
        padding: 36px 22px 24px;
    }

    .join-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .join-form__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .join-form__note {
        max-width: none;
        order: 2;
    }

    .join-form__submit {
        width: 100%;
        min-width: 0;
        order: 1;
    }
}

@media (max-width: 520px) {
    .join-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .join-modal__dialog {
        border-radius: 24px 24px 18px 18px;
        max-height: 94vh;
    }

    .join-modal__head h2 {
        font-size: 26px;
    }
}

