/* ============================================
   HERO SECTION - Epic Fantasy Design
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    max-width: none;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    padding-top: 40px;
    min-height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    background: transparent !important;
    overflow-x: hidden;
    overflow-y: visible !important;
    position: relative;
    box-sizing: border-box;
}

.hero::after {
    content: none !important;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    min-width: 0;
    flex: 0 1 auto;
    height: auto;
    min-height: auto;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    padding: clamp(1rem, 4vh, 3rem) 0 clamp(1rem, 4vh, 2rem);
}

.hero-left,
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    position: relative;
    z-index: 3;
    min-height: 0;
    background: transparent;
    box-sizing: border-box;
}
.hero-left {
    align-self: stretch;
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    padding: 60px 52px 40px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
    animation: slideInLeft 0.8s ease-out;
}
.hero-right {
    align-self: stretch;
    grid-column: 2 / 3;
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.hero-title {
    line-height: 1.04;
    font-weight: 900;
    margin-bottom: 1.4rem;
    color: transparent;
    background: linear-gradient(110deg, #fff5c8 0%, #f8d78d 30%, #ffd47b 62%, #d9ad5f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 16px 48px rgba(15, 12, 9, 0.42), 0 0 22px rgba(255, 232, 180, 0.18);
    letter-spacing: -0.05em;
    font-family: 'Georgia', serif;
    word-break: break-word;
    max-width: 100%;
    text-align: center;
    position: relative;
    padding-bottom: 0.8rem;
}
.hero-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    margin: 24px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 215, 125, 0.9), rgba(255, 255, 255, 0.8));
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.65;
    margin: 0.4rem auto 0.5rem;
    max-width: 720px;
    color: #fbedc5;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-shadow: 0 8px 32px rgba(255, 247, 206, 0.18);
    text-align: center;
    position: relative;
}
.hero-subtitle::after {
    content: none;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.95;
    margin: 0 auto;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
    letter-spacing: 0.015em;
    font-family: Inter, Arial, Helvetica, sans-serif;
    text-align: center;
    padding-top: 0.8rem;
    position: relative;
    grid-column: 1 / -1;
}
.hero-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 216, 129, 0.85));
    border-radius: 999px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 68px 18px 24px 18px;
}
.hero-card-frame {
    position: relative;
    width: min(100%, 700px);
    height: auto;
    max-width: 700px;
    max-height: 525px;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    background: transparent !important;
    border: 2px solid rgba(255, 216, 129, 0.35);
    padding: 0;
    box-shadow: 0 56px 140px rgba(0, 0, 0, 0.72),
                inset 0 2px 10px rgba(255, 255, 255, 0.08),
                0 0 100px rgba(201, 169, 97, 0.12);
    overflow: hidden;
    animation: slideInRight 0.8s ease-out;
    backdrop-filter: blur(3px);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.hero-card-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none !important;
    border-radius: 30px;
    pointer-events: none;
    z-index: 1;
}

.hero-card-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    display: block;
    position: relative;
    z-index: 0;
}

.hero-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 640px;
    margin: 1rem 0 0;
    gap: 0.75rem;
    padding: 0;
    position: relative;
    z-index: 3;
    flex-wrap: wrap;
    background: transparent;
}

.btn-hero-primary {
    padding: 14px 34px;
    font-size: 0.92rem;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(255, 216, 129, 0.28);
    background: linear-gradient(135deg, #ffe39c 0%, #f6c55f 100%);
    color: #1a1511;
    letter-spacing: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #ffdd99 0%, #ffd866 100%);
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(255, 216, 129, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-secondary {
    padding: 14px 34px;
    font-size: 0.92rem;
    font-weight: 700;
    border: 2px solid rgba(255, 216, 129, 0.6);
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.08);
    color: #ffd881;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(255, 216, 129, 0.2);
    letter-spacing: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 216, 129, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffecb3;
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(255, 216, 129, 0.35), inset 0 1px 3px rgba(255, 255, 255, 0.2);
    color: #ffecb3;
}

.btn-hero-secondary:hover::after {
    opacity: 1;
}

.purchase-block {
    scroll-margin-top: calc(var(--header-h, 64px) + 16px);
}

.btn-hero-tertiary {
    padding: 14px 34px;
    font-size: 0.92rem;
    font-weight: 700;
    border: 2px solid rgba(255, 216, 129, 0.7);
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    background: rgba(201, 169, 97, 0.08);
    color: #ffd881;
    box-shadow: 0 8px 24px rgba(255, 216, 129, 0.2);
    letter-spacing: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-tertiary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 216, 129, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-hero-tertiary:hover {
    background: rgba(201, 169, 97, 0.18);
    border-color: #ffecb3;
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(255, 216, 129, 0.35);
    color: #ffecb3;
}

.btn-hero-tertiary:hover::before {
    opacity: 1;
}

/* Responsive */
@media (max-width: 767px) {
    .hero {
        padding-top: clamp(50px, 6vh, 70px);
        max-height: none;
    }

    .hero-title {
        font-size: 3.2rem;
        max-width: 600px;
    }

    .hero-subtitle {
        font-size: 3.2rem;
    }

    .hero-left {
        padding: clamp(30px, 4vh, 50px) clamp(30px, 4vw, 40px) clamp(30px, 4vh, 40px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .hero-right {
        padding: clamp(60px, 8vh, 88px) clamp(30px, 4vw, 50px) clamp(30px, 4vh, 50px) clamp(20px, 3vw, 30px);
    }

    .hero-card-frame {
        max-width: 480px;
        max-height: clamp(300px, 50vh, 360px);
    }

    .hero-buttons-container {
        padding: 0 clamp(30px, 4vw, 40px) clamp(30px, 4vh, 50px) clamp(30px, 4vw, 40px);
        gap: 1.6rem;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 0;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 40px;
    }

    .hero-left {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: auto;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .hero-right {
        padding: 40px 0 0 0;
        justify-content: center;
        min-height: auto;
        background: none;
    }

    .hero-title {
        font-size: 3.2rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 3.2rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-card-frame {
        max-width: clamp(300px, 60vw, 420px);
        max-height: clamp(250px, 50vh, 315px);
    }

    .hero-buttons-container {
        padding: 0 clamp(30px, 4vw, 40px) clamp(30px, 4vh, 50px) clamp(30px, 4vw, 40px);
        gap: 1.2rem;
        flex-wrap: wrap;
        margin-top: 0.8rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 60px;
        min-height: auto;
    }

    .hero-content-wrapper {
        gap: 30px;
    }

    .hero-left {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .hero-title {
        font-size: 2.4rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-card-frame {
        max-width: 360px;
        max-height: 270px;
    }

    .hero-buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 0 20px 50px 20px;
        width: 100%;
        margin-top: 0.6rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        min-width: 180px;
        justify-content: center;
        padding: 12px 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 50px;
    }

    .hero-content-wrapper {
        padding: 30px 15px;
        gap: 25px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .hero-card-frame {
        max-width: 280px;
        max-height: 210px;
        border: 2px solid rgba(255, 216, 129, 0.35);
    }

    .hero-buttons-container {
        padding: 10px 12px 40px 12px;
        gap: 0.6rem;
        flex-direction: column;
        margin-top: 0.4rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        padding: 12px 28px;
        font-size: 0.85rem;
        min-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    body.page-home .hero-content-wrapper {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        grid-template-rows: auto;
        gap: clamp(1.25rem, 2.5vw, 2rem);
        align-items: center;
    }

    body.page-home .hero-left,
    body.page-home .hero-right {
        display: flex !important;
    }

    body.page-home .hero-left {
        align-items: flex-start;
        text-align: left;
        padding: clamp(1rem, 2.5vw, 2rem) clamp(0.75rem, 2vw, 1.25rem);
        gap: clamp(0.85rem, 1.5vw, 1.25rem);
    }

    body.page-home .hero-right {
        padding: clamp(0.75rem, 2vw, 1.25rem);
    }

    body.page-home .hero-title {
        text-align: left;
        font-size: clamp(2rem, 4.5vw, 2.85rem);
        line-height: 1.08;
        word-break: normal;
        overflow-wrap: normal;
    }

    body.page-home .hero-title::after {
        margin-left: 0;
        margin-right: auto;
    }

    body.page-home .hero-subtitle,
    body.page-home .hero-description {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    body.page-home .hero-description::before {
        left: 0;
        transform: none;
    }

    body.page-home .hero-card-frame {
        width: min(100%, 420px);
        max-height: 380px;
    }

    body.page-home .hero-buttons-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem 0.6rem;
        width: 100%;
        max-width: 100%;
        justify-items: stretch;
    }

    body.page-home .hero-buttons-container .btn {
        width: 100%;
        min-width: 0;
        padding: 0.7rem 0.85rem;
        font-size: clamp(0.72rem, 1.4vw, 0.82rem);
        white-space: nowrap;
    }

    body.page-home .hero-buttons-container .btn:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 72px;
        min-height: auto;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        align-items: stretch;
        justify-items: center;
        gap: clamp(1.25rem, 4vw, 2.4rem);
        padding: clamp(2rem, 4vw, 3rem) 1rem 2rem;
    }

    .hero-left {
        padding: 0;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: min(100%, 720px);
    }

    .hero-left .hero-title {
        font-size: clamp(3rem, 8vw, 4rem);
    }

    .hero-left .hero-subtitle {
        font-size: clamp(3rem, 8vw, 4rem);
        margin-top: 0.6rem;
    }

    .hero-right {
        width: min(100%, 420px);
        padding: 0;
    }

    .hero-card-frame {
        width: min(100%, 420px);
        max-width: 100%;
        max-height: 360px;
        aspect-ratio: 16 / 9;
    }

    .hero-description {
        width: min(100%, 720px);
        margin: 0 auto;
        font-size: clamp(0.95rem, 1.9vw, 1rem);
        line-height: 1.75;
        padding: 0 0.25rem;
    }

    .hero-buttons-container {
        margin-top: 1.8rem;
        width: 100%;
        justify-content: center;
        gap: 0.9rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        min-width: min(100%, 260px);
        width: auto;
    }

    body:not([data-site-layout="game"]) .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: clamp(0.75rem, 2.5vw, 1rem);
        padding: 0 0.5rem;
    }

    body:not([data-site-layout="game"]) .nav-link {
        white-space: normal;
        text-align: center;
        padding: 0.35rem 0.5rem;
    }

    .feature-grid,
    .game-flow .flow-grid,
    .box-grid,
    .reviews-grid,
    .hero-list .hero-grid,
    .purchase-layout,
    .purchase-body,
    .catacombs-card,
    .catacombs-details {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .game-flow .flow-grid,
    .box-grid,
    .reviews-grid,
    .hero-list .hero-grid {
        gap: clamp(1rem, 3vw, 1.5rem);
    }

    .feature-card,
    .flow-step,
    .box-item,
    .review-card,
    .hero-card {
        padding: clamp(1.2rem, 2vw, 1.6rem);
    }

    .purchase-body {
        padding: 1.3rem;
    }

    .purchase-gallery {
        min-height: 240px;
    }

    .purchase-copy {
        padding: 0;
    }

    .audience-strip {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 767px) {
    .hero {
        max-height: none;
        min-height: auto;
        padding-top: clamp(30px, 5vh, 60px);
        overflow: visible !important;
    }

    /* Переупорядочивание элементов на мобильных */
    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        padding: clamp(0.8rem, 3vh, 2rem) clamp(0.5rem, 5vw, 0.9rem) clamp(0.8rem, 3vh, 1.5rem);
        gap: clamp(0.8rem, 2vh, 1.5rem);
        align-items: stretch;
        height: auto;
        flex: none;
    }

    /* Делаем дети hero-left и hero-right прямыми детьми wrapper для переупорядочивания */
    .hero-left,
    .hero-right {
        display: contents;
    }

    /* Порядок элементов на мобильных:
       1. Заголовок
       2. Фотография
       3. Подзаголовок
       4. Описание
       5. Кнопки
    */
    .hero-title {
        order: 1 !important;
        margin-bottom: clamp(1.4rem, 3vh, 2.2rem) !important;
        font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
        width: 100%;
        text-align: center;
    }

    .hero-card-frame {
        order: 2 !important;
        aspect-ratio: 16 / 9;
        max-width: 100%;
        max-height: clamp(180px, 40vh, 420px);
        min-height: 180px;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .hero-subtitle {
        order: 3 !important;
        margin-top: clamp(0.8rem, 2vh, 1.2rem) !important;
        margin-bottom: clamp(0.4rem, 1.5vh, 0.8rem) !important;
        font-size: clamp(0.7rem, 2.8vw, 0.95rem) !important;
        width: 100%;
        text-align: center;
        line-height: 1.3;
    }

    .hero-description {
        order: 4 !important;
        margin-top: 0 !important;
        margin-bottom: clamp(0.1rem, 1vh, 0.3rem) !important;
        width: 100%;
        text-align: center;
        padding-top: clamp(0.4rem, 1vh, 0.8rem);
        font-size: 0.8rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-buttons-container {
        order: 5 !important;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: clamp(0.3rem, 1vw, 0.5rem);
        margin-top: 0;
        padding: clamp(0.3rem, 1vh, 0.5rem) 0;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        min-width: 0;
        flex: 1 1 auto;
        white-space: nowrap;
        padding: clamp(6px, 1.5vw, 10px) clamp(8px, 2vw, 12px);
        font-size: clamp(0.65rem, 2vw, 0.85rem);
    }

    .feature-grid {
        gap: clamp(0.9rem, 3vw, 1.2rem);
    }

    .feature-card {
        padding: clamp(1rem, 2.5vw, 1.2rem);
        min-height: auto;
    }

    .feature-card h3 {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        line-height: 1.3;
    }

    .feature-card p {
        font-size: clamp(0.88rem, 2.5vw, 1rem);
        line-height: 1.5;
    }
}

@media (max-width: 540px) {
    .hero {
        padding-top: clamp(35px, 4vh, 60px);
        max-height: none;
    }

    .hero-content-wrapper {
        padding: clamp(1rem, 2.5vh, 1.4rem) clamp(0.6rem, 4vw, 0.8rem) clamp(1rem, 2.5vh, 1.4rem);
        gap: clamp(0.9rem, 2vh, 1.3rem);
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.1rem) !important;
        margin-bottom: clamp(1.8rem, 3.5vh, 2rem) !important;
    }

    .hero-subtitle {
        font-size: clamp(0.65rem, 3vw, 0.9rem) !important;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.75;
        padding: clamp(0.4rem, 1vh, 0.8rem) clamp(0.1rem, 2vw, 0.2rem) 0;
        margin-bottom: clamp(0.1rem, 1vh, 0.2rem);
        word-wrap: break-word;
    }

    .hero-card-frame {
        aspect-ratio: 16 / 9;
        max-height: clamp(200px, 35vh, 360px);
        min-height: 200px;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        padding: clamp(8px, 1.5vw, 10px) clamp(10px, 2vw, 12px);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content-wrapper {
        padding: clamp(1rem, 2.3vh, 1.3rem) clamp(0.6rem, 4vw, 0.75rem) clamp(1rem, 2.3vh, 1.3rem);
        gap: clamp(0.9rem, 1.8vh, 1.2rem);
    }

    .hero {
        padding-top: clamp(40px, 4.5vh, 55px);
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7.5vw, 2rem) !important;
        margin-bottom: clamp(1.7rem, 3.2vh, 1.9rem) !important;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: clamp(0.64rem, 2.9vw, 0.87rem) !important;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.88rem;
        line-height: 1.75;
        padding: 0 clamp(0.1rem, 2vw, 0.2rem);
        margin-bottom: clamp(0.1rem, 1vh, 0.15rem);
        word-wrap: break-word;
    }

    .hero-card-frame {
        max-height: clamp(200px, 35vh, 350px);
        min-height: 200px;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        padding: clamp(8px, 1.4vw, 9px) clamp(10px, 1.8vw, 11px);
        font-size: 0.85rem;
    }
}

@media (max-width: 425px) {
    .hero-content-wrapper {
        padding: clamp(0.9rem, 2.2vh, 1.2rem) clamp(0.6rem, 4vw, 0.7rem) clamp(0.9rem, 2.2vh, 1.2rem);
        gap: clamp(0.9rem, 1.8vh, 1.15rem);
    }

    .hero-title {
        font-size: clamp(1.4rem, 8vw, 1.9rem) !important;
        margin-bottom: clamp(1.6rem, 3vh, 1.8rem) !important;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: clamp(0.62rem, 3vw, 0.85rem) !important;
        line-height: 1.3;
    }

    .hero-card-frame {
        max-height: clamp(200px, 32vh, 340px);
        min-height: 200px;
        width: 100%;
    }

    .hero-description {
        padding-top: clamp(0.4rem, 1vh, 0.8rem);
        margin-bottom: clamp(0.05rem, 0.8vh, 0.1rem);
    }

    .hero-buttons-container {
        gap: clamp(0.2rem, 1vw, 0.35rem);
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        padding: clamp(7px, 1.3vw, 8px) clamp(8px, 1.7vw, 10px);
        font-size: 0.8rem;
    }
}

@media (max-width: 375px) {
    .hero-content-wrapper {
        padding: clamp(0.8rem, 2vh, 1rem) clamp(0.5rem, 3vw, 0.65rem) clamp(0.8rem, 2vh, 1rem);
        gap: clamp(0.8rem, 1.6vh, 1rem);
    }

    .hero-title {
        font-size: clamp(1.2rem, 9vw, 1.6rem) !important;
        margin-bottom: clamp(1.4rem, 2.8vh, 1.6rem) !important;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: clamp(0.6rem, 3.2vw, 0.8rem) !important;
        line-height: 1.3;
        margin-bottom: clamp(0.4rem, 1.2vh, 0.6rem) !important;
    }

    .hero-buttons-container {
        gap: clamp(0.2rem, 0.8vw, 0.3rem);
        margin-top: clamp(0, 0.5vh, 0.2rem);
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        padding: clamp(6px, 1.2vw, 7px) clamp(7px, 1.5vw, 8px);
        font-size: 0.7rem;
    }
}

@media (max-width: 320px) {
    .hero-content-wrapper {
        padding: clamp(0.7rem, 1.8vh, 0.9rem) clamp(0.4rem, 3vw, 0.5rem) clamp(0.7rem, 1.8vh, 0.9rem);
        gap: clamp(0.7rem, 1.5vh, 0.9rem);
    }

    .hero-title {
        font-size: clamp(1.1rem, 11vw, 1.4rem) !important;
        margin-bottom: clamp(1.2rem, 2.5vh, 1.4rem) !important;
        line-height: 1.1;
        padding-bottom: clamp(0.3rem, 0.8vh, 0.4rem);
    }

    .hero-title::after {
        width: 60px;
        margin: clamp(8px, 1.5vh, 12px) auto 0;
    }

    .hero-subtitle {
        font-size: clamp(0.75rem, 5.25vw, 0.9rem) !important;
        margin-bottom: clamp(0.3rem, 1vh, 0.45rem) !important;
        line-height: 1.3;
    }

    .hero-description {
        font-size: clamp(0.75rem, 5.25vw, 0.9rem) !important;
        line-height: 1.4;
        padding: clamp(0.2rem, 0.8vh, 0.3rem) clamp(0.2rem, 2vw, 0.3rem) 0;
        margin-bottom: clamp(0.1rem, 0.8vh, 0.2rem);
    }

    .hero-card-frame {
        max-height: clamp(180px, 25vh, 280px);
        min-height: 160px;
        margin: 0 auto;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        font-size: clamp(0.6rem, 1.8vw, 0.65rem);
        padding: clamp(5px, 1vw, 6px) clamp(5px, 1.3vw, 6px);
    }
}

@media (max-width: 280px) {
    .hero-content-wrapper {
        padding: clamp(0.6rem, 1.5vh, 0.8rem) clamp(0.3rem, 2vw, 0.4rem) clamp(0.6rem, 1.5vh, 0.8rem);
        gap: clamp(0.6rem, 1.3vh, 0.8rem);
    }

    .hero {
        padding-top: clamp(25px, 3vh, 35px);
    }

    .hero-title {
        font-size: clamp(1rem, 12vw, 1.2rem) !important;
        margin-bottom: clamp(1rem, 2.2vh, 1.2rem) !important;
        padding-bottom: clamp(0.2rem, 0.6vh, 0.3rem);
        line-height: 1.1;
    }

    .hero-title::after {
        width: 50px;
        height: 1px;
        margin: clamp(6px, 1.2vh, 10px) auto 0;
    }

    .hero-subtitle {
        margin-top: clamp(0.4rem, 1vh, 0.6rem) !important;
        margin-bottom: clamp(0.2rem, 0.7vh, 0.3rem) !important;
        font-size: clamp(0.7rem, 4vw, 0.8rem);
        line-height: 1.2;
    }

    .hero-description {
        padding-top: clamp(0.2rem, 0.8vh, 0.3rem);
        padding-bottom: clamp(0.2rem, 0.8vh, 0.3rem);
        font-size: clamp(0.65rem, 1.8vw, 0.75rem);
        line-height: 1.2;
    }

    .hero-card-frame {
        max-height: clamp(150px, 20vh, 200px);
        min-height: 130px;
        border-radius: 10px;
    }

    .hero-buttons-container {
        gap: clamp(0.1rem, 0.5vw, 0.2rem);
        margin-bottom: clamp(0.3rem, 1vh, 0.5rem);
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-tertiary {
        font-size: clamp(0.55rem, 1.5vw, 0.6rem);
        padding: clamp(4px, 0.8vw, 5px) clamp(4px, 1vw, 5px);
    }
}

.section {
    padding: 120px 0;
}

.hero + .section {
    padding-top: clamp(160px, 14vw, 220px);
}

body.page-home {
    background-color: #0f0e0b;
    background-image: linear-gradient(180deg,
        rgba(251, 219, 128, 0.95) 0%,
        rgba(234, 188, 85, 0.82) 14%,
        rgba(197, 141, 61, 0.72) 26%,
        rgba(124, 79, 30, 0.58) 42%,
        rgba(46, 31, 18, 0.42) 62%,
        rgba(15, 14, 11, 0.98) 88%,
        #0f0e0b 100%
    );
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: scroll;
    background-size: 100% 100vh;
}

body.page-home .main-content {
    background: transparent !important;
}

.game-flow {
    margin-top: clamp(100px, 10vw, 180px);
}

body.page-home .main-content > .hero,
body.page-home .hero,
.main-content > .hero {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

body.page-home .hero::before,
body.page-home .hero::after,
.hero::before,
.hero::after {
    content: none !important;
    background: none !important;
}

.hero-content-wrapper,
.hero-left,
.hero-right {
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.04;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.section-header.section-header--small h2 {
    font-size: clamp(1.54rem, 2.8vw, 2.52rem);
}

.section-header p:not(.eyebrow) {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.game-flow .flow-grid,
.box-grid,
.reviews-grid,
.contact-buttons {
    display: grid;
    gap: 1.5rem;
}


.feature-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.feature-card {
    position: relative;
    overflow: hidden;
    padding: 1.8rem;
    min-height: 210px;
    border-radius: 2rem;
    border: 1px solid rgba(201, 169, 97, 0.12);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.06), rgba(166, 124, 82, 0.02));
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 1rem;
    transition: opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1), transform 1.25s cubic-bezier(0.22, 1, 0.36, 1), filter 1.25s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
    pointer-events: none;
}

.feature-card h3 {
    margin-bottom: 0;
    color: #fff;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.game-flow .flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-step {
    border-radius: 1.75rem;
    padding: 1.8rem;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), rgba(166, 124, 82, 0.015));
    border: 1px solid rgba(201, 169, 97, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 0.75rem;
    transition: opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1), transform 1.25s cubic-bezier(0.22, 1, 0.36, 1), filter 1.25s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.flow-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01), transparent);
    border-radius: 1.75rem;
    pointer-events: none;
}

.flow-step {
    position: relative;
}

.flow-step strong {
    color: var(--primary-color);
    font-size: 1.3rem;
    line-height: 1;
}

.flow-step h3 {
    margin-bottom: 0;
    color: #fff;
    font-size: 1.1rem;
}

.flow-step p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.98rem;
    margin-bottom: 0;
}

.feature-card.reveal-hidden,
.flow-step.reveal-hidden,
.box-item.reveal-hidden,
.review-card.reveal-hidden {
    opacity: 0;
    transform: translateY(24px) scale(0.99);
    filter: blur(2px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card.reveal-hidden.revealed,
.flow-step.reveal-hidden.revealed,
.box-item.reveal-hidden.revealed,
.review-card.reveal-hidden.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.hero-list .hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
    margin-top: 1.5rem;
}

.hero-card {
    border-radius: 1.8rem;
    overflow: hidden;
    background: rgba(22, 18, 15, 0.75);
    border: 1px solid rgba(255, 221, 140, 0.16);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
    display: grid;
    gap: clamp(0.5rem, 1.5vw, 0.85rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.35s ease;
    will-change: transform, opacity;
    min-width: 0;
    padding: clamp(0.6rem, 1.5vw, 0.8rem);
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.hero-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 0.78;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(201, 169, 97, 0.15));
}

.hero-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-meta {
    display: grid;
    gap: clamp(0.25rem, 1vw, 0.35rem);
    padding: 0 0 0.2rem 0;
    min-width: 0;
}

.hero-card-title {
    font-size: clamp(0.8rem, 2.2vw, 0.95rem);
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
    width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.hero-card-subtitle {
    font-size: clamp(0.7rem, 1.8vw, 0.88rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
    width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.hero-card-compact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
    pointer-events: none;
}

.hero-card-compact h3 {
    font-size: 1rem;
    margin-bottom: 0;
    color: #fff;
    position: relative;
    z-index: 1;
}

/* Responsive hero grid layouts */
@media (min-width: 768px) {
    .hero-list .hero-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(0.9rem, 2.5vw, 1.5rem);
    }
    
    .hero-card {
        gap: clamp(0.6rem, 1.8vw, 0.85rem);
    }
    
    .hero-card-title {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }
    
    .hero-card-subtitle {
        font-size: clamp(0.75rem, 2vw, 0.9rem);
    }
}

@media (min-width: 1024px) {
    .hero-list .hero-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: clamp(0.85rem, 1.8vw, 1.5rem);
    }
    
    .hero-card {
        gap: 0.85rem;
    }
    
    .hero-card-title {
        font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    }
    
    .hero-card-subtitle {
        font-size: clamp(0.82rem, 1.3vw, 0.88rem);
    }
}

.hero-card-compact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.catacombs-card {
    display: grid;
    grid-template-columns: minmax(0, min(200px, 22vw)) 1fr;
    gap: 1.5rem;
    padding: 1.8rem 1.8rem 1.6rem;
    border-radius: 2rem;
    border: 1px solid rgba(201, 169, 97, 0.12);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08), rgba(166, 124, 82, 0.03));
    box-shadow: 0 26px 68px rgba(0, 0, 0, 0.18);
    align-items: center;
}

.catacombs-image-frame {
    width: min(100%, 280px);
    max-width: 280px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(201, 169, 97, 0.08));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.18);
}

.catacombs-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.catacombs-card p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.catacombs-card p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.catacombs-card strong {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.catacombs-details {
    display: grid;
    gap: 2rem;
}

.box-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.box-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 223, 129, 0.18);
    background: linear-gradient(180deg, rgba(38, 32, 27, 0.92), rgba(49, 39, 31, 0.76));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    position: relative;
    overflow: hidden;
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 1.1s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    will-change: opacity, transform, filter;
}

.box-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 223, 129, 0.32);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.box-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 217, 132, 0.18), transparent 26%),
        radial-gradient(circle at bottom right, rgba(145, 107, 72, 0.14), transparent 24%);
    pointer-events: none;
}

.box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 1rem;
    background: rgba(255, 236, 191, 0.12);
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.box-item strong {
    font-size: 1.15rem;
    display: block;
    color: #fff;
    position: relative;
    z-index: 1;
    margin-bottom: 0.25rem;
}

.box-item p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

.reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid rgba(201, 169, 97, 0.1);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), rgba(166, 124, 82, 0.015));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
    pointer-events: none;
}

.review-card p {
    color: #f8eed9;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 1;
}

.review-card span {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.audience-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-top: 2rem;
}

.audience-chip {
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 97, 0.1);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.audience-chip:hover {
    background: rgba(201, 169, 97, 0.1);
    border-color: rgba(201, 169, 97, 0.3);
}

.purchase-block {
    padding: 80px 0 120px;
    background: none;
    border-top: none;
    border-bottom: none;
}

.purchase-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
    align-items: stretch;
    margin: 0rem 0 0 0;
    max-width: 1040px;
}

.purchase-body {
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.25rem;
    grid-column: 1 / -1;
    padding: 1.6rem;
    border-radius: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.purchase-gallery {
    position: relative;
    width: 100%;
    min-height: 300px;
    border-radius: 2rem;
    overflow: hidden;
    border: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-gallery img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    padding: 0;
    margin: 0;
}

.purchase-copy {
    display: grid;
    gap: 0.8rem;
    grid-auto-rows: min-content;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    min-height: 300px;
    height: 100%;
    align-self: stretch;
    position: relative;
    padding-left: 0;
    align-items: start;
    justify-items: center;
}

.purchase-copy .btn-add-to-cart {
    width: min(100%, 260px);
    padding: 1rem 1.4rem;
    font-size: 1rem;
    letter-spacing: 0.06em;
    border-radius: 1.5rem;
    box-shadow: 0 14px 32px rgba(201, 169, 97, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.16);
    margin-top: 2.4rem;
}

.price-values {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.price-old {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.price-values strong {
    font-size: clamp(2.8rem, 3.8vw, 4rem);
    color: #f9e6a3;
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.purchase-copy-intro {
    display: grid;
    gap: 0.2rem;
    padding: 0;
    background: none;
    margin: 2rem 0 0;
    border: none;
    border-radius: 0;
}

.purchase-copy-intro span {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    letter-spacing: 0.05em;
    font-size: 1rem;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: block;
    text-align: left;
    margin: 0;
}

.purchase-copy-intro ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.35rem;
    row-gap: 0.55rem;
}


.purchase-copy-intro li {
    position: relative;
    padding-left: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    transition: transform 0.2s ease, color 0.2s ease;
}

.purchase-copy-intro li:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(2px);
}

.purchase-copy-intro li::before {
    content: '▪';
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: 0.7rem;
    color: #f9e6a3;
    font-weight: 900;
}

.purchase-copy .btn-add-to-cart {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 1.2rem;
    box-shadow: 0 12px 28px rgba(201, 169, 97, 0.2);
    background: linear-gradient(135deg, #f7db96 0%, #d4b878 100%);
    color: #1a1612;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.purchase-layout > .btn-add-to-cart {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 1.2rem;
    box-shadow: 0 12px 28px rgba(201, 169, 97, 0.2);
    background: linear-gradient(135deg, #f7db96 0%, #d4b878 100%);
    color: #1a1612;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    grid-row: 2;
    grid-column: 2;
    align-self: start;
    margin-top: 0.85rem;
}

.purchase-copy .btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(201, 169, 97, 0.28);
    filter: saturate(1.08) brightness(1.02);
}

.purchase-layout > .btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(201, 169, 97, 0.28);
    filter: saturate(1.08) brightness(1.02);
}

.purchase-copy .btn-add-to-cart:active {
    transform: translateY(0);
}

.purchase-layout > .btn-add-to-cart:active {
    transform: translateY(0);
}

.price-values {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.price-old {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05rem;
}

.price-values strong {
    font-size: clamp(3rem, 4vw, 4.8rem);
    color: #f7db96;
    line-height: 0.95;
}

.purchase-copy > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.8;
    margin: 0;
    max-width: 42rem;
}

.purchase-copy-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.purchase-copy-features span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
}

.purchase-copy .btn-add-to-cart {
    width: 100%;
    padding: 1.35rem 1.5rem;
    font-size: 1rem;
    border-radius: 1.5rem;
    box-shadow: 0 18px 36px rgba(201, 169, 97, 0.16);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 97, 0.25);
    background: rgba(16, 15, 13, 0.9);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-btn:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: rgba(201, 169, 97, 0.5);
    transform: translateY(-50%) scale(1.08);
}

.product-slider-arrow-left {
    left: 1rem;
}

.product-slider-arrow-right {
    right: 1rem;
}

.slider-counter {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(16, 15, 13, 0.8);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 97, 0.15);
}

.purchase-copy {
    display: grid;
    gap: 0;
    grid-auto-rows: min-content;
    padding: 0;
}

.purchase-body .purchase-copy {
    gap: 0;
    padding: 0;
}

.purchase-body .purchase-copy-intro {
    margin-top: 2rem;
    gap: 0.15rem;
}

.purchase-body .purchase-copy-intro ul {
    gap: 0.45rem 0.35rem;
    row-gap: 0.6rem;
}

.price-values {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.price-note {
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255, 235, 180, 0.95);
    opacity: 0.94;
    margin-left: 0.25rem;
    line-height: 1.1;
}

.price-old {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.price-values strong {
    font-size: clamp(2.8rem, 3.8vw, 4rem);
    color: #f9e6a3;
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.purchase-copy > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.8;
    margin: 0;
}

.contact-section {
    padding: 60px 0 80px;
    text-align: left;
}

.contact-section .section-header {
    text-align: left;
}

.contact-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.section-action .section-cta-btn {
    min-width: 220px;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, rgba(255, 222, 140, 0.95), rgba(246, 197, 95, 0.95));
    border: 1px solid rgba(255, 216, 129, 0.9);
    color: #1a1511;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.section-action .section-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
    background: linear-gradient(135deg, #ffedba, #ffda72);
}

.contact-buttons .btn {
    min-height: 120px;
    padding: 1.5rem;
    text-align: left;
    display: grid;
    grid-template-rows: auto auto;
    justify-content: flex-start;
    gap: 0.5rem;
}

.trial-section {
    padding: 120px 0 160px;
}

.trial-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid rgba(201, 169, 97, 0.12);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.06), rgba(166, 124, 82, 0.02));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.trial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
    pointer-events: none;
}

.trial-card h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.trial-card p {
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.trial-image {
    border-radius: 1.8rem;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
}

.trial-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1;
}


@media (max-width: 767px) {
    .purchase-layout {
        grid-template-columns: 1fr;
    }

    .purchase-body {
        grid-template-columns: 1fr;
    }

    .catacombs-card {
        grid-template-columns: 1fr;
    }

    .trial-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .game-flow .flow-grid,
    .box-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-buttons {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 375px) {
    .hero-list .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 376px) and (max-width: 767px) {
    .hero-list .hero-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-list .hero-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hero {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 7vw, 3.6rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .section {
        padding: 60px 0;
    }

    .purchase-gallery {
        min-height: 340px;
    }

    .game-flow .flow-grid,
    .box-grid,
    .reviews-grid,
    .contact-buttons {
        grid-template-columns: 1fr;
    }

    .hero-card-compact {
        min-height: auto;
    }

    .trial-card {
        grid-template-columns: 1fr;
    }

    .purchase-block {
        padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5vw, 1.5rem) clamp(4rem, 10vw, 6rem);
    }

    .purchase-layout {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
        width: min(100%, 760px);
        margin: 0 auto;
    }

    .purchase-body {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.6rem);
        padding: clamp(1.1rem, 3.5vw, 1.4rem);
        border-radius: 2rem;
        min-height: auto;
        background: rgba(255, 255, 255, 0.04);
    }

    .purchase-gallery {
        min-height: 260px;
        padding: 0;
    }

    .purchase-gallery img {
        padding: 0;
    }

    .product-slider-arrow-left {
        left: clamp(0.5rem, 2vw, 0.9rem);
    }

    .product-slider-arrow-right {
        right: clamp(0.5rem, 2vw, 0.9rem);
    }

    .purchase-copy {
        padding: 0;
        min-height: auto;
        align-items: start;
        justify-items: stretch;
        width: 100%;
    }

    .purchase-copy .btn-add-to-cart,
    .purchase-layout > .btn-add-to-cart {
        width: 100%;
        padding: clamp(1rem, 3vw, 1.3rem) clamp(1.1rem, 3vw, 1.4rem);
        font-size: clamp(0.95rem, 2.2vw, 1.05rem);
        max-width: 100%;
    }

    .price-values strong {
        font-size: clamp(2.4rem, 7vw, 3.2rem);
    }

    .purchase-copy > p {
        font-size: clamp(0.95rem, 2.4vw, 1.05rem);
        max-width: 100%;
    }

    .purchase-copy-intro span {
        font-size: clamp(0.85rem, 2.3vw, 1rem);
    }

    .purchase-copy-intro ul {
        grid-template-columns: 1fr;
        gap: clamp(0.6rem, 2vw, 0.95rem);
    }

    .purchase-copy-intro li {
        font-size: clamp(0.9rem, 2.4vw, 1rem);
    }

    .purchase-copy-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(0.65rem, 2vw, 0.95rem);
    }

    .purchase-gallery img {
        padding: clamp(0.8rem, 2vw, 1rem);
    }

    .slider-btn {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

    .audience-strip {
        flex-direction: column;
        gap: 0.6rem;
    }

    .audience-chip {
        display: block;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .hero-visual-card {
        max-width: 100%;
        aspect-ratio: 0.95;
    }

    .purchase-layout {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .purchase-body {
        padding: clamp(1rem, 3vw, 1.2rem);
    }

    .purchase-gallery {
        padding: 0;
    }

    .purchase-gallery img {
        padding: 0;
        margin: 0;
    }
}

/* Header overrides: tablet + mobile — только вне shell игры (не ломать единую шапку на /games/*) */
@media (min-width: 768px) and (max-width: 1023px) {
    body:not([data-site-layout="game"]) .header-content {
        display: grid !important;
        grid-template-columns: auto 1fr auto auto !important;
        grid-template-areas: "logo-image nav selector menu" !important;
        align-items: center !important;
        justify-items: start !important;
        gap: 1rem !important;
    }

    body:not([data-site-layout="game"]) .header .logo,
    body:not([data-site-layout="game"]) .header .logo-text {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body:not([data-site-layout="game"]) .game-selector {
        display: flex !important;
        justify-self: end !important;
        align-items: center !important;
        min-width: 0 !important;
    }

    body:not([data-site-layout="game"]) .selector-btn {
        display: flex !important;
        padding: 0.5rem 0.8rem !important;
        font-size: clamp(0.7rem, 1.8vw, 0.8rem) !important;
        min-width: auto !important;
        min-height: 40px !important;
        width: auto !important;
        height: auto !important;
        border-radius: 0.3rem !important;
        position: relative !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        color: var(--text-light) !important;
        text-indent: 0 !important;
        overflow: visible !important;
    }

    body:not([data-site-layout="game"]) .selector-btn::before,
    body:not([data-site-layout="game"]) .selector-btn::after {
        display: none !important;
    }

    body:not([data-site-layout="game"]) .nav-menu {
        justify-self: center !important;
        gap: 0.8rem !important;
        align-items: center !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    body:not([data-site-layout="game"]) .nav-link {
        font-size: 0.86rem !important;
    }

    body:not([data-site-layout="game"]) .cart-icon-wrapper {
        justify-self: end !important;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    body:not([data-site-layout="game"]) .header-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.8rem !important;
        padding: 0.6rem 0 !important;
        min-height: 56px !important;
        grid-template-areas: none !important;
        grid-template-columns: none !important;
    }

    body:not([data-site-layout="game"]) .game-selector {
        display: block !important;
        flex-shrink: 0 !important;
    }

    body:not([data-site-layout="game"]) .selector-btn {
        display: flex !important;
        padding: 0.5rem 0.8rem !important;
        font-size: clamp(0.7rem, 1.8vw, 0.8rem) !important;
        min-width: auto !important;
        min-height: 40px !important;
        width: auto !important;
        height: auto !important;
        border-radius: 0.3rem !important;
        position: relative !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        color: var(--text-light) !important;
        text-indent: 0 !important;
        overflow: visible !important;
    }

    body:not([data-site-layout="game"]) .selector-btn::before,
    body:not([data-site-layout="game"]) .selector-btn::after {
        display: none !important;
    }

    body:not([data-site-layout="game"]) .nav-menu,
    body:not([data-site-layout="game"]) .cart-icon-wrapper,
    body:not([data-site-layout="game"]) .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 480px) {
    body:not([data-site-layout="game"]) .game-selector {
        display: block !important;
    }

    body:not([data-site-layout="game"]) .selector-btn {
        display: flex !important;
    }
}

    .product-slider-arrow-left {
        left: 1.5rem;
    }

    .product-slider-arrow-right {
        right: 1.5rem;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    body.page-home .main-content {
        font-size: 0.95rem;
    }

    body.page-home .section {
        padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    }

    .price-values strong {
        font-size: 2.4rem;
    }

    .contact-buttons .btn {
        min-height: 100px;
        padding: 1.2rem;
        font-size: 0.95rem;
    }

.chronicles-contact {
    padding-bottom: 100px;
}

.chronicles-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.chronicles-contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.2rem;
    border-radius: 1rem;
    text-decoration: none;
    color: #f3ead8;
    border: 1px solid rgba(201, 169, 97, 0.22);
    background: linear-gradient(145deg, rgba(18, 16, 12, 0.88), rgba(10, 10, 8, 0.72));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.chronicles-contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 169, 97, 0.45);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42), 0 0 36px rgba(201, 169, 97, 0.12);
}

.chronicles-contact-label {
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}

.chronicles-contact-hint {
    font-size: 0.88rem;
    color: rgba(210, 200, 180, 0.72);
}

.chronicles-contact-legal {
    margin-top: 2rem;
    padding: 1.25rem 1.2rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(201, 169, 97, 0.15);
    background: rgba(8, 9, 8, 0.55);
    color: rgba(230, 222, 206, 0.85);
    font-size: 0.95rem;
    line-height: 1.55;
}

.chronicles-contact-legal p {
    margin: 0.2rem 0;
}

.chronicles-contact-legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.chronicles-legal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    text-decoration: none;
    color: rgba(236, 230, 218, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.chronicles-legal-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #f5f0e6;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
    .chronicles-contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chronicles-contact-card,
    .chronicles-legal-btn {
        transition: none !important;
    }
    .chronicles-contact-card:hover,
    .chronicles-legal-btn:hover {
        transform: none !important;
    }
}

/* Hero «Об игре» (главная игры): на всю ширину экрана; секции — в контейнере с отступами */
html:has(body.page-home) {
    overflow-x: hidden;
}

body.page-home .main-content > .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 1.25rem);
    padding-right: clamp(1rem, 4vw, 1.25rem);
    overflow-x: clip;
    box-sizing: border-box;
}

body.page-home .main-content > .container > .hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

body.page-home .hero {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    left: auto;
    right: auto;
    box-sizing: border-box;
}

body.page-home .hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 1.25rem);
    padding-right: clamp(1rem, 4vw, 1.25rem);
    box-sizing: border-box;
}

@media (max-width: 767px) {
    body.page-home .main-content > .container {
        padding-left: clamp(0.75rem, 4vw, 1rem);
        padding-right: clamp(0.75rem, 4vw, 1rem);
    }

    body.page-home .hero {
        padding-top: max(var(--header-h, 64px), 56px);
    }

    body.page-home .hero-content-wrapper {
        padding-left: clamp(0.75rem, 4vw, 1rem);
        padding-right: clamp(0.75rem, 4vw, 1rem);
    }
}

/* Десктоп: текст слева, изображение справа, кнопки в одну строку */
@media (min-width: 1024px) {
    body.page-home .hero-content-wrapper {
        display: grid;
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        grid-template-rows: auto;
        align-items: center;
        gap: clamp(1.5rem, 2.8vw, 2.5rem);
        width: 100%;
        max-width: min(1200px, 100%);
        padding-top: clamp(2rem, 5vh, 3.5rem);
        padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
    }

    body.page-home .hero-left,
    body.page-home .hero-right {
        display: flex !important;
    }

    body.page-home .hero-left {
        grid-column: 1;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
        padding: clamp(1rem, 2vw, 2rem) clamp(0.5rem, 1.5vw, 1.25rem) clamp(1rem, 2vw, 2rem) 0;
        gap: clamp(1rem, 1.6vw, 1.5rem);
    }

    body.page-home .hero-right {
        grid-column: 2;
        align-items: center;
        justify-content: center;
        padding: clamp(1rem, 2vw, 2rem) 0 clamp(1rem, 2vw, 2rem) clamp(0.5rem, 1.5vw, 1.25rem);
    }

    body.page-home .hero-title {
        width: 100%;
        max-width: none;
        margin-bottom: 0.25rem;
        text-align: left;
        font-size: clamp(2.35rem, 3.1vw, 3.45rem) !important;
        line-height: 1.06;
        letter-spacing: -0.03em;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: manual;
    }

    body.page-home .hero-title::after {
        margin-left: 0;
        margin-right: auto;
    }

    body.page-home .hero-subtitle {
        text-align: left;
        margin: 0;
        max-width: 36rem;
        font-size: clamp(0.82rem, 1.1vw, 1rem);
        letter-spacing: 0.16em;
        line-height: 1.45;
    }

    body.page-home .hero-description {
        text-align: left;
        margin: 0;
        max-width: 36rem;
        padding-top: 0.65rem;
        font-size: clamp(0.92rem, 1vw, 1rem);
        line-height: 1.75;
        grid-column: auto;
    }

    body.page-home .hero-description::before {
        left: 0;
        transform: none;
    }

    body.page-home .hero-card-frame {
        width: min(100%, 560px);
        max-width: 100%;
        max-height: min(420px, 42vh);
    }

    body.page-home .hero-buttons-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        max-width: none;
        margin-top: clamp(0.85rem, 1.5vw, 1.25rem);
        gap: clamp(0.5rem, 0.9vw, 0.75rem);
    }

    body.page-home .hero-buttons-container .btn {
        flex: 0 1 auto;
        min-width: 0;
        white-space: nowrap;
        padding: 0.72rem clamp(0.85rem, 1.2vw, 1.15rem);
        font-size: clamp(0.78rem, 0.85vw, 0.88rem);
    }
}

