/* =====================================================
   THE BACK PORCH SOUTHERN SPORTS SHOW
   Light Theme Override
   
   Note: Nav and Footer remain dark
   ===================================================== */

/* ===== Light Theme Variables ===== */
body.light-theme {
    /* Core Colors - Light */
    --bg-dark: #f5f3f0;
    --bg-card: #ffffff;
    --bg-card-hover: #f9f8f6;
    --bg-input: #f0eeeb;
    
    /* Text Colors - Dark for contrast */
    --text-primary: #1a1614;
    --text-secondary: #4a4745;
    --text-muted: #7a7775;
    
    /* Borders - Light */
    --border-color: #e0ddd8;
    --border-light: #d0cdc8;
    
    /* Shadows - Softer */
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* ===== Keep Nav Dark ===== */
body.light-theme .main-nav {
    background: #252220;
    border-bottom-color: #3a3735;
}

/* Nav Buttons - More visible in light mode context */
body.light-theme .nav-right .btn-primary {
    background: linear-gradient(135deg, #c9a227 0%, #a68520 100%);
    color: #ffffff;
    font-weight: 600;
}

body.light-theme .nav-right .btn-primary:hover {
    background: linear-gradient(135deg, #dbb84d 0%, #c9a227 100%);
    color: #1a1614;
}

body.light-theme .nav-right .btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.light-theme .nav-right .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

body.light-theme .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

body.light-theme .theme-toggle:hover {
    background: rgba(201, 162, 39, 0.2);
    border-color: #c9a227;
    color: #c9a227;
}

body.light-theme .search-box {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.light-theme .search-box input {
    color: #ffffff;
}

body.light-theme .search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

body.light-theme .search-box i {
    color: rgba(255, 255, 255, 0.5);
}

body.light-theme .mobile-menu {
    background: #252220;
    border-bottom-color: #3a3735;
}

body.light-theme .mobile-menu .nav-link {
    color: #a8a5a0;
}

body.light-theme .mobile-menu .nav-link:hover,
body.light-theme .mobile-menu .nav-link.active {
    color: #c9a227;
    background: rgba(201, 162, 39, 0.15);
}

body.light-theme .mobile-menu .mobile-buttons {
    border-top-color: #3a3735;
}

body.light-theme .nav-toggle {
    color: #ffffff;
}

/* Nav Links - White text */
body.light-theme .nav-link {
    color: #a8a5a0;
}

body.light-theme .nav-link:hover {
    color: #ffffff;
}

body.light-theme .nav-link.active {
    color: #c9a227;
}

/* ===== Keep Footer Dark ===== */
body.light-theme .main-footer {
    background: #252220;
    border-top: 1px solid #3a3735;
}

body.light-theme .footer-content {
    color: #a8a5a0;
}

body.light-theme .footer-links a {
    color: #6b6865;
}

body.light-theme .footer-links a:hover {
    color: #c9a227;
}

body.light-theme .footer-social .social-link {
    color: #6b6865;
    background: #1e1c1a;
}

body.light-theme .footer-social .social-link:hover {
    color: #c9a227;
}

body.light-theme .footer-copyright {
    border-top-color: #3a3735;
    color: #6b6865;
}

body.light-theme .footer-logo {
    opacity: 0.8;
}

/* ===== Scores Ticker - Light ===== */
body.light-theme .scores-ticker {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

body.light-theme .ticker-item {
    border-right-color: var(--border-color);
}

body.light-theme .ticker-status {
    color: var(--text-muted);
}

body.light-theme .ticker-status.live {
    color: #e53935;
}

body.light-theme .ticker-status.final {
    color: var(--text-secondary);
}

body.light-theme .ticker-matchup {
    color: var(--text-primary);
}

body.light-theme .ticker-matchup strong {
    color: var(--text-primary);
}

body.light-theme .live-dot {
    background: #e53935;
}

body.light-theme .ticker-more {
    background: linear-gradient(to right, transparent, #ffffff 20%);
}

body.light-theme .ticker-more a {
    color: var(--bourbon);
}

/* ===== Main Content Light Adjustments ===== */
body.light-theme .main-content {
    background: var(--bg-dark);
}

/* ===== Video Player - Clean Light Design ===== */
body.light-theme .video-section {
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
    border-radius: 20px;
    overflow: hidden;
}

body.light-theme .video-player {
    background-image: url('../images/episode-main.jpg');
    background-size: cover;
    background-position: center;
}

body.light-theme .video-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
}

body.light-theme .video-info h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

body.light-theme .video-info p {
    color: rgba(255,255,255,0.9);
}

body.light-theme .video-badges .live-badge {
    background: #e53935;
    color: #ffffff;
}

body.light-theme .video-badges .viewer-badge {
    background: rgba(0,0,0,0.6);
    color: #ffffff;
}

body.light-theme .play-btn {
    background: rgba(201, 162, 39, 0.95);
    color: #1a1614;
}

body.light-theme .play-btn:hover {
    background: #c9a227;
    transform: scale(1.1);
}

body.light-theme .video-controls {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

body.light-theme .control-btn {
    color: #ffffff;
}

body.light-theme .presented-by {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

body.light-theme .presented-by span {
    color: rgba(255,255,255,0.7);
}

/* ===== Cards & Sections ===== */
body.light-theme .blind-section,
body.light-theme .previous-content-section,
body.light-theme .sidebar-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

/* ===== Blind Promo Banner - Light ===== */
body.light-theme .blind-promo-banner {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12) 0%, var(--bg-card) 100%);
    border-color: rgba(201, 162, 39, 0.25);
}

body.light-theme .blind-promo-banner:hover {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.18) 0%, var(--bg-card) 100%);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.15);
    border-color: rgba(201, 162, 39, 0.4);
}

body.light-theme .promo-title {
    color: var(--text-primary);
}

body.light-theme .promo-tagline {
    color: var(--text-secondary);
}

body.light-theme .promo-divider {
    color: var(--border-color);
}

/* Section Headers */
body.light-theme .section-header h2 {
    color: var(--text-primary);
}

body.light-theme .section-link {
    color: var(--text-muted);
}

body.light-theme .section-link:hover {
    color: var(--bourbon);
}

/* ===== Blind Section - ALL LIGHT ===== */
body.light-theme .sponsor-branding {
    background: var(--bg-input);
    border-color: rgba(201, 162, 39, 0.3);
}

body.light-theme .sponsor-text {
    color: #8a7015;
}

body.light-theme .sponsor-logo {
    filter: brightness(0.9);
}

/* Blind Cards - Light */
body.light-theme .blind-card {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
}

body.light-theme .blind-card:hover {
    background: var(--bg-card);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: var(--shadow-hover);
}

/* Product Card - Light version */
body.light-theme .blind-card.product-card {
    background: linear-gradient(135deg, #f9f7f4 0%, #f0eeeb 100%);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

body.light-theme .blind-card.product-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
}

body.light-theme .product-content h3 {
    color: var(--text-primary);
}

body.light-theme .product-content .product-tagline {
    color: var(--text-secondary);
}

body.light-theme .product-content .detail-item {
    color: var(--text-secondary);
}

body.light-theme .product-content .detail-item i {
    color: var(--bourbon);
}

body.light-theme .product-badge {
    background: rgba(201, 162, 39, 0.15);
    color: #8a7015;
}

body.light-theme .product-glow {
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
}

body.light-theme .btn-bourbon-outline {
    border-color: var(--bourbon);
    color: #8a7015;
    background: transparent;
}

body.light-theme .btn-bourbon-outline:hover {
    background: var(--bourbon);
    color: #ffffff;
}

/* All bourbon/gold CTA buttons - white text */
body.light-theme .btn-bourbon {
    background: linear-gradient(135deg, #c9a227 0%, #a68520 100%);
    color: #ffffff;
}

body.light-theme .btn-bourbon:hover {
    background: linear-gradient(135deg, #dbb84d 0%, #c9a227 100%);
    color: #1a1614;
}

/* Riley Green Cards - Light */
body.light-theme .blind-card.riley-card,
body.light-theme .blind-card.teaser-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

body.light-theme .card-content h3,
body.light-theme .card-content h4 {
    color: var(--text-primary);
}

body.light-theme .card-content p {
    color: var(--text-secondary);
}

body.light-theme .card-series {
    color: #8a7015;
}

body.light-theme .card-meta span {
    color: var(--text-muted);
}

body.light-theme .card-meta-info {
    color: var(--text-muted);
}

body.light-theme .watch-now-btn {
    color: #8a7015;
}

body.light-theme .watch-now-btn:hover {
    color: var(--bourbon);
}

/* Card overlays */
body.light-theme .card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

body.light-theme .card-badge {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

body.light-theme .card-badge.exclusive {
    background: var(--bourbon);
    color: #1a1614;
}

body.light-theme .card-duration {
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
}

body.light-theme .play-overlay-btn {
    background: rgba(201, 162, 39, 0.95);
    color: #1a1614;
}

body.light-theme .play-overlay-btn:hover {
    background: #c9a227;
}

/* Coming Soon Banner - Light */
body.light-theme .coming-soon-banner {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, var(--bg-input) 100%);
    border-color: rgba(201, 162, 39, 0.25);
}

body.light-theme .coming-badge {
    background: var(--bourbon);
    color: #1a1614;
}

body.light-theme .banner-content h4 {
    color: var(--text-primary);
}

body.light-theme .banner-content p {
    color: var(--text-secondary);
}

body.light-theme .btn-remind {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

body.light-theme .btn-remind:hover {
    border-color: var(--bourbon);
    color: var(--bourbon);
}

/* ===== Episodes Grid - Light ===== */
body.light-theme .episode-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

body.light-theme .episode-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 162, 39, 0.3);
}

body.light-theme .episode-thumb {
    background: #e0ddd8;
}

body.light-theme .episode-info h4 {
    color: var(--text-primary);
}

body.light-theme .episode-info p {
    color: var(--text-secondary);
}

body.light-theme .episode-date {
    color: var(--bourbon);
}

body.light-theme .episode-stats span {
    color: var(--text-muted);
}

body.light-theme .episode-duration {
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
}

body.light-theme .episode-badge {
    background: var(--bourbon);
    color: #1a1614;
}

/* ===== Sidebar - Light ===== */
body.light-theme .sidebar-card {
    border: 1px solid var(--border-color);
}

/* Promo Card - Light version */
body.light-theme .promo-card {
    background: linear-gradient(135deg, #f9f7f4 0%, #f0eeeb 100%);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

body.light-theme .promo-card .promo-header {
    border-bottom-color: var(--border-color);
}

body.light-theme .promo-card h3 {
    color: var(--text-primary);
}

body.light-theme .promo-card p {
    color: var(--text-secondary);
}

body.light-theme .promo-card .discount-code {
    color: var(--bourbon);
    background: rgba(201, 162, 39, 0.1);
    border: 1px dashed rgba(201, 162, 39, 0.4);
}

body.light-theme .promo-card .promo-badge {
    background: var(--bourbon);
    color: #1a1614;
}

body.light-theme .promo-card .btn-bourbon {
    background: linear-gradient(135deg, #c9a227 0%, #a68520 100%);
    color: #ffffff;
}

body.light-theme .promo-card .btn-bourbon:hover {
    background: linear-gradient(135deg, #dbb84d 0%, #c9a227 100%);
    color: #1a1614;
}

/* Chat Card - Light */
body.light-theme .chat-card {
    background: var(--bg-card);
}

body.light-theme .card-header {
    border-bottom-color: var(--border-color);
}

body.light-theme .card-header h3 {
    color: var(--text-primary);
}

body.light-theme .more-btn {
    color: var(--text-muted);
}

body.light-theme .chat-message {
    background: transparent;
}

body.light-theme .chat-message .message-author {
    color: var(--text-primary);
}

body.light-theme .chat-message .message-text {
    color: var(--text-secondary);
}

body.light-theme .chat-message .message-time {
    color: var(--text-muted);
}

body.light-theme .chat-message .mod-badge {
    background: rgba(201, 162, 39, 0.15);
    color: #8a7015;
}

body.light-theme .chat-input-wrapper input {
    background: var(--bg-input);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.light-theme .chat-input-wrapper input::placeholder {
    color: var(--text-muted);
}

body.light-theme .chat-input-wrapper button {
    color: var(--text-primary);
}

body.light-theme .chat-input-wrapper button:hover {
    color: var(--bourbon);
}

/* Schedule Card - Light */
body.light-theme .schedule-item {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
}

body.light-theme .schedule-item:hover {
    background: var(--bg-card);
    border-color: rgba(201, 162, 39, 0.3);
}

body.light-theme .schedule-time {
    color: var(--bourbon);
}

body.light-theme .schedule-title {
    color: var(--text-primary);
}

body.light-theme .schedule-host {
    color: var(--text-muted);
}

body.light-theme .schedule-btn {
    border-color: var(--border-color);
    color: var(--text-muted);
}

body.light-theme .schedule-btn:hover {
    border-color: var(--bourbon);
    color: var(--bourbon);
}

/* Newsletter Card - Light */
body.light-theme .newsletter-card p {
    color: var(--text-secondary);
}

body.light-theme .newsletter-card input {
    background: var(--bg-input);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.light-theme .newsletter-card input::placeholder {
    color: var(--text-muted);
}

/* ===== Buttons ===== */
body.light-theme .btn-secondary {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

body.light-theme .btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--bourbon);
    color: var(--bourbon);
}

/* ===== Load More ===== */
body.light-theme .load-more-episodes {
    border-top-color: var(--border-color);
}

/* ===== Scrollbar - Light ===== */
body.light-theme::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

body.light-theme::-webkit-scrollbar-thumb {
    background: #c0bdb8;
}

body.light-theme::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    color: var(--bourbon);
    border-color: var(--bourbon);
}

.theme-toggle i {
    font-size: 16px;
}

/* Hide appropriate icon based on theme */
body:not(.light-theme) .theme-toggle .fa-moon {
    display: none;
}

body.light-theme .theme-toggle .fa-sun {
    display: none;
}

/* =====================================================
   FORUM PAGE - Light Theme
   ===================================================== */

/* Forum Header */
body.light-theme .forum-header {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 162, 39, 0.06) 100%);
    border-bottom-color: var(--border-color);
}

body.light-theme .forum-title-section h1 {
    color: var(--text-primary);
}

body.light-theme .forum-tagline {
    color: var(--text-secondary);
}

body.light-theme .stat-item {
    color: var(--text-muted);
}

body.light-theme .stat-item strong {
    color: var(--text-primary);
}

/* Forum Sidebar */
body.light-theme .forum-sidebar .btn-bourbon {
    background: linear-gradient(135deg, #c9a227 0%, #a68520 100%);
    color: #ffffff;
}

body.light-theme .forum-sidebar .btn-bourbon:hover {
    background: linear-gradient(135deg, #dbb84d 0%, #c9a227 100%);
    color: #1a1614;
}

body.light-theme .sidebar-section {
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

body.light-theme .sidebar-section h3 {
    color: var(--text-secondary);
}

body.light-theme .category-item {
    color: var(--text-primary);
}

body.light-theme .category-item:hover {
    background: var(--bg-input);
}

body.light-theme .category-item.active {
    background: rgba(201, 162, 39, 0.15);
    color: #8a7015;
}

body.light-theme .category-item i {
    color: var(--text-muted);
}

body.light-theme .category-item.active i {
    color: var(--bourbon);
}

body.light-theme .category-item .count {
    background: var(--bg-input);
    color: var(--text-muted);
}

body.light-theme .tag {
    background: var(--bg-input);
    color: var(--text-secondary);
}

body.light-theme .tag:hover {
    background: rgba(201, 162, 39, 0.15);
    color: #8a7015;
}

/* Forum Sidebar Promo - Light */
body.light-theme .sidebar-promo {
    background: linear-gradient(135deg, #f9f7f4 0%, #f0eeeb 100%);
    border-color: rgba(201, 162, 39, 0.2);
}

body.light-theme .sidebar-promo p {
    color: var(--text-secondary);
}

body.light-theme .sidebar-promo .btn-bourbon-outline {
    border-color: var(--bourbon);
    color: #8a7015;
}

body.light-theme .sidebar-promo .btn-bourbon-outline:hover {
    background: var(--bourbon);
    color: #1a1614;
}

/* Topics Section */
body.light-theme .topics-section {
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

body.light-theme .topics-section .section-header {
    border-bottom-color: var(--border-color);
}

body.light-theme .topics-section .section-header h2 {
    color: var(--text-primary);
}

body.light-theme .filter-tab {
    color: var(--text-muted);
}

body.light-theme .filter-tab:hover {
    color: var(--text-secondary);
    background: var(--bg-input);
}

body.light-theme .filter-tab.active {
    color: #8a7015;
    background: rgba(201, 162, 39, 0.15);
}

/* Topic Cards */
body.light-theme .topic-card {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
}

body.light-theme .topic-card:hover {
    background: var(--bg-card);
    border-color: rgba(201, 162, 39, 0.3);
}

body.light-theme .topic-card.pinned {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, var(--bg-input) 100%);
    border-left: 3px solid var(--bourbon);
}

body.light-theme .topic-card.hot {
    border-left: 3px solid #e53935;
}

body.light-theme .vote-btn {
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

body.light-theme .vote-btn:hover,
body.light-theme .vote-btn.upvoted {
    background: rgba(201, 162, 39, 0.15);
    color: var(--bourbon);
    border-color: var(--bourbon);
}

body.light-theme .vote-count {
    color: var(--text-primary);
}

body.light-theme .topic-content h3 a {
    color: var(--text-primary);
}

body.light-theme .topic-content h3 a:hover {
    color: var(--bourbon);
}

body.light-theme .topic-content > p {
    color: var(--text-muted);
}

body.light-theme .author-avatar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

body.light-theme .author-avatar.staff {
    background: linear-gradient(135deg, #c9a227 0%, #a68520 100%);
    color: #1a1614;
    border: none;
}

body.light-theme .author-avatar.premium {
    background: linear-gradient(135deg, #c9a227 0%, #e07832 100%);
    color: #1a1614;
    border: none;
}

body.light-theme .author-name {
    color: var(--text-secondary);
}

body.light-theme .author-badge {
    background: var(--bg-input);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

body.light-theme .author-badge.duck-club {
    background: rgba(201, 162, 39, 0.15);
    color: #8a7015;
    border-color: rgba(201, 162, 39, 0.3);
}

body.light-theme .topic-stats span {
    color: var(--text-muted);
}

body.light-theme .reply-label {
    color: var(--text-muted);
}

body.light-theme .reply-author span {
    color: var(--text-secondary);
}

body.light-theme .mini-avatar {
    background: var(--bg-card);
    border-color: var(--bg-input);
    color: var(--text-muted);
}

body.light-theme .more-users,
body.light-theme .active-label {
    color: var(--text-muted);
}

/* Badges */
body.light-theme .badge-pinned {
    background: rgba(201, 162, 39, 0.15);
    color: #8a7015;
}

body.light-theme .badge-duck-club {
    background: rgba(201, 162, 39, 0.15);
    color: #8a7015;
}

/* Pagination */
body.light-theme .page-btn {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

body.light-theme .page-btn:hover {
    background: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--bourbon);
}

body.light-theme .page-btn.active {
    background: var(--bourbon);
    color: #1a1614;
    border-color: var(--bourbon);
}

body.light-theme .page-ellipsis {
    color: var(--text-muted);
}
