* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* PALETTE - Three Rivers */
    --river-blue: #000000;
    --river-light: #0a0a0a;
    --allegheny: #1a1a1a;
    --monongahela: #111111;
    --ohio: #050505;
    --pittsburgh-gold: #FFB81C;
    --gold-light: #ffc94d;
    --steel-gray: #a0aec0;
    --iron-black: #000000;
    --cream-bg: #000000;
    --text-main: #FFFFFF;

    /* THEME VARIABLES */
    --card-radius: 20px;
    --card-shadow: 0 10px 40px rgba(0, 45, 98, 0.1);
}

/* Evergreen Section */
.evergreen-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 45, 98, 0.1);
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2em;
    color: var(--river-blue);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.section-title.river-gradient-text {
    font-weight: 800;
    font-size: 2.5em;
    /* Larger for impact */
}

.evergreen-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--pittsburgh-gold) rgba(255, 255, 255, 0.1);
}

.evergreen-grid::-webkit-scrollbar {
    height: 8px;
}

.evergreen-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.evergreen-grid::-webkit-scrollbar-thumb {
    background: var(--pittsburgh-gold);
    border-radius: 10px;
}

.evergreen-grid::-webkit-scrollbar-thumb:hover {
    background: var(--pittsburgh-gold);
    opacity: 0.8;
}

.evergreen-category-section {
    margin-bottom: 50px;
}

.evergreen-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--pittsburgh-gold);
    margin-bottom: 20px;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.evergreen-card {
    background: #111;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    width: 280px;
}

.evergreen-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.evergreen-image {
    height: 280px;
    width: 100%;
    object-fit: contain;
    display: block;
    padding: 28px;
    background: radial-gradient(circle at top, rgba(255, 184, 28, 0.16), transparent 52%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.evergreen-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.evergreen-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.evergreen-desc {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9em;
    color: #666;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evergreen-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.evergreen-logo {
    height: 32px;
    width: 32px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.header-right-panel-compact {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 1 300px;
    justify-content: flex-end;
    min-width: 0;
    margin-left: 0;
}

.header-right-panel-compact .podcast-compact-card {
    margin-bottom: 0;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 28, 0.4);
    border-radius: 20px;
    min-width: 0;
    width: 100%;
    max-height: 45px;
}

.header-right-panel-compact .pod-title {
    font-size: 0.9em;
}

.header-right-panel-compact .pod-meta {
    font-size: 0.7em;
    letter-spacing: 1px;
}

.header-right-panel-compact .pod-play-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
}

/* PODCAST PLAYER */
.podcast-section {
    background: linear-gradient(135deg, rgba(0, 45, 98, 0.95) 0%, rgba(26, 74, 122, 0.9) 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 184, 28, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.podcast-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 184, 28, 0.05) 0%, transparent 60%);
    animation: rotate_bg 20s linear infinite;
}

@keyframes rotate_bg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.podcast-visual {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pittsburgh-gold);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 184, 28, 0.4);
    z-index: 2;
}

.podcast-visual span {
    font-size: 32px;
    color: var(--river-blue);
}

.podcast-waves {
    position: absolute;
    width: 140%;
    height: 140%;
    border: 2px solid rgba(255, 184, 28, 0.3);
    border-radius: 50%;
    animation: pulse_wave 2s ease-out infinite;
}

@keyframes pulse_wave {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.podcast-info {
    flex: 1;
    z-index: 2;
}

.podcast-tag {
    display: inline-block;
    background: var(--pittsburgh-gold);
    color: var(--river-blue);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.podcast-info h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8em;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
    color: #fff;
}

.podcast-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 15px;
    font-family: 'Segoe UI', sans-serif;
}

.podcast-player-ui {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-btn-pod {
    width: 40px;
    height: 40px;
    background: var(--pittsburgh-gold);
    border: none;
    border-radius: 50%;
    color: var(--river-blue);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.play-btn-pod:hover {
    transform: scale(1.1);
}

.progress-bar-podcast {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.progress-fill-pod {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 45%;
    background: var(--pittsburgh-gold);
    border-radius: 3px;
}

.podcast-time {
    font-family: monospace;
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.7);
    min-width: 80px;
    text-align: right;
}

body {
    font-family: 'Georgia', 'Playfair Display', serif;
    background-color: var(--cream-bg);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    /* Subtle river ripple pattern */
    background-image:
        radial-gradient(ellipse 100% 50% at 50% 100%, rgba(0, 45, 98, 0.03) 0%, transparent 70%),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 100px,
            rgba(0, 45, 98, 0.01) 100px,
            rgba(0, 45, 98, 0.01) 102px);
}

/* BRIDGES & FLOW HEADER - MAVEN DARK STYLE */
/* HEADER SYSTEM */
.header {
    position: relative;
    background: var(--river-blue);
    color: #fff;
    padding: 0;
    overflow: visible;
}

body.event-index-page .header-main-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 184, 28, 0.3);
    padding: 10px 0;
    display: block;
    transform: translateY(0);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    will-change: transform;
    position: sticky;
}

body.event-index-page .header-main-sticky.scroll-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

body.event-index-page .header-main-sticky.scroll-visible {
    transform: translateY(0);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.sticky-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.sticky-top-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.sticky-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    width: auto;
}

.sticky-inline-controls {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

.sticky-secondary-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.quick-date-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.sticky-logo {
    height: 80px;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.sticky-logo-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
}

.sticky-stats-ribbon {
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    padding: 0;
    border: none;
    justify-content: center;
}

.keepers-collection-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 184, 28, 0.3);
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.14), rgba(10, 17, 30, 0.65));
    color: #fff;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.keepers-collection-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 184, 28, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.keepers-collection-btn.has-keepers {
    box-shadow: 0 0 0 1px rgba(255, 184, 28, 0.16), 0 14px 28px rgba(255, 184, 28, 0.16);
}

.cart-style-dibs-btn {
    margin-left: 0;
    padding-right: 12px;
}

.top-right-dibs-btn {
    margin-left: auto;
    align-self: center;
    position: static;
    z-index: 3;
}

.keepers-collection-icon {
    width: 28px;
    height: 28px;
    color: var(--pittsburgh-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 8px rgba(255, 184, 28, 0.25));
}

.parking-chair-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.keepers-collection-label {
    font-size: 0.82rem;
}

.keepers-count-badge,
.chip-count {
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pittsburgh-gold);
    color: #111;
    font-size: 0.78rem;
    font-weight: 900;
}

.cart-style-dibs-btn .keepers-count-badge {
    min-width: 22px;
    height: 22px;
    margin-left: -4px;
    box-shadow: 0 4px 12px rgba(255, 184, 28, 0.24);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 184, 28, 0.3);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(255, 184, 28, 0.2);
}

.header-expanded-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.header-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-branding {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.hero-logo {
    height: 220px;
    margin-bottom: 0;
    filter: drop-shadow(0 0 20px rgba(255, 184, 28, 0.2));
    mix-blend-mode: screen;
    display: block;
}

.hero-text {
    position: absolute;
    bottom: 55px;
    /* Lowered from 70px */
    left: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--pittsburgh-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.header-right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* Compact Podcast Card */
.podcast-compact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 28, 0.2);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.pod-playing-indicator {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    width: 20px;
}

.pod-playing-indicator .bar {
    width: 3px;
    background: var(--pittsburgh-gold);
    height: 20%;
}

.playing .pod-playing-indicator .bar {
    animation: pod-wave 1s infinite alternate;
}

.playing .pod-playing-indicator .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.playing .pod-playing-indicator .bar:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pod-wave {
    0% {
        height: 20%;
    }

    100% {
        height: 100%;
    }
}

.pod-content {
    flex: 1;
}

.pod-meta {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--pittsburgh-gold);
    font-weight: 800;
    letter-spacing: 1px;
}

.pod-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #fff;
}

.pod-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pittsburgh-gold);
    border: none;
    color: var(--river-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    padding-left: 3px;
}

.pod-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.pod-progress-bar {
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.pod-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--pittsburgh-gold);
    transition: width 0.1s linear;
}

/* Status Ribbon */
.status-ribbon {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    padding: 8px 10px 8px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.status-item:hover {
    opacity: 0.8;
}

.status-val {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--pittsburgh-gold);
}

.status-lab {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.status-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.view-switcher-pill {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px;
    display: flex;
}

.pill-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    opacity: 0.6;
}

.pill-btn.active {
    background: #fff;
    color: var(--river-blue);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 184, 28, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 184, 28, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
}

.river-flow {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 10;
}

.river-flow svg {
    width: 100%;
    height: 100%;
}

.wave-1 {
    fill: var(--cream-bg);
    opacity: 1;
}

.wave-2 {
    fill: var(--pittsburgh-gold);
    opacity: 0.3;
}

.wave-3 {
    fill: var(--river-light);
    opacity: 0.2;
}

.container {
    max-width: 1300px;
    margin: -20px auto 40px;
    padding: 40px;
    background: var(--cream-bg);
    border-radius: 30px;
    position: relative;
    z-index: 20;
    box-shadow: 0 20px 60px rgba(0, 45, 98, 0.08);
}

.scroll-to-top-btn {
    position: fixed;
    right: max(18px, calc(env(safe-area-inset-right) + 18px));
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 184, 28, 0.45);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.88);
    color: var(--pittsburgh-gold);
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease;
    z-index: 1100;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
    background: rgba(255, 184, 28, 0.14);
}

.scroll-to-top-btn:focus-visible {
    outline: 2px solid var(--pittsburgh-gold);
    outline-offset: 3px;
}

.scroll-to-top-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

@media (max-width: 768px) {
    .header-expanded-content {
        padding: 20px 15px 40px;
    }

    .header-hero {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-logo {
        height: 180px;
    }

    .hero-text {
        bottom: 45px;
    }

    .header-right-panel {
        min-width: 100%;
    }

    .status-ribbon {
        padding: 0;
        gap: 12px;
        justify-content: center;
    }

    .status-val {
        font-size: 1.1rem;
    }

    .status-lab {
        font-size: 0.6rem;
    }

    .scroll-to-top-btn {
        right: max(12px, calc(env(safe-area-inset-right) + 12px));
        bottom: max(12px, calc(env(safe-area-inset-bottom) + 12px));
        width: 46px;
        height: 46px;
    }

    .scroll-to-top-btn svg {
        width: 20px;
        height: 20px;
    }
}

.header-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--pittsburgh-gold) 1px, transparent 1px),
        linear-gradient(90deg, var(--pittsburgh-gold) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.15;
    z-index: 1;
}

.header-logo {
    height: 120px;
    width: auto;
    filter: sepia(1) saturate(10) hue-rotate(10deg) brightness(1.2);
    mix-blend-mode: screen;
    transition: transform 0.3s ease;
}

.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.logo-link:hover .header-logo {
    transform: scale(1.05);
}

.logo-text {
    margin-top: 0;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .header-logo {
        height: 80px;
    }

    .logo-link {
        align-items: center;
    }
}

.masthead {
    font-size: 3.5rem;
    margin: 0;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    line-height: 1;
}

.masthead span {
    display: inline-block;
    color: #fff;
}

.slab .part-y {
    color: var(--pittsburgh-gold);
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
}

.slab .part-y::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: var(--pittsburgh-gold);
    margin-top: -4px;
}

.header h1 {
    font-size: 2.8em;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

/* Official Slab Typography - Exact from official_logo.html */
.title-container {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-container:hover {
    transform: scale(1.02);
    filter: brightness(1.2);
}

.masthead {
    font-size: 3rem;
    margin: 0;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
}

.masthead span {
    display: inline-block;
    color: #fff;
}

.slab .part-y,
.slab .part-inz,
.slab .part-ider {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
}

.slab .part-y {
    color: var(--pittsburgh-gold);
    position: relative;
}

.slab .part-y::after {
    content: '';
    display: block;
    width: 32px;
    height: 4px;
    background: var(--pittsburgh-gold);
    margin: 6px auto 0;
}

.slab .part-inz,
.slab .part-ider {
    color: #fff;
    font-weight: 800;
}

.subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95em;
    margin: 2px 0;
    font-family: 'Segoe UI', sans-serif;
}

/* River Flow Wave - Gold Maven Style */
.river-flow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.river-flow svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 50px;
    animation: flow 8s ease-in-out infinite;
}

@keyframes flow {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-15%);
    }
}

.river-flow .wave-1 {
    fill: var(--pittsburgh-gold);
    opacity: 0.2;
}

.river-flow .wave-2 {
    fill: var(--pittsburgh-gold);
    opacity: 0.4;
}

.river-flow .wave-3 {
    fill: transparent;
}

/* MAIN CONTAINER */
.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 2;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.8;
    color: #555;
}

/* STATS - Dark Maven Style */
.stats {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.stat-item {
    background: #0a0a0a;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    border: 2px solid #333;
    min-width: 85px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--pittsburgh-gold);
    transform: translateY(-2px);
}

.stat-item.active {
    background: var(--pittsburgh-gold);
    border-color: var(--pittsburgh-gold);
}

.stat-item.active .stat-number,
.stat-item.active .stat-label {
    color: #000;
}

.stat-number {
    font-weight: 800;
    color: var(--pittsburgh-gold);
    font-size: 1.8em;
    line-height: 1;
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
}

/* View Toggle - Maven Dark Style */
.view-toggle {
    display: flex;
    background: #0a0a0a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 4px;
    gap: 0;
    margin-left: 15px;
}

.view-toggle button {
    background: transparent;
    border: none;
    color: #888;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Segoe UI', sans-serif;
}

.view-toggle button:hover {
    color: #fff;
}

.view-toggle button.active {
    background: var(--pittsburgh-gold);
    color: #000;
}

/* Section Divider - Three Rivers */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    max-width: 400px;
}

.river-line {
    flex: 1;
    height: 2px;
    border-radius: 1px;
}

.river-line.allegheny {
    background: linear-gradient(90deg, transparent, var(--allegheny));
}

.river-line.ohio {
    background: linear-gradient(90deg, var(--ohio), transparent);
}

.confluence-point {
    width: 12px;
    height: 12px;
    background: var(--pittsburgh-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 184, 28, 0.5);
}

/* COLLAPSIBLE FILTER SECTION */
.filter-section {
    background: linear-gradient(180deg, rgba(0, 45, 98, 0.03) 0%, transparent 100%);
    border-bottom: 1px solid rgba(0, 45, 98, 0.08);
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.filter-section.collapsed {
    max-height: 0 !important;
    border-bottom: none;
}

.filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 45, 98, 0.02);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 45, 98, 0.05);
}

.filter-toggle:hover {
    background: rgba(0, 45, 98, 0.05);
}

.filter-toggle-text {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--river-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-toggle-icon {
    transition: transform 0.3s ease;
    color: var(--river-blue);
    font-size: 0.8em;
}

.filter-toggle.open .filter-toggle-icon {
    transform: rotate(180deg);
}

.filter-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 25px 20px 30px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group-label {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 45, 98, 0.1), transparent);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    padding: 8px 18px;
    border: 2px solid var(--pittsburgh-gold);
    background: #111;
    color: var(--pittsburgh-gold);
    border-radius: 25px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-tag:hover {
    background: rgba(0, 45, 98, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 45, 98, 0.15);
}

.filter-tag.active {
    background: var(--river-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 45, 98, 0.3);
}

.filter-empty {
    color: rgba(255, 255, 255, 0.62);
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.86rem;
    padding: 8px 0;
}

.filter-helper-text {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.78rem;
}

.filter-tag .tag-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 700;
}

.filter-tag.active .tag-count {
    background: rgba(255, 255, 255, 0.25);
}

.filter-clear {
    padding: 8px 18px;
    border: 2px dashed var(--steel-gray);
    background: transparent;
    color: var(--steel-gray);
    border-radius: 25px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-clear:hover {
    border-color: #d63031;
    color: #d63031;
    background: rgba(214, 48, 49, 0.05);
}

/* Mood-based Filter Styles */
.mood-filters {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 45, 98, 0.1);
}

.mood-filters .filter-group-label {
    font-size: 0.9em;
    color: var(--pittsburgh-gold);
}

.mood-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.mood-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    min-width: 120px;
    background: linear-gradient(145deg, #111 0%, #000 100%);
    border: 2px solid #333;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mood-tag:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 45, 98, 0.15);
    border-color: var(--river-blue);
}

.mood-tag.active {
    background: linear-gradient(145deg, var(--river-blue) 0%, #1a4a7a 100%);
    border-color: var(--river-blue);
    box-shadow: 0 6px 20px rgba(0, 45, 98, 0.3);
}

.mood-emoji {
    font-size: 2rem;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
}

.mood-tag:hover .mood-emoji {
    transform: scale(1.2);
}

.mood-label {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--steel-gray);
    text-align: center;
}

.mood-tag.active .mood-label {
    color: #fff;
}

/* Search and Sort Row */
.search-sort-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box .search-icon {
    position: absolute;
    left: 14px;
    font-size: 1rem;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 42px;
    border: 2px solid #333;
    border-radius: 25px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    background: #111;
    color: #fff;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--river-blue);
    box-shadow: 0 4px 12px rgba(0, 45, 98, 0.15);
}

.search-box .search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    font-size: 1rem;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}

.search-box input:not(:placeholder-shown)+.search-clear {
    opacity: 1;
}

.search-clear:hover {
    color: #d63031;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-box label {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--steel-gray);
}

.sort-box select {
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-box select:focus {
    outline: none;
    border-color: var(--river-blue);
}

/* Date Filter Buttons */
.date-filters {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 45, 98, 0.1);
}

.date-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.date-filter-btn {
    padding: 10px 18px;
    border: 2px solid var(--pittsburgh-gold);
    background: transparent;
    color: #856404;
    border-radius: 25px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.date-filter-btn:hover {
    background: rgba(255, 184, 28, 0.1);
    transform: translateY(-2px);
}

.date-filter-btn.active {
    background: var(--pittsburgh-gold);
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(255, 184, 28, 0.3);
}

.active-filters-summary {
    display: none;
    padding: 10px 20px;
    background: rgba(0, 45, 98, 0.03);
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85em;
    color: var(--steel-gray);
}

.active-filters-summary.visible {
    display: block;
}

.active-filters-summary strong {
    color: var(--river-blue);
}


/* GRID */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}



/* COLLAPSIBLE FILTER SECTION */
.filter-section {
    background: linear-gradient(180deg, rgba(0, 45, 98, 0.03) 0%, transparent 100%);
    border-bottom: 1px solid rgba(0, 45, 98, 0.08);
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.filter-section.collapsed {
    max-height: 0 !important;
    border-bottom: none;
}

.filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 45, 98, 0.02);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 45, 98, 0.05);
}

.filter-toggle:hover {
    background: rgba(0, 45, 98, 0.05);
}

.filter-toggle-text {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--river-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-toggle-icon {
    transition: transform 0.3s ease;
    color: var(--river-blue);
    font-size: 0.8em;
}

.filter-toggle.open .filter-toggle-icon {
    transform: rotate(180deg);
}

.filter-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 25px 20px 30px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group-label {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 45, 98, 0.1), transparent);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    padding: 8px 18px;
    border: 2px solid var(--pittsburgh-gold);
    background: #111;
    color: var(--pittsburgh-gold);
    border-radius: 25px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-tag:hover {
    background: rgba(0, 45, 98, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 45, 98, 0.15);
}

.filter-tag.active {
    background: var(--river-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 45, 98, 0.3);
}

.filter-tag .tag-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 700;
}

.filter-tag.active .tag-count {
    background: rgba(255, 255, 255, 0.25);
}

.filter-clear {
    padding: 8px 18px;
    border: 2px dashed var(--steel-gray);
    background: transparent;
    color: var(--steel-gray);
    border-radius: 25px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-clear:hover {
    border-color: #d63031;
    color: #d63031;
    background: rgba(214, 48, 49, 0.05);
}

.active-filters-summary {
    display: none;
    padding: 10px 20px;
    background: rgba(0, 45, 98, 0.03);
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85em;
    color: var(--steel-gray);
}

.active-filters-summary.visible {
    display: block;
}

.active-filters-summary strong {
    color: var(--river-blue);
}


/* GRID */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.events-grid.hidden {
    display: none;
}

/* Events Table View */
.table-container {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    -webkit-overflow-scrolling: touch;
}

.events-table {
    display: none;
    width: 100%;
    min-width: 1200px;
    border-collapse: separate;
    border-spacing: 0 12px;
    table-layout: auto;
}

.events-table.active {
    display: table;
}

/* Modern Table Header */
.events-table thead th {
    background: transparent;
    color: var(--pittsburgh-gold);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', sans-serif;
    border-bottom: 1px solid rgba(255, 184, 28, 0.2);
}

.events-table th.sortable {
    cursor: pointer;
    transition: background 0.2s;
}

.events-table th.sortable:hover {
    background: rgba(255, 184, 28, 0.1);
}

.sort-icon {
    font-size: 0.7rem;
    margin-left: 5px;
    opacity: 0.5;
}

.sortable.asc .sort-icon,
.sortable.desc .sort-icon {
    opacity: 1;
    color: var(--pittsburgh-gold);
}

/* Column widths for 7-column layout */
.events-table th:nth-child(1) {
    width: 12%;
}

/* Image */
.events-table th:nth-child(2) {
    width: 25%;
}

/* Event Details */
.events-table th:nth-child(3) {
    width: 18%;
}

/* DateTime */
.events-table th:nth-child(4) {
    width: 20%;
}

/* Location */
.events-table th:nth-child(5) {
    width: 10%;
}

/* Audience */
.events-table th:nth-child(6) {
    width: 10%;
}

/* Source */

/* Glassmorphism Row Styling */
.events-table tbody tr {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.events-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 184, 28, 0.15);
    background: rgba(40, 40, 60, 0.9);
}

.events-table tbody td {
    padding: 16px;
    vertical-align: middle;
    color: #ddd;
}

.events-table tbody td:nth-child(2) {
    width: 100%;
}

.events-table tbody td:first-child {
    border-radius: 12px 0 0 12px;
}

.events-table tbody td:last-child {
    border-radius: 0 12px 12px 0;
}

/* Event Thumbnail */
.event-thumb {
    width: 160px;
    height: 90px;
    object-fit: contain;
    background-color: #111;
    border-radius: 8px;
    display: block;
}

/* Event Details Cell (composite) */
.event-details {
    padding: 8px 16px;
}

.event-details-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.event-details-title:hover {
    color: var(--pittsburgh-gold);
}

.event-details-datetime {
    color: var(--pittsburgh-gold);
    font-size: 0.9rem;
    margin-bottom: 6px;
    font-family: 'Segoe UI', sans-serif;
}

.event-details-desc {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px 0;
}

.event-details-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.event-details-tags .tag-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 184, 28, 0.15);
    color: var(--pittsburgh-gold);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 184, 28, 0.3);
}

/* Location Cell */
.location-cell {
    font-size: 0.9rem;
    color: #bbb;
    min-width: 180px;
}

.location-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-inline,
.meta-location {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.location-source-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.location-source-logo {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px;
}

.location-pin-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 0.9rem;
    line-height: 1;
    flex: 0 0 auto;
}

.location-cell .location-icon {
    margin-right: 6px;
}

/* DateTime Cell */
.datetime-cell {
    font-size: 0.85rem;
    color: #bbb;
    min-width: 190px;
}

.datetime-date {
    color: var(--pittsburgh-gold);
    font-weight: 600;
    margin-bottom: 4px;
}

.datetime-time {
    color: #aaa;
}

.datetime-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mobile-table-only {
    display: none;
}

.mobile-table-meta {
    display: none;
}

.mobile-table-location {
    color: #f1f5f9;
    font-size: 0.8rem;
    line-height: 1.35;
}

.mobile-table-datetime {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hype Score Cell */
.hype-cell {
    text-align: center;
    min-width: 100px;
}

.hype-meter {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 4px;
}

.hype-meter-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #3498db 0%, #f39c12 50%, #e74c3c 100%);
    transition: width 0.3s ease;
}

.hype-score-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pittsburgh-gold);
}

.hype-score-text.high {
    color: #e74c3c;
}

.hype-score-text.medium {
    color: #f39c12;
}

.hype-card-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.hype-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hype-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.hype-pill.high {
    background: rgba(255, 107, 107, 0.18);
    color: #ff8b8b;
    border: 1px solid rgba(255, 107, 107, 0.35);
}

.hype-pill.medium {
    background: rgba(243, 156, 18, 0.18);
    color: #ffc25c;
    border: 1px solid rgba(243, 156, 18, 0.35);
}

.hype-pill.low {
    background: rgba(52, 152, 219, 0.16);
    color: #8dc8f5;
    border: 1px solid rgba(52, 152, 219, 0.32);
}

.desktop-hype-chip {
    display: inline-flex;
}

.hype-meter-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 769px) {
    .events-table .hype-card-line {
        display: none;
    }
}

.datetime-date,
.datetime-time {
    white-space: nowrap;
}

/* Today Badge for Table */
.events-table .today-badge {
    border-radius: 24px;
    /* Organic roundness */
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    position: relative;
}

/* Base Event Card Styles */
.event-card {
    position: relative;
}

.event-card.is-keeper {
    box-shadow: 0 18px 38px rgba(255, 184, 28, 0.24);
}

.event-card.is-dismissed {
    display: none !important;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 45, 98, 0.2);
}

    .mobile-swipe-hint {
        display: none;
        pointer-events: none;
    }

    .swipe-hint-rail {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 28px;
        height: clamp(180px, 46%, 280px);
        padding: 12px 6px;
        border-radius: 999px;
        border: 1px solid rgba(255, 184, 28, 0.28);
        background: linear-gradient(180deg, rgba(8, 8, 8, 0.82), rgba(18, 18, 18, 0.64));
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: var(--pittsburgh-gold);
        opacity: 0;
        text-shadow: 0 0 10px rgba(255, 184, 28, 0.35);
        animation: swipeHintPulse 3.2s ease-in-out infinite;
        overflow: visible;
        z-index: 4;
    }

    .swipe-hint-rail-left {
        left: 10px;
        align-items: center;
    }

    .swipe-hint-rail-right {
        right: 10px;
        align-items: center;
        animation-delay: 0.5s;
    }

    .swipe-hint-label {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        font-family: 'Oswald', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        line-height: 1;
        white-space: nowrap;
    }

    .swipe-hint-rail-left .swipe-hint-label {
        transform: rotate(180deg);
    }

    .swipe-hint-arrow {
        font-family: 'Oswald', sans-serif;
        font-size: 1.9rem;
        font-weight: 900;
        line-height: 1;
    }

    .mobile-swipe-hint.show-swipe-hint .swipe-hint-rail {
        opacity: 0.96;
    }

    @keyframes swipeHintPulse {
        0%,
        100% {
            opacity: 0.34;
        }
        50% {
            opacity: 1;
        }
    }

    .swipe-hint-rail-left {
        animation-name: swipeHintPulseLeft;
    }

    .swipe-hint-rail-right {
        animation-name: swipeHintPulseRight;
    }

    @keyframes swipeHintPulseLeft {
        0%,
        100% {
            transform: translateY(-50%) scale(0.94);
            opacity: 0.34;
        }
        50% {
            transform: translateY(-50%) scale(1);
            opacity: 1;
        }
    }

    @keyframes swipeHintPulseRight {
        0%,
        100% {
            transform: translateY(-50%) scale(0.94);
            opacity: 0.34;
        }
        50% {
            transform: translateY(-50%) scale(1);
            opacity: 1;
        }
    }

.event-card.swipe-active,
body.table-view .events-table tbody tr.swipe-active {
    transition: transform 0.12s ease;
}

.event-card[data-swipe-intent="save"],
body.table-view .events-table tbody tr[data-swipe-intent="save"] {
    box-shadow: 0 0 0 2px rgba(255, 184, 28, 0.4), 0 18px 36px rgba(255, 184, 28, 0.18);
}

.event-card[data-swipe-intent="dismiss"],
body.table-view .events-table tbody tr[data-swipe-intent="dismiss"] {
    box-shadow: 0 0 0 2px rgba(255, 120, 120, 0.35), 0 18px 36px rgba(180, 30, 30, 0.18);
}

.keeper-toggle-btn {
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    z-index: 120;
    padding: 4px;
    opacity: 0.92;
}

.keeper-toggle-btn:hover {
    transform: translateY(-1px) scale(1.02);
    opacity: 1;
}

.keeper-toggle-btn.active {
    background: rgba(80, 80, 80, 0.85);
    color: var(--pittsburgh-gold);
    opacity: 1;
}

.keeper-toggle-btn .parking-chair-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.34));
}

.keeper-toggle-btn.active .parking-chair-icon {
    filter: drop-shadow(0 0 10px rgba(255, 184, 28, 0.45)) drop-shadow(0 0 18px rgba(255, 184, 28, 0.32));
}

.card-keeper-btn {
    position: absolute;
    bottom: 20px;
    right: 12px;
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 184, 28, 0.3);
    opacity: 0;
    pointer-events: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-keeper-btn .parking-chair-icon {
    width: 24px;
    height: 24px;
}

.table-keeper-btn {
    position: absolute;
    top: 0;
    right: 0;
}

.dibs-collection-btn {
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.18), rgba(52, 21, 6, 0.78));
}

.dibs-collection-btn .parking-chair-icon {
    width: 26px;
    height: 26px;
}

.event-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    display: block;
    background-color: #111;
    box-sizing: border-box !important;
}

.fallback-logo {
    padding: 30px !important;
    background: #111 !important;
    object-fit: contain !important;
    object-position: center;
}

.event-content {
    padding: 25px 20px 25px;
    /* More compact padding for grid stability */
    position: relative;
    z-index: 2;
    background: #111;
    color: #fff;
    width: 100% !important;
    box-sizing: border-box !important;
}

.event-description {
    margin: -4px 0 0;
    color: #b9c7d3;
    font-size: 0.92rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-media-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px !important;
    width: 100% !important;
    aspect-ratio: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #111;
}

/* Excitement Badge Styles */
.excitement-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 4px;
}

.excitement-badge.high {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    animation: pulse-glow 2s ease-in-out infinite;
}

.excitement-badge.medium {
    background: linear-gradient(135deg, var(--pittsburgh-gold), #ffa502);
    color: #1a1a1a;
}

/* Age Badge Styles */
.age-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.age-badge:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.age-badge.kid {
    background: rgba(46, 204, 113, 0.85);
}

.age-badge.family {
    background: rgba(39, 174, 96, 0.85);
}

.age-badge.adult {
    background: rgba(230, 126, 34, 0.85);
}

.age-badge.all {
    background: rgba(52, 152, 219, 0.85);
}

.age-icon {
    font-size: 1rem;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(238, 90, 36, 0.5);
    }

    50% {
        box-shadow: 0 0 15px rgba(238, 90, 36, 0.8);
    }
}

.event-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.event-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--pittsburgh-gold);
    color: #000;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Override generic category style for untagged cards (Three Rivers) */
.event-card:not([data-category]) .event-category {
    background: transparent;
    border-radius: 0;
    border-top: 2px solid var(--pittsburgh-gold);
    border-bottom: 2px solid var(--pittsburgh-gold);
    border-left: none;
    border-right: none;
    color: var(--pittsburgh-gold);
    padding: 5px 10px;
    font-size: 0.72em;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 15px;
}

.event-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.event-title a:hover {
    color: var(--pittsburgh-gold);
    text-decoration: underline;
}

.event-meta {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-bottom: 20px;
}

.meta-item {
    font-family: 'Segoe UI', sans-serif;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.venue-attribution {
    font-size: 0.85em;
    color: #888;
}

.venue-link {
    color: var(--pittsburgh-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.venue-link:hover {
    color: #ffc43d;
    text-decoration: underline;
}

.event-link {
    display: block;
    text-align: center;
    background: var(--pittsburgh-gold);
    color: #000;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85em;
    transition: transform 0.2s;
}

.event-link:hover {
    transform: scale(1.02);
    background: #ffc43d;
}

/* --------------------------
           THEME OVERRIDES
           -------------------------- */

/* SPORTS CATEGORY: Retro Ticket Stub (Vertical) */
.event-card[data-category="sports"] {
    background: #eeeeee;
    color: #111111;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Perforated edge on the bottom side */
    mask-image: radial-gradient(circle at 50% bottom, transparent 12px, black 13px);
    mask-size: 30px 100%;
    mask-repeat: repeat-x;
    -webkit-mask-image: radial-gradient(circle at 50% bottom, transparent 12px, black 13px);
    -webkit-mask-size: 30px 100%;
    -webkit-mask-repeat: repeat-x;
    overflow: hidden;
    height: 100%;
}

.event-card[data-category="sports"] .event-media-wrapper {
    width: 100%;
    height: 240px;
    flex-shrink: 0;
    background-color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: none;
    border-bottom: 8px solid var(--pittsburgh-gold);
}

.event-card[data-category="sports"] .event-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center;
    mix-blend-mode: normal;
    opacity: 1;
    border-radius: 0;
    margin-bottom: 0;
}

.event-card[data-category="sports"] .event-image.fallback-logo {
    object-fit: contain;
    padding: 30px;
    opacity: 1;
    mix-blend-mode: normal;
}

.event-card[data-category="sports"] .event-content {
    background: #eeeeee;
    background-image: radial-gradient(#d5d5d5 1px, transparent 1px);
    background-size: 10px 10px;
    border-radius: 0;
    padding: 25px 20px 45px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.event-card[data-category="sports"] .event-tags-row {
    margin-bottom: 12px;
}

.event-card[data-category="sports"] .event-category {
    background: #111111;
    color: var(--pittsburgh-gold);
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 4px 10px;
    display: inline-block;
}

.event-card[data-category="sports"] .event-title {
    color: #111111;
    font-family: 'Oswald', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.event-card[data-category="sports"] .event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0;
    padding-bottom: 0;
}

.event-card[data-category="sports"] .meta-item {
    color: #444444;
    font-weight: bold;
    font-size: 0.9rem;
}

.event-card[data-category="sports"] .meta-item i {
    color: #111111;
    margin-right: 8px;
}

.event-card[data-category="sports"] .event-link {
    background: #111111;
    border: none;
    color: var(--pittsburgh-gold);
    border-radius: 4px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

/* WARHOL POP ART (Art Category) */
.event-card[data-category="art"] {
    background: #FFFF00;
    border: 6px solid var(--pittsburgh-gold);
    border-radius: 0;
    box-shadow: 15px 15px 0px #FF00FF;
    transition: all 0.2s;
    box-sizing: border-box;
    max-width: 100%;
}

.event-card[data-category="art"] .event-media-wrapper {
    height: 240px !important;
    border-bottom: 6px solid #000;
}

.event-card[data-category="art"] .event-image {
    border-radius: 0;
    margin-bottom: 0;
    filter: contrast(1.2) saturate(2);
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.event-card[data-category="art"] .event-content {
    background: #FFFF00;
    /* Yellow background */
    border-radius: 0;
    padding: 25px;
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.event-card[data-category="art"] .event-category {
    background: #FF00FF;
    /* Magenta */
    color: #fff;
    border: 3px solid #000;
    border-radius: 0;
    font-weight: 900;
    transform: rotate(-2deg);
    margin-bottom: 20px;
}

.event-card[data-category="art"] .event-title {
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-transform: uppercase;
    color: #000;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.event-card[data-category="art"] .meta-item {
    color: #000;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 5px;
}

.event-card[data-category="art"] .event-description {
    color: #111;
}

.event-card[data-category="art"] .event-link {
    background: #000;
    color: #FFFF00;
    border-radius: 0;
    border: 3px solid #000;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.1s;
    margin-top: 10px;
}

.event-card[data-category="art"] .event-link:hover {
    background: #00FFFF;
    color: #000;
    transform: none;
    box-shadow: 5px 5px 0px #000;
}



/* ===================================================
   DEFAULT: THREE RIVERS STYLE (Untagged Events)
   ================================================== */
.event-card:not([data-category]) {
    background: #070f17;
    border: none;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(26,77,122,0.3);
}

.event-card:not([data-category])::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 220px solid transparent;
    border-right: 220px solid transparent;
    border-bottom: 110px solid rgba(26,77,122,0.15);
    pointer-events: none;
    z-index: 0;
}

.event-card:not([data-category])::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a4d7a 0%, var(--pittsburgh-gold) 33%, #2e7d32 66%, #1a4d7a 100%);
}

.event-card:not([data-category]):hover {
    box-shadow: 0 12px 50px rgba(26,77,122,0.5);
}

.event-card:not([data-category]) .event-image {
    border-radius: 0;
    margin-bottom: 0;
    height: 190px;
    clip-path: none;
    filter: brightness(0.85) contrast(1.1) saturate(1.1);
    border-bottom: 2px solid rgba(26,77,122,0.5);
    transition: transform 0.4s ease;
    width: 100% !important;
    object-fit: contain !important;
}

.event-card:not([data-category]):hover .event-image {
    transform: scale(1.03);
}

.event-card:not([data-category]) .event-content {
    background: transparent;
    padding: 22px;
    position: relative;
    z-index: 1;
}

.event-card:not([data-category]) .event-description {
    color: #9bb7cb;
}

.event-card:not([data-category]) .event-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4em;
    text-transform: uppercase;
    color: #d9eaf7;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.event-card:not([data-category]) .meta-item {
    color: #5b8db3;
    font-size: 0.88em;
    margin-bottom: 8px;
}

.event-card:not([data-category]) .event-link {
    background: transparent;
    border: 2px solid var(--pittsburgh-gold);
    color: var(--pittsburgh-gold);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    padding: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: block;
    text-align: center;
}

.event-card:not([data-category]) .event-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--pittsburgh-gold);
    transition: width 0.3s ease;
    z-index: -1;
}

.event-card:not([data-category]) .event-link:hover {
    color: #070f17;
    border-color: var(--pittsburgh-gold);
}

.event-card:not([data-category]) .event-link:hover::before {
    width: 100%;
}

/* River Gradient Text */
.river-gradient-text {
    background: linear-gradient(135deg, var(--pittsburgh-gold) 0%, #fff 50%, var(--pittsburgh-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* No Events State */
.no-events {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-events-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Footer - River & Bridge Theme */
.footer {
    position: relative;
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px 30px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 45, 98, 0.05) 100%);
    color: var(--steel-gray);
    font-size: 0.9em;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--pittsburgh-gold) 20%,
            var(--pittsburgh-gold) 35%,
            transparent 35%,
            transparent 40%,
            var(--river-blue) 40%,
            var(--river-blue) 60%,
            transparent 60%,
            transparent 65%,
            var(--pittsburgh-gold) 65%,
            var(--pittsburgh-gold) 80%,
            transparent 100%);
}

.footer-bridges {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60'%3E%3Cpath d='M0,50 L20,50 L20,30 L30,20 L40,30 L40,50 L60,50 L60,30 L70,20 L80,30 L80,50 L100,50' stroke='%23002D62' fill='none' stroke-width='2'/%3E%3Cpath d='M100,50 L200,50 M200,50 L220,50 L220,30 L230,20 L240,30 L240,50 L260,50 L260,30 L270,20 L280,30 L280,50 L300,50' stroke='%23002D62' fill='none' stroke-width='2'/%3E%3Cpath d='M300,50 L400,50' stroke='%23002D62' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center bottom;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-tagline {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: var(--river-blue);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.footer-rivers {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.85em;
}

.footer-rivers span {
    color: var(--river-light);
    position: relative;
    padding: 0 10px;
}

.footer-rivers span::after {
    content: '~';
    position: absolute;
    right: -12px;
    color: var(--pittsburgh-gold);
}

.footer-rivers span:last-child::after {
    display: none;
}

/* DISCOVERY CHIPS */
.discovery-chips-container {
    max-width: 1300px;
    margin: 0 auto 20px;
    padding: 0 20px;
    position: relative;
    z-index: 30;
}

.sticky-chips-container {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 auto;
    width: 100%;
}

.sticky-chips-container .discovery-chips {
    padding: 0 14px 2px;
    mask-image: none;
    justify-content: flex-start;
    justify-content: safe center;
    align-items: center;
    flex-wrap: nowrap;
    scroll-padding-left: 14px;
    scroll-padding-right: 14px;
}

.hero-chips-container {
    margin-top: 20px;
    margin-bottom: 0;
}

.discovery-chips {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 5px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .discovery-chips {
        flex-wrap: wrap;
        justify-content: center;
        mask-image: none;
        overflow-x: visible;
    }
}

.discovery-chips::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.chip {
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 28, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chip:hover {
    background: rgba(255, 184, 28, 0.1);
    border-color: var(--pittsburgh-gold);
}

.chip.active {
    background: var(--pittsburgh-gold);
    color: #000;
    border-color: var(--pittsburgh-gold);
    font-weight: 700;
}

.chip-icon {
    font-size: 1rem;
}

.chip-search {
    border-style: dashed;
    opacity: 0.85;
}

.chip-search .chip-icon {
    font-size: 0.95rem;
}

#keepersQuickPick {
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.2), rgba(0, 45, 98, 0.12));
}

#keepersQuickPick.active {
    background: linear-gradient(135deg, var(--pittsburgh-gold), #ffe18a);
}

.chip-clear {
    display: none;
    border-style: dashed;
    border-color: rgba(255, 120, 120, 0.4);
    color: #ffb3b3;
}

.chip-clear.visible {
    display: flex;
}

.chip-clear:hover {
    border-color: #ff7c7c;
    background: rgba(255, 124, 124, 0.12);
    color: #ffd6d6;
}

.chip-clear .chip-icon {
    font-size: 0.86rem;
}

.chip-search:hover,
.chip-search.open {
    opacity: 1;
    background: rgba(255, 184, 28, 0.1);
    border-color: var(--pittsburgh-gold);
    border-style: solid;
}

.chip.active.chip-search {
    background: rgba(255, 184, 28, 0.18);
    color: var(--pittsburgh-gold);
}

.feedback-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 16px;
}

.feedback-modal-overlay.active {
    display: flex;
}

.feedback-panel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 32px;
    border: 1px solid rgba(255, 184, 28, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.42), rgba(0, 45, 98, 0.18));
}

.feedback-copy h2 {
    margin: 0 0 8px;
    color: #fff;
}

.feedback-copy p {
    margin: 0 0 16px;
    color: #c3d0da;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.feedback-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.feedback-textarea {
    min-height: 120px;
    resize: vertical;
}

.feedback-read-only {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
    border-color: #ddd;
    opacity: 0.85;
}

.feedback-read-only::placeholder {
    color: #999;
}

.feedback-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feedback-submit {
    border-style: solid;
}

.feedback-status {
    color: #d9eaf7;
    font-size: 0.9rem;
}

.feedback-status a {
    color: var(--pittsburgh-gold);
}

.feedback-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.admin-login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(255, 184, 28, 0.12), transparent 35%), linear-gradient(180deg, #041325, #071b2f 60%, #030a14);
    color: #fff;
}

.admin-login-shell {
    width: min(460px, calc(100vw - 32px));
    padding: 32px;
    border-radius: 22px;
    border: 1px solid rgba(255, 184, 28, 0.22);
    background: rgba(0, 0, 0, 0.38);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.admin-login-logo {
    height: 72px;
    width: auto;
    margin-bottom: 16px;
}

.admin-login-shell h1 {
    margin: 0 0 8px;
}

.admin-login-shell p {
    color: #c9d4df;
    margin: 0 0 20px;
}

/* BOTTOM NAVIGATION - REMOVED */

@media (max-width: 768px) {
    .header-main-sticky {
        padding: 6px 0;
    }

    .sticky-logo-link {
        display: flex;
        align-items: center;
        width: fit-content;
    }

    .sticky-logo {
        height: 32px;
        display: block;
        margin-right: 0;
    }

    .sticky-container {
        display: flex;
        flex-direction: column;
        gap: 6px 8px;
        padding: 8px 14px 10px;
        align-items: stretch;
    }

    .sticky-top-row {
        gap: 8px;
        align-items: center;
    }

    .sticky-tagline {
        min-width: 0;
        white-space: normal;
        line-height: 1.15;
        font-size: 0.85rem;
        width: auto;
        text-align: left;
    }

    .top-right-dibs-btn {
        margin-left: 0;
        align-self: center;
        margin-left: auto;
    }

    .sticky-inline-controls {
        order: 2;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: stretch;
        align-items: stretch;
        gap: 8px;
    }

    .sticky-secondary-row {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .quick-date-tags {
        order: 1;
        display: flex;
        grid-column: 1 / -1;
        width: 100%;
        gap: 6px;
        justify-content: flex-start;
        justify-content: safe center;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-left: 14px;
        padding-right: 14px;
        scroll-padding-left: 14px;
        scroll-padding-right: 14px;
    }

    .quick-date-tags::-webkit-scrollbar {
        display: none;
    }

    .quick-date-tags .date-filter-btn {
        width: auto;
        flex: 0 0 auto;
        padding: 8px 12px;
        text-align: center;
        white-space: nowrap;
    }

    .sticky-stats-ribbon {
        order: 1;
        flex: 0 0 auto;
        justify-self: center;
        align-self: center;
        gap: 8px;
    }

    .keepers-collection-btn {
        padding: 8px 10px;
        gap: 8px;
    }

    .cart-style-dibs-btn {
        order: 1;
        align-self: center;
        margin-left: 0;
        padding: 8px 10px;
    }

    .keepers-collection-label {
        display: none;
    }

    .sticky-chips-container {
        flex: 0 0 100%;
        order: 4;
        margin: 0;
        padding: 8px 0 0;
        width: 100%;
    }

    .discovery-chips {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 0 14px 4px;
        gap: 6px;
        mask-image: none;
        scroll-padding-left: 14px;
        scroll-padding-right: 14px;
    }

    .discovery-chips::-webkit-scrollbar {
        display: none;
    }

    .header-right-panel-compact {
        order: 2;
        grid-column: 2;
        width: 100%;
        flex: none;
        min-width: 0;
        justify-content: center;
        padding: 0;
        margin-left: 0;
    }

    .header-right-panel-compact .podcast-compact-card {
        min-width: 0;
        width: 100%;
        max-width: none;
        min-height: 38px;
        padding: 6px 10px;
        gap: 10px;
        border-radius: 12px;
    }

    .header-right-panel-compact .pod-meta {
        font-size: 0.62rem;
    }

    .header-right-panel-compact .pod-title {
        font-size: 0.76em;
        line-height: 1.05;
    }

    .header-right-panel-compact .pod-play-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .sticky-chips-container .chip {
        padding: 7px 12px;
        gap: 6px;
        font-size: 0.82rem;
        letter-spacing: 0.6px;
    }

    .sticky-chips-container .chip-icon {
        font-size: 0.9rem;
    }

    .keepers-modal-content {
        width: min(96vw, 96vw);
        padding: 22px 18px;
    }

    .keepers-share-link-row {
        flex-direction: column;
    }

    .keeper-list-item {
        grid-template-columns: 1fr;
    }

    .keeper-list-topline {
        flex-direction: column;
    }

    .keeper-list-image {
        width: 100%;
        height: 140px;
    }

    .mobile-swipe-hint {
        display: none;
    }

    .mobile-swipe-hint.show-swipe-hint {
        display: block;
    }

    .events-grid {
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
    }

    .keeper-toggle-btn {
        padding: 3px;
    }

    .card-keeper-btn {
        right: 44px;
        bottom: 10px;
    }

    .keeper-toggle-btn .parking-chair-icon {
        width: 28px;
        height: 28px;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .discovery-chips-container.lower-bar {
        position: fixed;
    bottom: -10px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.85);
        /* Darker, more opaque background */
        backdrop-filter: blur(20px);
        /* Stronger blur */
        border-top: 1px solid rgba(255, 184, 28, 0.15);
        /* Subtle gold border */
        margin: 0;
        padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
        /* More padding */
        z-index: 1000;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
        /* Lifted shadow */
    }

    .container {
        margin: 10px auto 80px;
        /* Reduced margin */
        padding: 15px;
        /* Reduced padding for mobile */
        border-radius: 15px;
    }

    .table-container {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    .discovery-chips-container {
        margin-top: -10px;
    }

    /* Responsive Table */
    .events-table {
        min-width: 600px;
        table-layout: auto;
    }

    body.table-view .table-container {
        overflow: visible !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        background: transparent;
        border: none;
        min-height: 0;
    }

    body.table-view .events-table {
        display: block !important;
        min-width: 0 !important;
        width: 100%;
        border-spacing: 0;
    }

    body.table-view .events-table thead {
        display: none;
    }

    body.table-view .events-table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    body.table-view .events-table tbody tr {
        position: relative;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "details"
            "datetime"
            "location"
            "audience"
            "hype";
        gap: 8px;
        align-items: start;
        overflow: hidden;
        padding: 14px;
        border-radius: 18px;
        background: linear-gradient(135deg, rgba(18, 18, 18, 0.98), rgba(33, 33, 33, 0.92));
        border: 1px solid rgba(255, 184, 28, 0.16);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    }

    body.table-view .events-table tbody tr.hidden,
    body.table-view .events-table tbody tr.is-dismissed {
        display: none !important;
    }

    body.table-view .events-table tbody tr::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(90deg, rgba(7, 7, 7, 0.9) 0%, rgba(7, 7, 7, 0.78) 40%, rgba(7, 7, 7, 0.6) 65%, rgba(7, 7, 7, 0.86) 100%),
            var(--mobile-card-image, none);
        background-size: cover;
        background-position: center;
        opacity: 0.95;
        z-index: 0;
    }

    body.table-view .events-table tbody tr.uses-fallback-card-image::before {
        background-image: linear-gradient(135deg, rgba(18, 18, 18, 0.98), rgba(33, 33, 33, 0.92));
    }

    body.table-view .events-table tbody tr:hover {
        transform: none;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
        background: linear-gradient(135deg, rgba(18, 18, 18, 0.98), rgba(33, 33, 33, 0.92));
    }

    body.table-view .events-table tbody td {
        position: relative;
        z-index: 1;
        padding: 0;
        border: none;
        min-width: 0;
    }

    body.table-view .events-table tbody td:first-child,
    body.table-view .events-table tbody td:last-child {
        border-radius: 0;
    }

    body.table-view .events-table tbody td:nth-child(1) {
        display: none;
    }

    body.table-view .events-table tbody td:nth-child(2) {
        grid-area: details;
    }

    body.table-view .events-table tbody td:nth-child(3) {
        grid-area: datetime;
    }

    body.table-view .events-table tbody td:nth-child(4) {
        grid-area: location;
    }

    body.table-view .events-table tbody td:nth-child(5) {
        grid-area: audience;
    }

    body.table-view .events-table tbody td:nth-child(6) {
        grid-area: hype;
    }

    body.table-view .event-details {
        position: relative;
        padding: 0;
    }

    body.table-view .events-table tbody tr.is-keeper {
        box-shadow: 0 0 0 1px rgba(255, 184, 28, 0.34), 0 12px 28px rgba(255, 184, 28, 0.12);
    }

    body.table-view .event-details-title {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    body.table-view .event-details-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    body.table-view .event-details-tags {
        gap: 4px;
    }

    body.table-view .event-details-tags .tag-badge,
    body.table-view .audience-cell .tag-badge {
        padding: 3px 8px;
        font-size: 0.68rem;
    }

    body.table-view .mobile-table-only {
        display: inline-flex;
    }

    body.table-view .mobile-swipe-hint.mobile-table-only {
        display: none;
        position: absolute;
        inset: 0;
        z-index: 3;
    }

    body.table-view .mobile-swipe-hint.mobile-table-only.show-swipe-hint {
        display: block;
    }

    body.table-view .mobile-swipe-hint.mobile-table-only .swipe-hint-rail {
        height: clamp(150px, 42%, 220px);
        top: 44%;
    }

    body.table-view .desktop-hype-chip {
        display: none;
    }

    body.table-view .mobile-table-meta {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 8px;
    }

    body.table-view .datetime-cell,
    body.table-view .location-cell,
    body.table-view .audience-cell,
    body.table-view .hype-cell {
        font-size: 0.76rem;
        min-width: 0;
    }

    body.table-view .datetime-date,
    body.table-view .datetime-time {
        margin-bottom: 0;
    }

    body.table-view .datetime-cell,
    body.table-view .location-cell {
        display: none;
    }

    body.table-view .audience-cell {
        display: none;
    }

    body.table-view .location-cell {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    body.table-view .datetime-cell,
    body.table-view .location-cell,
    body.table-view .audience-cell {
        color: #f5f5f5;
    }

    body.table-view .hype-cell {
        display: none;
    }

    body.table-view .hype-meter {
        flex: 1 1 auto;
        width: auto;
        height: 8px;
        margin: 0;
    }

    body.table-view .hype-meter-wrap .hype-score-text {
        min-width: 42px;
        text-align: right;
    }

    body.table-view .hype-inline-chip {
        display: inline-flex;
    }

    .events-table th:nth-child(1) {
        width: 100px;
    }

    .event-thumb {
        width: 80px;
        height: 60px;
    }

    .event-details-title {
        font-size: 1rem;
    }

    .event-details-desc {
        display: none;
        /* Hide description in mobile table view to save space */
    }
}

/* LEGACY COMPATIBILITY */
.podcast-section {
    display: none;
}

@media (max-width: 480px) {
    .event-content {
        padding: 15px;
    }

    .hero-logo {
        height: 140px;
    }

    .hero-text {
        bottom: 35px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .status-ribbon {
        padding: 5px 10px;
    }

    /* Compact table for small mobile */
    .events-table {
        min-width: 300px;
        table-layout: auto;
    }

    body:not(.table-view) .events-table th:nth-child(3),
    body:not(.table-view) .events-table td:nth-child(3),
    body:not(.table-view) .events-table th:nth-child(4),
    body:not(.table-view) .events-table td:nth-child(4),
    body:not(.table-view) .events-table th:nth-child(5),
    body:not(.table-view) .events-table td:nth-child(5) {
        display: none;
        /* Hide Location, Hype and Source on small mobile table */
    }

    .events-table th:nth-child(1) {
        width: 80px;
    }

    .event-thumb {
        width: 70px;
        height: 50px;
    }

    body.table-view .events-table tbody tr {
        padding: 12px;
    }
}

/* ============================================
   WIDE SCREEN LAYOUT (1025px+)
   ============================================ */

@media (min-width: 1025px) {
    /* Reorganize header layout for wide screens */
    .sticky-container {
        display: grid;
        grid-template-columns: 1fr auto auto;
        grid-template-rows: auto auto auto;
        gap: 16px;
        align-items: stretch;
    }

    .sticky-top-row {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .sticky-inline-controls {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .quick-date-tags {
        grid-column: 1;
        grid-row: 1;
        order: unset;
        justify-content: flex-start;
        gap: 8px;
    }

    .sticky-secondary-row {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        gap: 20px;
    }

    .sticky-stats-ribbon {
        order: unset;
        justify-self: end;
    }

    .header-right-panel-compact {
        order: unset;
        grid-column: unset;
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .sticky-chips-container {
        grid-column: 1 / -1;
        grid-row: 3;
        order: unset;
        margin: 0;
        padding: 8px 0 0 0;
        width: 100%;
    }
}

/* ============================================
   PUNK ZINE / RISOGRAPH — Music Event Cards
   ============================================ */

.event-card[data-category="music"] {
    background: #f0ead8;
    border-radius: 2px;
    border: 3px solid #111;
    position: relative;
    overflow: visible;
    /* Allow rotation and shadows to draw clearly */
    box-shadow: 7px 7px 0px #111, -3px -2px 0px #e8622a;
    transform: rotate(-1.5deg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    max-width: calc(100% - 20px);
    margin: 10px;
}

.event-card[data-category="music"]:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 10px 10px 0px #111, -4px -4px 0px #e8622a;
}

/* Live music banner now rides the divider under the title */
.event-card[data-category="music"]::before {
    content: none;
}

/* Corner doodle strip (rotated along right edge) */
.event-card[data-category="music"]::after {
    content: '⚡ ✦ ♪ ✦ ⚡';
    position: absolute;
    bottom: 75px;
    right: -25px;
    font-size: 0.65rem;
    color: rgba(17, 17, 17, 0.4);
    letter-spacing: 4px;
    transform: rotate(90deg);
    pointer-events: none;
    z-index: 5;
    white-space: nowrap;
}

/* Strong risograph duotone — burnt orange wash */
.event-card[data-category="music"] .event-media-wrapper {
    position: relative;
    overflow: visible;
    height: 250px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.event-card[data-category="music"] .event-media-wrapper::after {
    content: '★  ♪  LIVE MUSIC  ♪  ★';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: rgba(232, 98, 42, 0.95);
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: clamp(0.62rem, 1.8vw, 0.75rem);
    font-weight: 900;
    letter-spacing: clamp(2px, 0.45vw, 4px);
    text-align: center;
    padding: 7px 14px;
    text-transform: uppercase;
    z-index: 4;
    transform: translateY(0) rotate(-1deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.event-card[data-category="music"] .event-image {
    border-radius: 0;
    margin-bottom: 0;
    filter: sepia(1) hue-rotate(330deg) saturate(4.5) contrast(1.4) brightness(0.85);
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    border-bottom: none;
    display: block;
    object-fit: contain !important;
}

.event-card[data-category="music"] .event-content {
    background: #f0ead8 !important;
    /* Block anything from bleeding behind */
    color: #111;
    padding: 20px 22px 25px;
    border-radius: 0;
    position: relative;
    z-index: 2;
}

.event-card[data-category="music"] .event-description {
    color: #3b3426;
}

/* Rubber-stamp style category badges */
.event-card[data-category="music"] .event-category {
    background: transparent !important;
    color: #e8622a !important;
    border: 2.5px solid #e8622a !important;
    border-radius: 3px !important;
    font-family: 'Courier New', monospace !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    display: inline-block !important;
    transform: rotate(-2.5deg) !important;
    margin-right: 6px !important;
    margin-bottom: 6px !important;
    box-shadow: 2px 2px 0px rgba(232, 98, 42, 0.4) !important;
}

/* Big bold marker title */
.event-card[data-category="music"] .event-title {
    font-family: 'Oswald', 'Impact', sans-serif !important;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 2.1em;
    line-height: 1.1;
    text-shadow: 4px 3px 0px rgba(232, 98, 42, 0.6);
    margin-top: 15px;
    margin-bottom: 15px;
}

.event-card[data-category="music"] .event-title a {
    color: #111;
    text-decoration: none;
}

.event-card[data-category="music"] .event-title a:hover {
    color: #e8622a;
}

/* Dashed divider */
.event-card[data-category="music"] .event-meta {
    position: relative;
    border-top: 3px dashed #111;
    padding-top: 14px;
    margin-bottom: 20px;
}

/* Typewriter meta */
.event-card[data-category="music"] .meta-item {
    color: #222;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    margin-bottom: 8px;
    font-weight: 600;
}

.event-card[data-category="music"] .meta-item i,
.event-card[data-category="music"] .meta-item span {
    color: #e8622a;
    font-weight: 900;
}

/* Hand-drawn box CTA button */
.event-card[data-category="music"] .event-link {
    background: #111;
    color: #f0ead8;
    border: 3px solid #111;
    border-radius: 2px;
    font-family: 'Courier New', monospace;
    font-weight: 900;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 5px 5px 0px #e8622a;
    transition: all 0.15s ease;
    position: relative;
    overflow: visible;
    padding: 14px;
    display: block;
    text-align: center;
}

.event-card[data-category="music"] .event-link::after {
    content: ' ↗';
    font-weight: 900;
}

.event-card[data-category="music"] .event-link:hover {
    background: #e8622a;
    color: #fff;
    border-color: #e8622a;
    box-shadow: 5px 5px 0px #111;
    transform: translate(-3px, -3px);
}

/* Footer Styles */
footer.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 184, 28, 0.2);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 184, 28, 0.1);
    border: 2px solid var(--pittsburgh-gold);
    color: var(--pittsburgh-gold);
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.footer-link:hover {
    background: var(--pittsburgh-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 184, 28, 0.3);
}

.footer-instagram-link {
    min-width: 280px;
}

.footer-instagram-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: rgba(15, 15, 25, 0.95);
    border: 1px solid rgba(255, 184, 28, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease;
}

.keepers-modal-content {
    max-width: 840px;
    padding: 32px;
}

.keepers-modal-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.keepers-modal-kicker {
    color: var(--pittsburgh-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.72rem;
    font-family: 'Oswald', sans-serif;
}

.keepers-modal-copy h2 {
    margin: 6px 0 8px;
    color: #fff;
}

.keepers-modal-copy p {
    margin: 0;
    color: #cdd8e2;
}

.keepers-summary-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.keeper-summary-stat {
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #d6dee7;
}

.keeper-summary-stat strong {
    color: var(--pittsburgh-gold);
}

.keepers-restore-btn,
.keepers-share-btn,
.social-share-link,
.keeper-list-remove {
    border: 1px solid rgba(255, 184, 28, 0.28);
    background: rgba(255, 184, 28, 0.1);
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.keepers-restore-btn:hover,
.keepers-share-btn:hover,
.social-share-link:hover,
.keeper-list-remove:hover {
    transform: translateY(-1px);
    background: rgba(255, 184, 28, 0.2);
    border-color: rgba(255, 184, 28, 0.45);
}

.keepers-share-btn.primary {
    background: var(--pittsburgh-gold);
    color: #111;
}

.keepers-share-btn:disabled,
.keepers-restore-btn:disabled,
.social-share-link.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.keepers-share-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 184, 28, 0.14);
    background: linear-gradient(135deg, rgba(6, 10, 18, 0.92), rgba(19, 31, 47, 0.78));
}

.keepers-share-label {
    color: #dbe6ef;
    font-size: 0.9rem;
}

.keepers-share-link-row {
    display: flex;
    gap: 10px;
}

.keepers-share-link-input {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    padding: 12px 14px;
}

.keepers-share-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.keepers-share-status {
    min-height: 1.2em;
    color: #b7d7ff;
    font-size: 0.92rem;
}

.keepers-empty-state {
    padding: 24px;
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 184, 28, 0.25);
    color: #d8e4ee;
}

.keepers-empty-state h3 {
    margin: 0 0 8px;
    color: #fff;
}

.keepers-empty-state p {
    margin: 0;
}

.keepers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.keeper-list-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.keeper-list-image {
    width: 96px;
    height: 72px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.45);
}

.keeper-list-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pittsburgh-gold);
    font-size: 1.4rem;
}

.keeper-list-body {
    min-width: 0;
}

.keeper-list-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.keeper-list-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.keeper-list-title:hover {
    color: var(--pittsburgh-gold);
}

.keeper-list-meta,
.keeper-list-source {
    color: #c9d4dd;
    font-size: 0.88rem;
    margin-top: 6px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 184, 28, 0.1);
    border: 1px solid rgba(255, 184, 28, 0.3);
    color: var(--pittsburgh-gold);
    font-size: 24px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.modal-close:hover {
    background: var(--pittsburgh-gold);
    color: #000;
}

/* Report Icon on Cards */
.event-card-report-icon {
    position: absolute;
    bottom: 20px;
    left: 12px;
    background: transparent;
    border: none;
    color: rgba(100, 116, 139, 0.3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    z-index: 100;
    opacity: 0;
    padding: 0;
}

.event-card:hover .card-keeper-btn {
    animation: iconFadeInDelayed 5.3s ease forwards;
}

.event-card.is-keeper .card-keeper-btn,
.event-card.is-keeper:hover .card-keeper-btn,
.event-card .card-keeper-btn:hover,
.event-card .card-keeper-btn:focus-visible {
    opacity: 1;
    pointer-events: auto;
    animation: none;
}

.event-card:hover .event-card-report-icon,
.event-card:hover .card-keeper-btn {
    pointer-events: auto;
}

.event-card:hover .event-card-report-icon {
    animation: iconFadeInDelayed 5.3s ease forwards;
}

@keyframes iconFadeInDelayed {
    0% {
        opacity: 0;
    }
    94% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.event-card-report-icon:hover {
    color: rgba(100, 116, 139, 0.7);
}
