:root {
    --color-background: #120E1F;
    --color-surface: #1E1A31;
    --color-primary: #A020F0;
    --color-secondary: #00F5D4;
    --color-gold: #FFD700;
    --color-text-primary: #EDE7F6;
    --color-text-secondary: #B39DDB;
    --font-family-base: 'Poppins', sans-serif;
    --header-height: 70px;
    --container-width: 1100px;
    --container-padding: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body { background-color: var(--color-background); color: var(--color-text-primary); font-family: var(--font-family-base); font-size: 1.6rem; line-height: 1.7; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
body
{
    height: 100vh;
    display: flex;
    flex-direction: column;
}
main
{
    flex-grow: 1;
}
h1, h2, h3, h4 { line-height: 1.3; font-weight: 600; }
a { text-decoration: none; color: var(--color-secondary); }
img { max-width: 100%; height: auto; display: block; }
button { border: none; cursor: pointer; background: none; color: inherit; font-family: inherit; }

.container { max-width: calc(var(--container-width) + var(--container-padding) * 2); margin: 0 auto; padding: 0 var(--container-padding); }
.section { padding: 8rem 0; position: relative; }
.section-title { font-size: 3.6rem; text-align: center; margin-bottom: 4rem; color: #fff; }

.header { position: sticky; top: 0; z-index: 1000; height: var(--header-height); display: flex; align-items: center; background-color: rgba(18, 14, 31, 0.8); backdrop-filter: blur(10px); }
.header__container { display: flex; justify-content: space-between; align-items: center; }
.header__logo-img { height: 40px; }
.header__nav { display: flex; align-items: center; gap: 3rem; }
.header__menu { display: flex; gap: 3rem; }
.header__link { font-weight: 500; transition: color 0.2s ease; }
.header__link:hover { color: var(--color-secondary); }
.header__cta { background-image: linear-gradient(45deg, var(--color-primary), var(--color-secondary)); color: #fff; padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.header__cta:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0, 245, 212, 0.3); }
.header__burger { display: none; }

.app-hero { padding-top: 5rem; padding-bottom: 12rem; background-color: var(--color-surface); clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.app-hero__grid { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: center; }
.app-hero__icon { width: 120px; height: 120px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.app-hero__title { font-size: 4.8rem; font-weight: 700; color: #fff; }
.app-hero__developer { font-size: 1.8rem; color: var(--color-secondary); font-weight: 500; }
.app-hero__stats { display: flex; gap: 4rem; margin-top: 2rem; }
.app-hero__stat-value { font-size: 1.8rem; font-weight: 600; color: #fff; }
.app-hero__stat-label { font-size: 1.4rem; color: var(--color-text-secondary); }
.app-hero__stat-value--rating { color: var(--color-gold); }

.media-section {
    margin-top: -8rem;
    overflow: hidden;
}
.media-section .swiper-container {
    overflow: visible;
    padding: 2rem 0;
}
.media-section .swiper-slide {
    width: 80%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}
.media-section .swiper-slide:hover {
    transform: scale(1.03);
}
.media-section__item {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.about { padding-top: 10rem; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about__title { font-size: 2.8rem; margin-bottom: 1.5rem; color: #fff; }
.about__text { color: var(--color-text-secondary); }
.about__list { list-style-type: '✓'; color: var(--color-secondary); padding-left: 2rem; margin-top: 2rem; }
.about__list li { padding-left: 1rem; margin-bottom: 0.5rem; color: var(--color-text-primary); }

.angled-section { background-color: var(--color-surface); clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%); }
.highlights__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.highlights__card { background: linear-gradient(145deg, #2a2546, #1e1a31); border: 1px solid #3a335d; padding: 3rem; border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.highlights__card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(160, 32, 240, 0.2); }
.highlights__title { font-size: 2rem; color: var(--color-secondary); margin-bottom: 1rem; }
.highlights__text { color: var(--color-text-secondary); }

.reviews-preview__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
.reviews-preview__summary-score { font-size: 6rem; font-weight: 700; color: var(--color-gold); }
.reviews-preview__summary-count { color: var(--color-text-secondary); }
.reviews-preview__item { border-bottom: 1px solid #3a335d; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.reviews-preview__item:last-child { border-bottom: none; }
.reviews-preview__item-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1rem; }
.reviews-preview__item-avatar { width: 40px; height: 40px; border-radius: 50%; }
.reviews-preview__item-author { font-weight: 600; color: #fff; }
.reviews-preview__item-rating { color: var(--color-gold); }
.reviews-preview__see-all-btn { display: inline-block; width: 100%; text-align: center; padding: 1.5rem; border: 2px solid var(--color-primary); color: #fff; border-radius: 50px; font-weight: 600; margin-top: 2rem; transition: background-color 0.3s ease, color 0.3s ease; }
.reviews-preview__see-all-btn:hover { background-color: var(--color-primary); }

.app-footer { background-color: var(--color-surface); padding: 4rem 0; text-align: center; margin-top: 8rem; clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }
.app-footer__nav { display: flex; justify-content: center; gap: 3rem; margin-bottom: 2rem; }

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.strategy-card {
    text-align: center;
    padding: 2.5rem;
}

.strategy-card__icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.strategy-card__title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.strategy-card__text {
    font-size: 1.4rem;
    color: var(--color-text-secondary);
}

.challenges__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.challenges__card {
    background-color: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.challenges__card:hover {
    transform: translateY(-5px);
}

.challenges__card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.challenges__card-content {
    padding: 2rem;
}

.challenges__card-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.challenges__card-text {
    color: var(--color-text-secondary);
}

.play-on-pc {
    background: linear-gradient(145deg, #2a2546, #1e1a31);
    border-radius: 12px;
    padding: 4rem;
}

.play-on-pc__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.play-on-pc__list {
    list-style-type: none;
    padding-left: 0;
}

.play-on-pc__list li {
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.play-on-pc__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 600;
}

.play-on-pc__requirements-title {
    font-size: 1.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.play-on-pc__requirements-list {
    font-size: 1.4rem;
    color: var(--color-text-secondary);
    list-style: none;
    padding-left: 0;
}
.play-on-pc__requirements-list li {
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .play-on-pc__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .about__grid, .highlights__grid, .reviews-preview__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header__nav { display: none; }
    .header__burger { display: block; }
    .app-hero__grid { grid-template-columns: 1fr; text-align: center; }
    .app-hero__icon { margin: 0 auto 2rem; }
    .app-hero__stats { justify-content: center; flex-direction: column;}
    .app-hero__title { font-size: 3.6rem; }
    .app-hero { clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
    .angled-section { clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); }
}

.whats-new {
    border: 1px solid #3a335d;
    background-color: var(--color-surface);
    padding: 3rem;
    border-radius: 12px;
}
.whats-new__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.whats-new__version {
    color: var(--color-text-secondary);
}
.whats-new__list {
    list-style-type: none;
    padding-left: 0;
}
.whats-new__item {
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1rem;
}
.whats-new__item::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.monsters {
    overflow: hidden;
}
.monsters .swiper-container {
    padding: 2rem 0;
}
.monster-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, #2a2546, #1e1a31);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease;
}
.monster-card:hover {
    transform: scale(1.05);
}
.monster-card__image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}
.monster-card__name {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
}

.faq {
    max-width: 800px;
    margin: 0 auto;
}
.faq__item {
    background-color: var(--color-surface);
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: border-left-color 0.3s ease;
}
.faq__item.is-active {
    border-left-color: var(--color-secondary);
}
.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    font-size: 1.8rem;
    font-weight: 500;
    text-align: left;
}
.faq__icon {
    transition: transform 0.3s ease;
    font-size: 2rem;
    color: var(--color-secondary);
}
.faq__item.is-active .faq__icon {
    transform: rotate(45deg);
}
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq__answer-content {
    padding: 0 2rem 2rem;
    color: var(--color-text-secondary);
}

.text-page {
    padding: 4rem 0;
}
.text-page__title {
    font-size: 3.6rem;
    color: #fff;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #3a335d;
}
.text-page__section-title {
    font-size: 2.2rem;
    color: var(--color-secondary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.text-page p, .text-page li {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}
.text-page ul {
    list-style: disc;
    padding-left: 2rem;
}

.reviews-page__grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
}
.reviews-page__filters {
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.reviews-page__filter-btn {
    padding: 0.8rem 2rem;
    border: 1px solid #3a335d;
    border-radius: 50px;
    color: var(--color-text-secondary);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.reviews-page__filter-btn.is-active {
    background-color: var(--color-secondary);
    color: var(--color-background);
    border-color: var(--color-secondary);
}
.reviews-page__list .reviews-preview__item.is-hidden {
    display: none;
}
.reviews-page__load-more-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    border: 2px solid var(--color-primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 3rem;
    transition: background-color 0.3s ease;
}
.reviews-page__load-more-btn:hover {
    background-color: var(--color-primary);
}
.reviews-page__load-more-btn.is-hidden {
    display: none;
}

.featured-reviews {
    background-color: var(--color-surface);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}
.featured-reviews__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.featured-review-card {
    background: linear-gradient(145deg, #2a2546, #1e1a31);
    border: 1px solid #3a335d;
    padding: 3rem;
    border-radius: 12px;
}
.featured-review-card__title {
    font-size: 2rem;
    margin-bottom: 2rem;
}
.featured-review-card__title--positive { color: var(--color-secondary); }
.featured-review-card__title--critical { color: #FF5252; }

.cta-section {
    text-align: center;
    background: linear-gradient(45deg, rgba(160, 32, 240, 0.2), transparent);
    padding: 6rem 2rem;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .reviews-page__grid, .featured-reviews__grid {
        grid-template-columns: 1fr;
    }
}

.header__burger {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 101;
}

.header__burger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header__burger-line:nth-child(1) {
    top: 0;
}

.header__burger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.header__burger-line:nth-child(3) {
    bottom: 0;
}

.header__burger.is-active .header__burger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.header__burger.is-active .header__burger-line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 768px) {
    .header__burger {
        display: block;
    }

    .header__nav {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-surface);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4rem;
        transition: left 0.4s ease-in-out;
        gap: 4rem;
    }

    .header__nav.is-active {
        left: 0;
    }

    .header__menu {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .header__link {
        font-size: 2.4rem;
    }
}

.score-breakdown__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.score-breakdown__card {
    background: linear-gradient(145deg, #2a2546, #1e1a31);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
}
.score-breakdown__card-title {
    font-size: 1.6rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}
.score-breakdown__card-score {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.themes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.theme-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: 8px;
}
.theme-card__icon {
    font-size: 3rem;
}
.theme-card__title {
    font-size: 1.6rem;
    font-weight: 500;
}
.theme-card--positive .theme-card__icon {
    color: var(--color-secondary);
}
.theme-card--negative .theme-card__icon {
    color: #FF5252;
}

.dev-response {
    display: flex;
    gap: 3rem;
    background-color: var(--color-surface);
    padding: 3rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-secondary);
}
.dev-response__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dev-response__title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
}
.dev-response__text {
    color: var(--color-text-secondary);
}
.dev-response__author {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .dev-response {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}