/* ========================================
   PSNStreams - Dark Theme CSS
   ======================================== */

/* ========================================
   CUSTOMIZATION SETTINGS - CHANGE THESE VALUES
   ======================================== */

/* 
   🎨 COLOR CUSTOMIZATION:
   - Main Background: Change #000000 to your preferred dark color
   - Secondary Background: Change #1a1a1a to a slightly lighter dark color
   - Accent Color: Change #0066cc to your preferred blue/accent color
   - Text Color: Change #ffffff to your preferred light text color
   - Schedule Background: Change #2a2a2a to your preferred schedule background
*/

:root {
    /* 🎨 MAIN COLORS - Toasty Orange palette */
    --main-bg: #0a0b14;           /* Midnight with warmth */
    --secondary-bg: #111019;      /* Dark roasted surface */
    --schedule-bg: #151729;       /* Toasty panel */
    --accent-color: #ff7a18;      /* Toasty orange */
    --accent-color-2: #ffb86b;    /* Warm highlight */
    --accent-teal: #38bdf8;       /* Flame teal */
    --accent-purple: #6d28d9;     /* Wave purple */
    --text-primary: #f3efe9;      /* Warm light text */
    --text-secondary: #d9d3cb;    /* Softer warm text */
    --text-muted: #b4a99c;        /* Muted sand */

    /* 🔗 LOGO SETTINGS */
    --logo-url: url('logo.png');

    /* Effects */
    --ring-teal: rgba(56,189,248,0.45);
    --ring-orange: rgba(255,122,24,0.5);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.45);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.35);
    --shadow-sm: 0 6px 18px rgba(0,0,0,0.25);

    /* 📏 SPACING */
    --border-radius: 10px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
}

/* ========================================
   RESET AND BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
}

/* Restore Font Awesome icon fonts (override global Arial) */
.fa, .fas, .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.far, .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}
.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: radial-gradient(1200px 600px at 50% -200px, rgba(109,40,217,0.18), transparent 60%),
                radial-gradient(800px 400px at 90% 10%, rgba(56,189,248,0.12), transparent 50%),
                linear-gradient(180deg, #0a0b14 0%, #0b0c16 40%, #0a0b14 100%);
    min-height: 100vh;
    position: relative;
}

/* Decorative waves echoing the logo */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(1200px 500px at 0% 100%, rgba(109,40,217,0.14), transparent 60%),
      radial-gradient(900px 500px at 100% 100%, rgba(56,189,248,0.12), transparent 55%),
      conic-gradient(from 200deg at 50% 110%, rgba(109,40,217,0.12), transparent 25%, rgba(56,189,248,0.08) 35%, transparent 60%);
    mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.9) 40%, rgba(0,0,0,0.3) 70%, transparent 100%);
    z-index: -1;
}

/* Starry night background with randomized movement */
body::before,
body::after {
    content: none !important; /* Disable star layers */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION BAR - DARK THEME
   ======================================== */

.navbar {
    background: linear-gradient(180deg, rgba(26,22,33,0.92), rgba(17,16,25,0.92));
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
    position: relative;
}

/* 🖼️ LOGO IMAGE - Easy to change in CSS variables */
.logo-image {
    height: 52px;
    width: auto;
    filter: brightness(1.2); /* Makes logo brighter on dark background */
}

.nav-logo::after {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,122,24,0.18), transparent 70%);
    filter: blur(8px);
    z-index: -1;
}

.logo-text {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: linear-gradient(135deg, rgba(255,122,24,0.12), rgba(56,189,248,0.12));
    transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-link i {
    font-size: 1.1rem;
}

/* Discord link special styling */
.discord-link {
    background: #5865f2 !important;
    color: white !important;
}

.discord-link:hover {
    background: #4752c4 !important;
    color: white !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   STREAM DROPDOWN - DARK THEME
   ======================================== */

.stream-dropdown {
    background: var(--secondary-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    margin-top: 70px;
    border-radius: 0 0 16px 16px;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stream-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stream-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.sport-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.time-badge {
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-teal);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.close-stream-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.close-stream-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.stream-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 2rem;
    min-height: 600px;
}

.stream-player-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-player {
    position: relative;
    background: linear-gradient(180deg, #0d0e1a, #0b0c16);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(109,40,217,0.15), inset 0 0 0 1px rgba(56,189,248,0.06);
    min-height: 400px;
}

.main-player iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.player-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.player-placeholder p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.channel-selector {
    background: var(--schedule-bg);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 122, 24, 0.6);
}

.channel-selector h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.channel-item {
    background: var(--secondary-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.channel-item:hover {
    border-color: var(--accent-teal);
    background: linear-gradient(135deg, rgba(255,122,24,0.06), rgba(56,189,248,0.06));
    transform: translateY(-2px);
}

.channel-item.active {
    border-color: var(--accent-teal);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-teal));
    color: white;
}

.channel-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.channel-status {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ========================================
   CHAT SECTION - DARK THEME
   ======================================== */

.chat-section {
    background: var(--schedule-bg);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 122, 24, 0.6);
    display: flex;
    flex-direction: column;
    height: 600px;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #28a745;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.live-badge i {
    font-size: 0.7rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.youtube-chat-container {
    flex: 1;
    position: relative;
    background: #0d0e1a;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.youtube-chat-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.chat-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.placeholder-content h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.placeholder-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.placeholder-content small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
    font-style: italic;
    transform: rotate(0.3deg);
}

/* ========================================
   MAIN CONTENT - DARK THEME
   ======================================== */

.main {
    margin-top: 70px;
    padding: 2rem 0;
}

/* New 3-column layout */
.layout-grid {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 1.25rem;
}

.sidebar-left, .sidebar-right { display: flex; flex-direction: column; gap: 1.25rem; }

.side-card {
    background: linear-gradient(180deg, rgba(21,23,41,0.85), rgba(17,16,25,0.85));
    border: 1px solid rgba(56,189,248,0.12);
    border-radius: 14px;
    padding: 1rem;
}

.side-title { color: var(--text-primary); font-weight: 700; font-size: 0.95rem; display:flex; align-items:center; gap:8px; margin-bottom: .75rem; }
.list { list-style: none; }
.list-item { color: var(--text-secondary); font-size: .9rem; padding: .4rem .25rem; display:flex; align-items:center; gap:8px; }
.list-item .dot { width:8px; height:8px; background: linear-gradient(135deg, var(--accent-color), var(--accent-teal)); border-radius: 50%; display:inline-block; }

.content-center { min-width: 0; }

.time-card {
    background: linear-gradient(180deg, rgba(21,23,41,0.85), rgba(17,16,25,0.85));
    border: 1px solid rgba(56,189,248,0.12);
    border-radius: 14px;
    padding: 1rem;
}
.time-card-header { display:flex; align-items:center; justify-content:space-between; color: var(--text-secondary); margin-bottom:.25rem; }
.time-title { font-weight: 700; color: var(--text-primary); font-size:.95rem; }
.time-sub { font-size:.8rem; color: var(--text-muted); }
.time-value { font-size:1.6rem; font-weight:800; color: var(--accent-teal); letter-spacing:.5px; }

.cta-card {
    display:flex; align-items:center; gap:12px; text-decoration:none;
    background: linear-gradient(135deg, rgba(255,122,24,0.14), rgba(56,189,248,0.12));
    border: 1px solid rgba(255,122,24,0.35);
    border-radius: 12px; padding: 12px; color: var(--text-primary);
    transition: transform .15s ease, box-shadow .2s ease;
}
.cta-card .cta-icon { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; background: rgba(0,0,0,0.25); color: var(--accent-teal); }
.cta-card.discord .cta-icon { color:#5865F2; }
.cta-card.telegram .cta-icon { color:#2AABEE; }
.cta-card .cta-title { font-weight: 700; }
.cta-card .cta-sub { font-size:.85rem; color: var(--text-secondary); }
.cta-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.feature-stack { display:flex; flex-direction:column; gap:8px; }
.feature-item { background: rgba(255,122,24,0.08); border: 1px solid rgba(255,122,24,0.25); color: var(--text-secondary); padding:10px 12px; border-radius:10px; }

@media (max-width: 1100px) {
    .layout-grid { grid-template-columns: 1fr; }
    .sidebar-left, .sidebar-right { order: 2; }
    .content-center { order: 1; }
}

/* ========================================
   PAGE TITLE - DARK THEME WITH HUMAN IMPERFECTIONS
   ======================================== */

.page-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    margin: 2rem 0 1.5rem 0;
    letter-spacing: 0.5px;
    background: linear-gradient(180deg, var(--text-primary), #e9e1d6 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Quirky subtitle with imperfect styling */
.subtitle-quirk {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.8;
    transform: rotate(0.3deg);  /* Slight tilt */
    margin-left: 10px;  /* Imperfect alignment */
}

/* ========================================
   SEARCH SECTION - DARK THEME
   ======================================== */

.search-section {
    background: linear-gradient(180deg, rgba(21,23,41,0.85), rgba(17,16,25,0.85));
    padding: 2rem 2.1rem 1.9rem 2rem;  /* Imperfect padding */
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(56,189,248,0.12);
}

/* Search tip with quirky styling */
.search-note {
    text-align: center;
    color: var(--accent-teal);
    font-size: 0.85rem;
    margin: 1rem 0;
    opacity: 0.9;
    font-style: italic;
    transform: rotate(-0.3deg);
    margin-left: -5px;  /* Slight offset */
}

.search-bar {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
    background: var(--schedule-bg);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 122, 24, 0.6);
    box-shadow: 0 4px 15px rgba(255, 122, 24, 0.18);
}

.search-bar:focus-within {
    outline: 2px solid var(--ring-teal);
    box-shadow: 0 0 0 6px rgba(56,189,248,0.08);
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: var(--text-primary);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar button {
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    transform: scale(1.05);
}

.filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.filters select {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 122, 24, 0.6);
    border-radius: var(--border-radius);
    background: var(--schedule-bg);
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.filters select:focus {
    outline: none;
    border-color: var(--accent-color-2);
}

.clear-btn {
    padding: 0.5rem 1rem;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* ========================================
   LOADING - DARK THEME
   ======================================== */

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.loading i {
    margin-right: 0.5rem;
}

/* ========================================
   EVENTS CONTAINER - DARK THEME WITH BLUE OUTLINE & HUMAN IMPERFECTIONS
   ======================================== */

.events-container {
    background: var(--schedule-bg);
    border-radius: 18px;
    box-shadow: none;
    overflow: hidden;
    border: 2px solid rgba(255, 122, 24, 0.7);
    transform: none;  /* Keep centered */
    margin: 0 auto;   /* Center container */
}

/* ========================================
   DATE SECTIONS - DARK THEME
   ======================================== */

.date-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.date-section:last-child {
    border-bottom: none;
}

.date-header {
    background: linear-gradient(180deg, rgba(27,23,20,1) 0%, rgba(17,16,25,1) 100%);
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: .04em;
    border-bottom: 1px solid rgba(56,189,248,0.18);
}

/* ========================================
   SPORT CATEGORIES - DARK THEME WITH BLUE ACCENTS
   ======================================== */

.sport-category {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sport-category:last-child {
    border-bottom: none;
}

.sport-header {
    background: var(--secondary-bg);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    border: 1px solid rgba(56, 189, 248, 0.18);
}

/* Add subtle imperfections to sport headers */
.sport-header:nth-child(odd) {
    transform: rotate(0.2deg);
    margin-left: 2px;
}

.sport-header:nth-child(even) {
    transform: rotate(-0.1deg);
    margin-right: 1px;
}

.sport-header:hover {
    background: #1a1411;
    transform: translateY(-1px);
    border-color: rgba(56,189,248,0.5);
}

.sport-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sport-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sport-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.sport-count {
    background: rgba(0, 0, 0, 0.1);
    color: #666;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.sport-chevron {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.sport-category.expanded .sport-chevron {
    transform: rotate(180deg);
}

/* ========================================
   EVENTS TABLE - DARK THEME
   ======================================== */

.events-table {
    width: 100%;
    border-collapse: collapse;
    display: none;
}

.sport-category.expanded .events-table {
    display: table;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.events-table th {
    background: rgba(18,19,33,0.9);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(56,189,248,0.18);
}

.events-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    vertical-align: middle;
}

.events-table tbody tr:nth-child(odd) {
    background: rgba(255,122,24,0.03);
}

.events-table tr:hover {
    background: linear-gradient(90deg, rgba(255,122,24,0.06), rgba(56,189,248,0.06));
    transition: background 0.2s ease;
}

.events-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   TIME COLUMN - DARK THEME
   ======================================== */

.event-time {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.live-indicator {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}

/* ========================================
   MATCH COLUMN - DARK THEME
   ======================================== */

.event-match {
    line-height: 1.4;
}

.tournament-name {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.match-details {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* ========================================
   WATCH BUTTON - DARK THEME WITH BLUE ACCENT
   ======================================== */

.watch-btn {
    background: linear-gradient(180deg, rgba(255,122,24,0.12), rgba(56,189,248,0.12));
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s ease;
    white-space: nowrap;
}

/* Add variety to watch buttons */
.watch-btn:nth-child(3n) {
    transform: rotate(-0.3deg);
}

.watch-btn:nth-child(5n) {
    transform: rotate(0.7deg);
}

.watch-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-teal));
    color: #0a0b14;
    box-shadow: 0 6px 16px var(--ring-orange);
}

.watch-btn:active {
    transform: translateY(0);
}

/* ========================================
   NO EVENTS - DARK THEME
   ======================================== */

.no-events {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.no-events i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* ========================================
   FOOTER - DARK THEME
   ======================================== */

.footer {
    background: linear-gradient(180deg, rgba(17,16,25,0.95), rgba(21,23,41,0.95));
    color: var(--text-primary);
    margin-top: 4rem;
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(255, 122, 24, 0.6);
}

.footer::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-teal), var(--accent-purple));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0 2rem 0;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* 🖼️ FOOTER LOGO IMAGE - Easy to change in CSS variables */
.footer-logo-image {
    height: 36px;
    width: auto;
    filter: brightness(1.2);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 122, 24, 0.18);
    border-radius: 50%;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.disclaimer {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.disclaimer p {
    color: #ffc107;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Small print with quirky styling */
.small-print {
    color: var(--text-muted) !important;
    font-size: 0.75rem !important;
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.8;
    transform: rotate(-0.2deg);
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
}

.legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-color);
}

/* ========================================
   SPORT ICONS - CUSTOMIZE THESE WITH HUMAN IMPERFECTIONS
   ======================================== */

.sport-icon.football::before { content: "⚽"; }
.sport-icon.basketball::before { content: "🏀"; }
.sport-icon.tennis::before { content: "🎾"; }
.sport-icon.baseball::before { content: "⚾"; }
.sport-icon.american-football::before { content: "🏈"; }
.sport-icon.cricket::before { content: "🏏"; }
.sport-icon.golf::before { content: "⛳"; }
.sport-icon.volleyball::before { content: "🏐"; }
.sport-icon.boxing::before { content: "🥊"; }
.sport-icon.motorsport::before { content: "🏁"; }

/* Override: remove emojis from stream lists */
.sport-icon { display: none !important; }
.sport-icon::before { content: '' !important; }

/* Add subtle variations to sport icons */
.sport-icon:nth-child(2n) {
    transform: rotate(2deg);
}

.sport-icon:nth-child(3n) {
    transform: rotate(-1deg);
}

.sport-icon:nth-child(5n) {
    transform: rotate(1.5deg);
}

/* Add some quirky animations */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

.sport-icon:hover {
    animation: wiggle 0.5s ease-in-out;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FRIENDLY
   ======================================== */

@media (max-width: 1024px) {
    .stream-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chat-section {
        height: 400px;
    }
    
    .main-player iframe {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .container {
        padding: 0 15px;
    }

    .page-title {
        font-size: 2rem;
        margin: 1rem 0 2rem 0;
    }

    .search-section {
        padding: 1.5rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: var(--border-radius);
    }

    .search-bar input,
    .search-bar button {
        border-radius: 0;
    }

    .search-bar input {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .filters {
        flex-direction: column;
        gap: 0.5rem;
    }

    .events-table th,
    .events-table td {
        padding: 0.8rem 0.5rem;
    }

    .events-table {
        font-size: 0.9rem;
    }

    .watch-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .stream-content {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .main-player iframe {
        min-height: 250px;
    }
    
    .chat-section {
        height: 350px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .search-section {
        padding: 1rem;
    }

    .events-table {
        font-size: 0.8rem;
    }

    .events-table th,
    .events-table td {
        padding: 0.6rem 0.3rem;
    }

    .tournament-name {
        font-size: 0.8rem;
    }

    .match-details {
        font-size: 0.85rem;
    }

    .main-player iframe {
        min-height: 200px;
    }
    
    .chat-section {
        height: 300px;
    }
    
    .stream-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ========================================
   24/7 SECTION STYLING
   ======================================== */

.section-247 {
    margin-top: 70px;
    padding: 2rem 0;
    min-height: 100vh;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.channel-card {
    background: var(--schedule-bg);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    transform: rotate(0.2deg);
}

.channel-card:hover {
    transform: translateY(-5px) rotate(0deg);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.channel-card:nth-child(even) {
    transform: rotate(-0.1deg);
}

.channel-info h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.channel-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.channel-status {
    background: #28a745;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}


/* ========================================
   STREAM EMBED CODE SECTION
   ======================================== */

.embed-code-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.embed-code-section h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.embed-code-display {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

#streamEmbedCode {
    flex: 1;
    height: 80px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    resize: vertical;
    font-weight: 400;
}

.copy-stream-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    min-width: 40px;
    height: 40px;
}

.copy-stream-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 122, 24, 0.35);
}

.copy-stream-btn.copied {
    background: #28a745;
}

/* ========================================
   END OF CUSTOMIZATION SECTION
   ======================================== */

/* ========================================
   GLOBAL: Remove all glow/shadows
   ======================================== */
* {
    box-shadow: none !important;
    text-shadow: none !important;
}