/* ==========================================================================
   ELEPHANT AUDIOBOOKS - DARK FANTASY GLOBAL THEME & CUSTOM CURSOR
   Aesthetics: Dark fantasy, mystical purple/gold, dragon & demonic aura
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM CURSOR (Dark Demon Dragon Theme)
   -------------------------------------------------------------------------- */
@media (pointer: fine) {
    html, body {
        cursor: url('../images/demon-dragon-cursor.svg') 3 2, auto;
    }

    a, button, [role="button"], input[type="submit"], input[type="button"], select, .tab, .fantasy-tab, .listen-button, [role="radio"] {
        cursor: url('../images/demon-dragon-pointer.svg') 5 3, pointer;
    }

    input[type="text"], input[type="search"], input[type="email"], input[type="password"], textarea {
        cursor: text;
    }
}

.fantasy-cursor-shell {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fantasy-cursor-shell.is-active {
    opacity: 1;
}

.fantasy-cursor-dot {
    position: fixed;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #d946ef 55%, #7c3aed 100%);
    box-shadow: 0 0 8px #c084fc, 0 0 16px rgba(168, 85, 247, 0.8), 0 0 24px rgba(251, 191, 36, 0.5);
    pointer-events: none;
    will-change: transform;
    transition: transform 0.04s linear, width 0.2s ease, height 0.2s ease;
}

.fantasy-cursor-ring {
    position: fixed;
    top: -18px;
    left: -18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(192, 132, 252, 0.55);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.4), inset 0 0 8px rgba(192, 132, 252, 0.2);
    pointer-events: none;
    will-change: transform;
    transition: width 0.25s cubic-bezier(0.2, 0.9, 0.3, 1),
                height 0.25s cubic-bezier(0.2, 0.9, 0.3, 1),
                top 0.25s cubic-bezier(0.2, 0.9, 0.3, 1),
                left 0.25s cubic-bezier(0.2, 0.9, 0.3, 1),
                border-color 0.2s ease,
                background-color 0.2s ease,
                box-shadow 0.25s ease;
}

/* Demon Ring Runes Overlay */
.fantasy-cursor-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px dashed rgba(251, 191, 36, 0.4);
    animation: dragonRingSpin 12s linear infinite;
}

@keyframes dragonRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hover State - Expanding Demonic Halo */
.fantasy-cursor-ring.is-hover {
    top: -26px;
    left: -26px;
    width: 52px;
    height: 52px;
    border-color: rgba(251, 191, 36, 0.8);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(217, 70, 239, 0.08) 60%, transparent 100%);
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.6), 0 0 35px rgba(245, 158, 11, 0.35);
}

.fantasy-cursor-dot.is-hover {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ffffff 0%, #fbbf24 60%, #c084fc 100%);
    box-shadow: 0 0 12px #fbbf24, 0 0 20px #c084fc;
}

/* Click / MouseDown Pulse State */
.fantasy-cursor-ring.is-down {
    transform: scale(0.75);
    border-color: #fbbf24;
    background: rgba(147, 51, 234, 0.35);
    box-shadow: 0 0 28px #f59e0b, 0 0 45px #9333ea;
}

.fantasy-cursor-dot.is-down {
    transform: scale(1.6);
    background: #fff;
    box-shadow: 0 0 16px #fbbf24;
}

/* Touch & Mobile Cursor Suppression */
@media (pointer: coarse), (hover: none), (max-width: 991.98px) {
    .fantasy-cursor-shell,
    .fantasy-cursor-dot,
    .fantasy-cursor-ring {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* --------------------------------------------------------------------------
   2. GLOBAL FANTASY BACKGROUND & ATMOSPHERE
   -------------------------------------------------------------------------- */
body {
    background-color: #05030a !important;
    background-image:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(124, 58, 237, 0.24), transparent 70%),
        radial-gradient(circle at 10% 40%, rgba(79, 70, 229, 0.12), transparent 45rem),
        radial-gradient(circle at 90% 60%, rgba(192, 132, 252, 0.1), transparent 50rem),
        linear-gradient(180deg, #070412 0%, #05030a 40%, #080516 100%) !important;
    background-attachment: fixed !important;
    color: #e2e8f0;
    min-height: 100vh;
}

/* Fixed Ambient Mist Layer */
.fantasy-ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.fantasy-ambient-mist {
    position: absolute;
    filter: blur(80px);
    opacity: 0.45;
    mix-blend-mode: screen;
    pointer-events: none;
    will-change: transform;
}

.fantasy-ambient-mist--1 {
    top: -10%;
    left: 20%;
    width: 60vw;
    height: 45vh;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.35) 0%, rgba(76, 29, 149, 0.15) 60%, transparent 80%);
    animation: driftMist1 24s ease-in-out infinite alternate;
}

.fantasy-ambient-mist--2 {
    bottom: 10%;
    right: 5%;
    width: 45vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.2) 0%, rgba(109, 40, 217, 0.1) 60%, transparent 80%);
    animation: driftMist2 32s ease-in-out infinite alternate;
}

.fantasy-ambient-mist--3 {
    top: 50%;
    left: -10%;
    width: 40vw;
    height: 40vh;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.18) 0%, transparent 75%);
    animation: driftMist1 28s ease-in-out infinite alternate-reverse;
}

@keyframes driftMist1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(4vw, 3vh) scale(1.08); }
    100% { transform: translate(-3vw, 5vh) scale(0.95); }
}

@keyframes driftMist2 {
    0% { transform: translate(0, 0) scale(0.95); }
    50% { transform: translate(-5vw, -4vh) scale(1.06); }
    100% { transform: translate(3vw, -2vh) scale(1); }
}

@media (max-width: 991.98px), (prefers-reduced-motion: reduce) {
    .fantasy-ambient-mist {
        animation: none !important;
        filter: blur(36px) !important;
        opacity: 0.25 !important;
        will-change: auto !important;
    }
}

/* --------------------------------------------------------------------------
   3. HEADER / NAVIGATION FANTASY TABS
   -------------------------------------------------------------------------- */
.navbar {
    background: rgba(7, 4, 16, 0.88) !important;
    backdrop-filter: blur(16px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
    border-bottom: 1px solid rgba(168, 85, 247, 0.18) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    padding-block: 0.65rem !important;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar > .container,
.navbar > .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Brand Logo */
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.brand-logo-mark {
    height: 44px;
    width: auto;
    max-width: 180px;
    aspect-ratio: 1024 / 341;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover .brand-logo-mark {
    transform: scale(1.03);
    filter: drop-shadow(0 0 18px rgba(217, 70, 239, 0.8));
}

.brand-lockup-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-lockup-text__top {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, #ffffff 0%, #e9d5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-lockup-text__bottom {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c084fc;
}

/* Central Fantasy Navigation Tabs */
.fantasy-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.fantasy-tabs-track {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 4px 6px;
    background: rgba(14, 8, 28, 0.75);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 20px rgba(0, 0, 0, 0.35);
}

.fantasy-tab-item {
    margin: 0;
    padding: 0;
}

.fantasy-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.52rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.85);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
}

.fantasy-tab i {
    font-size: 0.95rem;
    color: #c084fc;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Hover effect */
.fantasy-tab:hover {
    color: #ffffff;
    background: rgba(147, 51, 234, 0.16);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.25);
}

.fantasy-tab:hover i {
    color: #fbbf24;
    transform: translateY(-1px) scale(1.1);
}

/* Underline fantasy rune shine */
.fantasy-tab::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #c084fc 30%, #fbbf24 50%, #c084fc 70%, transparent);
    box-shadow: 0 0 8px #c084fc;
    transition: width 0.3s ease, left 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.fantasy-tab:hover::after {
    width: 60%;
    left: 20%;
    opacity: 1;
}

/* Active tab state */
.fantasy-tab.active {
    color: #ffffff;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.45) 0%, rgba(124, 58, 237, 0.25) 100%);
    border-color: rgba(216, 180, 254, 0.35);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 14px rgba(192, 132, 252, 0.8);
}

.fantasy-tab.active i {
    color: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8));
}

.fantasy-tab.active::after {
    width: 70%;
    left: 15%;
    opacity: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, #f472b6, #fbbf24, transparent);
    box-shadow: 0 0 10px #fbbf24;
}

/* Navigation Right Utilities */
.navbar-right-utils {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-search-item {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

/* Header utility buttons: equal 42px touch target & visual weight */
.header-search-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
    background: rgba(15, 9, 32, 0.75) !important;
    color: #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.navbar .navbar-toggler,
.navbar-toggler {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
}

/* Hide hamburger on desktop and large screens */
@media (min-width: 992px) {
    .navbar .navbar-toggler,
    .navbar-toggler {
        display: none !important;
    }
}

/* On mobile/tablet, hide header search and keep toggler hidden */
@media (max-width: 991.98px) {
    .navbar .navbar-toggler,
    .navbar-toggler {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .header-search-item,
    .navbar-utility-search,
    .header-search-shell {
        display: none !important;
    }
}

.header-search-toggle i {
    font-size: 1.1rem !important;
    color: #e2e8f0 !important;
    line-height: 1 !important;
    transition: color 0.2s ease;
}

.navbar .navbar-toggler i {
    font-size: 1.35rem !important;
    color: #e2e8f0 !important;
    line-height: 1 !important;
    transition: color 0.2s ease;
}

.header-search-toggle:hover,
.header-search-toggle:focus-visible,
.navbar .navbar-toggler:hover,
.navbar .navbar-toggler:focus-visible {
    border-color: #c084fc !important;
    color: #ffffff !important;
    background: rgba(147, 51, 234, 0.25) !important;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.45) !important;
    outline: none !important;
}

.header-search-toggle:hover i,
.navbar .navbar-toggler:hover i {
    color: #ffffff !important;
}

.header-search-item.is-open .header-search-toggle {
    opacity: 0 !important;
    pointer-events: none !important;
}

.header-search-shell {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-50%) !important;
    transition: width 0.25s ease, opacity 0.2s ease, visibility 0.2s ease !important;
    z-index: 1080 !important;
}

.header-search-item.is-open .header-search-shell {
    width: 270px !important;
    max-width: calc(100vw - 160px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(-50%) !important;
}

.header-search-form {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 40px !important;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
    border-radius: 999px !important;
    background: rgba(13, 8, 28, 0.95) !important;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.25) !important;
    backdrop-filter: blur(12px) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.header-search-form:focus-within {
    border-color: #c084fc !important;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.4) !important;
}

.header-search-form > i {
    color: rgba(192, 132, 252, 0.8) !important;
    margin-left: 0.75rem !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
}

.header-search-input {
    min-width: 0 !important;
    flex: 1 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #fff !important;
    padding: 0.35rem 2.2rem 0.35rem 0.5rem !important;
    font-size: 0.88rem !important;
}

.header-search-input::placeholder {
    color: rgba(226, 232, 240, 0.45) !important;
}

.header-search-form .header-search-close {
    position: absolute !important;
    top: 50% !important;
    right: 5px !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(226, 232, 240, 0.7) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.header-search-form .header-search-close:hover {
    background: rgba(168, 85, 247, 0.3) !important;
    color: #fff !important;
}

.header-search-form .header-search-close i {
    font-size: 13px !important;
    line-height: 1 !important;
}

@media (max-width: 991.98px) {
    .navbar {
        position: relative !important;
    }
    .navbar > .container-fluid {
        position: relative !important;
        padding-left: clamp(0.75rem, 3vw, 1.25rem) !important;
        padding-right: clamp(0.75rem, 3vw, 1.25rem) !important;
    }
    .navbar-right-utils {
        margin-left: auto !important;
        gap: 0.5rem !important;
        position: static !important;
    }
    .header-search-item {
        position: static !important;
    }
    .navbar-utility-search .header-search-shell {
        position: absolute !important;
        left: clamp(0.6rem, 2.5vw, 1rem) !important;
        right: clamp(0.6rem, 2.5vw, 1rem) !important;
        top: calc(100% + 0.35rem) !important;
        width: auto !important;
        max-width: none !important;
        transform: translateY(-4px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 1090 !important;
        transition: all 0.2s ease !important;
    }
    .header-search-item.is-open .header-search-shell {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        width: auto !important;
        max-width: none !important;
    }
    .header-search-form {
        height: 44px !important;
        background: rgba(12, 7, 26, 0.98) !important;
        border: 1.5px solid rgba(168, 85, 247, 0.6) !important;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 16px rgba(124, 58, 237, 0.35) !important;
    }
    .header-search-input {
        font-size: 15px !important;
    }
    .header-search-results {
        position: absolute !important;
        top: calc(100% + 0.4rem) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: calc(100vh - 150px) !important;
        background: rgba(14, 9, 30, 0.98) !important;
        border: 1px solid rgba(168, 85, 247, 0.35) !important;
        border-radius: 14px !important;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85) !important;
        overflow-y: auto !important;
        z-index: 1095 !important;
    }
}

.navbar .header-account-toggle,
.header-account-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(168, 85, 247, 0.7) !important;
    background: rgba(18, 10, 38, 0.95) !important;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.35) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
    overflow: visible !important;
    position: relative !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.navbar .header-account-toggle::before,
.navbar .header-account-toggle::after,
.header-account-toggle::before,
.header-account-toggle::after {
    display: none !important;
    content: none !important;
}

.navbar .header-account-toggle:hover,
.navbar .header-account-toggle.show,
.navbar .header-account-toggle.active,
.header-account-toggle:hover,
.header-account-toggle.show,
.header-account-toggle.active {
    border-color: #c084fc !important;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.6) !important;
}

.navbar .header-account-toggle .header-avatar-img,
.header-account-toggle .header-avatar-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    border-radius: 50% !important;
    border: none !important;
    outline: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.navbar .header-account-toggle .header-avatar-fallback,
.header-account-toggle .header-avatar-fallback {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #7c3aed, #d946ef) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    border: none !important;
}

.navbar .header-account-toggle .header-avatar-fallback i,
.header-account-toggle .header-avatar-fallback i {
    font-size: 1.15rem !important;
    color: #ffffff !important;
    display: inline-block !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.navbar .header-account-toggle .header-avatar-fallback[hidden],
.navbar .header-account-toggle .header-avatar-fallback[style*="display: none"],
.navbar .header-account-toggle .header-avatar-fallback[style*="display:none"],
.header-account-toggle .header-avatar-fallback[hidden],
.header-account-toggle .header-avatar-fallback[style*="display: none"],
.header-account-toggle .header-avatar-fallback[style*="display:none"],
.header-account-toggle .header-avatar-img ~ .header-avatar-fallback:not(.is-visible),
.header-avatar-fallback[hidden],
.header-account-toggle [hidden] {
    display: none !important;
}

/* Header Avatar Account Status Dot */
.navbar .header-account-toggle .header-status-dot,
.header-account-toggle .header-status-dot,
.header-status-dot {
    position: absolute !important;
    bottom: -1px !important;
    right: -1px !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    border: 2px solid #070410 !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
    z-index: 5 !important;
    display: block !important;
    transition: background-color 0.25s ease, border-color 0.25s ease, opacity 0.2s ease, transform 0.2s ease !important;
}

.header-status-dot.d-none,
.header-status-dot[hidden] {
    display: none !important;
}

.header-status-dot.header-status-dot--active {
    background-color: #4CAF50 !important;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.5) !important;
}

.header-status-dot.header-status-dot--inactive {
    background-color: #EF4444 !important;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5) !important;
}

@media (max-width: 767.98px) {
    .navbar .header-account-toggle .header-status-dot,
    .header-account-toggle .header-status-dot,
    .header-status-dot {
        width: 11px !important;
        height: 11px !important;
        bottom: -1px !important;
        right: -1px !important;
    }
}

/* Dropdown Menu styling */
.header-account-dropdown .dropdown-menu,
.dropdown-menu {
    background: rgba(13, 8, 28, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(124, 58, 237, 0.25) !important;
    padding: 0.5rem !important;
}

.header-account-dropdown .dropdown-menu {
    margin-top: 8px !important;
    right: 0 !important;
    left: auto !important;
    min-width: 230px !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 1090 !important;
}

.dropdown-item {
    color: rgba(226, 232, 240, 0.85) !important;
    border-radius: 8px !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.88rem !important;
    transition: all 0.2s ease !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: #fff !important;
    background: linear-gradient(90deg, rgba(147, 51, 234, 0.3), rgba(217, 70, 239, 0.15)) !important;
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.2) !important;
}

.dropdown-item i {
    color: #c084fc;
}

.dropdown-item:hover i {
    color: #fbbf24;
}

.dropdown-divider {
    border-color: rgba(168, 85, 247, 0.18) !important;
}

/* --------------------------------------------------------------------------
   4. CINEMATIC HERO SECTION
   -------------------------------------------------------------------------- */
.cinematic-hero-section {
    position: relative;
    width: 100%;
    margin: 0.5rem 0 2rem;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 30%, rgba(147, 51, 234, 0.32), transparent 45%),
        radial-gradient(circle at 20% 80%, rgba(217, 70, 239, 0.18), transparent 40%),
        linear-gradient(135deg, #090416 0%, #0d0722 50%, #06030e 100%);
    border: 1px solid rgba(168, 85, 247, 0.32);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 35px rgba(124, 58, 237, 0.25);
}

.cinematic-hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.cinematic-hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 35%;
    opacity: 0.55;
    filter: saturate(1.15) contrast(1.1);
    transform: scale(1.02);
    transition: transform 12s ease-out;
}

.cinematic-hero-section:hover .cinematic-hero-backdrop img {
    transform: scale(1.06);
}

.cinematic-hero-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 3, 10, 0.98) 0%, rgba(6, 4, 14, 0.85) 35%, rgba(9, 5, 22, 0.45) 70%, rgba(7, 3, 16, 0.8) 100%),
        linear-gradient(180deg, rgba(5, 3, 10, 0.4) 0%, rgba(5, 3, 10, 0.9) 100%);
}

.cinematic-hero-content {
    position: relative;
    z-index: 2;
    padding: clamp(1.8rem, 3.5vw, 3.4rem);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.cinematic-hero-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cinematic-hero-copy {
    max-width: 780px;
}

.cinematic-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(216, 180, 254, 0.3);
    color: #e9d5ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}

.cinematic-hero-kicker i {
    color: #fbbf24;
}

.cinematic-hero-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(2.4rem, 4.6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.cinematic-hero-title .glow-word {
    background: linear-gradient(92deg, #ffffff 0%, #f3e8ff 40%, #d8b4fe 75%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 25px rgba(192, 132, 252, 0.4));
}

.cinematic-hero-subtitle {
    margin: 0.85rem 0 0;
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    color: rgba(226, 232, 240, 0.85);
    line-height: 1.5;
    font-weight: 400;
}

.cinematic-hero-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cinematic-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    background: rgba(14, 8, 30, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 12px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cinematic-hero-badge i {
    color: #fbbf24;
    font-size: 1.05rem;
}

.cinematic-hero-badge strong {
    font-size: 1rem;
    color: #f3e8ff;
}

@media (max-width: 767.98px) {
    .cinematic-hero-section {
        margin: 0.25rem 0 1.25rem;
        border-radius: 16px;
    }
    .cinematic-hero-backdrop img {
        object-position: center;
        opacity: 0.45;
    }
    .cinematic-hero-content {
        padding: 1.25rem 1rem;
        gap: 1.15rem;
    }
    .cinematic-hero-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.15rem;
    }
    .cinematic-hero-kicker {
        font-size: 0.72rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: 0.55rem;
        align-self: flex-start;
    }
    .cinematic-hero-title {
        font-size: clamp(2rem, 7.8vw, 2.75rem);
        line-height: 1.12;
        margin: 0 0 0.55rem;
        word-break: break-word;
    }
    .cinematic-hero-subtitle {
        font-size: clamp(0.88rem, 3.4vw, 0.98rem);
        line-height: 1.55;
        margin: 0;
    }
    .cinematic-hero-badges {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
        align-items: stretch;
        margin-top: 0.25rem;
    }
    .cinematic-hero-badge,
    .cinematic-hero-badges .listen-button {
        width: 100%;
        min-height: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        border-radius: 12px;
        font-size: 0.88rem;
        font-weight: 700;
        box-sizing: border-box;
        text-decoration: none;
        margin: 0;
    }
    .cinematic-hero-badge i,
    .cinematic-hero-badges .listen-button i {
        font-size: 1.05rem;
        margin-right: 0.45rem;
    }
}

/* --------------------------------------------------------------------------
   5. AUDIOBOOK CARDS & HOVER ANIMATIONS
   -------------------------------------------------------------------------- */
.collection-card {
    position: relative;
    border-radius: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.1), transparent 50%),
        linear-gradient(180deg, rgba(16, 10, 34, 0.92) 0%, rgba(9, 6, 20, 0.96) 100%) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease !important;
    overflow: hidden;
}

.collection-card:hover {
    transform: translateY(-6px) scale(1.015) !important;
    border-color: rgba(192, 132, 252, 0.45) !important;
    box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(147, 51, 234, 0.3),
        0 0 0 1px rgba(251, 191, 36, 0.2) inset !important;
}

.collection-cover {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.collection-cover img {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.collection-card:hover .collection-cover img {
    transform: scale(1.06) !important;
}

.listen-button {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(168, 85, 247, 0.85)) !important;
    border: 1px solid rgba(216, 180, 254, 0.3) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35) !important;
    transition: all 0.2s ease !important;
}

.listen-button:hover {
    background: linear-gradient(135deg, #7c3aed, #d946ef, #fbbf24) !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 6px 24px rgba(217, 70, 239, 0.5), 0 0 15px rgba(251, 191, 36, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* Category Filter Chips / Pills */
.category-filter-chips {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-filter-chips::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 1rem;
    border-radius: 999px;
    background: rgba(18, 11, 38, 0.65);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: rgba(226, 232, 240, 0.85);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.category-chip:hover {
    color: #fff;
    background: rgba(147, 51, 234, 0.22);
    border-color: rgba(192, 132, 252, 0.4);
    box-shadow: 0 0 14px rgba(147, 51, 234, 0.25);
}

.category-chip.active {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.5), rgba(126, 34, 206, 0.35));
    border-color: rgba(216, 180, 254, 0.4);
    box-shadow: 0 0 16px rgba(147, 51, 234, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   6. CONTINUE LISTENING ENHANCED DOCK / CARD
   -------------------------------------------------------------------------- */
.continue-hero-card {
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.6rem;
    border-radius: 16px;
    background:
        radial-gradient(circle at 15% 50%, rgba(147, 51, 234, 0.22), transparent 40%),
        linear-gradient(135deg, rgba(20, 11, 42, 0.92) 0%, rgba(10, 6, 24, 0.95) 100%);
    border: 1px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 25px rgba(124, 58, 237, 0.2);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .continue-hero-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.continue-hero-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.continue-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.continue-hero-info h3 {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.continue-hero-info p {
    margin: 0 0 0.85rem;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.88rem;
}

.continue-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.continue-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c3aed, #d946ef, #fbbf24);
    box-shadow: 0 0 10px #d946ef;
}

/* --------------------------------------------------------------------------
   7. POSTS / COMMUNITY UPDATES STYLES
   -------------------------------------------------------------------------- */
.posts-shell {
    width: min(calc(100% - clamp(24px, 4vw, 48px)), 1280px);
    margin: 0 auto;
    padding: 1.25rem 0 calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

@media (max-width: 767.98px) {
    .posts-shell {
        width: calc(100% - 1.5rem);
        padding: 0.5rem 0 calc(96px + env(safe-area-inset-bottom, 0px));
    }
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.24);
    background:
        radial-gradient(circle at 80% 10%, rgba(147, 51, 234, 0.12), transparent 40%),
        linear-gradient(180deg, rgba(16, 10, 36, 0.94) 0%, rgba(9, 6, 20, 0.98) 100%);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 180, 254, 0.45);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 25px rgba(147, 51, 234, 0.28);
}

.post-card-art {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #090514;
}

.post-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-art img {
    transform: scale(1.05);
}

.post-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
}

.post-card-badge--upcoming {
    background: rgba(245, 158, 11, 0.9);
    color: #1e1b4b;
    border: 1px solid #fef08a;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.post-card-badge--announcement {
    background: rgba(124, 58, 237, 0.9);
    color: #fff;
    border: 1px solid #d8b4fe;
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.post-card-body {
    padding: clamp(1.15rem, 3vw, 1.5rem);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.post-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(216, 180, 254, 0.85);
    margin-bottom: 0.55rem;
    font-weight: 600;
}

.post-card-date i {
    color: #fbbf24;
}

.post-card-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.18rem, 2.5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.32;
    color: #fff;
    word-break: break-word;
}

.post-card-content {
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 1.25rem;
    flex: 1 1 auto;
    word-break: break-word;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(168, 85, 247, 0.16);
    flex-wrap: wrap;
}

/* Post author circular avatar & row */
.post-card-author-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex-shrink: 1;
}

.post-author-avatar {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    line-height: 1 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #7c3aed, #d946ef) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.35);
}

.post-author-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.post-external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 1.15rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(217, 70, 239, 0.85));
    border: 1px solid rgba(216, 180, 254, 0.35);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.post-external-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #d946ef, #fbbf24);
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
    transform: translateY(-2px);
}

/* Empty State */
.fantasy-empty-state {
    text-align: center;
    padding: clamp(3rem, 6vw, 5.5rem) 1.5rem;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 30%, rgba(147, 51, 234, 0.18), transparent 50%),
        rgba(13, 8, 26, 0.7);
    border: 1px dashed rgba(168, 85, 247, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    margin: 2rem auto;
    max-width: 720px;
}

.fantasy-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(217, 70, 239, 0.15));
    border: 1px solid rgba(216, 180, 254, 0.4);
    color: #fbbf24;
    font-size: 2.2rem;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
}

.fantasy-empty-state h2 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.fantasy-empty-state p {
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.95rem;
    max-width: 440px;
    margin: 0 auto 1.5rem;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .fantasy-nav-bar {
        display: none !important;
    }

    .mobile-nav-fantasy-tabs {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .mobile-nav-fantasy-tabs .fantasy-tab {
        width: 100%;
        border-radius: 12px;
        padding: 0.75rem 1rem;
        background: rgba(18, 11, 38, 0.7);
        border: 1px solid rgba(168, 85, 247, 0.2);
    }

    .mobile-nav-fantasy-tabs .fantasy-tab.active {
        background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(126, 34, 206, 0.3));
        border-color: rgba(216, 180, 254, 0.4);
    }
}

/* --------------------------------------------------------------------------
   9. AUDIOBOOKS PAGE ENHANCEMENTS (CINEMATIC HERO, PILLS & CARD POLISH)
   -------------------------------------------------------------------------- */
.fantasy-gradient-title {
    background: linear-gradient(135deg, #ffffff 20%, #e9d5ff 50%, #fef08a 85%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.collection-hero-desc {
    color: rgba(226, 232, 240, 0.82) !important;
    font-size: clamp(0.85rem, 0.95vw, 1rem) !important;
    line-height: 1.5;
    margin: 0.35rem 0 0.75rem;
    max-width: 580px;
}

.fantasy-stat-badge {
    background: linear-gradient(135deg, rgba(30, 16, 60, 0.9), rgba(18, 11, 38, 0.9)) !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 16px rgba(251, 191, 36, 0.15) !important;
    border-radius: 999px !important;
    padding: 0.45rem 1.1rem !important;
    color: #f1f5f9 !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

.fantasy-stat-badge strong {
    color: #fbbf24;
    font-weight: 900;
}

/* Quick Category Filter Bar */
.fantasy-category-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.4rem 0.2rem;
    margin-top: 0.45rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.3) transparent;
}

.fantasy-category-bar::-webkit-scrollbar {
    height: 4px;
}

.fantasy-category-bar::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.35);
    border-radius: 4px;
}

.fantasy-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(18, 12, 38, 0.75);
    border: 1px solid rgba(168, 85, 247, 0.22);
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);
    backdrop-filter: blur(8px);
}

.fantasy-cat-pill i {
    color: #c084fc;
    transition: transform 0.2s ease;
}

.fantasy-cat-pill:hover {
    color: #fff;
    border-color: rgba(216, 180, 254, 0.5);
    background: rgba(109, 40, 217, 0.3);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.3);
    transform: translateY(-2px);
}

.fantasy-cat-pill:hover i {
    transform: scale(1.15);
    color: #fbbf24;
}

.fantasy-cat-pill.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.5), rgba(217, 70, 239, 0.35));
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.4), inset 0 0 10px rgba(217, 70, 239, 0.2);
}

.fantasy-cat-pill.active i {
    color: #fbbf24;
}

/* Continue Listening Section - Matches Series Section Dark Fantasy Theme */
.continue-listening-section {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(148, 163, 184, 0.09) !important;
    border-radius: 12px !important;
    background:
        linear-gradient(180deg, rgba(9, 14, 32, 0.48), rgba(5, 9, 24, 0.58)),
        rgba(5, 8, 23, 0.62) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 10px 32px rgba(0, 0, 0, 0.14) !important;
    margin: 0.62rem 0 0.78rem !important;
    padding: clamp(0.58rem, 0.72vw, 0.82rem) !important;
    overflow: visible;
}

.continue-listening-section::before {
    display: none !important;
    content: none !important;
}

.fantasy-continue-heading h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
}

.fantasy-continue-heading p {
    color: rgba(226, 232, 240, 0.65);
    font-size: 0.8rem;
}

/* Compact Continue Listening Grid */
.collection-grid--continue {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.25rem !important;
    justify-content: flex-start !important;
}

.collection-grid--continue .collection-card {
    flex: 0 0 260px !important;
    max-width: 300px !important;
}

@media (max-width: 576px) {
    .collection-grid--continue .collection-card {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

/* Audiobook Card Hover & Fantasy Glow */
.collection-card {
    background: linear-gradient(180deg, rgba(22, 14, 44, 0.85) 0%, rgba(12, 8, 26, 0.92) 100%) !important;
    border: 1px solid rgba(168, 85, 247, 0.18) !important;
    border-radius: 14px !important;
    transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease !important;
    position: relative;
    overflow: hidden;
}

.collection-card:hover {
    transform: translateY(-7px) scale(1.015) !important;
    border-color: rgba(216, 180, 254, 0.45) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5),
                0 0 24px rgba(168, 85, 247, 0.28),
                0 0 10px rgba(251, 191, 36, 0.15) !important;
}

.collection-card .collection-cover img {
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.collection-card:hover .collection-cover img {
    transform: scale(1.06);
}

.collection-card h3 {
    color: #f8fafc !important;
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    transition: color 0.2s ease;
}

.collection-card:hover h3 {
    color: #fbbf24 !important;
}

.series-badge {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.35), rgba(217, 70, 239, 0.25)) !important;
    border: 1px solid rgba(216, 180, 254, 0.3) !important;
    color: #e9d5ff !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    border-radius: 6px !important;
}

.listen-button {
    background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
    border: 1px solid rgba(216, 180, 254, 0.35) !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35) !important;
    color: #fff !important;
    font-weight: 800 !important;
    transition: all 0.22s ease !important;
}

.listen-button:hover {
    background: linear-gradient(135deg, #9333ea, #d946ef, #fbbf24) !important;
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* --------------------------------------------------------------------------
   10. ADMIN POSTS & DASHBOARD DARK FANTASY THEME
   -------------------------------------------------------------------------- */
.admin-posts-shell {
    position: relative;
    z-index: 2;
}

.admin-page-subtitle {
    color: rgba(226, 232, 240, 0.65) !important;
    font-size: 0.92rem;
}

.admin-back-btn {
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    background: rgba(147, 51, 234, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #e9d5ff !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-back-btn:hover {
    background: rgba(147, 51, 234, 0.28);
    border-color: #c084fc;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
}

.admin-view-public-btn {
    padding: 0.48rem 1.15rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #a5f3fc !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.admin-view-public-btn:hover {
    background: rgba(6, 182, 212, 0.25);
    border-color: #38bdf8;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.4);
}

.admin-new-post-btn {
    padding: 0.48rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border: 1px solid rgba(216, 180, 254, 0.45);
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
    transition: all 0.22s ease;
}

.admin-new-post-btn:hover {
    background: linear-gradient(135deg, #9333ea, #a855f7);
    border-color: #fef08a;
    color: #ffffff !important;
    box-shadow: 0 0 22px rgba(168, 85, 247, 0.6);
    transform: translateY(-1px);
}

.admin-posts-card {
    background: rgba(13, 10, 26, 0.88) !important;
    border: 1px solid rgba(168, 85, 247, 0.25) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.admin-posts-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent !important;
    margin-bottom: 0;
    --bs-table-bg: transparent !important;
    --bs-table-color: #e2e8f0;
}

.admin-posts-table thead {
    background: rgba(24, 15, 48, 0.95);
    border-bottom: 2px solid rgba(168, 85, 247, 0.35);
}

.admin-posts-table thead th {
    padding: 14px 18px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c084fc;
    border: none;
    background: transparent !important;
}

.admin-posts-table tbody tr {
    background: rgba(14, 11, 28, 0.6) !important;
    border-bottom: 1px solid rgba(168, 85, 247, 0.12);
    transition: all 0.2s ease;
}

.admin-posts-table tbody tr:nth-child(even) {
    background: rgba(20, 14, 38, 0.5) !important;
}

.admin-posts-table tbody tr:hover {
    background: rgba(147, 51, 234, 0.16) !important;
    box-shadow: inset 3px 0 0 #fbbf24;
}

.admin-posts-table tbody td {
    padding: 16px 18px;
    color: #e2e8f0;
    vertical-align: middle;
    border: none;
    background: transparent !important;
}

.admin-posts-table tbody tr:last-child {
    border-bottom: none;
}

.admin-post-thumb {
    width: 56px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    display: block;
}

.admin-post-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.96rem;
    line-height: 1.3;
}

.admin-post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: #c084fc;
    text-decoration: none;
    margin-top: 0.25rem;
    transition: color 0.15s ease;
}

.admin-post-link:hover {
    color: #fbbf24;
    text-decoration: underline;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.admin-badge--published {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.25));
    border: 1px solid rgba(74, 222, 128, 0.45);
    color: #86efac;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.admin-badge--draft {
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #cbd5e1;
}

.admin-badge--release {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.25));
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fef08a;
    border-radius: 8px;
    padding: 0.32rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.admin-badge-immediate {
    color: rgba(226, 232, 240, 0.55);
    font-size: 0.8rem;
    font-style: italic;
}

.admin-post-date {
    color: rgba(226, 232, 240, 0.65);
    font-size: 0.82rem;
}

.admin-post-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    justify-content: flex-end;
}

.admin-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
}

.admin-btn-action--edit {
    background: rgba(147, 51, 234, 0.2);
    border-color: rgba(192, 132, 252, 0.45);
    color: #e9d5ff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.admin-btn-action--edit:hover {
    background: rgba(147, 51, 234, 0.5);
    border-color: #c084fc;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.55);
    transform: translateY(-2px);
}

.admin-btn-action--delete {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(248, 113, 113, 0.45);
    color: #fca5a5 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.admin-btn-action--delete:hover {
    background: rgba(239, 68, 68, 0.45);
    border-color: #ef4444;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.55);
    transform: translateY(-2px);
}

/* Mobile Admin Posts Cards */
.admin-posts-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.85rem;
}

.admin-post-mobile-card {
    background: rgba(18, 12, 36, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.admin-post-mobile-card:hover {
    border-color: rgba(192, 132, 252, 0.45);
}

.admin-post-mobile-card__top {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.admin-post-mobile-card__top .admin-post-thumb {
    width: 64px;
    height: 44px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.admin-post-mobile-card__title-box {
    flex: 1;
    min-width: 0;
}

.admin-post-mobile-card__title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    word-break: break-word;
    margin-bottom: 0.25rem;
}

.admin-post-mobile-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
}

.admin-post-mobile-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
}

/* --------------------------------------------------------------------------
   PREMIUM MOBILE BOTTOM NAVIGATION
   -------------------------------------------------------------------------- */
.bottom-nav {
    display: none;
}

@media (max-width: 991.98px) {
    .bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        position: fixed !important;
        left: max(0.6rem, env(safe-area-inset-left, 0px)) !important;
        right: max(0.6rem, env(safe-area-inset-right, 0px)) !important;
        bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px)) !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        min-height: 60px !important;
        height: 60px !important;
        padding: 0.25rem 0.35rem !important;
        gap: 0.25rem !important;
        background: linear-gradient(180deg, rgba(14, 10, 32, 0.96) 0%, rgba(7, 4, 18, 0.98) 100%) !important;
        border: 1px solid rgba(168, 85, 247, 0.28) !important;
        border-radius: 20px !important;
        box-shadow:
            0 12px 36px rgba(0, 0, 0, 0.65),
            0 0 24px rgba(124, 58, 237, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(16px) saturate(1.3) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
        z-index: 1050 !important;
        pointer-events: auto !important;
        box-sizing: border-box !important;
    }

    .bottom-nav .nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 48px !important;
        height: 100% !important;
        width: 100% !important;
        padding: 0.25rem 0.15rem !important;
        border-radius: 12px !important;
        color: rgba(226, 232, 240, 0.65) !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        position: relative !important;
        gap: 2px !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease !important;
    }

    .bottom-nav .nav-item i {
        font-size: 22px !important;
        width: 24px !important;
        height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        color: rgba(226, 232, 240, 0.65) !important;
        transition: color 0.2s ease, transform 0.2s ease, filter 0.2s ease !important;
    }

    .bottom-nav .nav-item span {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        letter-spacing: 0.02em !important;
        line-height: 1.1 !important;
        color: rgba(226, 232, 240, 0.65) !important;
        transition: color 0.2s ease, font-weight 0.2s ease !important;
    }

    .bottom-nav .nav-item::after {
        content: '' !important;
        position: absolute !important;
        bottom: 2px !important;
        width: 16px !important;
        height: 2.5px !important;
        border-radius: 999px !important;
        background: linear-gradient(90deg, #a855f7, #f472b6) !important;
        box-shadow: 0 0 8px #a855f7 !important;
        opacity: 0 !important;
        transform: scaleX(0.4) !important;
        transition: opacity 0.2s ease, transform 0.2s ease !important;
    }

    .bottom-nav .nav-item.active {
        color: #f3e8ff !important;
        background: rgba(168, 85, 247, 0.16) !important;
        box-shadow: inset 0 0 12px rgba(168, 85, 247, 0.2) !important;
    }

    .bottom-nav .nav-item.active i {
        color: #c084fc !important;
        filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.6)) !important;
        transform: translateY(-1px) !important;
    }

    .bottom-nav .nav-item.active span {
        color: #f3e8ff !important;
        font-weight: 700 !important;
    }

    .bottom-nav .nav-item.active::after {
        opacity: 1 !important;
        transform: scaleX(1) !important;
    }

    .bottom-nav .nav-item:hover {
        color: #e9d5ff !important;
    }

    .bottom-nav .nav-item:hover i {
        color: #d8b4fe !important;
    }

    .bottom-nav .nav-item:focus-visible {
        outline: 2px solid rgba(192, 132, 252, 0.8) !important;
        outline-offset: -2px !important;
    }
}

/* Form Styles for Admin */
.admin-form-label {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.admin-form-control,
.admin-form-select {
    background: rgba(10, 8, 22, 0.85) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 0.65rem 0.95rem !important;
    transition: all 0.2s ease;
}

.admin-form-control:focus,
.admin-form-select:focus {
    background: rgba(14, 10, 30, 0.95) !important;
    border-color: #c084fc !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25) !important;
    color: #ffffff !important;
    outline: none;
}

.admin-form-text {
    color: rgba(226, 232, 240, 0.55);
    font-size: 0.78rem;
    margin-top: 0.35rem;
}

/* Fantasy Dropdown Polish */
.navbar .dropdown-menu {
    background: rgba(14, 10, 28, 0.96) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.2) !important;
    padding: 0.5rem !important;
}

.navbar .dropdown-item {
    color: rgba(226, 232, 240, 0.88) !important;
    border-radius: 9px !important;
    padding: 0.55rem 0.9rem !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: all 0.18s ease !important;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    background: rgba(147, 51, 234, 0.28) !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 14px rgba(147, 51, 234, 0.22) !important;
    transform: none !important;
}

.navbar .dropdown-item:hover i,
.navbar .dropdown-item:focus i,
.navbar .dropdown-item.active i {
    color: #fbbf24 !important;
}

.navbar .dropdown-divider {
    border-color: rgba(168, 85, 247, 0.18) !important;
    margin: 0.4rem 0 !important;
}

.navbar .dropdown-item-text {
    color: #c084fc !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   DARK FANTASY CONFIRMATION MODAL
   ========================================================================== */
.modal-backdrop.show {
    backdrop-filter: blur(8px) !important;
    background-color: rgba(5, 2, 14, 0.78) !important;
}

.fantasy-confirm-modal .modal-content {
    background: linear-gradient(145deg, rgba(22, 12, 42, 0.98), rgba(12, 7, 26, 0.98)) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(147, 51, 234, 0.35) !important;
    color: #f8fafc !important;
    animation: fantasyModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes fantasyModalIn {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.fantasy-confirm-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.25);
}

.fantasy-confirm-msg {
    color: rgba(226, 232, 240, 0.75);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.btn-fantasy-cancel {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 0.6rem 1.2rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.btn-fantasy-cancel:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.btn-fantasy-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border: 1px solid rgba(248, 113, 113, 0.45) !important;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.35) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 0.6rem 1.2rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.btn-fantasy-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.55) !important;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   DARK GLASSMORPHISM META PILLS / BADGES (Subscriptions & Admin)
   -------------------------------------------------------------------------- */
.meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: .42rem !important;
    border-radius: 999px !important;
    padding: .4rem .75rem !important;
    background: rgba(18, 12, 38, 0.82) !important;
    border: 1px solid rgba(168, 85, 247, 0.32) !important;
    color: #e2e8f0 !important;
    font-size: .75rem !important;
    font-weight: 650 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transition: all .2s ease !important;
    max-width: 100% !important;
}

.meta-item:hover {
    background: rgba(32, 22, 64, 0.92) !important;
    border-color: rgba(192, 132, 252, 0.55) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.meta-item i {
    color: #c084fc !important;
    font-size: .85rem !important;
    flex-shrink: 0 !important;
}

.meta-item--plan-id {
    max-width: 100% !important;
    min-width: 0 !important;
    cursor: pointer !important;
}

.meta-item--plan-id .plan-id-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-size: .72rem !important;
    color: #e9d5ff !important;
    background: rgba(139, 92, 246, 0.18) !important;
    padding: .1rem .35rem !important;
    border-radius: 4px !important;
    border: 1px solid rgba(168, 85, 247, 0.25) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 155px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

@media (max-width: 767.98px) {
    .meta-item--plan-id .plan-id-code {
        max-width: 130px !important;
    }
}

/* --------------------------------------------------------------------------
   DARK FANTASY FORM CONTROLS & FILE UPLOADS
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
    background-color: rgba(14, 10, 28, 0.82) !important;
    border: 1px solid rgba(168, 85, 247, 0.28) !important;
    color: #f1f5f9 !important;
    border-radius: 10px !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(22, 14, 44, 0.95) !important;
    border-color: rgba(192, 132, 252, 0.65) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25), inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    outline: none !important;
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.5) !important;
}

.form-select option {
    background-color: #0d091e !important;
    color: #e2e8f0 !important;
}

.input-group-text {
    background-color: rgba(24, 15, 48, 0.9) !important;
    border: 1px solid rgba(168, 85, 247, 0.28) !important;
    color: #c084fc !important;
}

input[type="file"].form-control {
    padding: 0.375rem 0.75rem !important;
}

input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(124, 58, 237, 0.25)) !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
    color: #e9d5ff !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 6px !important;
    margin-right: 0.75rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.65), rgba(124, 58, 237, 0.45)) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.3) !important;
}





