/* ========================================
   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 - Gray/Black/Blue palette */
    --main-bg: #0f1115;           /* Deep gray/black */
    --secondary-bg: #111827;      /* Dark gray for surfaces */
    --schedule-bg: #1f2937;       /* Slate gray blocks */
    --accent-color: #3b82f6;      /* Revert to blue accent */
    --text-primary: #e5e7eb;      /* Light gray text */
    --text-secondary: #cbd5e1;    /* Softer secondary text */
    --text-muted: #94a3b8;        /* Muted slate text */
    
    /* 🔗 LOGO SETTINGS - Change the URL to your logo */
    --logo-url: url('https://www.pngmart.com/files/23/Psn-Logo-PNG-Photos.png');
    
    /* 📏 SPACING - Adjust these for different layouts */
    --border-radius: 8px;         /* Border radius for cards and buttons */
    --spacing-sm: 0.5rem;         /* Small spacing */
    --spacing-md: 1rem;           /* Medium spacing */
    --spacing-lg: 2rem;           /* Large spacing */
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--main-bg);
    min-height: 100vh;
    position: relative;
    /* Firefox scrollbar */
    scrollbar-color: #3b82f6 #0b1220;
    scrollbar-width: thin;
}

.accent-bar {
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6, #6366f1);
    opacity: .8;
}

/* 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: rgba(26, 26, 26, 0.95);  /* Dark navbar background */
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    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);
}

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

.logo-text {
    background: linear-gradient(135deg, var(--accent-color), #4d9eff);
    -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:hover,
.nav-link.active {
    color: var(--accent-color);
    background: rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.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), #4d9eff);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.time-badge {
    background: var(--schedule-bg);
    color: var(--text-secondary);
    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: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    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 var(--accent-color);
}

.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.1);
    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-color);
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
}

.channel-item.active {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color), #4d9eff);
    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 var(--accent-color);
    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: #000;
    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), #4d9eff);
    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;
}

/* Two-column layout: schedule + right sidebar */
.page-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.right-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-card {
    background: var(--secondary-bg);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    padding: 14px;
}

.time-card { color: var(--text-secondary); font-family:'Inter', sans-serif; }
.time-card .time { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.time-card .sub { font-size: 12px; opacity: .8; }

@media (max-width: 1024px) {
    .page-grid { grid-template-columns: 1fr; }
    .right-sidebar { position: static; }
}

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

.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1.5rem 0;  /* Slightly off spacing */
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transform: rotate(-0.5deg);  /* Slight tilt for human feel */
}

/* 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: var(--secondary-bg);
    padding: 2rem 2.1rem 1.9rem 2rem;  /* Imperfect padding */
    border-radius: 16px 15px 17px 16px;  /* Slightly irregular border radius */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(0.2deg);  /* Subtle tilt */
}

/* Search tip with quirky styling */
.search-note {
    text-align: center;
    color: var(--accent-color);
    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: 25px;
    overflow: hidden;
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.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), #4d9eff);
    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;
}

.sport-pills {
    display:flex;
    gap:8px;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:10px;
}
.sport-pill {
    background: #0b1220;
    color: var(--text-secondary);
    border: 1px solid rgba(148,163,184,.25);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 72px;
    text-align:center;
    font-family:'Inter', sans-serif;
    font-weight:800;
    font-size:12px;
    cursor:pointer;
}
.sport-pill.active {
    background: var(--accent-color);
    color: #0b0b0b;
    border-color: var(--accent-color);
}

.filters select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    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: #4d9eff;
}

.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: 16px 15px 17px 16px;  /* Slightly irregular corners */
    box-shadow: none;
    overflow: hidden;
    border: 2px solid var(--accent-color);  /* 🔵 BLUE OUTLINE - Change this color */
    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(31,41,55,1) 0%, rgba(17,24,39,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(148, 163, 184, 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(148, 163, 184, 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: #0b1220;
    transform: translateY(-1px);
    border-color: rgba(59,130,246,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: 1rem;
    color: var(--text-secondary);
}

.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(17,24,39,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(148, 163, 184, 0.18);
}

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

.events-table tr:hover {
    background: rgba(59, 130, 246, 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: transparent;
    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: 'Poppins', 'Inter', sans-serif;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

/* 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: var(--accent-color);
    color: #0b1220;
}

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

/* Shimmer sweep animation on buttons */
/* Shine effect removed */

/* ========================================
   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: var(--secondary-bg);
    color: var(--text-primary);
    margin-top: 4rem;
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--accent-color);
}

.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: 30px;
    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(0, 102, 204, 0.2);
    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::before { content: none !important; }

/* ========================================
   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), #4d9eff);
    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(0, 102, 204, 0.4);
}

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

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

/* ========================================
   FEATURED EVENTS (Orange theme)
   ======================================== */
.featured-section { margin-top: 2rem; }
.featured-title {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 1rem 0;
}
.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-color: #3b82f6 #0b1220;
    scrollbar-width: thin;
}

/* WebKit scrollbars */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #0b1220; border-radius: 8px; }
*::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #3b82f6, #0ea5e9); border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #60a5fa, #22d3ee); }
.featured-card {
    background: radial-gradient(1200px 300px at -10% -50%, rgba(59,130,246,.25), transparent 60%), #111827;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 12px;
    padding: 14px;
    display: grid;
    grid-template-rows: auto 1fr auto;
}
.featured-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.featured-badge { background: var(--accent-color); color:#0b0b0b; font-weight:800; font-size:11px; padding:3px 8px; border-radius:999px; }
.featured-sport { color: var(--text-secondary); font-size: 12px; }
.featured-title-text { color: var(--text-primary); font-weight:700; }
.featured-meta { display:flex; gap:8px; color: var(--text-muted); font-size: 12px; margin-top:6px; }
.featured-actions { margin-top: 10px; display:flex; gap:8px; }
.featured-actions .watch-btn { flex: 1; }

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

/* ========================================
   MICRO-ANIMATIONS (Added)
   ======================================== */
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-row { animation: fadeSlideIn .35s ease forwards; }

/* Underline sweep for nav links */
.nav-link { overflow: hidden; }
.nav-link::after { content: ""; position: absolute; left:0; right:0; bottom:0; height:2px; background: var(--accent-color); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Gentle lift on featured cards */
.featured-card { transition: transform .2s ease; }
.featured-card:hover { transform: translateY(-2px); }

/* Sport pill hover */
.sport-pill:hover { border-color: var(--accent-color); color: var(--text-primary); }

/* Button click feedback */
.watch-btn { transition: transform .15s ease, background .2s ease, color .2s ease; }
.watch-btn:active { transform: scale(0.98); }