:root {
    /* --- COLOR PALETTE: OBSIDIAN NIGHT & LUXE NEONS --- */
    --black: #0c0a0e;
    --main: #f2179b;
    --main-glow: rgba(242, 23, 155, 0.35);
    --white: #ffffff;
    --secondary: #1a121a;
    --accent: #fffb00;
    --bg-dark: #0f0f11;
    --shelf-wood: #2a1a12;
    --shelf-shadow: #140d09;
    --font: 'Oswald Bold', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   🌐 GLOBAL ENVIRONMENT & BACKGROUND
   ========================================================================== */
body {
    background-color: var(--black) !important;
    color: var(--white) !important;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none !important;
}

body::before {
    content: "";
    position: fixed;
    /* Locks the layer to the screen viewport instead of the page canvas */
    top: 0;
    left: 0;
    width: 100vw;
    /* Covers 100% of the viewport width */
    height: 100vh;
    /* Covers 100% of the viewport height perfectly */
    z-index: -1;
    background-image: url('../assets/bg-pattern.webp');
    background-repeat: repeat-y;
    background-position: left top;
    background-size: 100% auto;
    opacity: 0.4;
    pointer-events: none;
    cursor: none;
    /* Allows clicking right through it */
}

/* --- SHARED BASE COMPONENT STYLES --- */
.whimsy-card {
    position: relative;
    background-color: var(--secondary) !important;
    border: 2px solid var(--main) !important;
    box-shadow: 4px 4px 0px var(--main);
    border-radius: 2px;
    transition: transform 0.2s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    z-index: 1;
}

.whimsy-card a,
.whimsy-card p {
    color: var(--white) !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.whimsy-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.whimsy-list-1 li,
.whimsy-list-2 li {
    font-family: var(--font);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Elegant Dagger-Head Bullet Customization */
.whimsy-list-1 .bullet-box,
.whimsy-list-2 .bullet-box {
    width: 10px;
    height: 10px;
    background: var(--main);
    border: 1px solid var(--white);
    transform: rotate(45deg) scaleY(1.6);
    /* Pulls and elongates the box into a sharp dagger point! */
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whimsy-list-1 .bullet-box {
    box-shadow: 2px 0px 5px var(--main-glow);
}

.whimsy-list-2 .bullet-box {
    box-shadow: -2px 0px 5px var(--main-glow);
}

.banner-container {
    display: block;
    background-color: var(--secondary);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(242, 23, 155, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
}

.article-1-container,
.article-2-container {
    display: block;
    box-sizing: border-box;
    border-radius: 2px;
}

.article-1-heading,
.article-2-heading {
    font-family: var(--font);
    text-transform: uppercase;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1px;
    transition: transform 0.25s cubic-bezier(0.2, 1, 0.3, 1), color 0.25s ease;
}

.article-1,
.article-2 {
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin: 0;
}

.article-1 {
    color: #d4ced4;
}

.article-2 {
    color: #f7ebf7;
}

/* The Elegant Highlight Callout Block */
.article-1 span {
    display: inline-block;
    font-family: var(--font);
    font-weight: 700;
    color: var(--white);
    background-color: var(--main);
    border-radius: 2px;
    box-shadow: 0 5px 15px var(--main-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whimsy-grid {
    display: grid;
}

.grid-item {
    background: rgba(26, 18, 26, 0.9) !important;
    border: 1px solid var(--main) !important;
    color: var(--white);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.grid-item h3,
.grid-item p {
    transform-origin: center;
    display: block;
    margin: 0;
}

.grid-item p {
    text-transform: uppercase;
    color: var(--main);
    font-family: var(--font);
    text-shadow: 0 0 5px var(--main-glow);
}

/* --- INTEL DOSSIER POPUP OVERLAY --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 5, 8, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
    display: flex !important;
}

.modal-content {
    background: var(--secondary) !important;
    color: var(--white) !important;
    border: 2px solid var(--accent) !important;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    transform: none !important;
    box-sizing: border-box;
}

#modal-title {
    color: var(--accent);
    font-family: var(--font);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

#modal-desc {
    font-weight: 100 !important;
    line-height: 1.5;
    color: #e5dde5;
    font-family: var(--font);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--main);
    transition: color 0.2s ease, transform 0.2s ease;
}

.close-btn:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* --- SYSTEM FRAME FOOTER --- */
.page-footer {
    display: flex;
    flex-direction: column;
    background-color: var(--secondary);
    border: 1px solid rgba(242, 23, 155, 0.3);
    text-align: center;
    align-items: center;
    align-content: center;
}

.footer-heading {
    font-family: var(--font);
    letter-spacing: 1px;
    color: var(--main);
}

.footer-text {
    font-family: var(--font);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
    text-decoration: none;
}

.page-footer a:hover {
    color: var(--accent);
}
/* --- THE STAGGERED DAGGER TIMELINE --- */
.dagger-timeline {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.dagger-row {
    display: flex;
    width: 100%;
    align-items: center;
}

.dagger-item {
    display: flex;
    align-items: center;
    cursor: none;
    background: var(--secondary);
    border: 2px solid var(--white);
    padding: 20px;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dagger-blade-shape {
    flex-grow: 1;
    font-family: var(--font);
}

.dagger-handle {
    background: var(--secondary);
    flex-shrink: 0;
}

.swiper {
    width: max-content;
    max-width: 100%;
    /* Prevents it from breaking past mobile screen edges */
    height: 450px;
    margin: 0 auto;
    border-radius: 10px;
    border: 2px solid var(--main);
    box-shadow: 0 4px 10px rgba(255, 0, 174, 0.5);
    background-color: #151515;
}

/* --- INDIVIDUAL SLIDE WRAPPER --- */
.swiper-slide {
    /* CRITICAL: Overrides Swiper's internal JavaScript cell-stretching grids */
    width: auto !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- THE IMAGES INSIDE --- */
.swiper-slide img {
    height: 100%;
    /* Forces image to scale exactly to the 450px track height */
    width: auto;
    /* Automatically calculates width based on the file's natural aspect ratio */
    display: block;
    object-fit: contain;

    /* MOBILE SAFETY NET: Prevents huge images from clipping past mobile viewport edges */
    max-width: 100vw;
}

.music-showcase-container {
    width: 100%;
    box-sizing: border-box;
}

.showcase-header {
    text-align: center;
}

.showcase-header h1 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

.showcase-header p {
    font-family: var(--font);
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

.vinyl-grid {
    display: grid;
    align-items: start;
}

.vinyl-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    cursor: none !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.vinyl-disc-wrapper {
    position: relative;
    margin: 0 auto 20px auto;
}

.vinyl-record {
    width: 100%;
    height: 100%;
    background: var(--secondary);
    border-radius: 50%;
    border: 1px solid var(--secondary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.vinyl-record::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    border: 1px solid var(--main);
    border-radius: 50%;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8);
}

.vinyl-record::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 2px;
    height: 15px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

.vinyl-center-art {
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--main);
    z-index: 2;
}

.vinyl-card.playing .vinyl-record {
    animation: spin 3.5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.vinyl-title {
    font-weight: bold;
    letter-spacing: 0.5px;
}

.vinyl-status {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.vinyl-drawer {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), margin 0.4s;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
    border: 0 solid rgba(255, 255, 255, 0.05);
}

.vinyl-drawer.open {
    border-width: 1px;
}

.drawer-inner {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.drawer-art {
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.drawer-content {
    flex: 1;
}

.drawer-content h3 {
    margin: 0 0 10px 0;
    color: var(--accent);
}

.drawer-content p {
    margin: 0 0 20px 0;
    opacity: 0.8;
    line-height: 1.5;
}

.audio-player-wrapper {
    margin-top: 15px;
}

audio {
    width: 100%;
    filter: invert(1) hue-rotate(180deg);
    opacity: 0.85;
}

.coming-soon-lock {
    font-style: italic;
    opacity: 0.5;
    letter-spacing: 0.5px;
}

.stories-container {
    width: 100%;
    box-sizing: border-box;
    margin: 20px;
}

.library-rack {
    position: relative;
}

.shelf-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.shelf-row::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    background: var(--main-glow);
}

.book-item {
    border-radius: 4px 12px 12px 4px;
    border: 1px solid var(--main-glow);
    cursor: none !important;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
    transform-origin: bottom center;
    z-index: 2;
}

.book-spine-line {
    position: absolute;
    top: 0;
    left: 12px;
    width: 1px;
    height: 100%;
    background: var(--secondary);
    box-shadow: -1px 0 2px rgba(0, 0, 0, 0.3);
}

.book-title-overlay {
    position: absolute;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: rgba(243, 207, 237, 0.9);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

.cinema-lobby-container {
    width: 100%;
    box-sizing: border-box;
    margin: 20px;
}

.poster-marquee-grid {
    display: grid;
    justify-items: center;
    align-items: center;
}

.poster-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    background: var(--poster-frame);
    border-radius: 8px;
    padding: 12px;
    box-sizing: border-box;
    cursor: none !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.poster-canvas {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

.poster-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.poster-meta {
    position: relative;
    z-index: 2;
}

.poster-meta h3 {
    margin: 0 0 5px 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.poster-tagline {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.6;
}

/* --- BURGER BASE STRUCTURE --- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    padding: 0;
    z-index: 99999;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: left center;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(2px, -2px);
    background-color: var(--accent);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 2px);
    background-color: var(--accent);
}


/* ==========================================================================
   💻 LAPTOP DEFAULT LAYER BLOCK (Screens 992px and larger)
   ========================================================================== */
@media screen and (min-width: 992px) {

    a,
    button,
    input,
    select,
    textarea,
    .whimsy-card,
    .greeting-container,
    .article-1-heading,
    .article-2-heading,
    .dropdown-item,
    .dropdown-toggle,
    .nav-link,
    .nav-item,
    .grid-item,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination-bullet-active,
    .swiper-slide,
    .pill-switch,
    .vinyl-card,
    .book-item,
    .poster-wrapper {
        cursor: none !important;
    }

    .greeting-container {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 55%;
        min-height: 140px;
        padding: 35px 50px;
        margin: 4% auto;
        background-color: var(--secondary);
        border: 2px solid var(--main);
        border-radius: 4px;
        box-shadow: 0 0 20px var(--main-glow);
        animation: floatDagger 5s ease-in-out infinite;
        transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), border-color 0.3s ease;
    }

    .greeting-container:hover {
        transform: translateY(-5px) scale(1.01);
        border-color: var(--accent);
    }

    .greeting {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
        text-shadow: 0 0 10px var(--main-glow);
        font-family: var(--font);
    }

    @keyframes floatDagger {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    .whimsy-card:hover {
        transform: scale(1.05) rotate(-1deg);
        border-color: var(--accent) !important;
        box-shadow: 6px 6px 0px var(--accent);
    }

    .whimsy-card:nth-child(even):hover {
        transform: scale(1.05) rotate(1deg);
    }

    .whimsy-list {
        gap: 20px;
    }

    .whimsy-list-1 li {
        justify-content: flex-start;
    }

    .whimsy-list-2 li {
        justify-content: flex-end;
        margin-right: 5%;
    }

    .whimsy-list-1 .list-text {
        text-align: left;
    }

    .whimsy-list-2 .list-text {
        text-align: right;
    }

    .whimsy-list-1 li:hover {
        transform: translateX(8px);
    }

    .whimsy-list-2 li:hover {
        transform: translateX(-8px);
    }

    .whimsy-list-1 li:hover .bullet-box,
    .whimsy-list-2 li:hover .bullet-box {
        background: var(--accent);
        box-shadow: 0 0 10px var(--accent);
        transform: rotate(225deg) scaleY(1.6) scale(1.3);
    }

    #sword {
        position: fixed;
        top: 0;
        left: 0;
        width: auto;
        height: 130px;
        z-index: 99999 !important;
        pointer-events: none !important;
        transform-origin: 0 0;
        will-change: transform;
        --cursor-color: var(--main);
        opacity: 1;
        transition: opacity 0.25s ease, fill 0.12s ease, stroke 0.12s ease;
    }

    #sword.is-active {
        opacity: 1;
    }

    #sword-svg {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

    #blade {
        fill: var(--cursor-color) !important;
        stroke: var(--cursor-color) !important;
        stroke-width: 0.75px;
        filter: drop-shadow(0px 0px 4px var(--cursor-color));
        transition: fill 0.15s ease, stroke 0.15s ease;
    }

    .banner-container {
        margin: 3% auto;
        width: 92vw;
        height: 45vh;
    }

    .article-1-container,
    .article-2-container {
        padding: 40px 50px;
        margin: 3% auto;
        width: 92vw;
    }

    .article-1-container {
        background-color: var(--secondary);
        border-left: 4px solid var(--main);
        text-align: left !important;
    }

    .article-2-container {
        background-color: var(--main);
        border-right: 4px solid var(--white);
        text-align: right !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }

    .article-1-heading,
    .article-2-heading {
        font-size: 2.5rem;
    }

    .article-1-heading {
        text-shadow: 3px 3px 0px var(--main);
    }

    .article-2-heading {
        text-shadow: -3px 3px 0px var(--secondary);
    }

    .article-1-heading:hover {
        transform: translateX(10px);
        color: var(--accent);
    }

    .article-2-heading:hover {
        transform: translateX(-10px);
        color: var(--accent);
    }

    .article-1,
    .article-2 {
        font-size: 1.25rem;
    }

    .article-1 span {
        margin-top: 25px;
        font-size: 1.3rem;
        padding: 15px 35px;
    }

    .whimsy-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 45px;
        padding: 80px 40px;
        margin: 3% auto;
        width: 85%;
        max-width: 1200px;
        transform: rotateX(54deg) rotateZ(-36deg);
        transform-style: preserve-3d;
        perspective: 1200px;
    }

    .grid-item {
        padding: 35px;
        box-shadow: -12px 12px 0px rgba(0, 0, 0, 0.6);
        transform: translateZ(0px);
        font-family: var(--font);
    }

    .grid-item h3 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .grid-item p {
        font-size: 1rem;
        letter-spacing: 3px;
        margin-top: 15px;
    }

    .grid-item:hover {
        transform: translateZ(40px) scale(1.03);
        border-color: var(--accent) !important;
        box-shadow: -30px 30px 25px rgba(0, 0, 0, 0.75);
    }

    .modal-content {
        padding: 45px;
        width: 90%;
        max-width: 550px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    #modal-title {
        font-size: 2.2rem;
        font-weight: 900;
    }

    #modal-desc {
        font-size: 1rem;
        margin-top: 20px;
    }

    .page-footer {
        margin: 4% 2% 2% 2%;
        padding: 30px 40px;
    }

    .footer-heading {
        font-size: 1.6rem;
    }

    .footer-text {
        font-size: 1rem;
    }

    .theme-switch-wrapper.whimsy-card {
        margin-left: auto;
        margin-right: 2%;
    }

    .dagger-timeline {
        gap: 40px;
        max-width: 900px;
        margin: 60px auto;
        padding: 0 20px;
    }

    .timeline-spacer {
        flex: 1;
    }

    .dagger-item {
        flex: 1;
    }

    .left-dagger .dagger-item {
        transform: perspective(800px) rotateY(10deg);
    }

    .right-dagger .dagger-item {
        transform: perspective(800px) rotateY(-10deg);
        text-align: right;
    }

    .dagger-item:hover {
        transform: scale(1.03) translateZ(10px) !important;
        border-color: var(--main);
    }

    /* 1. Ensure the main slider wrapper container can stretch to full screen width */
    .swiper {
        width: max-content;
        max-width: 100%;
        /* Prevents it from breaking past mobile screen edges */
        height: 450px;
        margin: 0 auto;
        border-radius: 10px;
        border: 2px solid var(--main);
        box-shadow: 0 4px 10px rgba(255, 0, 174, 0.5);
        background-color: #151515;
    }

    .swiper-wrapper {
        display: flex;
        /* Keeps slides centered on screen if they don't fill up the whole track width */
        justify-content: center;
    }

    /* 2. FORCE THE SLIDE TO ADAPT TO ITS CONTENT */
    .swiper-slide {
        width: auto !important;
        /* Overrides Swiper's internal style calculations */
        height: 450px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 3. STYLESHEET RULES FOR THE IMAGES INSIDE */
    .swiper-slide img {
        height: 100%;
        /* Forces image to fill the layout height cleanly */
        width: auto;
        /* Automatically calculates width based on the aspect ratio */
        display: block;
        object-fit: contain;
        /* Prevents distortion, stretching, or cropping */

        /* RESPONSIVE SAFETY NET: Prevents huge images from clipping on small screens */
        max-width: 100vw;
        box-sizing: border-box;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: var(--pink, #eb40d4);
    }

    .swiper-pagination-bullet-active {
        background: #ffffff;
    }

    .music-showcase-container {
        margin: 60px auto;
        padding: 0 20px;
    }

    .showcase-header {
        margin-bottom: 50px;
    }

    .showcase-header h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .showcase-header p {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .vinyl-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }

    /* --- BASE VINYL CARD STATES --- */
    .vinyl-card {
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
            box-shadow 0.3s ease-in-out;
        will-change: transform, box-shadow;
    }

    /* --- INTERACTIVE HOVER & FOCUS STATES --- */
    .vinyl-card:hover,
    .vinyl-card:focus-within {
        /* Floats the card up smoothly along the Y-axis */
        transform: translateY(-8px);

        /* 
        Layer 1: Sharp crisp inner glow
        Layer 2: Vibrant medium feather spreading out
        Layer 3: Large, ambient semi-transparent background wash
    */
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4),
            0 0 15px var(--accent),
            0 0 30px rgba(255, 0, 174, 0.3);
        /* Fallback subtle pink wash if accent is local */
    }

    .vinyl-disc-wrapper {
        width: 180px;
        height: 180px;
    }

    .vinyl-center-art {
        width: 65px;
        height: 65px;
    }

    .vinyl-title {
        font-size: 1.3rem;
        margin: 10px 0 5px 0;
    }

    .vinyl-status {
        font-size: 0.8rem;
    }

    .vinyl-drawer.open {
        margin: 15px 0;
        max-height: 350px;
    }

    .drawer-inner {
        padding: 30px;
        gap: 40px;
    }

    .drawer-art {
        width: 120px;
        height: 120px;
    }

    .drawer-content h3 {
        font-size: 1.6rem;
    }

    .drawer-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .stories-container {
        margin: 60px auto;
        padding: 0 20px;
    }

    .library-rack {
        margin-bottom: 80px;
    }

    .shelf-row {
        gap: 20px;
        padding: 0 40px;
        height: 240px;
        border-bottom: 24px solid var(--main);
        box-shadow: 0 30px 25px var(--main-glow);
    }

    .shelf-row::after {
        bottom: -32px;
        height: 8px;
    }

    .book-item {
        width: 140px;
        height: 200px;
    }

    .book-item:hover {
        transform: translateY(-25px) scale(1.08);
        box-shadow: 0 20px 30px var(--main-glow), inset 3px 0 5px var(--main-glow);
        z-index: 10;
    }

    .book-title-overlay {
        bottom: 15px;
        left: 18px;
        right: 12px;
        font-size: 0.9rem;
    }

    .cinema-lobby-container {
        margin: 60px auto;
        padding: 0 20px;
    }

    .poster-marquee-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 40px;
    }

    .poster-wrapper {
        max-width: 280px;
    }

    .poster-canvas {
        padding: 20px;
    }

    .poster-tagline {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   📱 PHONE & TABLET RESPONSIVE DECK BLOCK (Screens 991px and smaller)
   ========================================================================== */
@media screen and (max-width: 991px) {

    a,
    button,
    input,
    select,
    textarea,
    .whimsy-card,
    .greeting-container,
    .article-1-heading,
    .article-2-heading,
    .dropdown-item,
    .dropdown-toggle,
    .nav-link,
    .nav-item,
    .grid-item,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination-bullet-active,
    .swiper-slide,
    .pill-switch,
    .vinyl-card,
    .book-item,
    .poster-wrapper {
        cursor: auto !important;
    }

    #sword {
        display: none !important;
    }

    .greeting-container {
        width: 88%;
        min-height: auto;
        padding: 25px 20px;
        margin: 30px auto;
        background-color: var(--secondary);
        border: 2px solid var(--main);
        border-radius: 4px;
        box-shadow: 0 0 15px var(--main-glow);
    }

    .greeting {
        font-size: 1.5rem;
        width: 100%;
        letter-spacing: 1px;
        font-family: var(--font);
        text-align: center;
    }

    .banner-container {
        width: 92vw;
        height: 25vh;
        margin: 20px auto;
    }

    .article-1-container,
    .article-2-container {
        width: 92vw;
        padding: 25px 20px;
        margin: 15px auto;
        text-align: center;
    }

    .article-1-container {
        border-top: 4px solid var(--main);
        background-color: var(--secondary);
    }

    .article-2-container {
        border-top: 4px solid var(--white);
        background-color: var(--secondary);
        box-shadow: none;
    }

    .article-1-heading,
    .article-2-heading {
        font-size: 1.7rem;
        text-shadow: none !important;
        margin-bottom: 12px;
            
    }

    .article-1,
    .article-2 {
        font-size: 1.1rem;
    }

    .article-1 span {
        display: block;
        text-align: center;
        margin-top: 15px;
        padding: 12px;
        font-size: 1.1rem;
    }

    .whimsy-list {
        gap: 15px;
    }

    .whimsy-list-1 li {
        justify-content: flex-start;
    }

    .whimsy-list-2 li {
        justify-content: flex-end;
        margin-right: 5%;
    }

    .whimsy-list-1 .list-text,
    .whimsy-list-2 .list-text {
        text-align: left;
    }

    .whimsy-grid {
        transform: none !important;
        transform-style: flat !important;
        grid-template-columns: 1fr;
        width: 92%;
        padding: 20px 0;
        gap: 20px;
        margin: 0 auto;
    }

    .grid-item {
        padding: 25px;
        box-shadow: 4px 4px 0px var(--main);
        transform: none !important;
    }

    .grid-item h3 {
        font-size: 1.6rem;
        font-family: var(--font);
    }

    .grid-item p {
        font-size: 0.9rem;
        margin-top: 8px;
        font-family: var(--font);
    }

    .grid-item:hover {
        transform: translateY(-4px) !important;
        border-color: var(--accent) !important;
        box-shadow: 6px 6px 0px var(--accent);
    }

    .modal-content {
        padding: 25px 20px;
        width: 95%;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    #modal-title {
        font-size: 1.6rem;
        font-family: var(--font);
    }

    #modal-desc {
        font-size: 0.95rem;
        margin-top: 15px;
        font-family: var(--font);
    }

    .page-footer {
        margin: 30px 0 0 0;
        padding: 25px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-heading {
        font-size: 1.4rem;
    }

    .footer-text {
        font-size: 0.9rem;
    }

    .dagger-timeline {
        gap: 25px;
        padding: 0 15px;
        margin: 30px auto;
        width: 92%;
    }

    .dagger-row {
        flex-direction: column;
        gap: 15px;
    }

    .timeline-spacer {
        display: none;
    }

    .dagger-item {
        width: 100%;
    }

    .left-dagger .dagger-item,
    .right-dagger .dagger-item {
        border-radius: 4px;
        transform: none !important;
        text-align: left;
    }

    .dagger-item:hover {
        transform: translateY(-3px) !important;
        border-color: var(--main);
    }

    .dagger-blade-shape {
        padding: 20px;
    }

    .dagger-handle {
        display: none;
    }

    .swiper {
        height: 280px;
        /* Lowers the track height on smaller screens so the certificate looks clean */
    }

    .music-showcase-container {
        margin: 30px auto;
        padding: 0 15px;
    }

    .showcase-header {
        margin-bottom: 30px;
    }

    .showcase-header h1 {
        font-size: 2.2rem;
    }

    .vinyl-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vinyl-card {
        padding: 15px;
    }

    .vinyl-disc-wrapper {
        width: 150px;
        height: 150px;
    }

    .vinyl-center-art {
        width: 55px;
        height: 55px;
    }

    .vinyl-title {
        font-size: 1.15rem;
    }

    .vinyl-drawer.open {
        max-height: 500px;
    }

    .drawer-inner {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }

    .drawer-art {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .drawer-content h3 {
        font-size: 1.35rem;
    }

    .drawer-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    audio {
        max-width: 100%;
    }

    .stories-container {
        margin: 30px auto;
        padding: 0 15px;
    }

    .library-rack {
        margin-bottom: 40px;
    }

    .shelf-row {
        height: 160px;
        padding: 0 15px;
        border-bottom: 16px solid var(--main);
        gap: 10px;
        box-shadow: 0 15px 15px var(--main-glow);
    }

    .shelf-row::after {
        bottom: -22px;
        height: 6px;
    }

    .book-item {
        width: 85px;
        height: 130px;
    }

    .book-item:hover {
        transform: translateY(-10px) scale(1.03);
    }

    .book-spine-line {
        left: 8px;
    }

    .book-title-overlay {
        bottom: 10px;
        left: 12px;
        right: 8px;
        font-size: 0.65rem;
    }

    .cinema-lobby-container {
        margin: 30px auto;
        padding: 0 15px;
    }

    .poster-marquee-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }

    .poster-wrapper {
        padding: 6px;
        max-width: 100%;
    }

    .poster-canvas {
        padding: 12px;
    }

    .poster-meta h3 {
        font-size: 1rem;
    }

    .poster-tagline {
        font-size: 0.65rem;
    }

    .poster-wrapper:hover {
        transform: translateY(-6px) scale(1.02);
    }

    /* --- MOBILE BURGER VIEWPORTS NAV PANEL SETUP --- */
    .hamburger-menu {
        display: flex !important;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--black);
        border-left: 2px solid var(--main);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.9);
        padding: 90px 24px 30px 24px;
        box-sizing: border-box;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 99998;
    }

    .navbar-collapse.is-open {
        right: 0;
    }

    .navbar-nav {
        flex-direction: column !important;
        gap: 1.25rem !important;
        align-items: flex-start !important;
    }

    .nav-item {
        width: 100%;
    }

    .swiper-slide {
        height: 250px;
        /* Lowers track height on mobile viewports so it fits nicely */
    }
}