
/* ========================================
   OZEA STUDIO - BUNDLE PAGE
======================================== */

:root {
    --bundle-content-width: 1500px;
    --bundle-side-padding: 48px;
}


/* ========================================
   SCI-FI THEME
======================================== */

body.theme-scifi,
body:not([class*="theme-"]) {
    --universe-accent: #1ec8ff;
    --universe-accent-rgb: 30, 200, 255;

    --universe-secondary: #ff8a3d;
    --universe-secondary-rgb: 255, 138, 61;

    --page-bg: #05090c;
    --page-bg-rgb: 5, 9, 12;

    --surface-bg: #08141d;
    --surface-bg-rgb: 8, 20, 29;

    --text-primary: #ffffff;
    --text-primary-rgb: 255, 255, 255;

    --text-secondary: #dceaf2;
    --text-body: #c0d1da;
    --text-muted: #a9bdc8;
    --text-soft: #829dab;

    --shadow-rgb: 0, 0, 0;
    --mask-rgb: 0, 0, 0;

    --store-itch-bg: #fa5c5c;
    --store-itch-border: #ff7777;
    --store-itch-hover: #ff9292;
    --store-itch-rgb: 250, 92, 92;

    --store-unity-bg: #202a33;
    --store-unity-border: #52616d;
    --store-unity-hover: #71818d;

    --store-fab-bg: #5b4dff;
    --store-fab-border: #776cff;
    --store-fab-hover: #9188ff;
    --store-fab-rgb: 91, 77, 255;

    --free-badge-text: #76f3aa;
    --free-badge-border-rgb: 80, 220, 140;
    --free-badge-bg-rgb: 30, 150, 90;
}


/* ========================================
   MEDIEVAL THEME
======================================== */

body.theme-medieval {
    --universe-accent: #8fd5a5;
    --universe-accent-rgb: 143, 213, 165;

    --universe-secondary: #a87545;
    --universe-secondary-rgb: 168, 117, 69;

    --page-bg: #050905;
    --page-bg-rgb: 5, 9, 5;

    --surface-bg: #0a110b;
    --surface-bg-rgb: 10, 17, 11;

    --text-primary: #ffffff;
    --text-primary-rgb: 255, 255, 255;

    --text-secondary: #e4ebe5;
    --text-body: #c8d1ca;
    --text-muted: #abb6ad;
    --text-soft: #8f9b91;

    --shadow-rgb: 0, 0, 0;
    --mask-rgb: 0, 0, 0;

    --store-itch-bg: #fa5c5c;
    --store-itch-border: #ff7777;
    --store-itch-hover: #ff9292;
    --store-itch-rgb: 250, 92, 92;

    --store-unity-bg: #202a33;
    --store-unity-border: #52616d;
    --store-unity-hover: #71818d;

    --store-fab-bg: #5b4dff;
    --store-fab-border: #776cff;
    --store-fab-hover: #9188ff;
    --store-fab-rgb: 91, 77, 255;

    --free-badge-text: #76f3aa;
    --free-badge-border-rgb: 80, 220, 140;
    --free-badge-bg-rgb: 30, 150, 90;
}


/* ========================================
   HERO
======================================== */

.bundle-hero {
    position: relative;
    isolation: isolate;

    min-height: 530px;

    display: grid;

    grid-template-columns:
        minmax(var(--bundle-side-padding), 1fr)
        minmax(0, 645px)
        minmax(0, 855px)
        minmax(var(--bundle-side-padding), 1fr);

    grid-template-rows:
        auto
        auto;

    align-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 76% 50%,
            rgba(var(--universe-accent-rgb), .28) 0%,
            rgba(var(--universe-accent-rgb), .16) 28%,
            rgba(var(--universe-accent-rgb), .07) 48%,
            transparent 70%
        ),
        radial-gradient(
            ellipse at 70% 100%,
            rgba(var(--universe-accent-rgb), .09),
            transparent 48%
        ),
        linear-gradient(
            105deg,
            rgba(var(--universe-accent-rgb), .006) 0%,
            rgba(var(--universe-accent-rgb), .015) 45%,
            rgba(var(--universe-accent-rgb), .035) 100%
        ),
        var(--page-bg);

    border-bottom: 1px solid rgba(var(--universe-accent-rgb), .18);
}


/* BACKGROUND GRID */

.bundle-hero::before {
    content: "";

    position: absolute;
    z-index: 0;

    left: 42%;
    right: 0;
    bottom: 0;

    height: 58%;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(var(--universe-accent-rgb), .055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(var(--universe-accent-rgb), .055) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    transform:
        perspective(420px)
        rotateX(62deg)
        scale(1.35);

    transform-origin: bottom center;

    opacity: .55;

    -webkit-mask-image:
        linear-gradient(
            to top,
            rgb(var(--mask-rgb)) 0%,
            rgba(var(--mask-rgb), .75) 45%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to top,
            rgb(var(--mask-rgb)) 0%,
            rgba(var(--mask-rgb), .75) 45%,
            transparent 100%
        );
}


.bundle-hero::after {
    content: "";

    position: absolute;
    z-index: 0;

    top: 12%;
    right: 4%;

    width: 42%;
    height: 70%;

    pointer-events: none;

    border-top: 1px solid rgba(var(--universe-accent-rgb), .07);
    border-right: 1px solid rgba(var(--universe-accent-rgb), .07);

    background:
        linear-gradient(
            135deg,
            transparent 49.8%,
            rgba(var(--universe-accent-rgb), .045) 50%,
            transparent 50.2%
        );

    opacity: .75;
}


/* ========================================
   HERO INTRO
======================================== */

.bundle-hero-intro {
    position: relative;
    z-index: 3;

    grid-column: 2;
    grid-row: 1;

    align-self: end;

    width: 100%;
    max-width: 650px;

    padding-top: 50px;
}


.bundle-series {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--universe-accent);

    font-size: 20px;
    font-weight: 900;

    letter-spacing: 3px;

    text-shadow:
        0 0 12px rgba(var(--universe-accent-rgb), .20);
}


#bundle-name {
    margin: 0 0 8px;

    color: var(--text-primary);

    font-size: clamp(64px, 5vw, 86px);
    font-weight: 900;

    line-height: .95;

    letter-spacing: -2px;
}


#bundle-subtitle {
    max-width: 600px;

    margin: 22px 0 16px;

    color: var(--text-secondary);

    font-size: 18px;
    font-weight: 700;

    line-height: 1.25;

    letter-spacing: 1px;
}


/* ========================================
   HERO DESCRIPTION
======================================== */

.bundle-hero-description {
    position: relative;
    z-index: 3;

    grid-column: 2;
    grid-row: 2;

    width: 100%;
    max-width: 650px;
}


#bundle-description {
    max-width: 590px;

    margin: 4px 0 0;

    color: var(--text-body);

    font-size: 16px;
    line-height: 1.55;
}


/* ========================================
   HERO REASSURANCE
======================================== */

.bundle-hero-reassurance {
    position: relative;
    z-index: 3;

    grid-column: 2 / 4;
    grid-row: 3;

    display: flex;
    align-items: center;

    gap: 40px;

    width: 100%;
    max-width: var(--bundle-content-width);

    margin-top: 32px;
    padding-bottom: 45px;
}


.hero-reassurance-item {
    display: flex;
    align-items: center;

    gap: 13px;

    min-width: 145px;
}


.hero-reassurance-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--universe-accent);

    font-size: 21px;
    font-weight: 900;

    border: 2px solid var(--universe-accent);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(var(--universe-accent-rgb), .15),
            rgba(var(--universe-accent-rgb), .04)
        );

    box-shadow:
        0 0 18px rgba(var(--universe-accent-rgb), .10);
}


.hero-reassurance-item > div:last-child {
    display: flex;
    flex-direction: column;
}


.hero-reassurance-item strong {
    color: var(--text-primary);

    font-size: 14px;
    font-weight: 800;

    line-height: 1.2;
}


.hero-reassurance-item span {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.2;
}


/* ========================================
   HERO VISUAL
======================================== */

.bundle-hero-visual {
    position: relative;
    z-index: 2;

    grid-column: 3;
    grid-row: 1 / 3;

    width: 100%;
    height: 100%;
    min-height: 430px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    transform:
        translateX(-45px)
        translateY(45px)
        scale(1.22);

    filter:
        brightness(1.28)
        contrast(1.18)
        saturate(1.18)
        drop-shadow(0 28px 30px rgba(var(--shadow-rgb), .55))
        drop-shadow(0 0 32px rgba(var(--universe-accent-rgb), .22));
}


.bundle-hero-visual::before,
.bundle-hero-visual::after {
    content: none !important;
}


.bundle-hero-visual.no-image {
    opacity: 0;
}




/* ========================================
   PACKS SECTION
======================================== */

.bundle-packs {
    padding: 85px 5% 100px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(var(--universe-accent-rgb), .05),
            transparent 35%
        ),
        var(--page-bg);
}


/* ========================================
   PACKS HEADER
======================================== */

.bundle-packs-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;

    gap: 60px;

    width: 100%;
    max-width: var(--bundle-content-width);
    margin: 0 auto 42px;
}


/* LEFT */

.bundle-packs-intro h2 {
    margin: 0 0 10px;

    color: var(--universe-accent);

    font-size: 30px;
    font-weight: 900;

    letter-spacing: .4px;
}


.bundle-packs-intro p {
    max-width: 760px;

    margin: 0;

    color: var(--text-body);

    font-size: 17px;
    line-height: 1.55;
}


/* RIGHT STATS */

.bundle-packs-stats {
    display: flex;
    align-items: stretch;

    min-height: 100px;

    background:
        linear-gradient(
            135deg,
            rgba(var(--universe-accent-rgb), .045),
            rgba(var(--universe-accent-rgb), .012)
        ),
        var(--surface-bg);

    border: 1px solid rgba(var(--universe-accent-rgb), .55);
    border-radius: 7px;

    box-shadow:
        0 0 22px rgba(var(--universe-accent-rgb), .06);
}


.bundle-pack-stat {
    position: relative;

    min-width: 145px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0 24px;
}


.bundle-pack-stat:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 22px;
    right: 0;
    bottom: 22px;

    width: 1px;

    background: rgba(var(--universe-accent-rgb), .18);
}


.bundle-pack-stat strong {
    color: var(--text-primary);

    font-size: 17px;
    font-weight: 900;
}


.bundle-pack-stat span {
    margin-top: 5px;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
}


/* ========================================
   PACK GRID
======================================== */

.bundle-pack-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;

    width: 100%;
    max-width: var(--bundle-content-width);

    margin: 0 auto;
}


/* ========================================
   PACK CARD
======================================== */

.bundle-pack-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 410px;

    overflow: hidden;

    color: var(--text-primary);
    text-decoration: none;

    background:
        radial-gradient(
            circle at 50% 32%,
            rgba(var(--universe-accent-rgb), .12),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            rgba(var(--universe-accent-rgb), .04) 0%,
            rgba(var(--universe-accent-rgb), .015) 72%,
            rgba(var(--universe-accent-rgb), .006) 100%
        ),
        var(--surface-bg);

    border: 1px solid rgba(var(--universe-accent-rgb), .18);
    border-radius: 7px;

    box-shadow:
        0 16px 32px rgba(var(--shadow-rgb), .32);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* UNIVERSE TOP ACCENT */

.bundle-pack-card::before {
    content: "";

    position: absolute;
    z-index: 5;

    top: 0;
    left: 0;

    width: 72px;
    height: 3px;

    background: var(--universe-accent);

    box-shadow:
        0 0 12px rgba(var(--universe-accent-rgb), .55);
}


/* TECH CORNER */

.bundle-pack-card::after {
    content: "";

    position: absolute;
    z-index: 5;

    top: 14px;
    right: 14px;

    width: 17px;
    height: 17px;

    border-top: 2px solid rgba(var(--universe-accent-rgb), .45);
    border-right: 2px solid rgba(var(--universe-accent-rgb), .45);
}


/* ========================================
   PACK CARD HOVER
======================================== */

.bundle-pack-card:hover {
    transform: translateY(-4px);

    border-color: rgba(var(--universe-accent-rgb), .72);

    background:
        radial-gradient(
            circle at 50% 32%,
            rgba(var(--universe-accent-rgb), .17),
            transparent 50%
        ),
        linear-gradient(
            145deg,
            rgba(var(--universe-accent-rgb), .07) 0%,
            rgba(var(--universe-accent-rgb), .025) 72%,
            rgba(var(--universe-accent-rgb), .012) 100%
        ),
        var(--surface-bg);

    box-shadow:
        0 22px 42px rgba(var(--shadow-rgb), .48),
        0 0 24px rgba(var(--universe-accent-rgb), .08);
}


/* ========================================
   PACK IMAGE
======================================== */

.bundle-pack-image {
    position: relative;

    height: 270px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 22px 24px 8px;
}


/* IMAGE SEPARATOR */

.bundle-pack-image::after {
    content: "";

    position: absolute;

    left: 9%;
    right: 9%;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(var(--universe-accent-rgb), .30),
            transparent
        );
}


/* PACK IMAGE */

.bundle-pack-image img {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transform: scale(1.18);

    filter:
        brightness(1.22)
        contrast(1.10)
        saturate(1.18)
        drop-shadow(0 18px 18px rgba(var(--shadow-rgb), .45))
        drop-shadow(0 0 16px rgba(var(--universe-accent-rgb), .10));

    transition:
        transform .30s ease,
        filter .30s ease;
}

.bundle-pack-card:hover .bundle-pack-image img {
    transform: scale(1.23);

    filter:
        brightness(1.27)
        contrast(1.12)
        saturate(1.20)
        drop-shadow(0 22px 22px rgba(var(--shadow-rgb), .55))
        drop-shadow(0 0 20px rgba(var(--universe-accent-rgb), .14));
}


/* ========================================
   PACK PLACEHOLDER
======================================== */

.bundle-pack-placeholder {
    color: var(--text-soft);

    font-size: 30px;
    font-weight: 900;

    letter-spacing: 2px;
}


/* ========================================
   PACK INFORMATION
======================================== */

.bundle-pack-info {
    position: relative;

    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 18px 22px 20px;
}


/* PACK CODE */

.bundle-pack-code {
    margin-bottom: 7px;

    color: var(--universe-accent);

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 1.6px;
}


/* PACK NAME */

.bundle-pack-info h3 {
    margin: 0;

    color: var(--text-primary);

    font-size: 19px;
    font-weight: 800;

    line-height: 1.25;
}


/* PACK DESCRIPTION */

.bundle-pack-description {
    margin: 10px 0 18px;

    color: var(--text-body);

    font-size: 13px;
    font-weight: 400;

    line-height: 1.45;
}


/* PACK META */

.bundle-pack-meta {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: auto;

    color: var(--text-muted);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .7px;
}


.bundle-pack-assets {
    color: rgba(var(--universe-secondary-rgb), .70);
}


.bundle-pack-assets strong {
    color: var(--universe-secondary);

    font-weight: 900;
}


/* FREE BADGE */

.bundle-pack-free {
    padding: 4px 8px;

    color: var(--free-badge-text);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .7px;

    border: 1px solid rgba(var(--free-badge-border-rgb), .45);
    border-radius: 3px;

    background: rgba(var(--free-badge-bg-rgb), .10);
}


/* ========================================
   COMPLETE BUNDLE CTA
======================================== */

.bundle-complete {
    position: relative;

    display: grid;

    grid-template-columns: 42% 58%;
    grid-template-rows: auto 1fr;

    width: 100%;
    max-width: var(--bundle-content-width);
    min-height: 380px;

    margin: 0 auto 90px;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 25% 50%,
            rgba(var(--universe-accent-rgb), .07),
            transparent 40%
        ),
        linear-gradient(
            110deg,
            rgba(var(--universe-accent-rgb), .025) 0%,
            rgba(var(--universe-accent-rgb), .018) 45%,
            rgba(var(--universe-accent-rgb), .008) 100%
        ),
        var(--page-bg);

    border: 1px solid rgba(var(--universe-accent-rgb), .55);
    border-radius: 9px;

    box-shadow:
        0 25px 55px rgba(var(--shadow-rgb), .45),
        0 0 25px rgba(var(--universe-accent-rgb), .05);
}


/* ========================================
   HEADING
======================================== */

.bundle-complete-heading {
    position: relative;
    z-index: 4;

    grid-column: 2;
    grid-row: 1;

    padding: 45px 55px 0 25px;
}


.bundle-complete-label {
    display: block;

    margin-bottom: 10px;

    color: var(--universe-accent);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 3px;
}


.bundle-complete-heading h2 {
    max-width: 700px;

    margin: 0;

    color: var(--text-primary);

    font-size: clamp(40px, 3.2vw, 54px);
    font-weight: 900;

    line-height: 1;

    text-transform: uppercase;
}


/* ========================================
   LEFT VISUAL
======================================== */

.bundle-complete-decoration {
    position: relative;

    grid-column: 1;
    grid-row: 1 / 3;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 45% 50%,
            rgba(var(--universe-accent-rgb), .08),
            transparent 55%
        );
}


/* SERIES IMAGE */

.bundle-complete-decoration span {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}


.bundle-complete-decoration span img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 18px 8px 12px 18px;

    transform: scale(1.06);

    filter:
        brightness(1.20)
        contrast(1.16)
        saturate(1.15)
        drop-shadow(0 22px 22px rgba(var(--shadow-rgb), .48))
        drop-shadow(0 0 16px rgba(var(--universe-accent-rgb), .10));
}


/* SUBTLE TECH GRID */

.bundle-complete-decoration::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(var(--universe-accent-rgb), .035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(var(--universe-accent-rgb), .035) 1px,
            transparent 1px
        );

    background-size: 34px 34px;

    opacity: .35;

    -webkit-mask-image:
        linear-gradient(
            90deg,
            rgba(var(--mask-rgb), .8) 0%,
            rgba(var(--mask-rgb), .45) 55%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            90deg,
            rgba(var(--mask-rgb), .8) 0%,
            rgba(var(--mask-rgb), .45) 55%,
            transparent 100%
        );
}


/* FADE BETWEEN IMAGE AND CONTENT */

.bundle-complete-decoration::after {
    content: "";

    position: absolute;
    z-index: 3;

    top: 0;
    right: 0;
    bottom: 0;

    width: 110px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--page-bg)
        );

    pointer-events: none;
}


/* ========================================
   CONTENT
======================================== */

.bundle-complete-content {
    position: relative;
    z-index: 4;

    grid-column: 2;
    grid-row: 2;

    display: flex;
    flex-direction: column;

    padding: 18px 55px 45px 25px;
}


.bundle-complete-content p {
    max-width: 700px;

    margin: 0 0 22px;

    color: var(--text-body);

    font-size: 17px;
    line-height: 1.55;
}


/* ========================================
   COMPLETE BUNDLE BENEFITS
======================================== */

.bundle-future-badge {
    display: flex;
    flex-direction: column;

    width: fit-content;

    gap: 8px;

    margin-bottom: 27px;

    padding: 0;

    border: 0;
    background: none;
}


.bundle-complete-benefit {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.35;
}


.bundle-complete-benefit span {
    color: var(--universe-accent);

    font-size: 19px;
    font-weight: 900;

    line-height: 1;
}


.bundle-complete-benefit strong {
    color: var(--text-secondary);

    font-size: 15px;
    font-weight: 600;
}


/* ========================================
   STORE BUTTONS
======================================== */

.bundle-store-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.bundle-store-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 135px;
    min-height: 48px;

    padding: 0 24px;

    color: var(--text-primary);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: .5px;

    text-decoration: none;

    border-radius: 5px;

    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;
}


.bundle-store-buttons a:hover {
    transform: translateY(-2px);

    filter: brightness(1.12);
}


/* ITCH.IO */

.bundle-store-buttons .store-itch {
    background: var(--store-itch-bg);

    border: 1px solid var(--store-itch-border);

    box-shadow:
        0 6px 18px rgba(var(--store-itch-rgb), .18);
}


/* UNITY */

.bundle-store-buttons .store-unity {
    background: var(--store-unity-bg);

    border: 1px solid var(--store-unity-border);

    box-shadow:
        0 6px 18px rgba(var(--shadow-rgb), .25);
}


/* FAB */

.bundle-store-buttons .store-fab {
    background: var(--store-fab-bg);

    border: 1px solid var(--store-fab-border);

    box-shadow:
        0 6px 18px rgba(var(--store-fab-rgb), .20);
}


/* ========================================
   ULTIMATE LIBRARY
======================================== */

.bundle-ultimate {
    position: relative;

    width: 100%;

    margin: 0;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 28% 50%,
            rgba(var(--universe-accent-rgb), .10),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 72% 50%,
            rgba(var(--universe-accent-rgb), .06),
            transparent 42%
        ),
        linear-gradient(
            110deg,
            rgba(var(--universe-accent-rgb), .008) 0%,
            rgba(var(--universe-accent-rgb), .025) 50%,
            rgba(var(--universe-accent-rgb), .008) 100%
        ),
        var(--page-bg);

    border-top: 1px solid rgba(var(--universe-accent-rgb), .18);
    border-bottom: 1px solid rgba(var(--universe-accent-rgb), .18);
}


/* SUBTLE BACKGROUND DETAIL */

.bundle-ultimate::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(var(--universe-accent-rgb), .025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(var(--universe-accent-rgb), .025) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    opacity: .45;
}


/* ========================================
   INNER LAYOUT
======================================== */

.bundle-ultimate-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 48% 52%;

    width: 100%;
    max-width: var(--bundle-content-width);
    min-height: 310px;

    margin: 0 auto;
}


/* ========================================
   VISUAL
======================================== */

.bundle-ultimate-visual {
    position: relative;

    min-width: 0;

    overflow: visible;
}


.bundle-ultimate-visual img {
    display: block;

    width: 112%;
    height: 100%;

    margin-left: -6%;

    object-fit: cover;
    object-position: center;

    filter:
        brightness(.90)
        contrast(1.10)
        saturate(1.06);

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgb(var(--mask-rgb)) 15%,
            rgb(var(--mask-rgb)) 70%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgb(var(--mask-rgb)) 15%,
            rgb(var(--mask-rgb)) 70%,
            transparent 100%
        );
}


/* PLUS BESOIN DU FAUX FONDU */

.bundle-ultimate-visual::after {
    content: none;
}


/* ========================================
   CONTENT
======================================== */

.bundle-ultimate-content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 45px 60px;
}


.bundle-ultimate-label {
    margin-bottom: 10px;

    color: var(--universe-accent);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 3px;
}


.bundle-ultimate-content h2 {
    margin: 0 0 16px;

    color: var(--text-primary);

    font-size: clamp(46px, 3.8vw, 64px);
    font-weight: 900;

    line-height: .92;

    text-transform: uppercase;
}


.bundle-ultimate-content h2 strong {
    display: block;

    margin-top: 5px;

    color: var(--universe-accent);

    font-weight: 900;
}


.bundle-ultimate-summary {
    margin: 0 0 8px;

    color: var(--text-primary);

    font-size: 17px;
    font-weight: 800;

    line-height: 1.4;
}


.bundle-ultimate-description {
    max-width: 620px;

    margin: 0 0 22px;

    color: var(--text-muted);

    font-size: 16px;
    line-height: 1.55;
}


/* ========================================
   BUTTON
======================================== */

.bundle-ultimate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 26px;

    color: var(--text-primary);

    font-size: 13px;
    font-weight: 900;

    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            var(--universe-secondary),
            rgba(var(--universe-secondary-rgb), .78)
        );

    border: 1px solid var(--universe-secondary);
    border-radius: 5px;

    box-shadow:
        0 8px 24px rgba(var(--universe-secondary-rgb), .20);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.bundle-ultimate-button:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            rgb(var(--universe-secondary-rgb)),
            rgba(var(--universe-secondary-rgb), .88)
        );

    border-color: var(--universe-secondary);

    box-shadow:
        0 10px 26px rgba(var(--universe-secondary-rgb), .28);
}






/* ========================================
   VISUAL SERIES NAVIGATION
======================================== */

.bundle-series-nav {
    position: relative;

    padding: 24px var(--bundle-side-padding);

    background:
        linear-gradient(
            180deg,
            rgba(var(--universe-accent-rgb), .018) 0%,
            rgba(var(--universe-accent-rgb), .006) 100%
        ),
        var(--page-bg);

    border-top: 1px solid rgba(var(--universe-accent-rgb), .14);
    border-bottom: 1px solid rgba(var(--universe-accent-rgb), .14);
}


/* ========================================
   TRACK
======================================== */

.bundle-series-nav-track {
    display: grid;

    grid-template-columns:
        repeat(11, minmax(0, 1fr));

    gap: 8px;

    width: 100%;
    max-width: var(--bundle-content-width);

    margin: 0 auto;
}


/* ========================================
   CARD
======================================== */

.bundle-series-nav-card {
    position: relative;

    min-width: 0;
    height: 175px;

    overflow: hidden;

    color: var(--text-primary);
    text-decoration: none;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(var(--universe-accent-rgb), .11),
            transparent 50%
        ),
        var(--surface-bg);

    border: 1px solid rgba(var(--universe-accent-rgb), .16);
    border-radius: 6px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


/* ========================================
   IMAGE
======================================== */

.bundle-series-nav-image {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 125px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 5px 8px 0;
}


.bundle-series-nav-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    opacity: .82;

    filter:
        drop-shadow(0 12px 12px rgba(var(--shadow-rgb), .50));

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* ========================================
   INFO
======================================== */

.bundle-series-nav-info {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 46px;

    display: flex;
    align-items: center;

    padding: 0 10px;

    background:
        linear-gradient(
            180deg,
            rgba(var(--page-bg-rgb), .10),
            rgba(var(--page-bg-rgb), .96)
        );
}


.bundle-series-nav-info span {
    color: var(--universe-accent);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 1.4px;

    white-space: nowrap;
}


/* ========================================
   ACTIVE
======================================== */

.bundle-series-nav-card.active {
    border-color: var(--universe-accent);

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(var(--universe-accent-rgb), .20),
            transparent 52%
        ),
        var(--surface-bg);

    box-shadow:
        0 0 18px rgba(var(--universe-accent-rgb), .16),
        inset 0 -2px 0 var(--universe-accent);
}


.bundle-series-nav-card.active .bundle-series-nav-image img {
    opacity: 1;

    transform: scale(1.05);
}


/* ========================================
   HOVER
======================================== */

.bundle-series-nav-card:hover {
    border-color: rgba(var(--universe-accent-rgb), .70);

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(var(--universe-accent-rgb), .16),
            transparent 52%
        ),
        var(--surface-bg);
}


.bundle-series-nav-card:hover .bundle-series-nav-image img {
    opacity: 1;

    transform: scale(1.04);
}




body.medieval-bundle-a .bundle-hero-visual {
    background-size: 68%;

}


/* =========================================================
   RESPONSIVE
   BUNDLE PAGE
   ========================================================= */


   /* =========================================================
   1600px AND BELOW
   ========================================================= */

@media (max-width: 1600px) {

    .bundle-hero-visual {
        transform:
            translateX(-45px)
            translateY(45px)
            scale(1.10);
    }

    /* =====================================================
   SERIES NAVIGATION
   ===================================================== */

.bundle-series-nav-track {
    display: flex;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 10px;

    scrollbar-width: thin;
}

.bundle-series-nav-card {
    flex: 0 0 165px;
}

.bundle-complete {
    width: calc(100% - 80px);
    margin-left: 40px;
    margin-right: 40px;
}


}

   /* =========================================================
   1450px AND BELOW
   ========================================================= */

@media (max-width: 1450px) {

     /* TITRE */

    #bundle-name {
        font-size: 56px;
    }


    /* REASSURANCE */

    .bundle-hero-reassurance {
        gap: 24px;
    }

    .hero-reassurance-item {
        min-width: 125px;
        gap: 9px;
    }

    .hero-reassurance-icon {
        flex: 0 0 44px;

        width: 44px;
        height: 44px;

        font-size: 18px;
    }

    .hero-reassurance-item strong {
        font-size: 13px;
    }

    .hero-reassurance-item span {
        font-size: 11px;
    }


        /* PACK GRID */

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

}

/* =========================================================
   1250px AND BELOW
   ========================================================= */

@media (max-width: 1250px) {
    /* =====================================================
    HERO
    ===================================================== */

    .bundle-hero {
        min-height: auto;

        grid-template-columns:
            var(--bundle-side-padding)
            minmax(0, 1fr)
            var(--bundle-side-padding);

        grid-template-rows: auto;

        align-content: start;

        padding-bottom: 35px;
    }

    .bundle-hero-intro {
        grid-column: 2;
        grid-row: 1;

        max-width: none;

        padding-top: 50px;
    }

    .bundle-series {
        font-size: 18px;
    }

    #bundle-name {
        font-size: clamp(52px, 10vw, 72px);
    }

    #bundle-subtitle {
        max-width: 600px;

        margin-top: 20px;

        font-size: 17px;
    }


    /* DESCRIPTION */

    .bundle-hero-description {
        grid-column: 2;
        grid-row: 2;

        max-width: 650px;

        margin-top: 5px;
    }

    #bundle-description {
        max-width: 100%;

        margin: 0;

        font-size: 16px;
    }


    /* VISUAL */

    .bundle-hero-visual {
        grid-column: 2;
        grid-row: 3;

        width: 100%;
        height: 425px;
        min-height: 0;

        margin: 25px 15px;

        background-position: center;
        background-size: contain;

        transform: scale(1.18);
    }


    /* REASSURANCE */

    .bundle-hero-reassurance {
        grid-column: 2;
        grid-row: 4;

        display: grid;
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 18px;

        margin-top: 30px;
        padding-bottom: 0;
    }

    .hero-reassurance-item {
        min-width: 0;

        gap: 10px;
    }

    .hero-reassurance-icon {
        flex-basis: 46px;

        width: 46px;
        height: 46px;

        font-size: 18px;
    }

    .hero-reassurance-item strong {
        font-size: 13px;
    }

    .hero-reassurance-item span {
        font-size: 12px;
    }

    /* PACK GRID */

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

}

/* =========================================================
   1100px AND BELOW
   ========================================================= */

@media (max-width: 1100px) {

    /* PACKS HEADER */

    .bundle-packs-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bundle-packs-stats {
        width: fit-content;
        max-width: 100%;
        overflow-x: auto;
    }
}


/* =========================================================
   1000px AND BELOW
   ========================================================= */

@media (max-width: 1000px) {

/* =====================================================
       COMPLETE BUNDLE
       ===================================================== */

    .bundle-complete {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;

        width: auto;

        margin-left: var(--bundle-side-padding);
        margin-right: var(--bundle-side-padding);
        margin-bottom: 70px;
    }

    .bundle-complete-heading {
        grid-column: 1;
        grid-row: 1;

        padding: 35px 30px 10px;
    }

    .bundle-complete-heading h2 {
        max-width: none;
    }

    .bundle-complete-decoration {
        grid-column: 1;
        grid-row: 2;

        min-height: 330px;
    }

    .bundle-complete-decoration span {
        width: 100%;
        height: 330px;
    }

    .bundle-complete-decoration span img {
        width: 100%;
        height: 100%;

        padding: 0 20px;

        transform: scale(1.18);
    }

.bundle-complete-decoration::after {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;

    width: auto;
    height: 60px;

    background:
        linear-gradient(
            180deg,
            transparent,
            var(--page-bg)
        );
}

    .bundle-complete-content {
        grid-column: 1;
        grid-row: 3;

        padding: 10px 30px 35px;
    }
}




/* =========================================================
   900px AND BELOW
   ========================================================= */

@media (max-width: 900px) {

        .bundle-hero-visual {
        grid-column: 2;
        grid-row: 3;

        width: 100%;
        height: 380px;
        min-height: 0;

        margin: 25px 15px;

        background-position: center;
        background-size: contain;

        transform: scale(1.18);
    }

        /* REASSURANCE */

    .bundle-hero-reassurance {
        grid-column: 2;
        grid-row: 4;

        display: grid;
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 18px;

        margin-top: 10px;
        padding-bottom: 0;
    }

    /* =====================================================
       ULTIMATE
       ===================================================== */

    .bundle-ultimate-inner {
        grid-template-columns: 1fr;
    }

    .bundle-ultimate-visual {
        height: 260px;
    }

.bundle-ultimate-visual::after {
    background:
        linear-gradient(
            180deg,
            transparent 35%,
            var(--page-bg) 100%
        );
}

    .bundle-ultimate-content {
        padding:
            20px
            var(--bundle-side-padding)
            45px;
    }
}


/* =========================================================
   850px AND BELOW
   ========================================================= */

@media (max-width: 850px) {

        /* PACK GRID */

    .bundle-pack-grid {
        grid-template-columns: 1fr;
    }

            .bundle-hero-visual {

        margin: 25px 0;

    }
}

/* =========================================================
   750px AND BELOW
   ========================================================= */

@media (max-width: 750px) {

            .bundle-hero-visual {


        height: 320px;


    }

}   
/* =========================================================
   600px AND BELOW
   ========================================================= */

@media (max-width: 600px) {

    /* =====================================================
       HERO
       ===================================================== */

    .bundle-hero {
        grid-template-columns:
            22px
            minmax(0, 1fr)
            22px;

        padding-bottom: 32px;
    }

    .bundle-hero::before {
        left: 0;

        height: 40%;
    }

    .bundle-hero::after {
        top: 7%;
        right: 5%;

        width: 55%;
        height: 35%;
    }

    .bundle-hero-intro {
        padding-top: 38px;
    }

    .bundle-series {
        margin-bottom: 12px;

        font-size: 15px;

        letter-spacing: 2px;
    }

    #bundle-name {
        font-size: clamp(42px, 14vw, 58px);

        letter-spacing: -1px;
    }

    #bundle-subtitle {
        max-width: 100%;

        margin: 18px 0 0;

        font-size: 16px;

        line-height: 1.3;
    }

    .bundle-hero-visual {
        height: 300px;

        margin: 15px 0 10px;

        background-position: center;
    }

    #bundle-description {
        font-size: 15px;

        line-height: 1.55;
    }

    .bundle-hero-reassurance {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px 15px;

        margin-top: 28px;
    }

    .hero-reassurance-item {
        gap: 10px;
    }


    /* =====================================================
       PACKS HEADER
       ===================================================== */

    .bundle-packs-stats {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        width: 100%;
        min-height: 0;

        overflow: hidden;
    }

    .bundle-pack-stat {
        min-width: 0;
        min-height: 82px;

        padding: 16px 20px;
    }

    .bundle-pack-stat:nth-child(odd)::after {
        content: "";

        position: absolute;

        top: 16px;
        right: 0;
        bottom: 16px;

        width: 1px;

        background: rgba(var(--universe-accent-rgb), .22);
    }

    .bundle-pack-stat:nth-child(even)::after {
        content: none;
    }

    .bundle-pack-stat:nth-child(-n+2)::before {
        content: "";

        position: absolute;

        left: 20px;
        right: 20px;
        bottom: 0;

        height: 1px;

        background: rgba(var(--universe-accent-rgb), .22);
    }

    .bundle-pack-stat strong {
        font-size: 16px;
    }

    .bundle-pack-stat span {
        font-size: 12px;

        white-space: normal;
    }


    /* =====================================================
       COMPLETE BUNDLE
       ===================================================== */

    .bundle-complete {
        margin-left: 20px;
        margin-right: 20px;

        margin-bottom: 65px;
    }

    .bundle-complete-heading {
        padding:
            30px
            30px
            8px;
    }

    .bundle-complete-label {
        font-size: 12px;

        letter-spacing: 2.5px;
    }

    .bundle-complete-heading h2 {
        font-size: 40px;

        line-height: 1;
    }

    .bundle-complete-decoration {
        min-height: 230px;
    }

    .bundle-complete-decoration span {
        height: 230px;
    }

    .bundle-complete-decoration span img {
        padding: 5px 15px;
    }

    .bundle-complete-content {
        padding:
            8px
            30px
            35px;
    }

    .bundle-complete-content p {
        font-size: 16px;
    }

    .bundle-future-badge {
        width: 100%;
    }



    .bundle-store-buttons a {
        width: 135px;
    }
}


/* =========================================================
   550px AND BELOW
   ========================================================= */

@media (max-width: 550px) {


            .bundle-hero-visual {
        height: 450px;
    }

    /* ULTIMATE */

    .bundle-ultimate-content h2 {
        font-size: 40px;
    }

    .bundle-ultimate-summary {
        font-size: 15px;
    }

    .bundle-ultimate-description {
        font-size: 15px;
    }

        #bundle-name {
        font-size: 42px;
    }

        .bundle-hero-visual {
        grid-column: 2;
        grid-row: 3;

        width: 100%;
        height: 310px;
        min-height: 0;

        margin: 5px 0;

        background-position: center;
        background-size: contain;

        transform: scale(1.06);
    }

        .bundle-store-buttons {
        width: 100%;
        gap: 12px;
        }

        .bundle-store-buttons a {
            min-width: 0;
            flex: 1 1 0;
            padding-left: 12px;
            padding-right: 12px;
        }

}



/* =========================================================
   450px AND BELOW
   ========================================================= */

@media (max-width: 450px) {

            .bundle-hero-visual {
        grid-column: 2;
        grid-row: 3;

        width: 100%;
        height: 200px;
        min-height: 0;

        margin: 5px 0;

        background-position: center;
        background-size: contain;

        transform: scale(1.06);
    }

}


/* =========================================================
   400px AND BELOW
   ========================================================= */

@media (max-width: 400px) {


                .bundle-store-buttons {
        width: 100%;

        flex-direction: column;
        align-items: center;

        gap: 12px;
    }

}


