/* ============================================================
   PantherTV — Public Site Stylesheet
   Design system extracted from light2.html mockup
   ============================================================ */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
    --white: #ffffff;
    --off-white: #f4f6f8;
    --purple: #002147;
    --purple-light: #eaf6ff;
    --purple-dark: #001a39;
    --yellow: #facc15;
    --yellow-light: #fef9c3;
    --teal: #00cbff;
    --teal-light: #e0f7ff;
    --teal-dark: #009fd4;
    --red: #d8262c;
    --red-dark: #b71c1c;
    --gray-100: #f3f4f6;
    --gray-200: #dfe4ea;
    --gray-300: #d1d5db;
    --gray-500: #6a7787;
    --gray-700: #374151;
    --gray-900: #1a2233;
    --font: 'Outfit', sans-serif;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    background: var(--off-white);
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ─── Container ──────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 3px solid var(--purple);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.nav-logo .logo-tv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: var(--gray-900);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--purple-light);
    color: var(--purple);
}

.nav-links a.nav-live {
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a.nav-live .live-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Mobile menu toggle */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Nav Search ────────────────────────────────────────── */
.nav-search {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 8px;
    position: relative;
}

.nav-search-input {
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 7px 14px;
    border: 2px solid var(--gray-200);
    border-radius: 8px 0 0 8px;
    background: var(--off-white);
    color: var(--gray-900);
    width: 160px;
    transition: all 0.2s ease;
    outline: none;
}

.nav-search-input:focus {
    border-color: var(--purple);
    width: 200px;
    background: var(--white);
}

.nav-search-input::placeholder {
    color: var(--gray-500);
    font-weight: 400;
}

.nav-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 2px solid var(--purple);
    border-left: none;
    border-radius: 0 8px 8px 0;
    background: var(--purple);
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
}

.nav-search-btn:hover {
    background: var(--purple-dark);
}

/* ─── Countdown Banner ──────────────────────────────────── */
.countdown-banner {
    background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
    color: var(--white);
    padding: 16px 0;
}

.countdown-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.countdown-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.countdown-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 50px;
}

.countdown-event {
    font-size: 1.05rem;
    font-weight: 800;
}

.countdown-timer {
    display: flex;
    gap: 12px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
}

.countdown-num {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.countdown-txt {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-top: 2px;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.03) 10px,
        rgba(255,255,255,0.03) 20px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--gray-900);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--gray-900);
}

.btn-yellow:hover {
    background: #eab308;
}

.btn-white {
    background: var(--white);
    color: var(--purple);
}

.btn-white:hover {
    background: var(--gray-100);
}

.btn-purple {
    background: var(--purple);
    color: var(--white);
}

.btn-purple:hover {
    background: var(--purple-dark);
}

.btn-teal {
    background: var(--teal);
    color: var(--gray-900);
}

.btn-teal:hover {
    background: var(--teal-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
}

.btn-outline:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-sm {
    font-size: 0.8rem;
    padding: 8px 18px;
    border-radius: 8px;
}

.btn-red {
    background: var(--red);
    color: var(--white);
}

.btn-red:hover {
    background: var(--red-dark);
}

/* ─── Live Banner ────────────────────────────────────────── */
.live-banner {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    padding: 16px 0;
    text-align: center;
}

.live-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.live-banner .live-pulse {
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.live-banner strong {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.live-banner a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 24px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--purple);
}

.stat-item .stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Section Titles ─────────────────────────────────────── */
.section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title .accent-bar {
    width: 4px;
    height: 28px;
    border-radius: 4px;
    display: inline-block;
}

.accent-purple {
    background: var(--purple);
}

.accent-teal {
    background: var(--teal);
}

.accent-red {
    background: var(--red);
}

.accent-yellow {
    background: var(--yellow);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-top: 4px;
    margin-left: 16px;
}

/* ─── Category Chips ─────────────────────────────────────── */
.chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.chip {
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.chip:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.chip.active {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
}

.chip-studio.active {
    background: var(--purple);
    border-color: var(--purple);
}

/* ─── Video Card Grid ────────────────────────────────────── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.video-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--gray-300);
}

.card-accent {
    height: 5px;
    width: 100%;
}

.card-accent-purple {
    background: var(--purple);
}

.card-accent-teal {
    background: var(--teal);
}

.card-accent-red {
    background: var(--red);
}

.card-accent-yellow {
    background: var(--yellow);
}

.card-accent-default {
    background: var(--gray-300);
}

.card-thumb-link {
    display: block;
    position: relative;
    z-index: 2;
}

.card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--gray-200);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 140px;
}

.card-thumb .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-card:hover .play-icon {
    opacity: 1;
}

.card-thumb .card-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.75);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.card-body {
    padding: 16px;
}

.card-title a {
    color: inherit;
    text-decoration: none;
}

.card-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ─── Badges ─────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-yt {
    background: #fef2f2;
    color: var(--red);
}

.badge-server {
    background: var(--teal-light);
    color: var(--teal-dark);
}

.badge-studio {
    background: var(--purple-light);
    color: var(--purple);
}

.badge-live {
    background: var(--red);
    color: var(--white);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ─── "New" Badge on Video Cards ─────────────────────────── */
.card-new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--red);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 2;
    animation: pulse-badge 2s ease-in-out infinite;
}

.card-class {
    font-weight: 600;
    color: var(--gray-700);
}

.card-date {
    color: var(--gray-500);
}

.card-views {
    color: var(--gray-500);
    font-weight: 600;
}

/* ─── Live Section ───────────────────────────────────────── */
.live-section {
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    border: 2px solid #fecaca;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
}

.live-section .live-player {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-900);
    margin-bottom: 20px;
}

.live-section .live-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.live-section .live-info {
    text-align: center;
}

.live-section .live-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.live-section .live-description {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.live-offline {
    text-align: center;
    padding: 60px 20px;
}

.live-offline-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.live-offline h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.live-offline p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ─── Studio Section ─────────────────────────────────────── */
.studio-section {
    background: linear-gradient(135deg, var(--purple-light) 0%, #f5f3ff 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 20px 0;
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer .nav-logo {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-500);
    margin-top: 12px;
}

.footer-location {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 8px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer-bottom .go-panthers {
    color: var(--yellow);
    font-weight: 700;
}

/* ─── Browse Page / Sidebar Filter Layout ────────────────── */
.browse-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.browse-sidebar {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 90px;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 8px;
    display: block;
}

.filter-select {
    width: 100%;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 14px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--gray-900);
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-select:focus {
    outline: none;
    border-color: var(--purple);
}

/* ─── Search Bar ─────────────────────────────────────────── */
.search-bar {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
}

.search-input {
    flex: 1;
    min-width: 0;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 14px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--gray-900);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: var(--purple);
}

.search-input::placeholder {
    color: var(--gray-500);
    font-weight: 400;
}

.search-btn {
    flex-shrink: 0;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: var(--purple);
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.search-btn:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
}

/* ─── Result Count ───────────────────────────────────────── */
.result-count {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    font-weight: 600;
}

/* ─── Pagination ─────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 12px;
    border-radius: 10px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-700);
    transition: all 0.2s ease;
}

.pagination a:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-1px);
}

.pagination .active {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pagination .prev-next {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* ─── No Results / Empty State ───────────────────────────── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.95rem;
    color: var(--gray-500);
    max-width: 400px;
    margin: 0 auto;
}

/* ─── Watch Page ─────────────────────────────────────────── */
.watch-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.watch-player {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-900);
}

.watch-player iframe,
.watch-player video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.watch-info {
    margin-top: 20px;
}

.watch-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.watch-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.watch-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.watch-description {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    white-space: pre-wrap;
}

.watch-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 20px;
    transition: gap 0.2s ease;
}

.watch-back:hover {
    gap: 10px;
}

/* Share & Embed */
.watch-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-right: 4px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    color: var(--white);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-copy {
    background: var(--purple);
}
.share-copy:hover {
    background: var(--purple-dark);
}

.share-fb {
    background: #1877f2;
}
.share-fb:hover {
    background: #1464d8;
}

.share-x {
    background: var(--gray-900);
}
.share-x:hover {
    background: #000;
}

.share-embed {
    background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
}
.share-embed:hover {
    box-shadow: 0 4px 16px rgba(0,203,255,0.3);
}

.embed-panel {
    margin-top: 16px;
    padding: 16px;
    background: var(--off-white);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
}

.embed-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.embed-code {
    width: 100%;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    padding: 10px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    color: var(--gray-700);
    resize: vertical;
}

.copy-msg {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin-left: 8px;
}

/* Related videos sidebar */
.related-sidebar {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
}

.related-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gray-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-video {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.related-video:last-child {
    border-bottom: none;
}

.related-video:hover {
    transform: translateX(4px);
}

.related-thumb {
    width: 140px;
    min-width: 140px;
    aspect-ratio: 16/9;
    border-radius: 8px;
    background-color: var(--gray-200);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-info .related-vid-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-info .related-vid-meta {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ─── Page Header (non-hero pages) ───────────────────────── */
.page-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 32px 0;
}

.page-header .section-title {
    margin-bottom: 0;
}

.page-header .section-subtitle {
    margin-top: 8px;
}

/* ─── Live Page ──────────────────────────────────────────── */
.live-page-player {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-900);
}

.live-page-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.live-page-info {
    max-width: 960px;
    margin: 24px auto 0;
    text-align: center;
}

/* ─── Tags ──────────────────────────────────────────────── */
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: transform .15s, box-shadow .2s;
}
.tag-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.tag-pill .tag-count {
    background: rgba(255,255,255,.25);
    padding: 1px 8px;
    border-radius: 20px;
    font-size: .7rem;
}

/* Tag collection cards for the home page and tag browse page */
.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.tag-card {
    padding: 24px 20px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tag-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.tag-card-name {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.tag-card-count {
    font-size: .9rem;
    font-weight: 600;
    opacity: .85;
}
.tag-card-desc {
    font-size: .85rem;
    opacity: .75;
    line-height: 1.4;
}

/* Tags row on watch page */
.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* Tags in filter sidebar */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.filter-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
    border: 2px solid;
    text-decoration: none;
    transition: all .2s;
}
.filter-tag:hover {
    opacity: .8;
}
.filter-tag.active {
    color: #fff !important;
}

/* ─── Schedule Page ─────────────────────────────────────── */
.schedule-heading {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.schedule-heading-icon {
    font-size: 1.4rem;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.schedule-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.2s ease;
}

.schedule-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.schedule-card-featured {
    border-color: var(--purple);
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--white) 100%);
}

.schedule-card-featured:hover {
    border-color: var(--purple);
    box-shadow: 0 4px 20px rgba(0,33,71,0.12);
}

.schedule-card-past {
    opacity: 0.75;
}

.schedule-card-past:hover {
    opacity: 1;
}

.schedule-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: 12px 8px;
    background: var(--purple);
    border-radius: 10px;
    color: var(--white);
    line-height: 1;
}

.schedule-card-past .schedule-date-block {
    background: var(--gray-500);
}

.schedule-month {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.schedule-day {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 2px 0;
}

.schedule-year {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.7;
}

.schedule-details {
    flex: 1;
    min-width: 0;
}

.schedule-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.schedule-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 600;
    flex-wrap: wrap;
}

.schedule-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-top: 8px;
    line-height: 1.5;
}

.schedule-countdown {
    display: flex;
    gap: 8px;
}

.schedule-countdown .countdown-unit {
    background: var(--purple);
    padding: 8px 10px;
    border-radius: 8px;
    min-width: 50px;
}

.schedule-countdown .countdown-num {
    color: var(--white);
    font-size: 1.2rem;
}

.schedule-countdown .countdown-txt {
    color: rgba(255,255,255,0.7);
}

.schedule-watch-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .tag-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid,
    .studio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 50px 0;
    }

    .browse-layout {
        grid-template-columns: 1fr;
    }

    .browse-sidebar {
        position: static;
    }

    .watch-layout {
        grid-template-columns: 1fr;
    }

    .related-sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .tag-grid {
        grid-template-columns: 1fr;
    }

    .video-grid,
    .studio-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 40px 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 3px solid var(--purple);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-search {
        margin-left: 0;
        width: 100%;
    }

    .nav-search-input {
        width: 100%;
        border-radius: 8px 0 0 8px;
    }

    .nav-search-input:focus {
        width: 100%;
    }

    .countdown-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .countdown-info {
        flex-direction: column;
        gap: 6px;
    }

    .share-buttons {
        width: 100%;
    }

    .watch-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .schedule-date-block {
        flex-direction: row;
        gap: 8px;
        min-width: auto;
        padding: 8px 16px;
    }

    .schedule-day {
        font-size: 1.2rem;
    }

    .schedule-countdown {
        width: 100%;
        justify-content: center;
    }

    .live-section {
        padding: 24px;
    }

    .studio-section {
        padding: 24px;
    }

    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .related-thumb {
        width: 100px;
        min-width: 100px;
    }
}
