/* ==============================
    BANNER CFM
============================== */
/* masthead */
.masthead {
    text-align: center;
}

/* top bar */
.topbar {
    text-align: center;
    width: 100%;
    padding:8px 0;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    background: #f8f8f8;
    border-top: 1px solid #ddd;
    padding: 15px 20px;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    color: #990033;
    font-weight: bold;
}

.footer-links a {
    margin-left: 18px;
}

/* ============================================================
   SIDEBAR
============================================================ */

.sidebar {
    padding: 0; /* override card padding */
}

/* Sections inside sidebar */
.sidebar-section {
    display: flex;
    flex-direction: column;
}

/* Add divider between sections */
.sidebar-section + .sidebar-section {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 10px;
    padding-top: 10px;
}

/* Links */
.sidebar a {
    display: block;
    padding: 8px 12px;

    text-decoration: none;
    color: #222;
    font-size: 0.95rem;

    border-radius: 6px;
    transition: all 0.2s ease;
}

/* Hover effect */
.sidebar a:hover {
    background: rgba(0,0,0,0.05);
    color: #c9a21a; /* subtle gold accent */
}

.sidebar-section:first-child a {
    font-weight: 600;
}

/* ===========================================================
   POSTER (Spotlight Movie)
=========================================================== */
/* Base poster (NO width here!) */
.poster {
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;

    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover */
.poster:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 32px rgba(0,0,0,0.45);
}

/* Sizes */
.poster--lg {
    width: 260px;
}

.poster--sm {
    width: 90px;
}

.poster--watching {
    width: 140px;
}

.spotlight-movie {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.poster-link {
    display: block;
}

.movie-title a {
    text-decoration: none;
    color: #111;

    font-weight: 600;
    font-size: 1.1rem;

    transition: color 0.2s ease;
}

.movie-title a:hover {
    color: #c9a21a; /* your gold accent */
}

.movie-year {
    font-weight: 400;
    color: #777;
}

.movie-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

.movie-actions a {
    text-decoration: none;
    font-size: 0.9rem;

    color: #444;
    padding: 6px 10px;

    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(0,0,0,0.04);

    transition: all 0.2s ease;
}

.movie-actions a:hover {
    background: rgba(0,0,0,0.08);
    color: #c9a21a;
}

/* =========================
   STATE TRIVIA
========================= */

.trivia {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trivia-select {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.2);
}

.trivia-details {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.5;

    background: rgba(0,0,0,0.03);
    padding: 10px;
    border-radius: 8px;
}

.state-flags {
    display:none;
}

/* =========================
   SPORTS EVENT
========================= */

.sports-event {
    text-align: center;
}

.sports-image {
    width: 200px;
    max-width: 100%;
    margin: 0 auto 10px;
    display: block;
}

.sports-title {
    font-size: 1rem;
    font-weight: 600;
}

/* =========================
   SPORTS CARD
========================= */

.sports-card {
    text-align: center;
    overflow: hidden;
}

/* image */
.sports-image {
    width: 220px;
    max-width: 100%;
    margin: 10px auto;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sports-image {
    animation: sportsPulse 6s infinite ease-in-out;
}

@keyframes sportsPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* hover pop */
.sports-image:hover {
    transform: scale(1.05);
}

/* title */
.sports-title {
    font-size: 1.1rem;
    font-weight: 600;

    margin-top: 8px;

    color: #222;
}

/* subtle glow effect */
.sports-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at top, rgba(212,175,55,0.15), transparent 60%);
    pointer-events: none;
}

.sports-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;

    color: #c9a21a;
    margin-bottom: 5px;
}

/* =========================
   SPORTS CALENDAR
========================= */

.sports-calendar {
    position: relative;
}

/* list layout */
.sports-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* each row */
.sports-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 8px 10px;
    border-radius: 6px;

    background: rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

/* hover */
.sports-row:hover {
    background: rgba(0,0,0,0.06);
}

/* names */
.sport-name {
    font-weight: 600;
    color: #222;
}

/* dates */
.sport-dates {
    font-size: 0.85rem;
    color: #666;
}

/* featured (current-ish event feel) */
.sports-row.featured {
    border-left: 3px solid #d4af37;
    background: rgba(212,175,55,0.08);
}

/* =========================
   EVENT CARD
========================= */

.event-card {
    text-align: center;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.event-subtitle {
    font-size: 0.85rem;
    color: #777;
}

.event-date {
    font-size: 0.85rem;
    color: #999;
}

.event-quote {
    font-style: italic;
    font-size: 0.9rem;
    color: #555;
    margin: 10px 0;
}

.event-movies {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.event-movies img {
    width: 140px;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.event-movies img:hover {
    transform: scale(1.05);
}

.event-image img {
    width: 120px;
    border-radius: 8px;
    margin: 10px auto;
    display: block;
}

/* =========================
   NOW WATCHING CARD
========================= */

.now-watching {
    text-align: center;
}

.watching-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* =========================
   MAIN MOVIE INFO CARD
========================= */

.movie-info {
    text-align: center;
}

/* Title */
.movie-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Poster */
.movie-poster {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

/* Meta info */
.movie-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;

    font-size: 0.95rem;
    text-align: left;
    margin-top: 10px;
}

.movie-meta span {
    font-weight: 600;
    color: #444;
    margin-right: 6px;
}

/* Groups (country / genre) */
.movie-group {
    margin-top: 15px;
    text-align: left;
}

.group-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.movie-group ul {
    margin: 0;
    padding-left: 18px;
}

.movie-group li {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

/* =========================
   TABS
========================= */

.tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.tab {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;

    font-size: 0.95rem;
    font-weight: 600;
    color: #555;

    border-radius: 6px 6px 0 0;
    transition: all 0.2s ease;
}

.tab:hover {
    background: rgba(0,0,0,0.05);
}

.tab.active {
    color: #c9a21a;
    border-bottom: 2px solid #c9a21a;
}

/* =========================
   TAB CONTENT
========================= */

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Section blocks */
.section-block {
    margin-bottom: 15px;
}

.section-subtitle {
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

/* Cast */
.cast-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cast-item {
    display: flex;
    gap: 10px;
    align-items: center;

    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.cast-item:hover {
    background: rgba(0,0,0,0.05);
}

.cast-item img {
    width: 45px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}

.actor-name {
    font-weight: 600;
}

.character-name {
    font-size: 0.85rem;
    color: #777;
}

/* =========================
   RELATED MOVIES (CENTER CARD)
========================= */

.related-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.related-box {
    width: 100%;
    max-width: 420px;

    padding: 15px;
    border-radius: 10px;

    background: rgba(0,0,0,0.03);

    /* GOLD BORDER */
    border: 1px solid rgba(201,162,26,0.6);

    /* subtle glow */
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.08),
        0 0 10px rgba(201,162,26,0.25);

    text-align: center;
}

/* center the title */
.section-subtitle.centered {
    text-align: center;
    margin-bottom: 10px;
}

/* row stays horizontal */
.related-inline {
    display: flex;
    gap: 12px;

    justify-content: center;
    flex-wrap: nowrap;
}

/* fixed card width */
.related-card {
    flex: 0 0 80px;
    text-align: center;
}

/* title */
.related-title {
    font-size: 0.75rem;
    margin-top: 5px;
}

.related-title a {
    text-decoration: none;
    color: #222;
}

.related-title a:hover {
    color: #c9a21a;
}

/* =========================
   CAST GRID
========================= */

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

/* Card */
.cast-card {
    display: flex;
    gap: 10px;
    align-items: center;

    padding: 8px;
    border-radius: 8px;

    text-decoration: none;
    color: inherit;

    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);

    transition: all 0.2s ease;
}

/* Hover */
.cast-card:hover {
    background: rgba(0,0,0,0.06);
    border-color: rgba(201,162,26,0.4);

    transform: translateY(-2px);
}

/* Image */
.cast-card img {
    width: 45px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}

/* Text */
.cast-info {
    display: flex;
    flex-direction: column;
}

/* Name */
.cast-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
}

/* Character */
.cast-character {
    font-size: 0.8rem;
    color: #777;
    font-style: italic;
}

/* =========================
   SEASON SELECTOR (UPGRADE)
========================= */

.season-selector {
    display: flex;
    justify-content: center;   /* ? centers it */
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 20px;
}

.season-link {
    text-decoration: none;
    padding: 6px 12px;

    border-radius: 20px;  /* pill style */

    font-size: 0.85rem;
    font-weight: 600;

    color: #444;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.08);

    transition: all 0.25s ease;
}

/* hover = subtle glam */
.season-link:hover {
    background: rgba(201,162,26,0.12);
    border-color: rgba(201,162,26,0.4);
    color: #c9a21a;
    transform: translateY(-1px);
}

/* active = gold highlight */
.season-link.active {
    background: #c9a21a;
    color: #fff;
    border-color: #c9a21a;
    box-shadow: 0 4px 10px rgba(201,162,26,0.3);
}

/* =========================
   EPISODES (UPGRADE)
========================= */

.episode-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.episode-card {
    padding: 12px;
    border-radius: 10px;

    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);

    transition: all 0.2s ease;
}

.episode-card:hover {
    background: rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* Header */
.episode-header {
    font-weight: 600;
    margin-bottom: 6px;

    display: flex;
    gap: 6px;
}

.episode-number {
    color: #c9a21a;
}

.episode-title {
    color: #111;
}

/* Meta */
.episode-meta {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 6px;
}

/* Plot */
.episode-plot {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 6px;
}

/* Extra */
.episode-extra {
    font-size: 0.85rem;
    color: #555;
}

/* =========================
   ACTOR CARD
========================= */

.actor-info {
    text-align: center;
}

.actor-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.actor-photo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.actor-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;

    font-size: 0.95rem;
    text-align: left;
}

.actor-meta span {
    font-weight: 600;
    color: #444;
    margin-right: 6px;
}

.subtle {
    font-size: 0.85rem;
    color: #777;
}

/* =========================
   FILMOGRAPHY GRID
========================= */

.filmography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

/* Card */
.film-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 8px;
    border-radius: 8px;

    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);

    transition: all 0.2s ease;
}

.film-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201,162,26,0.4);
    background: rgba(0,0,0,0.05);
}

/* Meta */
.film-meta {
    margin-top: 6px;
}

.film-year {
    font-size: 0.8rem;
    color: #777;
}

.film-title a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
}

.film-title a:hover {
    color: #c9a21a;
}

/* ==========================================
   TV GUIDE CARD
========================================== */

.tvguide-card {
    padding: 15px;
}

.tvguide-empty {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 0.95rem;
}

/* ==========================================
   DAY BLOCK
========================================== */

.tvguide-day {
    margin-bottom: 16px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.02);
}

/* Highlight today */
.tvguide-day.active {
    border: 2px solid #c9a21a;
    background: rgba(201,162,26,0.08);
}

/* Day title */
.tvguide-day-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
    color: #222;
}

/* ==========================================
   SHOW LIST
========================================== */

.tvguide-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ==========================================
   SINGLE SHOW ROW
========================================== */

.tvguide-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 4px 0;
}

/* Time column */
.tvguide-time {
    width: 80px;
    flex: 0 0 80px;

    font-weight: 600;
    color: #c9a21a;
}

/* Title + network */
.tvguide-info {
    flex: 1;
    font-weight: 500;
}

/* Network styling */
.tvguide-network {
    color: #777;
    font-size: 0.85rem;
    margin-left: 4px;
}

/* ==========================================
   HOVER EFFECT (SUBTLE)
========================================== */

.tvguide-item:hover {
    background: rgba(0,0,0,0.04);
    border-radius: 4px;
    padding-left: 4px;
}



/* =================================
    STATE TRIVIA
=======================================*/
.state-flag {
    width: 260px;
    height: auto;
    margin: 12px auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* =================================
    ADMIN HOME PAGE
=======================================*/
.admin-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.admin-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.admin-links a {
    text-decoration: none;
    color: #111;
    font-weight: 600;

    padding: 8px 10px;
    border-radius: 6px;

    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08);

    transition: all 0.2s ease;
}

.admin-links a:hover {
    background: rgba(0,0,0,0.08);
    color: #c9a21a;
}






