/* =========================================================
   FOXSILVERKIN'S TAVERN
   Main Stylesheet
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --bg-primary: #100b16;
    --bg-secondary: #17101f;
    --bg-tertiary: #21172b;

    --surface: rgba(31, 21, 41, 0.88);
    --surface-light: rgba(47, 32, 60, 0.88);
    --surface-hover: rgba(58, 39, 73, 0.94);

    --gold: #d6aa54;
    --gold-light: #f0d58c;
    --gold-dark: #8f642d;

    --arcane: #8c65d3;
    --arcane-light: #b99ae9;

    --text-primary: #f4ecdf;
    --text-secondary: #bdb0c4;
    --text-muted: #83788b;

    --border: rgba(214, 170, 84, 0.22);
    --border-strong: rgba(214, 170, 84, 0.48);

    --shadow:
        0 24px 60px rgba(0, 0, 0, 0.35);

    --shadow-small:
        0 12px 30px rgba(0, 0, 0, 0.25);

    --container: 1200px;

    --font-display:
        "Cinzel",
        Georgia,
        serif;

    --font-body:
        "Inter",
        Arial,
        sans-serif;

    --transition:
        0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: var(--font-body);

    color: var(--text-primary);
    background: var(--bg-primary);

    line-height: 1.6;

    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;
}

::selection {
    color: #160f1d;
    background: var(--gold-light);
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0d0912;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #0d0912;
    border-radius: 999px;
    background: #4b3855;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}


/* =========================================================
   BACKGROUND
========================================================= */

.page-background {
    position: fixed;
    inset: 0;

    z-index: -10;

    pointer-events: none;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(116, 74, 166, 0.18),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #15101c 0%,
            #100b16 48%,
            #0c0910 100%
        );
}

.background-glow {
    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    filter: blur(130px);

    opacity: 0.14;
}

.background-glow-left {
    top: 20%;
    left: -400px;

    background: var(--arcane);
}

.background-glow-right {
    top: 60%;
    right: -420px;

    background: var(--gold);
}

.background-texture {
    position: absolute;
    inset: 0;

    opacity: 0.035;

    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 2px,
            rgba(255, 255, 255, 0.8) 3px
        );

    background-size: 5px 5px;
}


/* =========================================================
   GLOBAL CONTAINERS
========================================================= */

.header-container,
.hero-container,
.section-container,
.footer-container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;

    z-index: 1000;

    border-bottom:
        1px solid rgba(214, 170, 84, 0.12);

    background:
        rgba(16, 11, 22, 0.84);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    gap: 32px;
}


/* Brand */

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}

.brand-emblem {
    position: relative;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border-strong);
    border-radius: 50%;

    color: var(--gold-light);

    background:
        radial-gradient(
            circle,
            rgba(214, 170, 84, 0.16),
            rgba(23, 16, 31, 0.9)
        );

    box-shadow:
        inset 0 0 18px rgba(214, 170, 84, 0.08),
        0 0 24px rgba(140, 101, 211, 0.08);
}

.brand-emblem::before {
    content: "";

    position: absolute;
    inset: 4px;

    border:
        1px solid rgba(214, 170, 84, 0.14);

    border-radius: 50%;
}

.brand-emblem-icon {
    position: relative;

    font-size: 20px;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;

    color: var(--gold-light);

    letter-spacing: 0.04em;
}

.brand-subtitle {
    margin-top: 4px;

    font-size: 10px;
    font-weight: 600;

    color: var(--text-muted);

    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/* Navigation */

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-left: auto;
}

.nav-link {
    position: relative;

    padding: 10px 14px;

    font-size: 13px;
    font-weight: 600;

    color: var(--text-secondary);

    transition:
        color var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transform: translateX(-50%);

    transition:
        width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}


/* YouTube Button */

.youtube-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 40px;

    padding: 0 16px;

    border:
        1px solid rgba(214, 170, 84, 0.28);

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;

    color: var(--text-primary);

    background:
        rgba(214, 170, 84, 0.07);

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.youtube-button:hover {
    border-color: var(--border-strong);

    background:
        rgba(214, 170, 84, 0.13);

    transform: translateY(-1px);
}

.youtube-button svg {
    width: 18px;
    height: 18px;

    fill: #e64a4a;
}

.youtube-button .youtube-play {
    fill: #ffffff;
}


/* Mobile Button */

.mobile-menu-button {
    width: 42px;
    height: 42px;

    display: none;

    margin-left: auto;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 18px;
    height: 1px;

    margin: 4px auto;

    background: var(--gold-light);

    transition: var(--transition);
}


/* Mobile Navigation */

.mobile-navigation {
    display: none;

    padding:
        8px
        24px
        20px;

    border-top:
        1px solid rgba(214, 170, 84, 0.1);

    background:
        rgba(16, 11, 22, 0.98);
}

.mobile-navigation.open {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    padding: 13px 4px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.05);

    font-size: 14px;
    font-weight: 600;

    color: var(--text-secondary);
}

.mobile-youtube-button {
    margin-top: 16px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    padding:
        110px
        0
        120px;

    overflow: hidden;
}

.hero-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 800px;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(214, 170, 84, 0.32),
            transparent
        );
}

.hero-container {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 80px;
}


/* Hero Content */

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 24px;
}

.eyebrow-line {
    width: 28px;
    height: 1px;

    background: var(--gold-dark);
}

.eyebrow-text {
    font-family: var(--font-display);

    font-size: 10px;
    font-weight: 700;

    color: var(--gold);

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;

    font-family: var(--font-display);

    font-size:
        clamp(
            42px,
            5.3vw,
            72px
        );

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -0.04em;

    color: var(--text-primary);
}

.hero-title span {
    display: block;

    margin-top: 8px;

    color: var(--gold-light);

    text-shadow:
        0 0 30px
        rgba(214, 170, 84, 0.12);
}

.hero-description {
    max-width: 570px;

    margin:
        28px
        0
        0;

    font-size: 15px;

    color: var(--text-secondary);

    line-height: 1.85;
}


/* Hero Actions */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 36px;
}

.primary-button,
.secondary-button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 20px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.primary-button {
    border:
        1px solid var(--gold);

    color: #211529;

    background:
        linear-gradient(
            135deg,
            #f0d58c,
            #c9933f
        );

    box-shadow:
        0 10px 30px
        rgba(214, 170, 84, 0.12);
}

.primary-button svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
}

.primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 35px
        rgba(214, 170, 84, 0.2);
}

.secondary-button {
    border:
        1px solid var(--border);

    color: var(--text-secondary);

    background:
        rgba(255, 255, 255, 0.025);
}

.secondary-button:hover {
    border-color: var(--border-strong);

    color: var(--gold-light);

    background:
        rgba(214, 170, 84, 0.05);

    transform: translateY(-2px);
}


/* Stats */

.hero-stats {
    display: flex;
    align-items: center;

    margin-top: 52px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-family: var(--font-display);

    font-size: 18px;
    font-weight: 700;

    color: var(--gold-light);
}

.hero-stat span {
    margin-top: 3px;

    font-size: 9px;
    font-weight: 600;

    color: var(--text-muted);

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 32px;

    margin: 0 24px;

    background: var(--border);
}


/* =========================================================
   FEATURED CARD
========================================================= */

.featured-wrapper {
    position: relative;
}

.featured-decoration {
    position: absolute;

    z-index: 3;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border:
        1px solid var(--border-strong);

    border-radius: 50%;

    color: var(--gold);

    background: var(--bg-primary);

    font-size: 10px;
}

.featured-decoration-top {
    top: -17px;
    right: 50px;
}

.featured-decoration-bottom {
    bottom: -17px;
    left: 50px;
}

.featured-card {
    position: relative;

    padding: 9px;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(53, 36, 66, 0.92),
            rgba(22, 15, 29, 0.96)
        );

    box-shadow: var(--shadow);
}

.featured-card::before {
    content: "";

    position: absolute;
    inset: 5px;

    pointer-events: none;

    border:
        1px solid rgba(214, 170, 84, 0.08);

    border-radius: 13px;
}

.featured-label {
    position: absolute;

    z-index: 5;

    top: 23px;
    left: 23px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 10px;

    border:
        1px solid rgba(214, 170, 84, 0.3);

    border-radius: 999px;

    font-size: 9px;
    font-weight: 700;

    color: var(--gold-light);

    letter-spacing: 0.08em;
    text-transform: uppercase;

    background:
        rgba(16, 11, 22, 0.82);

    backdrop-filter: blur(10px);
}

.featured-label-icon {
    font-size: 8px;
}

.featured-thumbnail {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 11px;

    background: #0d0912;
}

.featured-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.featured-card:hover
.featured-thumbnail img {
    transform: scale(1.025);
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(10, 7, 13, 0.05),
            rgba(10, 7, 13, 0.45)
        );
}

.featured-play-button {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    padding: 0;

    border:
        1px solid rgba(240, 213, 140, 0.7);

    border-radius: 50%;

    color: #211529;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            #c48b37
        );

    box-shadow:
        0 0 0 8px rgba(214, 170, 84, 0.08),
        0 10px 30px rgba(0, 0, 0, 0.3);

    transform:
        translate(-50%, -50%);

    cursor: pointer;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.featured-play-button:hover {
    transform:
        translate(-50%, -50%)
        scale(1.07);

    box-shadow:
        0 0 0 11px rgba(214, 170, 84, 0.1),
        0 12px 35px rgba(0, 0, 0, 0.4);
}

.featured-play-button svg {
    width: 24px;
    height: 24px;

    margin-left: 3px;

    fill: currentColor;
}

.featured-duration {
    position: absolute;

    right: 12px;
    bottom: 12px;

    padding: 4px 7px;

    border-radius: 5px;

    font-size: 10px;
    font-weight: 700;

    background:
        rgba(8, 5, 11, 0.86);
}

.featured-content {
    position: relative;

    padding:
        24px
        22px
        22px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 10px;

    font-size: 10px;
    font-weight: 600;

    color: var(--text-muted);

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.featured-category {
    color: var(--gold);
}

.meta-dot {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--gold-dark);
}

.featured-content h2 {
    margin: 0;

    font-family: var(--font-display);

    font-size:
        clamp(
            20px,
            2.5vw,
            27px
        );

    line-height: 1.35;

    color: var(--text-primary);
}

.featured-content p {
    margin:
        12px
        0
        0;

    font-size: 13px;

    color: var(--text-secondary);

    line-height: 1.7;
}

.featured-watch-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 18px;

    font-size: 11px;
    font-weight: 700;

    color: var(--gold-light);

    letter-spacing: 0.04em;
}

.featured-watch-link span {
    transition:
        transform var(--transition);
}

.featured-watch-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.adventures-section,
.collections-section,
.archive-section {
    position: relative;

    padding:
        105px
        0;
}

.adventures-section {
    border-top:
        1px solid rgba(214, 170, 84, 0.08);

    background:
        rgba(255, 255, 255, 0.012);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;

    margin-bottom: 42px;
}

.section-heading.centered {
    max-width: 650px;

    margin:
        0 auto
        50px;

    display: block;

    text-align: center;
}

.section-kicker {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 9px;
    font-weight: 700;

    color: var(--gold);

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-heading h2,
.archive-heading h2 {
    margin: 0;

    font-family: var(--font-display);

    font-size:
        clamp(
            30px,
            4vw,
            44px
        );

    font-weight: 700;

    color: var(--text-primary);

    line-height: 1.2;
}

.section-heading p,
.archive-heading p {
    max-width: 580px;

    margin:
        14px
        0
        0;

    font-size: 14px;

    color: var(--text-secondary);

    line-height: 1.8;
}


/* =========================================================
   LIBRARY CONTROLS
========================================================= */

.library-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding-bottom: 24px;

    border-bottom:
        1px solid rgba(214, 170, 84, 0.1);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.filter-button {
    min-height: 36px;

    padding: 0 13px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 7px;

    font-size: 11px;
    font-weight: 600;

    color: var(--text-muted);

    background:
        rgba(255, 255, 255, 0.025);

    cursor: pointer;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.filter-button:hover {
    color: var(--text-primary);

    border-color: var(--border);
}

.filter-button.active {
    color: #24162c;

    border-color: var(--gold);

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            #c89343
        );
}


/* Search */

.search-wrapper {
    position: relative;

    width: 250px;

    flex-shrink: 0;
}

.search-icon {
    position: absolute;

    top: 50%;
    left: 12px;

    width: 16px;
    height: 16px;

    fill: none;

    stroke: var(--text-muted);
    stroke-width: 1.7;

    transform: translateY(-50%);

    pointer-events: none;
}

.search-wrapper input {
    width: 100%;
    height: 40px;

    padding:
        0
        38px
        0
        38px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 8px;

    outline: none;

    color: var(--text-primary);

    background:
        rgba(255, 255, 255, 0.025);

    font-size: 12px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.search-wrapper input::placeholder {
    color: #6e6474;
}

.search-wrapper input:focus {
    border-color: var(--border-strong);

    box-shadow:
        0 0 0 3px
        rgba(214, 170, 84, 0.05);
}

.clear-search-button {
    position: absolute;

    top: 50%;
    right: 8px;

    width: 25px;
    height: 25px;

    padding: 0;

    border: 0;

    color: var(--text-muted);

    background: transparent;

    transform: translateY(-50%);

    cursor: pointer;
}


/* Results */

.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin:
        24px
        0;
}

.results-bar p {
    margin: 0;

    font-size: 11px;

    color: var(--text-muted);
}

.sort-select {
    height: 36px;

    padding:
        0
        32px
        0
        12px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 7px;

    outline: none;

    color: var(--text-secondary);

    background: #1a1221;

    font-size: 11px;

    cursor: pointer;
}


/* =========================================================
   VIDEO GRID
========================================================= */

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.video-card {
    position: relative;

    overflow: hidden;

    border:
        1px solid rgba(214, 170, 84, 0.12);

    border-radius: 12px;

    background:
        rgba(30, 20, 39, 0.7);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.14);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(214, 170, 84, 0.3);

    box-shadow:
        0 18px 40px
        rgba(0, 0, 0, 0.25);
}

.video-card-thumbnail {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #0b080f;

    cursor: pointer;
}

.video-card-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.video-card:hover
.video-card-thumbnail img {
    transform: scale(1.04);
}

.video-card-overlay {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    background:
        rgba(8, 5, 11, 0.08);

    transition:
        background var(--transition);
}

.video-card:hover
.video-card-overlay {
    background:
        rgba(8, 5, 11, 0.24);
}

.video-card-play {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(240, 213, 140, 0.7);

    border-radius: 50%;

    color: #24172c;

    background:
        rgba(232, 194, 105, 0.94);

    opacity: 0;

    transform: scale(0.8);

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.video-card:hover
.video-card-play {
    opacity: 1;

    transform: scale(1);
}

.video-card-play svg {
    width: 18px;
    height: 18px;

    margin-left: 2px;

    fill: currentColor;
}

.video-card-duration {
    position: absolute;

    right: 9px;
    bottom: 9px;

    padding: 3px 6px;

    border-radius: 4px;

    font-size: 9px;
    font-weight: 700;

    background:
        rgba(8, 5, 11, 0.86);
}

.video-card-content {
    padding: 18px;
}

.video-card-meta {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 9px;

    font-size: 9px;
    font-weight: 600;

    color: var(--text-muted);

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.video-card-category {
    color: var(--gold);
}

.video-card-content h3 {
    margin: 0;

    font-family: var(--font-display);

    font-size: 16px;

    line-height: 1.5;

    color: var(--text-primary);
}

.video-card-content p {
    display: -webkit-box;

    margin:
        9px
        0
        0;

    overflow: hidden;

    -webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;

    font-size: 12px;

    color: var(--text-muted);

    line-height: 1.65;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    padding:
        80px
        24px;

    text-align: center;
}

.empty-state-icon {
    margin-bottom: 16px;

    font-size: 24px;

    color: var(--gold);
}

.empty-state h3 {
    margin: 0;

    font-family: var(--font-display);

    font-size: 22px;
}

.empty-state p {
    margin:
        8px
        0
        22px;

    font-size: 13px;

    color: var(--text-muted);
}

.reset-filter-button {
    min-height: 40px;

    padding: 0 16px;

    border:
        1px solid var(--border);

    border-radius: 7px;

    color: var(--gold-light);

    background:
        rgba(214, 170, 84, 0.06);

    cursor: pointer;
}


/* =========================================================
   LOAD MORE
========================================================= */

.load-more-wrapper {
    display: flex;
    justify-content: center;

    margin-top: 45px;
}

.load-more-button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 0 20px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    color: var(--text-secondary);

    background:
        rgba(255, 255, 255, 0.02);

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.load-more-button:hover {
    color: var(--gold-light);

    border-color: var(--border-strong);

    transform: translateY(-2px);
}


/* =========================================================
   COLLECTIONS
========================================================= */

.collections-section {
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(140, 101, 211, 0.06),
            transparent 45%
        );
}

.collections-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.collection-card {
    position: relative;

    min-height: 280px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 14px;

    text-align: left;

    background:
        linear-gradient(
            145deg,
            rgba(43, 29, 54, 0.82),
            rgba(20, 14, 27, 0.9)
        );

    cursor: pointer;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.collection-card::after {
    content: "";

    position: absolute;

    right: -80px;
    bottom: -80px;

    width: 180px;
    height: 180px;

    border:
        1px solid
        rgba(214, 170, 84, 0.08);

    border-radius: 50%;

    box-shadow:
        0 0 0 25px
        rgba(214, 170, 84, 0.018),
        0 0 0 50px
        rgba(214, 170, 84, 0.012);
}

.collection-card:hover {
    transform: translateY(-5px);

    border-color: var(--border-strong);

    box-shadow: var(--shadow-small);
}

.collection-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 34px;

    border:
        1px solid var(--border-strong);

    border-radius: 50%;

    color: var(--gold-light);

    background:
        rgba(214, 170, 84, 0.06);

    font-size: 16px;
}

.collection-content {
    position: relative;

    z-index: 2;
}

.collection-number {
    font-size: 8px;
    font-weight: 700;

    color: var(--gold-dark);

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.collection-content h3 {
    margin:
        7px
        0
        8px;

    font-family: var(--font-display);

    font-size: 20px;

    color: var(--text-primary);
}

.collection-content p {
    margin: 0;

    font-size: 12px;

    color: var(--text-muted);

    line-height: 1.7;
}

.collection-link {
    display: inline-block;

    margin-top: 22px;

    font-size: 10px;
    font-weight: 700;

    color: var(--gold);

    letter-spacing: 0.04em;
}


/* =========================================================
   ARCHIVE
========================================================= */

.archive-section {
    border-top:
        1px solid rgba(214, 170, 84, 0.08);

    background:
        rgba(0, 0, 0, 0.08);
}

.archive-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.75fr)
        minmax(0, 1.25fr);

    gap: 90px;
}

.archive-heading {
    position: sticky;

    top: 120px;

    align-self: start;
}

.archive-list {
    border-top:
        1px solid var(--border);
}

.archive-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding:
        22px
        4px;

    border-bottom:
        1px solid rgba(214, 170, 84, 0.12);

    cursor: pointer;

    transition:
        padding var(--transition),
        background var(--transition);
}

.archive-item:hover {
    padding-left: 12px;

    background:
        linear-gradient(
            90deg,
            rgba(214, 170, 84, 0.04),
            transparent
        );
}

.archive-item-date {
    display: flex;
    flex-direction: column;
}

.archive-item-date strong {
    font-family: var(--font-display);

    font-size: 15px;

    color: var(--text-primary);
}

.archive-item-date span {
    margin-top: 3px;

    font-size: 9px;

    color: var(--text-muted);

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.archive-item-count {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 11px;

    color: var(--gold);
}

.archive-item-count span:last-child {
    font-size: 15px;
}


/* =========================================================
   QUOTE
========================================================= */

.tavern-quote-section {
    position: relative;

    padding:
        100px
        24px;

    overflow: hidden;

    text-align: center;

    border-top:
        1px solid rgba(214, 170, 84, 0.08);

    border-bottom:
        1px solid rgba(214, 170, 84, 0.08);

    background:
        radial-gradient(
            circle at center,
            rgba(214, 170, 84, 0.055),
            transparent 48%
        );
}

.quote-decoration {
    margin-bottom: 20px;

    font-size: 14px;

    color: var(--gold);
}

.tavern-quote-section blockquote {
    max-width: 700px;

    margin:
        0 auto;

    font-family: var(--font-display);

    font-size:
        clamp(
            22px,
            3vw,
            34px
        );

    line-height: 1.55;

    color: var(--text-primary);
}

.tavern-quote-section p {
    margin:
        18px
        0
        0;

    font-size: 10px;
    font-weight: 700;

    color: var(--gold-dark);

    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding:
        65px
        0
        28px;

    background: #0a070d;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-emblem {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    color: var(--gold);
}

.footer-brand strong {
    font-family: var(--font-display);

    font-size: 14px;

    color: var(--gold-light);
}

.footer-brand p {
    margin:
        3px
        0
        0;

    font-size: 10px;

    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;

    margin-top: 40px;

    padding:
        24px
        0;

    border-top:
        1px solid rgba(255, 255, 255, 0.05);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.05);
}

.footer-links a {
    font-size: 11px;
    font-weight: 600;

    color: var(--text-muted);

    transition:
        color var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding-top: 26px;
}

.footer-bottom p {
    margin: 0;

    font-size: 9px;

    color: #5f5664;
}

.fan-site-notice {
    text-align: right;
}


/* =========================================================
   VIDEO MODAL
========================================================= */

.video-modal {
    position: fixed;
    inset: 0;

    z-index: 2000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.video-modal.active {
    display: flex;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(5, 3, 7, 0.9);

    backdrop-filter: blur(10px);
}

.video-modal-dialog {
    position: relative;

    z-index: 2;

    width: min(
        100%,
        1000px
    );

    padding: 8px;

    border:
        1px solid var(--border-strong);

    border-radius: 14px;

    background: #160f1d;

    box-shadow:
        0 40px 100px
        rgba(0, 0, 0, 0.65);
}

.video-modal-close {
    position: absolute;

    z-index: 5;

    top: -16px;
    right: -16px;

    width: 36px;
    height: 36px;

    padding: 0;

    border:
        1px solid var(--border-strong);

    border-radius: 50%;

    color: var(--gold-light);

    background: #160f1d;

    font-size: 22px;

    cursor: pointer;
}

.video-player-wrapper {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 8px;

    background: #000;
}

.video-player-wrapper iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    z-index: 900;

    right: 24px;
    bottom: 24px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    padding: 0;

    border:
        1px solid var(--border);

    border-radius: 50%;

    color: var(--gold-light);

    background:
        rgba(24, 16, 31, 0.88);

    backdrop-filter: blur(12px);

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.25);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(10px);

    cursor: pointer;

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition),
        border-color var(--transition);
}

.back-to-top.visible {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}

.back-to-top:hover {
    border-color:
        var(--border-strong);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .hero-container {
        gap: 50px;
    }

    .desktop-navigation {
        display: none;
    }

    .desktop-youtube-button {
        margin-left: auto;
    }

    .video-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .archive-layout {
        gap: 60px;
    }

}


@media (max-width: 820px) {

    .header-container,
    .hero-container,
    .section-container,
    .footer-container {
        width:
            min(
                calc(100% - 32px),
                var(--container)
            );
    }

    .desktop-youtube-button {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero-section {
        padding:
            80px
            0
            90px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 65px;
    }

    .hero-content {
        max-width: 650px;
    }

    .library-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .search-wrapper {
        width: 100%;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .collection-card {
        min-height: 240px;
    }

    .archive-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .archive-heading {
        position: static;
    }

}


@media (max-width: 600px) {

    .brand-subtitle {
        display: none;
    }

    .brand-name {
        font-size: 13px;
    }

    .brand-emblem {
        width: 40px;
        height: 40px;
    }

    .hero-section {
        padding-top: 65px;
    }

    .hero-title {
        font-size:
            clamp(
                38px,
                13vw,
                55px
            );
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-stats {
        justify-content: space-between;
    }

    .stat-divider {
        margin: 0 14px;
    }

    .featured-content {
        padding:
            20px
            16px
            18px;
    }

    .featured-play-button {
        width: 52px;
        height: 52px;
    }

    .featured-decoration {
        display: none;
    }

    .adventures-section,
    .collections-section,
    .archive-section {
        padding:
            80px
            0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .results-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .sort-select {
        width: 100%;
    }

    .category-filters {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .filter-button {
        width: 100%;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .fan-site-notice {
        text-align: left;
    }

    .video-modal {
        padding: 16px;
    }

    .video-modal-close {
        top: -12px;
        right: -5px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }

}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}