/* BOSS RPG preview: load after shared style.css. Does not affect other pages. */
.boss-rpg-page {
    --boss-parchment: #dfc48b;
    --boss-stone: #292723
}

.boss-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(calc(100% - 40px), 1400px);
    height: clamp(430px, 56vw, 700px);
    margin: 4px auto 0;
    border: 4px solid #725936;
    border-top: 0
}

.boss-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.boss-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .38) 58%, rgba(0, 0, 0, .08))
}

.boss-hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 72px
}

.boss-hero-content .section-kicker {
    color: var(--gamewick-green);
    font-size: clamp(1.1rem, 2vw, 1.55rem)
}

.boss-hero h1 {
    font-family: Badaboom, Impact, sans-serif;
    font-size: clamp(4rem, 9vw, 7.5rem);
    line-height: .9;
    text-shadow: 5px 5px 0 #000;
    margin: 8px 0 14px
}

.boss-hero-content p {
    font-size: clamp(1.1rem, 2.3vw, 1.65rem);
    margin: 0;
    color: #eee
}

.boss-banner {
    position: relative;
    width: min(calc(100% - 40px), 1400px);
    margin: auto;
    padding: 32px 22px;
    background: linear-gradient(120deg, #493b28, #211e1b 40%, #3b3026);
    border-bottom: 6px solid #a88754;
    box-shadow: inset 0 3px 0 #8c704a, 0 12px 20px #0007;
    text-align: center
}

.boss-banner p {
    margin: 0;
    color: var(--boss-parchment);
    font-family: Badaboom, Impact, sans-serif;
    font-size: clamp(1.65rem, 4vw, 3.2rem);
    line-height: 1.12;
    text-shadow: 3px 3px #000
}

.boss-intro {
    padding: 70px 0 65px;
    background: linear-gradient(#111a, #111a), url('../images/grunge-background.jpg') repeat
}

.boss-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .85fr);
    align-items: center;
    gap: clamp(30px, 5vw, 90px)
}

.boss-intro-copy {
    max-width: 730px
}

.boss-intro-copy p {
    font-size: 1.14rem;
    line-height: 1.85;
    margin: 0 0 24px
}

.boss-intro-copy strong,
.boss-dice strong {
    color: var(--boss-parchment)
}

.boss-torchbearer-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px
}

.boss-torchbearer {
    width: min(100%, 370px);
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(12px 16px 0 #0007);
    opacity: 0;
    transform: translateX(90px);
    transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1)
}

.boss-torchbearer.is-visible {
    opacity: 1;
    transform: translateX(0);
    animation: boss-hover 4.5s ease-in-out 1.2s infinite
}

@keyframes boss-hover {
    50% {
        translate: 0 -8px
    }
}

.boss-components {
    padding-top: 45px
}

.boss-section-heading {
    text-align: center;
    margin-bottom: 30px
}

.boss-section-heading .section-kicker {
    color: var(--gamewick-green)
}

.boss-section-heading h2,
.boss-dice h2,
.boss-gallery h2,
.boss-no-dice h2 {
    font-family: Badaboom, Impact, sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.05;
    margin: 10px 0 20px
}

.boss-component-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 35px
}

.boss-component {
    margin: 0;
    min-width: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(35px) rotate(-1deg);
    transition: opacity .65s ease, transform .75s ease
}

.boss-component.is-visible {
    opacity: 1;
    transform: translateY(0) rotate(0)
}

.boss-component:nth-child(2) {
    transition-delay: .12s
}

.boss-component:nth-child(3) {
    transition-delay: .24s
}

.boss-component:nth-child(4) {
    transition-delay: .1s
}

.boss-component:nth-child(5) {
    transition-delay: .22s
}

.boss-component:nth-child(6) {
    transition-delay: .34s
}

.boss-component img,
.boss-pending-art {
    width: 100%;
    height: clamp(180px, 26vw, 310px);
    object-fit: contain;
    filter: drop-shadow(10px 12px 0 #0007)
}

.boss-component figcaption {
    font-weight: 800;
    color: var(--boss-parchment);
    padding: 14px 4px
}

.boss-component figcaption small {
    display: block;
    color: #aaa;
    font-size: .75rem;
    font-weight: 400
}

.boss-pending-art {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #302d29;
    border: 2px dashed #9d865f;
    color: #ad9875;
    font: 5rem Badaboom, Impact, sans-serif
}

.boss-dice {
    padding: 75px 0 85px;
    background: linear-gradient(130deg, #29231e, #171717 65%, #26231c);
    border-block: 1px solid #6c5839
}

.boss-dice-inner {
    max-width: 950px
}

.boss-dice .section-kicker {
    color: var(--gamewick-green)
}

.boss-dice p {
    font-size: 1.17rem;
    line-height: 1.85
}

.boss-gallery {
    padding: 65px 0;
    text-align: center;
    background: linear-gradient(#0008, #0008), url('../images/grunge-background.jpg') repeat
}

.boss-gallery .section-kicker {
    color: var(--gamewick-green)
}

.boss-gallery p {
    color: #bbb
}

.boss-no-dice {
    padding: 65px 0 85px;
    background: #1f1f1f
}

.boss-no-dice-inner {
    max-width: 900px;
    padding: 35px 45px;
    border-left: 6px solid var(--gamewick-purple);
    background: #292929
}

.boss-no-dice .section-kicker {
    color: var(--gamewick-green)
}

.boss-no-dice p {
    font-size: 1.12rem;
    line-height: 1.85
}

@media(max-width:850px) {
    .boss-hero {
        width: 100%;
        height: 520px;
        margin: 0;
        border-left: 0;
        border-right: 0
    }

    .boss-hero-content {
        padding: 0 22px 58px
    }

    .boss-hero-shade {
        background: linear-gradient(0deg, #000d, #0006 60%, #0002)
    }

    .boss-banner {
        width: 100%
    }

    .boss-intro {
        padding: 45px 0
    }

    .boss-intro-layout {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .boss-torchbearer-wrap {
        min-height: 240px
    }

    .boss-torchbearer {
        width: min(70vw, 310px)
    }

    .boss-component-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px
    }

    .boss-component img,
    .boss-pending-art {
        height: clamp(180px, 38vw, 290px)
    }

    .boss-dice {
        padding: 55px 0
    }

    .boss-no-dice {
        padding: 50px 0
    }

    .boss-no-dice-inner {
        padding: 25px
    }
}

@media(max-width:500px) {
    .boss-hero {
        height: 440px
    }

    .boss-hero h1 {
        font-size: clamp(3.5rem, 16vw, 5rem)
    }

    .boss-banner {
        padding: 25px 15px
    }

    .boss-component-grid {
        gap: 12px
    }

    .boss-component img,
    .boss-pending-art {
        height: 180px
    }

    .boss-component figcaption {
        font-size: .9rem
    }

    .boss-intro-copy p,
    .boss-dice p,
    .boss-no-dice p {
        font-size: 1rem
    }
}

@media(prefers-reduced-motion:reduce) {

    .boss-torchbearer,
    .boss-component {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none !important
    }
}

/* LARRY'S NOVEMBER REVISIONS */
.boss-banner {
    isolation: isolate;
    overflow: hidden
}

.boss-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/boss-rpg/Back_Scales_Blue.jpg') center / 260px auto repeat;
    opacity: .10;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: -1
}

.boss-banner .content-wrap {
    position: relative;
    z-index: 1
}

.boss-torchbearer-wrap {
    position: relative;
    isolation: isolate
}

.boss-door-glow {
    position: absolute;
    z-index: -1;
    inset: 3% -4% 0;
    background: radial-gradient(ellipse at 52% 43%, rgba(255, 183, 49, .52) 0%, rgba(225, 120, 12, .26) 32%, transparent 70%), url('../images/boss-rpg/Sample-Dungon Door w Glow.png') center / contain no-repeat;

    filter: sepia(.6) brightness(.55);
    pointer-events: none
}

.boss-torchbearer {
    position: relative;
    z-index: 2
}

.boss-not-in-box {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 28px 32px 10px;
    border-top: 1px solid #77613e;
    text-align: center
}

.boss-not-in-box .section-kicker {
    display: block;
    color: var(--gamewick-green);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    margin-bottom: 14px
}

.boss-not-in-box p {
    font-size: 1.08rem;
    line-height: 1.85
}

.boss-dice-inner {
    max-width: var(--content-width);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 70px)
}

.boss-dice-copy {
    min-width: 0
}

.boss-art-gallery {
    min-width: 0
}

.boss-art-stage {
    position: relative;
    aspect-ratio: 1.35;
    background: #101010;
    border: 4px solid #685337;
    box-shadow: 12px 14px 0 #0006;
    overflow: hidden
}

.boss-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .8s ease
}

.boss-gallery-image.is-active {
    opacity: 1
}

.boss-gallery-controls:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 18px
}

.boss-gallery-controls button {
    background: #30261d;
    border: 1px solid #a88754;
    color: var(--boss-parchment);
    font-size: 1.7rem;
    cursor: pointer;
    padding: 0 14px
}

.boss-gallery-controls button:hover {
    background: #51402d
}

.boss-gallery-count {
    font-weight: bold;
    color: var(--boss-parchment)
}

@media(max-width:850px) {
    .boss-dice-inner {
        grid-template-columns: 1fr
    }

    .boss-art-gallery {
        width: min(100%, 650px);
        margin: auto
    }

    .boss-door-glow {
        inset: 0 10%
    }
}

@media(max-width:500px) {
    .boss-not-in-box {
        padding: 24px 12px 0;
        margin-top: 30px
    }

    .boss-not-in-box p {
        font-size: 1rem
    }

    .boss-art-stage {
        aspect-ratio: 1.2
    }
}

@media(prefers-reduced-motion:reduce) {
    .boss-gallery-image {
        transition: none
    }
}
/* Make dragon scales visible in the banner */
.boss-banner {
    background-image:
        linear-gradient(
            rgba(25, 19, 12, 0.35),
            rgba(25, 19, 12, 0.35)
        ),
        url("../images/boss-rpg/Back_Scales_Blue.jpg");


    background-position: center;
}
/* Make BOSS RPG gallery taller */
.boss-art-stage {
    aspect-ratio: auto;
    height: 480px;
}

.boss-gallery-image {
    object-fit: cover;
    object-position: center;
}

@media (max-width: 850px) {
    .boss-art-stage {
        height: 360px;
    }
}
/* ==========================================
   WHAT'S NOT IN THE BOX - DICE HOG LAYOUT
   ========================================== */

.boss-not-in-box:has(.boss-no-dice-hog) {
    max-width: 1100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
    gap: 35px;
    text-align: left;
}

.boss-not-in-box:has(.boss-no-dice-hog) .section-kicker {
    text-align: left;
}

.boss-no-dice-hog {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Match Roll Them Bones heading size */
.boss-dice .section-kicker {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

/* Mobile */
@media (max-width: 850px) {
    .boss-not-in-box:has(.boss-no-dice-hog) {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .boss-not-in-box:has(.boss-no-dice-hog) .section-kicker {
        text-align: center;
    }

    .boss-no-dice-hog {
        max-width: 240px;
        margin: 0 auto;
    }
}
/* ==========================================
   BOSS RPG - ROTATING ART GALLERY
   ========================================== */

.boss-rotating-gallery {
    padding: 35px 20px 65px;
}

.boss-gallery-frame {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: hidden;
    border: 8px dashed #77613e;
    border-radius: 4px;
    background: #17130f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

.boss-gallery-frame .boss-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.boss-gallery-frame .boss-slide.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 650px) {
    .boss-rotating-gallery {
        padding: 25px 10px 45px;
    }

    .boss-gallery-frame {
        border-width: 5px;
    }
}
.boss-rotating-gallery h2 {
    text-align: center;
    margin-bottom: 30px;
}
/* BOSS RPG - SQUARE ROTATING GALLERY */

.boss-dice .boss-art-stage {
    aspect-ratio: 1 / 1;
    height: auto;
    border: 8px dashed #77613e;
    border-radius: 4px;
    background: #17130f;
    box-sizing: border-box;
}

.boss-dice .boss-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Spacing below release date heading only */
.boss-intro h2 + .boss-components {
    padding-top: 0;
    padding-bottom: 10px;
}   

.boss-intro h2 + .boss-components > .boss-not-in-box:first-child {
    margin-top: 0;
    padding-top: 15px;
    padding-bottom: 10px;
}
.boss-release-date {
    text-align: center;
    margin: 20px 0 20px;
    padding: 0;
}