:root {
    --color-bg-header: #ffffff;
    --color-text-dark: #000000;
    --color-text-light: #ffffff;
    --color-border-light: rgba(0,0,0,0.08);
    --color-accent-orange: #d6001c;
    --color-accent-yellow: #f7c600;
    --color-deep-green: #8c0014;
    --color-footer-orange: #c40018;
    --font-main: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body.page-body {
    font-family: var(--font-main);
    margin: 0;
    background-color: #000;
    color: var(--color-text-dark);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.header-wrapper {
    width: 100%;
    background-color: var(--color-bg-header);
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-dark);
    position: relative;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 24px;
    row-gap: 12px;
}

.header-left {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 260px;
    column-gap: 16px;
}

.mmo-brand {
    display: flex;
    align-items: center;
}

.mmo-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.header-brand-text {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    text-transform: uppercase;
}

.header-brand-text .brand-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .04em;
}

.header-brand-text .brand-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: #b00019;
    letter-spacing: .06em;
}

.header-tour-logos {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.tour-logo {
    height: 10px;
    width: auto;
    object-fit: contain;
}

.header-dates {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: #d1007d;
    text-transform: uppercase;
}

.header-dates .dates-line {
    white-space: nowrap;
}

.header-dates .dates-year {
    color: #000;
    font-weight: 600;
    margin-top: 4px;
}

.header-nav {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    row-gap: 12px;
    column-gap: 16px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-text-dark);
}

.nav-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    row-gap: 12px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    column-gap: 4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    color: #000;
}

.nav-link .chevron {
    font-size: 10px;
    line-height: 1;
}

.nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-radius: 4px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    row-gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .15s ease;
    z-index: 2000;
}

.dropdown-link {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: #000;
    padding: 8px 12px;
    white-space: nowrap;
    text-decoration: none;
    display: block;
}

.dropdown-link:hover {
    background: rgba(0,0,0,0.05);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    background-color: #fff;
    color: #000;
}

.header-cta .cta-icon {
    font-size: 14px;
    line-height: 1;
}

.header-cta.highlight {
    border-color: var(--color-accent-orange);
    background-color: var(--color-accent-orange);
    color: #fff;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 32px;
    border-radius: 999px;
    padding: 0 10px;
    border: 1px solid var(--color-border-light);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    background-color: #fff;
}

.auth-block {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    color: #000;
    min-width: 140px;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 4px;
}

.auth-links a {
    color: #000;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
}

.account-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.account-trigger {
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    display: inline-flex;
    align-items: center;
    column-gap: 4px;
    cursor: pointer;
    padding: 0;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-radius: 4px;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    z-index: 3000;
}

.account-menu:hover .account-dropdown {
    display: flex;
}

.account-dropdown .dropdown-link {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: #000;
    padding: 8px 12px;
    white-space: nowrap;
}

.account-dropdown .dropdown-link:hover {
    background: rgba(0,0,0,0.05);
}

.dropdown-separator {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 4px 0;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    background-color: #000;
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.radio-headphones {
    font-size: 14px;
    line-height: 1;
}

.radio-text {
    line-height: 1.2;
}

.footer-top {
    background-color: var(--color-footer-orange);
    color: #fff;
    padding: 40px 16px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 40px;
    row-gap: 24px;
}

.footer-logo-col {
    flex: 0 0 auto;
    min-width: 200px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-big-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    filter: none;
}

.footer-links-grid {
    flex: 1 1 auto;
    min-width: 240px;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr));
    column-gap: 40px;
    row-gap: 24px;
}

.footer-col-title {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    border-left: 2px solid rgba(255,255,255,.6);
    padding-left: 12px;
    letter-spacing: .05em;
}

.footer-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-link {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: #fff;
    color: #000;
    font-size: 12px;
    line-height: 1.4;
    border-top: 1px solid rgba(0,0,0,.1);
}

.footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 16px;
}

.footer-bottom-text {
    margin: 0;
    font-weight: 500;
}

.modal-toast-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}
.modal-toast-backdrop.show{ display: flex; }

.modal-toast{
    width: min(420px, 90vw);
    background: #fff;
    color: #111;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    transform: scale(.96) translateY(8px);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    padding: 24px;
    text-align: center;
}
.modal-toast.show{
    opacity: 1;
    transform: scale(1) translateY(0);
}

.modal-toast-icon{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-deep-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 28px;
    margin: 8px auto 12px;
}

.modal-toast-title{
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 6px;
    letter-spacing: .01em;
}

.modal-toast-text{
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    color: #333;
}

.modal-toast-btn{
    appearance: none;
    border: 0;
    background: var(--color-deep-green);
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 12px;
    }

    .nav-group {
        flex-wrap: wrap;
        row-gap: 8px;
        column-gap: 16px;
    }

    .lang-pill {
        order: 3;
        margin-top: 8px;
    }

    .auth-block {
        order: 4;
        align-items: flex-start;
    }

    .footer-inner {
        flex-wrap: wrap;
        column-gap: 24px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(auto-fit,minmax(min(200px,100%),1fr));
        column-gap: 24px;
    }

    .footer-col-title {
        border-left: none;
        padding-left: 0;
    }
}
