/* ═══════════════════════════════════════════════════════════════════════════
   E-Girl Profile Page — eg-profile.css
   Premium glassmorphism hero block for single product pages
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties (shared from eg-catalog.css) ─────────────────── */
:root {
    --ep-bg: #0d0b18;
    --ep-surface: #15122a;
    --ep-surface-2: #1c1935;
    --ep-surface-3: #252240;
    --ep-border: rgba(138, 92, 246, 0.18);
    --ep-border-hover: rgba(138, 92, 246, 0.50);
    --ep-purple: #8a5cf6;
    --ep-purple-light: #a78bfa;
    --ep-purple-dark: #6d28d9;
    --ep-purple-glow: rgba(138, 92, 246, 0.25);
    --ep-pink: #ec4899;
    --ep-green: #22c55e;
    --ep-green-glow: rgba(34, 197, 94, 0.25);
    --ep-text: #f0eff8;
    --ep-text-muted: #9896b4;
    --ep-text-dim: #5c5a7e;
    --ep-r-sm: 12px;
    --ep-r: 18px;
    --ep-r-lg: 22px;
    --ep-r-pill: 999px;
    --ep-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
    --ep-glow: 0 0 30px var(--ep-purple-glow);
    --ep-t: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Hero wrapper ───────────────────────────────────────────────────────── */
.ep-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 45%, rgba(50, 35, 88, 0.45) 0%, rgba(13, 11, 24, 0.96) 68%);
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: visible;
    pointer-events: auto;
}

.ep-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ep-loader__brand {
    font-size: clamp(1.3rem, 2.3vw, 1.9rem);
    letter-spacing: 0.3em;
    font-weight: 800;
    color: #f6efff;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(138, 92, 246, 0.48), 0 0 34px rgba(236, 72, 153, 0.34);
    animation: ep-loader-neon 1.4s ease-in-out infinite;
}

@keyframes ep-loader-neon {

    0%,
    100% {
        opacity: 0.85;
        transform: scale(0.985);
        text-shadow: 0 0 12px rgba(138, 92, 246, 0.4), 0 0 22px rgba(236, 72, 153, 0.26);
    }

    50% {
        opacity: 1;
        transform: scale(1.015);
        text-shadow: 0 0 20px rgba(138, 92, 246, 0.68), 0 0 38px rgba(236, 72, 153, 0.52);
    }
}

.ep-hero {
    max-width: 1300px;
    margin: 0 auto !important;
    padding: 102px 50px 48px !important;
}

.ep-hero *,
.ep-hero *::before,
.ep-hero *::after {
    box-sizing: border-box;
}

.ep-hero__inner {
    display: grid;
    grid-template-columns: minmax(320px, 480px) 1fr;
    gap: 40px;
    background: linear-gradient(145deg, rgba(21, 18, 42, 0.92) 0%, rgba(28, 25, 53, 0.92) 100%);
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-r-lg);
    padding: 28px;
    box-shadow: var(--ep-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

/* Glow orbs */
.ep-hero__inner::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(138, 92, 246, 0.14) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.ep-hero__inner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

/* ── Gallery (left) ─────────────────────────────────────────────────────── */
.ep-gallery {
    position: relative;
    z-index: 1;
}

.ep-gallery__main {
    position: relative;
    border-radius: var(--ep-r);
    overflow: clip;
    /* was: hidden — clip сохраняет border-radius но не режет position:absolute детей с backdrop-filter */
    aspect-ratio: 3 / 4;
    background: var(--ep-surface-2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 40px var(--ep-purple-glow);
    cursor: pointer;
}

.ep-gallery__main.is-online {
    animation: ep-online-glow 2s ease-in-out infinite;
}

.ep-gallery__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease;
    margin: 0 !important;
}

.ep-gallery__main:hover img {
    transform: scale(1.04);
}

.ep-mobile-identity {
    display: none;
}

@keyframes ep-online-glow {

    0%,
    100% {
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(34, 197, 94, 0.28), 0 0 55px rgba(34, 197, 94, 0.18);
    }

    50% {
        box-shadow: 0 10px 44px rgba(0, 0, 0, 0.58), 0 0 46px rgba(34, 197, 94, 0.52), 0 0 84px rgba(34, 197, 94, 0.34);
    }
}

/* Online badge on gallery */
.ep-gallery__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--ep-r-pill);
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #4ade80;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2;
}

.ep-gallery__badge.is-offline {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.38);
    color: #f87171;
}

.ep-gallery__badge::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ep-green);
    box-shadow: 0 0 8px var(--ep-green);
    animation: ep-pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

.ep-gallery__badge.is-offline::before {
    background: #f87171;
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.7);
}

@keyframes ep-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(1.35);
    }
}

/* ── Achievement badges on gallery photo ── */
.ep-gallery__achievements {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
    max-width: calc(100% - 28px);
}

.ep-achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--ep-r-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    /* backdrop-filter убран: вызывает баг невидимости внутри overflow:clip + border-radius в Safari/Chrome */
    animation: ep-badge-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    white-space: nowrap;
    /* fallback purple — на случай если data-color не совпал ни с одним селектором */
    background: rgba(16, 10, 34, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ep-achievement-badge:nth-child(1) {
    animation-delay: 0.1s;
}

.ep-achievement-badge:nth-child(2) {
    animation-delay: 0.2s;
}

.ep-achievement-badge:nth-child(3) {
    animation-delay: 0.3s;
}

.ep-achievement-badge:nth-child(4) {
    animation-delay: 0.4s;
}

.ep-achievement-badge:nth-child(5) {
    animation-delay: 0.5s;
}

.ep-achievement-badge:nth-child(6) {
    animation-delay: 0.6s;
}

.ep-achievement-badge__emoji {
    font-size: 0.85rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* WordPress заменяет эмодзи на <img class="emoji"> — ограничиваем размер */
.ep-achievement-badge__emoji img.emoji,
.ep-achievement-badge img.emoji {
    width: 1em !important;
    height: 1em !important;
    max-width: 1em !important;
    max-height: 1em !important;
    min-width: unset !important;
    min-height: unset !important;
    display: inline-block !important;
    vertical-align: -0.1em;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

@keyframes ep-badge-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Color variants */
.ep-achievement-badge[data-color="purple"] {
    background: rgba(76, 29, 149, 0.72);
    border: 1px solid rgba(196, 181, 253, 0.82);
    color: #f3f0ff;
}

.ep-achievement-badge[data-color="pink"] {
    background: rgba(131, 24, 67, 0.72);
    border: 1px solid rgba(249, 168, 212, 0.82);
    color: #ffe6f3;
}

.ep-achievement-badge[data-color="gold"] {
    background: rgba(120, 53, 15, 0.74);
    border: 1px solid rgba(253, 230, 138, 0.88);
    color: #fff6cf;
}

.ep-achievement-badge[data-color="blue"] {
    background: rgba(30, 58, 138, 0.72);
    border: 1px solid rgba(147, 197, 253, 0.82);
    color: #e9f2ff;
}

.ep-achievement-badge[data-color="red"] {
    background: rgba(127, 29, 29, 0.74);
    border: 1px solid rgba(252, 165, 165, 0.86);
    color: #ffe8e8;
}

.ep-achievement-badge[data-color="green"] {
    background: rgba(20, 83, 45, 0.74);
    border: 1px solid rgba(134, 239, 172, 0.86);
    color: #eafff0;
}

/* Thumbnails */
.ep-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.ep-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.ep-reactions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ep-mini-cta {
    display: none;
}

.ep-reaction-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(173, 145, 255, 0.3);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(28, 20, 56, 0.86), rgba(17, 12, 35, 0.86));
    color: #f4eeff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
    cursor: pointer;
    transition: transform var(--ep-t), border-color var(--ep-t), box-shadow var(--ep-t);
}

.ep-reaction-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 191, 255, 0.55);
    box-shadow: 0 6px 16px rgba(11, 8, 23, 0.42), 0 0 14px rgba(138, 92, 246, 0.25);
}

.ep-reaction-btn.is-pop {
    animation: ep-reaction-pop 0.32s ease;
}

.ep-reaction-btn.is-locked {
    opacity: 0.72;
    cursor: default;
    border-color: rgba(173, 145, 255, 0.18);
    box-shadow: none;
}

.ep-reaction-btn.is-locked:hover {
    transform: none;
    border-color: rgba(173, 145, 255, 0.18);
    box-shadow: none;
}

.ep-reaction-btn__emoji {
    font-size: 0.92rem;
    line-height: 1;
}

.ep-reaction-btn__count {
    min-width: 1.2em;
    text-align: right;
}

.ep-reaction-plus {
    position: absolute;
    left: 50%;
    top: -6px;
    transform: translate(-50%, 0);
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffffff;
    pointer-events: none;
    animation: ep-reaction-plus 0.62s ease forwards;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

@keyframes ep-reaction-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes ep-reaction-plus {
    0% {
        opacity: 0;
        transform: translate(-50%, 4px);
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -22px);
    }
}

.ep-gallery__thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--ep-r-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: opacity var(--ep-t), border-color var(--ep-t), transform var(--ep-t);
}

.ep-gallery__thumb.is-active,
.ep-gallery__thumb:hover {
    opacity: 1;
    border-color: var(--ep-purple);
    transform: scale(1.05);
}

.ep-gallery__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

/* ── Info (right) ───────────────────────────────────────────────────────── */
.ep-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Name + rating row */
.ep-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ep-name {
    font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
    font-weight: 800 !important;
    color: #f7f3ff !important;
    /* fallback for browsers without text-clip support */
    margin: 0 !important;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 14px rgba(10, 8, 22, 0.45);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .ep-name {
        background-image: linear-gradient(120deg, #a78bfa 0%, #8b5cf6 42%, #ec4899 100%);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent !important;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
    }
}

.ep-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ep-rating .star-rating {
    color: #fbbf24 !important;
    font-size: 0.9rem;
}

.ep-rating__count {
    font-size: 0.82rem;
    color: var(--ep-text-muted);
    font-weight: 500;
}

/* Status row */
.ep-status {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ep-status__slot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--ep-r-pill);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 0.82rem;
    font-weight: 600;
    color: #4ade80;
}

.ep-status__slot.is-offline {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.34);
    color: #f87171;
}

.ep-status__slot .product-slot {
    color: inherit !important;
    font-size: inherit !important;
}

.ep-status__slot .good-slot-status {
    margin: 0 !important;
    padding: 0 !important;
}

.ep-status__viewers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--ep-r-pill);
    background: rgba(143, 113, 255, 0.12);
    border: 1px solid rgba(173, 145, 255, 0.38);
    color: #f1eaff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 0 0 rgba(173, 145, 255, 0);
    animation: ep-viewers-pulse 2s ease-in-out infinite;
}

.ep-status__viewers-icon {
    font-size: 0.92rem;
    line-height: 1;
}

.ep-status__viewers-text {
    white-space: nowrap;
}

.ep-status__viewers-count {
    display: inline-block;
    min-width: 1.4em;
    text-align: right;
    color: #ffffff;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.ep-status__viewers-count.is-changing {
    opacity: 0.45;
    transform: translateY(-2px);
}

@keyframes ep-viewers-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(173, 145, 255, 0);
        border-color: rgba(173, 145, 255, 0.35);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(173, 145, 255, 0.08);
        border-color: rgba(196, 174, 255, 0.55);
    }
}

/* Corner time button — top-right of hero card */
.ep-time-corner {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--ep-r-pill);
    background: linear-gradient(135deg, var(--ep-purple) 0%, var(--ep-purple-dark) 100%);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(138, 92, 246, 0.5), 0 0 0 2px rgba(138, 92, 246, 0.2);
    transition: all var(--ep-t);
    animation: ep-time-glow 2.4s ease-in-out infinite;
    white-space: nowrap;
}

.ep-time-corner:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(138, 92, 246, 0.7), 0 0 0 3px rgba(138, 92, 246, 0.3);
    color: #fff !important;
    text-decoration: none !important;
}

@keyframes ep-time-glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(138, 92, 246, 0.5), 0 0 0 2px rgba(138, 92, 246, 0.2);
    }

    50% {
        box-shadow: 0 4px 28px rgba(138, 92, 246, 0.7), 0 0 0 4px rgba(138, 92, 246, 0.15);
    }
}

/* Audio player */
.ep-audio {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--ep-r);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ep-border);
    backdrop-filter: blur(8px);
    transition: border-color var(--ep-t), background var(--ep-t);
    cursor: pointer;
}

.ep-audio:hover {
    border-color: var(--ep-purple);
    background: rgba(138, 92, 246, 0.08);
}

.ep-audio__btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ep-purple), var(--ep-purple-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    transition: transform var(--ep-t), box-shadow var(--ep-t);
}

.ep-audio__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 16px var(--ep-purple-glow);
}

.ep-audio__btn img {
    width: 16px;
    height: 16px;
    filter: brightness(10);
}

.ep-audio__wave {
    height: 24px;
    opacity: 0.7;
}

.ep-audio__label {
    font-size: 0.8rem;
    color: var(--ep-text-muted);
    font-weight: 500;
    margin-left: auto;
}

/* Description card */
.ep-about {
    padding: 18px 22px;
    border-radius: var(--ep-r);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ep-border);
    backdrop-filter: blur(6px);
}

.ep-about__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ep-purple-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

/* Collapsible text */
.ep-about__text {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: var(--ep-text-muted) !important;
    margin: 0 !important;
    max-height: 5.6em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.35s ease;
}

.ep-about__text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.4em;
    background: linear-gradient(to bottom, transparent, rgba(21, 18, 42, 0.95));
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.ep-about__text.is-expanded {
    max-height: 600px;
}

.ep-about__text.is-expanded::after {
    opacity: 0;
}

.ep-about__text p {
    margin: 0 0 0.4em !important;
}

.ep-about__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 6px 16px;
    border-radius: var(--ep-r-pill);
    background: rgba(138, 92, 246, 0.1);
    border: 1px solid rgba(138, 92, 246, 0.25);
    color: var(--ep-purple-light);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ep-t);
    font-family: inherit;
}

.ep-about__toggle:hover {
    background: rgba(138, 92, 246, 0.2);
    border-color: var(--ep-purple);
    color: var(--ep-text);
}

/* ── Value proposition block — #1 conversion ───────────────────────────── */
.ep-value {
    padding: 20px 22px;
    border-radius: var(--ep-r);
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.06) 0%, rgba(138, 92, 246, 0.06) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    position: relative;
    overflow: hidden;
}

.ep-value::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.ep-value__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.ep-value__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ep-value__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--ep-text);
    font-weight: 500;
    line-height: 1.45;
}

.ep-value__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

/* Details row: games + films */
.ep-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ep-detail-card {
    padding: 16px 18px;
    border-radius: var(--ep-r);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ep-border);
}

.ep-detail-card__title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ep-purple-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Game icons */
.ep-game-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.ep-game-icons img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
    border-radius: 6px;
    opacity: 0.85;
    transition: opacity var(--ep-t), transform var(--ep-t);
}

.ep-game-icons img:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Films list */
.ep-films-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ep-films-list li {
    font-size: 0.85rem;
    color: var(--ep-text-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.ep-films-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ep-purple-light);
    font-weight: 700;
}

/* CTA button */
.ep-cta {
    margin-top: auto;
    padding-top: 4px;
}

.ep-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    border-radius: var(--ep-r-pill);
    background: linear-gradient(135deg, var(--ep-purple) 0%, var(--ep-pink) 100%);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 32px rgba(138, 92, 246, 0.4);
    transition: all var(--ep-t);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    font-family: inherit;
}

.ep-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 42px rgba(138, 92, 246, 0.6);
    color: #fff !important;
    text-decoration: none !important;
}

.ep-cta__btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.ep-cta__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ep-cta__hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: var(--ep-text-dim);
    margin-top: 10px;
}

.ep-guarantee-icon {
    display: inline-block;
    font-size: 1.18rem;
    line-height: 1;
    transform: translateY(1px);
}

.ep-guarantee-icon--sm {
    font-size: 1rem;
}

.ep-how {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(158, 124, 255, 0.22);
    background:
        radial-gradient(140% 120% at 0% 100%, rgba(236, 72, 153, 0.10) 0%, transparent 55%),
        radial-gradient(140% 140% at 100% 0%, rgba(138, 92, 246, 0.16) 0%, transparent 58%),
        linear-gradient(150deg, rgba(31, 22, 58, 0.86), rgba(20, 14, 40, 0.9));
    box-shadow: 0 10px 28px rgba(9, 7, 20, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.ep-how__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #f2ebff;
}

.ep-how__subtitle {
    margin: 6px 0 14px;
    font-size: 0.86rem;
    line-height: 1.3;
    color: rgba(219, 199, 255, 0.9);
}

.ep-how__list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
}

.ep-how__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    flex: 1 1 calc(20% - 12px);
    min-width: 150px;
    max-width: none;
    min-height: 126px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(173, 145, 255, 0.24);
    background: linear-gradient(145deg, rgba(43, 30, 77, 0.70), rgba(26, 18, 49, 0.70));
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
    box-sizing: border-box;
}

.ep-how__list::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    top: 23px;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(167, 139, 250, 0.35) 0%,
            rgba(236, 72, 153, 0.35) 50%,
            rgba(167, 139, 250, 0.35) 100%);
    pointer-events: none;
    z-index: 0;
}

.ep-how__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa 0%, #ec4899 100%);
    opacity: 0.8;
}

.ep-how__item:hover {
    transform: translateY(-4px);
    border-color: rgba(185, 157, 255, 0.5);
    box-shadow: 0 12px 26px rgba(18, 12, 36, 0.46), 0 0 22px rgba(139, 92, 246, 0.18);
}

.ep-how__num {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 800;
    background: radial-gradient(circle at 30% 30%, rgba(170, 145, 255, 0.62), rgba(96, 58, 190, 0.96));
    color: #f7f1ff;
    border: 1px solid rgba(216, 193, 255, 0.62);
    box-shadow: 0 0 0 4px rgba(138, 92, 246, 0.14), 0 0 20px rgba(138, 92, 246, 0.28);
    position: relative;
    z-index: 2;
}

.ep-how__text {
    color: #f1ecff;
    min-height: 0;
}

.ep-how__step-title {
    display: block;
    margin: 0 0 4px;
    color: #f6f2ff;
    font-size: 0.93rem;
    line-height: 1.3;
    font-weight: 800;
}

.ep-how__step-desc {
    display: -webkit-box;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.28;
    color: rgba(225, 212, 255, 0.82);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ep-how__num--done {
    background: radial-gradient(circle at 30% 30%, rgba(74, 222, 128, 0.65), rgba(22, 163, 74, 0.92));
    border-color: rgba(167, 243, 208, 0.55);
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.14), 0 0 20px rgba(74, 222, 128, 0.3);
}

.ep-how__reassure {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(162, 127, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(228, 216, 255, 0.92);
    font-size: 0.82rem;
    line-height: 1.35;
}

.ep-bundles {
    grid-column: 1 / -1;
    margin-top: 12px;
}

.ep-bundles__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

.ep-bundles__card {
    border-radius: 20px;
    border: 1px solid rgba(163, 127, 255, 0.34);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(138, 92, 246, 0.14) 0%, transparent 56%),
        linear-gradient(145deg, rgba(31, 23, 60, 0.92), rgba(22, 16, 45, 0.92));
    padding: 22px 24px;
    box-shadow: 0 10px 32px rgba(8, 6, 20, 0.36);
}

.ep-bundles__card--main {
    border-color: rgba(177, 145, 255, 0.5);
}

.ep-bundles__badge {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(182, 150, 255, 0.45);
    color: #d9c3ff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    background: rgba(138, 92, 246, 0.08);
}

.ep-bundles__title {
    margin: 14px 0 8px;
    font-size: clamp(1.35rem, 2.05vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #f5f1ff;
    letter-spacing: -0.01em;
}

.ep-bundles__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    color: rgba(232, 225, 255, 0.78);
    max-width: 60ch;
}

.ep-bundles__btn {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.42);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.ep-bundles__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.5);
    color: #fff !important;
}

.ep-bundles__btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(182, 150, 255, 0.44);
    box-shadow: none;
}

.ep-bundles__btn--ghost:hover {
    background: rgba(138, 92, 246, 0.2);
    box-shadow: 0 8px 22px rgba(138, 92, 246, 0.26);
}

.ep-packages {
    grid-column: 1 / -1;
    margin-top: 16px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(166, 128, 255, 0.2);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(138, 92, 246, 0.1) 0%, transparent 52%),
        linear-gradient(145deg, rgba(25, 18, 48, 0.75), rgba(16, 12, 33, 0.82));
}

.ep-packages__title {
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d3bcff;
}

.ep-packages__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ep-package {
    border: 1px solid rgba(166, 128, 255, 0.28);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(35, 25, 66, 0.86), rgba(20, 14, 40, 0.9));
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    min-height: 210px;
}

.ep-package:hover {
    border-color: rgba(201, 172, 255, 0.62);
    box-shadow: 0 12px 28px rgba(15, 10, 30, 0.5), 0 0 0 1px rgba(138, 92, 246, 0.14);
    transform: translateY(-2px);
}

.ep-package--popular {
    border-color: rgba(236, 72, 153, 0.58);
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(236, 72, 153, 0.12) 0%, transparent 62%),
        linear-gradient(145deg, rgba(35, 25, 66, 0.9), rgba(20, 14, 40, 0.92));
}

.ep-package--accent {
    border-color: rgba(124, 58, 237, 0.62);
    background:
        radial-gradient(90% 130% at 100% 0%, rgba(124, 58, 237, 0.16) 0%, transparent 60%),
        linear-gradient(145deg, rgba(35, 25, 66, 0.92), rgba(20, 14, 40, 0.95));
}

.ep-package.is-disabled {
    opacity: .7;
    filter: saturate(.8);
}

.ep-package__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.ep-package__name {
    margin: 0 0 4px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #f6f2ff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.ep-package__desc {
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(236, 230, 255, 0.8);
    max-width: 48ch;
}

.ep-package__price {
    white-space: nowrap;
    font-size: 1.32rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    text-align: right;
}

.ep-package__meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ep-package__badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(190, 158, 255, 0.46);
    background: rgba(138, 92, 246, 0.14);
    color: #dcc9ff;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ep-package__hint {
    font-size: 0.78rem;
    color: rgba(226, 215, 255, 0.72);
}

.ep-package__saving {
    font-size: 0.8rem;
    font-weight: 700;
    color: #3ee27a;
}

.ep-package__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    width: fit-content;
    box-shadow: 0 8px 24px rgba(138, 92, 246, 0.26);
}

.ep-package__btn--disabled {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(173, 145, 255, 0.28);
    color: rgba(240, 233, 255, 0.72) !important;
    pointer-events: none;
    box-shadow: none;
}

/* ── New packages block (namespaced) ───────────────────────────────────── */
.eg-packages {
    --eg-bg-1: #191333;
    --eg-bg-2: #110d23;
    --eg-border: rgba(162, 127, 255, .22);
    --eg-border-strong: rgba(209, 175, 255, .62);
    --eg-text: #f4eeff;
    --eg-muted: rgba(230, 218, 255, .8);
    --eg-accent-1: #8b5cf6;
    --eg-accent-2: #ec4899;
    --eg-green: #35dc87;
    grid-column: 1 / -1;
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--eg-border);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(139, 92, 246, .10) 0%, transparent 55%),
        linear-gradient(145deg, var(--eg-bg-1), var(--eg-bg-2));
}

.eg-packages__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.eg-packages__title {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #d3bcff;
    font-weight: 800;
}

.eg-packages__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.eg-packages__trust-chip {
    font-size: .72rem;
    color: var(--eg-muted);
    border: 1px solid rgba(180, 146, 255, .32);
    background: rgba(255, 255, 255, .03);
    border-radius: 999px;
    padding: 4px 8px;
}

.eg-packages__notice {
    min-height: 14px;
    margin: 0 0 8px;
    font-size: .74rem;
    color: #ffb4d3;
}

.eg-packages__list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.eg-packages__card {
    min-width: 86%;
    scroll-snap-align: start;
    border: 1px solid var(--eg-border);
    background: linear-gradient(145deg, rgba(39, 28, 72, .86), rgba(21, 15, 43, .9));
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--eg-text);
    cursor: pointer;
    transition: .2s ease;
    display: grid;
    grid-template-rows: auto auto auto auto auto;
    gap: 6px;
}

.eg-packages__card:hover {
    border-color: var(--eg-border-strong);
    box-shadow: 0 12px 28px rgba(8, 6, 20, .42);
    transform: translateY(-2px);
}

.eg-packages__card:focus-visible {
    outline: 2px solid #c7a5ff;
    outline-offset: 2px;
}

.eg-packages__card.is-selected,
.eg-packages__card[aria-selected="true"] {
    border-color: #d7b8ff;
    box-shadow: 0 0 0 1px rgba(216, 184, 255, .35), 0 14px 34px rgba(24, 14, 50, .56);
}

.eg-packages__card[aria-disabled="true"] {
    opacity: .62;
    cursor: not-allowed;
}

.eg-packages__badge {
    justify-self: start;
    font-size: .66rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 1px solid rgba(187, 151, 255, .45);
    border-radius: 999px;
    padding: 4px 8px;
    color: #decaff;
    background: rgba(139, 92, 246, .12);
}

.eg-packages__badge--hot {
    border-color: rgba(255, 140, 200, .55);
    color: #ffd2ea;
    background: rgba(236, 72, 153, .16);
}

.eg-packages__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.eg-packages__name {
    margin: 0;
    font-size: .93rem;
    font-weight: 800;
    line-height: 1.22;
}

.eg-packages__price {
    font-size: 1.02rem;
    font-weight: 800;
    white-space: nowrap;
}

.eg-packages__desc,
.eg-packages__when,
.eg-packages__hint {
    margin: 0;
    font-size: .82rem;
    line-height: 1.34;
    color: var(--eg-muted);
}

.eg-packages__when {
    color: #d7c3ff;
    font-size: .78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eg-packages__hint {
    font-size: .74rem;
}

.eg-packages__saving {
    margin: 0;
    font-size: .78rem;
    font-weight: 700;
    color: var(--eg-green);
}

.eg-packages__choose {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: fit-content;
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    background: linear-gradient(135deg, var(--eg-accent-1), var(--eg-accent-2));
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.eg-packages__choose:focus-visible {
    outline: 2px solid #dfc8ff;
    outline-offset: 2px;
}

.eg-packages__choose[disabled] {
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .72);
    cursor: not-allowed;
}

.eg-packages__card.is-anchor {
    border-color: rgba(236, 72, 153, .52);
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(236, 72, 153, .12) 0%, transparent 62%),
        linear-gradient(145deg, rgba(39, 28, 72, .9), rgba(21, 15, 43, .92));
}

.eg-packages__card.is-subscription {
    border-color: rgba(124, 58, 237, .62);
    background:
        radial-gradient(90% 130% at 100% 0%, rgba(124, 58, 237, .16) 0%, transparent 60%),
        linear-gradient(145deg, rgba(39, 28, 72, .92), rgba(21, 15, 43, .95));
}

@media (min-width: 992px) {
    .eg-packages__list {
        display: grid;
        overflow: visible;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .eg-packages__card {
        min-width: 0;
        min-height: 0;
    }

    .eg-packages__card.is-anchor {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .eg-packages__card.is-subscription {
        grid-column: 1 / -1;
        min-height: 0;
    }
}

.ep-package:nth-child(1),
.ep-package:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 170px;
}

.ep-package:nth-child(1) .ep-package__desc {
    max-width: 62ch;
}

/* ── Mobile: owl-carousel override ──────────────────────────────────────── */
.ep-hero~.carousel-2,
.ep-hero+.carousel-2 {
    display: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {


    .ep-hero__inner {
        grid-template-columns: minmax(260px, 400px) 1fr;
        gap: 28px;
        padding: 22px;
    }
}

@media (max-width: 860px) {
    .ep-hero {
        padding: 102px 24px 32px !important;
    }

    .ep-hero__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
        padding-top: 52px;
    }

    .ep-time-corner {
        top: 12px;
        right: 12px;
        font-size: 0.76rem;
        padding: 8px 16px;
    }

    .ep-gallery__main {
        max-width: 480px;
        margin: 0 auto;
    }

    .ep-mobile-identity {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 44px 14px 12px;
        background: linear-gradient(180deg, rgba(8, 6, 17, 0) 0%, rgba(8, 6, 17, 0.86) 68%, rgba(8, 6, 17, 0.94) 100%);
        z-index: 2;
        pointer-events: none;
    }

    .ep-mobile-identity__name {
        font-size: 1.18rem;
        font-weight: 800;
        color: #fff;
        line-height: 1.1;
        letter-spacing: 0.01em;
    }

    .ep-mobile-identity__rating {
        display: inline-flex;
        align-items: center;
        min-height: 18px;
    }

    .ep-mobile-identity__rating .star-rating {
        color: #fbbf24 !important;
        font-size: 0.82rem;
        margin: 0 !important;
    }

    .ep-header {
        display: none;
    }

    .ep-name {
        text-align: center;
    }

    .ep-rating {
        justify-content: center;
    }

    .ep-status {
        justify-content: center;
    }

    .ep-about__text {
        text-align: center;
    }

    .ep-mini-cta {
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        padding: 11px 12px;
        border-radius: 14px;
        border: 1px solid rgba(173, 145, 255, 0.35);
        background: linear-gradient(135deg, rgba(33, 23, 64, 0.88) 0%, rgba(20, 14, 40, 0.88) 100%);
        text-decoration: none !important;
        box-shadow: 0 6px 20px rgba(12, 8, 24, 0.42);
    }

    .ep-mini-cta__price {
        font-size: 0.84rem;
        color: #f3ecff;
        font-weight: 700;
    }

    .ep-mini-cta__action {
        padding: 8px 14px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--ep-purple) 0%, var(--ep-pink) 100%);
        color: #fff;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        white-space: nowrap;
    }
}

@media (max-width: 560px) {
    .ep-hero {
        padding: 102px 16px 24px !important;
    }

    .ep-hero__inner {
        padding: 16px;
        gap: 18px;
        padding-top: 58px;
    }

    .ep-details {
        grid-template-columns: 1fr;
    }

    .ep-gallery__thumb {
        width: 52px;
        height: 52px;
    }

    .ep-cta__btn {
        padding: 14px 20px;
        font-size: 0.92rem;
    }

    .ep-how {
        padding: 14px;
    }

    .ep-how__list {
        gap: 10px;
        padding-bottom: 2px;
    }

    .ep-how__item {
        flex: 1 1 calc(33.333% - 10px);
        min-width: 140px;
    }

    .ep-bundles__grid {
        grid-template-columns: 1fr;
    }

    .ep-bundles__card {
        padding: 16px;
        border-radius: 16px;
    }

    .ep-bundles__title {
        font-size: 1.45rem;
    }

    .ep-bundles__text {
        font-size: 0.94rem;
    }

    .ep-bundles__btn {
        width: 100%;
        min-height: 48px;
        font-size: 0.95rem;
    }

    .ep-packages {
        padding: 14px;
        border-radius: 14px;
    }

    .ep-packages__list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ep-package,
    .ep-package:nth-child(1),
    .ep-package:nth-child(5) {
        grid-column: auto;
        min-height: auto;
        padding: 14px;
    }

    .ep-package__top {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .ep-package__price {
        font-size: 1.15rem;
        text-align: left;
    }

    .ep-package__btn {
        width: 100%;
    }
}

@media (max-width: 960px) {
    .ep-how__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-padding-left: 12px;
        padding-bottom: 8px;
        gap: 10px;
        /* hide scrollbar but keep scrolling */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .ep-how__list::-webkit-scrollbar {
        display: none;
    }

    .ep-how__list::before {
        display: none;
    }

    .ep-how__item {
        flex: 0 0 72%;
        min-width: 220px;
        max-width: 300px;
        min-height: 118px;
        scroll-snap-align: center;
    }
}

@media (max-width: 640px) {
    .ep-how {
        padding: 12px;
    }

    .ep-how__title {
        font-size: 0.98rem;
    }

    .ep-how__subtitle {
        margin-bottom: 10px;
    }

    .ep-how__item {
        flex: 0 0 78%;
        min-width: 200px;
        max-width: 280px;
        min-height: 110px;
        gap: 8px;
    }

    .ep-how__step-title {
        font-size: 0.88rem;
    }

    .ep-how__step-desc {
        font-size: 0.78rem;
    }

    .ep-how__reassure {
        margin-top: 10px;
        font-size: 0.77rem;
    }
}

@media (max-width: 420px) {
    .ep-how {
        padding: 10px;
    }

    .ep-how__list {
        flex-wrap: wrap;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 8px;
    }

    .ep-how__item {
        flex: 1 1 100%;
        min-width: 0;
        max-width: none;
        min-height: auto;
        padding: 10px;
        scroll-snap-align: none;
    }

    .ep-how__num {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .ep-how__step-title {
        font-size: 0.84rem;
    }

    .ep-how__step-desc {
        font-size: 0.75rem;
    }

    .ep-how__reassure {
        font-size: 0.74rem;
        padding: 8px 10px;
    }
}

@media (max-width: 1180px) {
    .ep-bundles__grid {
        grid-template-columns: 1fr;
    }
}

/* ── Sticky CTA bar (mobile) ────────────────────────────────────────────── */
.ep-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: none;
}

.ep-sticky-cta.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.ep-sticky-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
    background: linear-gradient(180deg, rgba(15, 12, 28, 0.92) 0%, rgba(13, 11, 24, 0.98) 100%);
    border-top: 1px solid rgba(138, 92, 246, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 -4px 24px rgba(0, 0, 0, 0.5),
        0 -1px 0 rgba(138, 92, 246, 0.15);
}

.ep-sticky-cta__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ep-sticky-cta__name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ep-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-sticky-cta__price {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ep-purple-light);
}

.ep-sticky-cta__guarantee {
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #c8bcf2;
    line-height: 1.2;
}

.ep-sticky-cta__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: var(--ep-r-pill);
    background: linear-gradient(135deg, var(--ep-purple) 0%, var(--ep-pink) 100%);
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(138, 92, 246, 0.45);
    transition: all var(--ep-t);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.01em;
    font-family: inherit;
}

.ep-sticky-cta__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(138, 92, 246, 0.65);
    color: #fff !important;
    text-decoration: none !important;
}

.ep-sticky-cta__btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.ep-sticky-cta__btn:hover::after {
    transform: translateX(120%);
}

/* Show only on mobile */
@media (max-width: 860px) {
    .ep-sticky-cta {
        display: block;
    }
}

/* ── Floating support chat button ────────────────────────────────────────── */
.ep-support-float {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid rgba(113, 216, 255, 0.52);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.94) 0%, rgba(3, 105, 161, 0.94) 100%);
    color: #f4fdff !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(6, 33, 45, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transition: transform var(--ep-t), box-shadow var(--ep-t);
    animation: ep-support-pulse 2.4s ease-in-out infinite;
}

.ep-support-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 33, 45, 0.58), 0 0 18px rgba(113, 216, 255, 0.35);
    color: #ffffff !important;
}

@keyframes ep-support-pulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(6, 33, 45, 0.45), 0 0 0 0 rgba(113, 216, 255, 0.18);
    }

    50% {
        box-shadow: 0 10px 28px rgba(6, 33, 45, 0.5), 0 0 0 8px rgba(113, 216, 255, 0);
    }
}

@media (max-width: 860px) {
    .ep-support-float {
        right: 12px;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        font-size: 0.76rem;
        padding: 10px 12px;
    }
}

/* ── Exit intent popup (mobile) ─────────────────────────────────────────── */
body.ep-exit-popup-open {
    overflow: hidden;
}

.ep-exit-popup {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.ep-exit-popup[hidden] {
    display: none !important;
}

.ep-exit-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 5, 14, 0.74);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ep-exit-popup__card {
    position: relative;
    width: min(100%, 420px);
    border-radius: 20px;
    border: 1px solid rgba(150, 120, 255, 0.38);
    background: radial-gradient(circle at 12% 0%, rgba(245, 138, 255, 0.14) 0%, rgba(23, 17, 44, 0.96) 58%, rgba(16, 13, 33, 0.98) 100%);
    box-shadow: 0 26px 54px rgba(3, 2, 10, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    padding: 18px 16px 16px;
    color: #f7f2ff;
    transform: translateY(12px);
    opacity: 0;
    animation: ep-exit-popup-in 0.26s ease forwards;
}

.ep-exit-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.ep-exit-popup__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(87, 255, 169, 0.14);
    border: 1px solid rgba(87, 255, 169, 0.3);
    color: #9bfecb;
    font-size: 0.75rem;
    font-weight: 700;
}

.ep-exit-popup__title {
    margin: 10px 0 6px;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 800;
}

.ep-exit-popup__title span {
    color: #ffdd7b;
}

.ep-exit-popup__text {
    margin: 0 0 12px;
    color: #dfd5ff;
    font-size: 0.92rem;
    line-height: 1.45;
}

.ep-exit-popup__cta {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #842cff 0%, #f64da0 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(135, 45, 255, 0.45);
}

.ep-exit-popup__note {
    margin: 10px 2px 0;
    color: #b9aed8;
    font-size: 0.77rem;
    line-height: 1.4;
}

@keyframes ep-exit-popup-in {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 861px) {
    .ep-exit-popup {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ep-exit-popup__card {
        animation: none;
        transform: none;
        opacity: 1;
    }
}

/* ── Reviews background parallax (audit #7) ─────────────────────────────── */
.eg-parallax-bg {
    background-image: linear-gradient(rgba(20, 15, 30, 0.16), rgba(20, 15, 30, 0.16)), var(--eg-parallax-image);
    background-size: cover;
    background-position: center calc(50% + var(--eg-parallax-y, 0px));
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 1024px),
(hover: none) and (pointer: coarse) {
    .eg-parallax-bg {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* ── Packages WOW v2 (compact + conversion) ─────────────────────────────── */
.eg-packages--wow {
    padding: 12px;
    border-radius: 12px;
    background:
        radial-gradient(110% 120% at 0% 0%, rgba(139, 92, 246, .08) 0%, transparent 56%),
        linear-gradient(145deg, #181232, #100d20);
}

.eg-packages--wow .eg-packages__head {
    margin-bottom: 8px;
    gap: 6px;
}

.eg-packages--wow .eg-packages__title {
    font-size: .68rem;
    letter-spacing: .12em;
}

.eg-packages--wow .eg-packages__trust {
    gap: 6px;
}

.eg-packages--wow .eg-packages__trust-chip {
    font-size: .68rem;
    padding: 3px 8px;
    border-radius: 999px;
}

.eg-packages--wow .eg-packages__notice {
    min-height: 14px;
    margin-bottom: 6px;
}

.eg-packages--wow .eg-packages__selectedbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    border: 1px solid rgba(191, 158, 255, .28);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
}

.eg-packages--wow .eg-packages__selectedbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.eg-packages--wow .eg-packages__selected-label {
    font-size: .76rem;
    font-weight: 700;
    color: #efe8ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eg-packages--wow .eg-packages__selected-price {
    font-size: .78rem;
    font-weight: 800;
    color: #c9f9d8;
    white-space: nowrap;
}

.eg-packages--wow .eg-packages__selected-btn {
    border: 0;
    border-radius: 999px;
    min-height: 30px;
    padding: 0 12px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.eg-packages--wow .eg-packages__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
}

.eg-packages--wow .eg-packages__card {
    min-width: 0;
    min-height: 0;
    padding: 10px;
    border-radius: 10px;
    gap: 5px;
    scroll-snap-align: none;
}

.eg-packages--wow .eg-packages__card:hover {
    transform: translateY(-1px);
}

.eg-packages--wow .eg-packages__card.is-selected,
.eg-packages--wow .eg-packages__card[aria-selected="true"] {
    border-color: rgba(229, 197, 255, .82);
    box-shadow: 0 0 0 1px rgba(229, 197, 255, .35), 0 10px 22px rgba(18, 10, 37, .48);
}

.eg-packages--wow .eg-packages__badge {
    font-size: .62rem;
    padding: 3px 7px;
}

.eg-packages--wow .eg-packages__name {
    font-size: .86rem;
}

.eg-packages--wow .eg-packages__price {
    font-size: .95rem;
}

.eg-packages--wow .eg-packages__desc,
.eg-packages--wow .eg-packages__when,
.eg-packages--wow .eg-packages__hint {
    font-size: .76rem;
    line-height: 1.3;
}

.eg-packages--wow .eg-packages__saving {
    font-size: .74rem;
}

.eg-packages--wow .eg-packages__choose {
    min-height: 30px;
    padding: 0 10px;
    font-size: .72rem;
    margin-top: 2px;
}

@media (min-width: 992px) {
    .eg-packages--wow .eg-packages__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eg-packages--wow .eg-packages__card {
        min-height: 150px;
    }

    .eg-packages--wow .eg-packages__card.is-anchor {
        grid-column: 1 / -1;
        min-height: 138px;
    }

    .eg-packages--wow .eg-packages__card.is-subscription {
        grid-column: auto;
        min-height: 150px;
    }
}

@media (max-width: 991px) {
    .eg-packages--wow .eg-packages__selectedbar {
        position: sticky;
        top: 8px;
        z-index: 3;
        backdrop-filter: blur(8px);
    }
}

@media (min-width: 700px) and (max-width: 991px) {
    .eg-packages--wow .eg-packages__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eg-packages--wow .eg-packages__card.is-anchor,
    .eg-packages--wow .eg-packages__card.is-subscription {
        grid-column: 1 / -1;
    }
}

@media (max-width: 699px) {
    .eg-packages--wow .eg-packages__selectedbar {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 8px;
    }

    .eg-packages--wow .eg-packages__selectedbar-left {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .eg-packages--wow .eg-packages__selected-label {
        white-space: normal;
    }

    .eg-packages--wow .eg-packages__selected-btn {
        width: 100%;
        justify-content: center;
    }

    .eg-packages--wow .eg-packages__choose {
        width: 100%;
    }
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    .ep-hero *,
    .ep-hero *::before,
    .ep-hero *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .ep-loader {
        display: none !important;
    }

    .eg-parallax-bg {
        background-attachment: scroll;
        background-position: center center;
    }
}