:root {
    --color-black: #000000;
    --color-white: #ffffff;
}

html {
    font-size: 0.2666666667vw;
}

body {
    background: var(--body-background, var(--color-black));
    font-family: var(--font-main, Arial, sans-serif);
    font-weight: var(--settings-bodyFontWeight, 400);
    font-size: var(--settings-bodyFontSize, 16rem);
    line-height: var(--settings-bodyLineHeight, 1.5);
    color: var(--body-text, var(--color-white));
}

body.lock {
    overflow: hidden;
}

.wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    padding-top: var(--header-height);
}

.main {
    flex: 1 1 auto;
}

.container {
    width: 100%;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--button-background);
    border: 1rem solid var(--button-border);
    box-shadow: 0 0 20rem transparent;
    border-radius: var(--settings-borderRadius);
    font-weight: 700;
    font-size: 20rem;
    line-height: 28rem;
    color: var(--button-text, var(--button-text-color));
    text-align: center;
    padding: 9rem 27rem;
    transition:
        background-color var(--global-transition-duration),
        border-color var(--global-transition-duration),
        box-shadow var(--global-transition-duration),
        color var(--global-transition-duration);
}

.button:not([disabled]) {
    cursor: pointer;
}

.burger-button {
    width: 32rem;
    height: 32rem;
    position: relative;
    cursor: pointer;
}

.burger-button:before,
.burger-button:after,
.burger-button span:before,
.burger-button span:after {
    content: '';
    width: 24rem;
    height: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--burger-button-background);
    border-radius: 2rem;
}

.burger-button:before,
.burger-button:after {
    transition:
        transform calc(var(--global-transition-duration) / 2) calc(var(--global-transition-duration) / 2),
        opacity calc(var(--global-transition-duration) / 2) calc(var(--global-transition-duration) / 2);
    
}

.burger-button:before {
    transform: translate(-50%, calc(-50% - 9rem));
}

.burger-button:after {
    transform: translate(-50%, calc(-50% + 9rem));
}

.burger-button.active:before,
.burger-button.active:after {
    transform: translate(-50%, -50%);
    opacity: 0;
    transition:
        transform calc(var(--global-transition-duration) / 2),
        opacity calc(var(--global-transition-duration) / 2);
}

.burger-button span {
    display: block;
}

.burger-button span:before,
.burger-button span:after {
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: transform calc(var(--global-transition-duration) / 2);
 }

.burger-button.active span:before,
.burger-button.active span:after {
    transition: transform calc(var(--global-transition-duration) / 2) calc(var(--global-transition-duration) / 2);
}

.burger-button.active span:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.burger-button.active span:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.language-switcher {
    width: 100%;
    position: relative;
    font-weight: 600;
    font-size: 14rem;
    line-height: 22rem;
    text-transform: uppercase;
}

.language-switcher__button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    position: relative;
    font-weight: 700;
    font-size: 18rem;
    line-height: 26rem;
    transition: color var(--global-transition-duration);
}

.language-switcher__button:after {
    content: '';
    width: 16rem;
    min-width: 16rem;
    height: 16rem;
    filter: brightness(0) invert(1);
    background: url('../img/icons/chevron-down.svg') center / contain no-repeat;
    transition: transform var(--global-transition-duration);
}

.language-switcher__button:has(.language-switcher__handler:checked):after {
    transform: rotate(180deg);
}

.language-switcher__handler {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
}

.language-switcher__list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    position: absolute;
    top: calc(100% + 10rem);
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    background: var(--header-background);
    border: 1rem solid var(--color-accent);
    border-radius: var(--global-sm-border-radius);
    padding: 5rem 0;
    transition: visibility var(--global-transition-duration), opacity var(--global-transition-duration);
}

.language-switcher:has(.language-switcher__handler:checked) .language-switcher__list {
    visibility: visible;
    opacity: 1;
}
.language-switcher__list a {
    display: block;
    padding: 4rem 20rem;
    transition: color var(--global-transition-duration);
}

.responsive-media {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.responsive-media--square {
    padding-top: 100%;
}

.responsive-media img,
.responsive-media video,
.responsive-media iframe,
.responsive-media canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.responsive-media--contain img,
.responsive-media--contain video {
    object-fit: contain;
}

.divider {
    height: var(--divider-height);
    background-color: var(--divider-background);
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.text-color-white {
    color: var(--color-white);
}

.text-color-black {
    color: var(--color-black);
}

.text-color-primary {
    color: var(--color-primary);
}

.text-color-secondary {
    color: var(--color-secondary);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-uppercase {
    text-transform: uppercase;
}

@media screen and (min-width: 576px) {
    html {
        font-size: 1px;
    }

    .container {
        max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 768px) {
    html {
        font-size: 0.1302083333vw;
    }

    .button {
        width: -moz-fit-content;
        width: fit-content;
        max-width: 100%;
    }
}

@media screen and (min-width: 1024px) and (orientation: landscape) {
    html {
        font-size: 0.0694444444vw;
    }

    .burger-button {
        display: none;
    }
}

@media screen and (min-width: 1440px) and (orientation: landscape) {
    html {
        font-size: 1px;
    }
}

@media (hover: hover) {
    .button:not([disabled]):hover {
        background-color: var(--button-background-hover);
        border-color: var(--button-border-hover);
        box-shadow: 0 0 20rem var(--button-box-shadow-hover);
        color: var(--button-text-hover);
    }

    .language-switcher__button:hover,
    .language-switcher__list a:hover {
        color: var(--color-accent);
    }
}

@media (hover: none) {
    .button:not([disabled]):focus {
        background-color: var(--button-background-hover);
        border-color: var(--button-border-hover);
        box-shadow: 0 0 20rem var(--button-box-shadow-hover);
        color: var(--button-text-hover);
    }

    .language-switcher__button:focus,
    .language-switcher__list a:focus {
        color: var(--color-accent);
    }
}

/* ===== PLAY EXPERIENCE SECTION ===== */
.play-experience-section {
    background: #000;
    padding: 100px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.play-experience-section .section-header h2 {
    font-family: var(--heading-font-family, var(--font-main));
    font-weight: 700;
    font-size: 28rem;
    line-height: 36rem;
    margin-bottom: 24rem;
    color: var(--content-text, var(--color-white));
    text-align: center;
}

.play-experience-section .section-header p {
    color: #aaa;
    font-size: 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.experience-card {
    background: #111;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.experience-card:hover {
    border-color: #ff2e2e;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 46, 46, 0.2);
}

.experience-icon {
    font-size: 56px;
    color: #ff2e2e;
    margin-bottom: 25px;
}

.experience-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.experience-card p {
    color: #aaa;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* ===== HIGHLIGHTS SECTION ===== */
.highlights-section {
    background: #111;
    padding: 100px 0;
}

.highlights-section h2 {
    font-family: var(--heading-font-family, var(--font-main));
    font-weight: 700;
    font-size: 28rem;
    line-height: 36rem;
    margin-bottom: 24rem;
    color: var(--content-text, var(--color-white));
}

.highlights-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.highlight-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.highlight-card.featured {
    border: 2px solid #ff2e2e;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.highlight-card:hover {
    border-color: #ff2e2e;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 46, 46, 0.15);
}

.highlight-badge {
    background: #ff2e2e;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.highlight-card.featured h3 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.highlight-card.featured p {
    color: #aaa;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.highlight-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.highlight-stats .stat {
    text-align: center;
}

.highlight-stats .number {
    display: block;
    font-size: 32px;
    color: #ff2e2e;
    font-weight: 700;
    line-height: 1;
}

.highlight-stats .label {
    display: block;
    color: #aaa;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.highlight-secondary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.highlight-card h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-card p {
    color: #aaa;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* Красные акценты для других элементов */
.hero-badge {
    background: #ff2e2e;
    color: #fff;
}

.feature-number {
    color: #ff2e2e;
}

.button {
    background: #ff2e2e;
    color: #fff;
    border: none;
}

.button:hover {
    background: #ff4d4d;
    box-shadow: 0 10px 25px rgba(255, 46, 46, 0.3);
}

.stat-number {
    color: #ff2e2e;
}

.feature-icon {
    color: #ff2e2e;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .highlights-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .highlight-main,
    .highlight-secondary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .play-experience-section,
    .highlights-section {
        padding: 70px 0;
    }
    
    .play-experience-section .section-header h2,
    .highlights-section .section-header h2 {
        font-size: 36px;
        padding: 0 20px;
    }
    
    .play-experience-section .section-header p,
    .highlights-section .section-header p {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 25px;
    }
    
    .experience-card {
        padding: 30px 20px;
    }
    
    .highlight-card.featured h3 {
        font-size: 28px;
    }
    
    .highlight-stats {
        gap: 20px;
    }
    
    .highlight-stats .number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .play-experience-section,
    .highlights-section {
        padding: 60px 0;
    }
    
    .play-experience-section .section-header h2,
    .highlights-section .section-header h2 {
        font-size: 32px;
    }
    
    .play-experience-section .section-header p,
    .highlights-section .section-header p {
        font-size: 16px;
    }
    
    .experience-icon {
        font-size: 48px;
    }
    
    .experience-card h3 {
        font-size: 22px;
    }
    
    .highlight-card.featured h3 {
        font-size: 24px;
    }
    
    .highlight-stats {
        flex-direction: column;
        gap: 15px;
    }
}