/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 15px 20px;
    border-bottom: 2px solid #ff6b00;
}

.header-top {
    text-align: center;
    margin-bottom: 10px;
}

.site-title {
    font-size: 2.2rem;
    color: #ff6b00;
    margin-bottom: 5px;
    font-weight: bold;
}

.site-tagline {
    font-size: 1rem;
    color: #cccccc;
}

/* Main Navigation */
.main-nav {
    background: #333;
    padding: 8px 0;
    margin: 10px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s;
}

.main-nav a:hover {
    color: #ff6b00;
    background: #444;
}

/* Content Layout */
.content-wrapper {
    display: flex;
    gap: 20px;
    margin: 20px;
    min-height: 500px;
}

.sidebar {
    width: 280px;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #333;
}

.sidebar h3 {
    color: #ff6b00;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.leagues-list, .teams-list {
    list-style: none;
}

.leagues-list li, .teams-list li {
    margin-bottom: 8px;
}

.leagues-list a, .teams-list a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    padding: 8px 5px;
    border-radius: 3px;
}

.leagues-list a:hover, .teams-list a:hover {
    color: #ff6b00;
    background: #2d2d2d;
}

.league-logo, .team-logo {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 3px;
}

.main-content {
    flex: 1;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #333;
}

/* Live Events */
.live-now-section h2 {
    color: #ff6b00;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.live-events-group, .upcoming-events-group {
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
}

.live-banner, .upcoming-banner {
    background: #ff0000;
    color: #fff;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

.upcoming-banner {
    background: #ff6b00;
}

.event-card {
    padding: 15px;
    border-bottom: 1px solid #333;
    background: #2d2d2d;
}

.event-card:last-child {
    border-bottom: none;
}

.match-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.tournament {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-actions {
    margin-top: 10px;
}

.watch-btn {
    background: #ff6b00;
    color: #000;
    padding: 8px 15px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    transition: background 0.3s;
}

.watch-btn:hover {
    background: #ff8c42;
}

.event-time {
    color: #ff6b00;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Event Page */
.event-page {
    padding: 20px;
}

.event-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.event-header h1 {
    color: #ff6b00;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.event-meta span {
    background: #333;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
}

.live-status, .upcoming-status {
    margin-top: 10px;
}

.live-badge, .upcoming-badge {
    background: #ff0000;
    color: #fff;
    padding: 8px 15px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.9rem;
}

.upcoming-badge {
    background: #ff6b00;
}

.stream-links-section {
    margin-top: 30px;
}

.stream-links-section h3 {
    color: #ff6b00;
    margin-bottom: 15px;
}

.stream-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.stream-link-btn {
    background: #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s;
    border: 1px solid #444;
}

.stream-link-btn:hover {
    background: #ff6b00;
    color: #000;
    border-color: #ff6b00;
}

.countdown-large {
    text-align: center;
    margin: 30px 0;
}

.countdown-timer-large {
    font-size: 2rem;
    color: #ff6b00;
    font-weight: bold;
    margin-top: 10px;
}

/* Stream Page */
.stream-page {
    padding: 20px;
}

.stream-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.back-btn {
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #ff6b00;
    color: #000;
}

.stream-header h1 {
    color: #ff6b00;
    font-size: 1.5rem;
}

/* Full Width Stream Page - No Scrollbars */
.stream-container-full {
    background: #000;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.embed-container-full {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden; /* Ensure no scrollbars */
}

.stream-embed-full {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden; /* Remove scrollbars */
    scrolling: no;
}

.stream-instructions {
    background: #ff6b00;
    color: #000;
    padding: 10px 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #000;
}

.bookmark-reminder {
    background: #2d2d2d;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #444;
    margin-top: 20px;
}

.bookmark-reminder p {
    color: #ff6b00;
    font-weight: bold;
    margin: 0;
}

/* Ensure no scrollbars on main page when stream is open */
.stream-page {
    padding: 20px;
    overflow: hidden; /* Prevent page scrollbars */
}

/* Additional iframe scrollbar prevention */
iframe {
    overflow: hidden !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}

iframe::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari and Opera */
}

/* Search Section */
.search-section {
    margin: 20px;
    display: flex;
    justify-content: center;
}

/* Sport Category Layout */
.sport-category {
    margin: 30px 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
}

.sport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-bottom: 2px solid #ff6b00;
}

.sport-title {
    color: #ff6b00;
    font-size: 1.4rem;
    margin: 0;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #ff6b00;
}

.view-all-link svg {
    transition: transform 0.3s;
}

.view-all-link:hover svg {
    transform: translateX(3px);
}

/* Events Grid for Categories */
.events-grid-category {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
}

/* Events Page Layout */
.events-page {
    margin: 20px;
}

.events-page h2 {
    color: #ff6b00;
    margin-bottom: 20px;
    text-align: center;
}

.events-page .event-box {
    margin-bottom: 15px;
}

/* Updated Event Box Styles for Full Clickability */
.event-box {
    position: relative;
    background: #2d2d2d;
    border-radius: 6px;
    border: 1px solid #444;
    transition: all 0.3s ease;
    overflow: hidden;
}

.event-box-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.event-box-link:hover {
    text-decoration: none;
    color: inherit;
}

.event-box:hover {
    transform: translateY(-2px);
    border-color: #ff6b00;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.event-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #333;
    border-bottom: 1px solid #444;
}

.badge-container {
    flex: 1;
}

.live-badge, .upcoming-badge {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.live-badge {
    background: #ff0000;
    color: #fff;
}

.upcoming-badge {
    background: #ff6b00;
    color: #000;
}

.open-arrow {
    color: #cccccc;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-box:hover .open-arrow {
    color: #ff6b00;
    background: #444;
}

.event-box-content {
    padding: 15px;
}

.match-title-box {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tournament-box {
    color: #cccccc;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.event-time-box {
    color: #ff6b00;
    font-size: 0.8rem;
    font-weight: bold;
}

.live-time {
    color: #ff0000;
}

/* Ensure pointer cursor for entire event box */
.event-box {
    cursor: pointer;
}

/* Remove any old styles that might interfere */
.event-box-link-old {
    display: none;
}

/* Responsive adjustments for event boxes */
@media (max-width: 768px) {
    .events-grid-category {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .sport-header {
        padding: 12px 15px;
    }
    
    .sport-title {
        font-size: 1.2rem;
    }
    
    .event-box-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .badge-container {
        width: 100%;
    }
    
    .open-arrow {
        align-self: flex-end;
        margin-top: -40px;
    }
}

@media (max-width: 480px) {
    .search-section {
        margin: 15px 10px;
    }
    
    .sport-category {
        margin: 20px 10px;
    }
    
    .events-page {
        margin: 15px 10px;
    }
    
    .events-grid-category {
        padding: 10px;
        gap: 10px;
    }
    
    .event-box-content {
        padding: 12px;
    }
    
    .live-badge, .upcoming-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Responsive adjustments for full stream */
@media (max-width: 768px) {
    .embed-container-full {
        height: 50vh;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .embed-container-full {
        height: 40vh;
        min-height: 250px;
    }
    
    .stream-instructions {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .bookmark-reminder {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Additional global styles to prevent scrollbars */
html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    overflow-x: hidden; /* Ensure container doesn't cause scroll */
}

/* Channels Grid */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.channel-card {
    background: #2d2d2d;
    border-radius: 5px;
    padding: 15px;
    border: 1px solid #444;
    transition: transform 0.3s;
}

.channel-card:hover {
    transform: translateY(-3px);
    border-color: #ff6b00;
}

.channel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.channel-name {
    color: #ff6b00;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.channel-country {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Search */
.search-form {
    display: flex;
    max-width: 600px;
    margin: 20px 0;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #ff6b00;
    border-radius: 3px 0 0 3px;
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
}

.search-btn {
    padding: 10px 20px;
    background: #ff6b00;
    color: #000;
    border: none;
    border-radius: 0 3px 3px 0;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #ff8c42;
}

.search-results h3 {
    color: #ff6b00;
    margin-bottom: 15px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-item {
    display: flex;
    background: #2d2d2d;
    border-radius: 3px;
    padding: 12px;
    border: 1px solid #444;
}

.event-time {
    width: 80px;
    color: #ff6b00;
    font-weight: bold;
    margin-right: 15px;
    font-size: 0.9rem;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.event-details p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.watch-link {
    color: #ff6b00;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.watch-link:hover {
    text-decoration: underline;
}

/* Ads */
.ad-container {
    margin: 15px 0;
    text-align: center;
    padding: 10px;
    background: #2d2d2d;
    border-radius: 3px;
}

.header-ad, .footer-ad {
    margin: 15px 0;
}

.body-ad {
    margin: 25px 0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 20px;
    border-top: 2px solid #333;
    margin-top: 30px;
}

.footer-content {
    text-align: center;
    margin-bottom: 15px;
}

.footer-content p {
    color: #cccccc;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Messages */
.no-events, .no-channels, .no-results, .error {
    text-align: center;
    padding: 40px 20px;
    color: #cccccc;
    font-size: 1.1rem;
}

/* Countdown Timers */
.countdown-timer, .timer {
    color: #ff6b00;
    font-weight: bold;
}

/* New Event Page Styles */
.event-page-new {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #333;
}

.event-header-new {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.event-title-new {
    color: #ff6b00;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.event-time-new {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.4;
}

/* Teams VS Section */
.teams-vs-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: #2d2d2d;
    border-radius: 8px;
    border: 1px solid #444;
}

.team-box {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.team-name {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
}

.vs-center {
    padding: 0 20px;
}

.vs-text {
    color: #ff6b00;
    font-size: 1.2rem;
    font-weight: bold;
    background: #333;
    padding: 10px 15px;
    border-radius: 50%;
    min-width: 60px;
    text-align: center;
}

/* Event Info Section */
.event-info-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    padding: 20px;
    background: #2d2d2d;
    border-radius: 8px;
    border: 1px solid #444;
}

.info-box {
    text-align: center;
}

.info-label {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: bold;
}

.info-value {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
}

.status-live {
    color: #ff0000;
}

.status-upcoming {
    color: #ff6b00;
}

.status-ended {
    color: #666;
}

/* New Stream Links Section */
.stream-links-section-new {
    margin: 40px 0;
}

.stream-links-section-new h3 {
    color: #ff6b00;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.stream-links-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

/* Clickable Stream Link Cards */
.stream-link-card {
    position: relative;
    background: #2d2d2d;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stream-link-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
}

.stream-link-card:hover {
    border-color: #ff6b00;
    transform: translateY(-2px);
}

.stream-link-header,
.stream-link-language,
.stream-link-button {
    position: relative;
    z-index: 2;
}

.stream-link-button {
    display: block;
    background: #ff6b00;
    color: #000;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    width: 100%;
}

.stream-link-card:hover .stream-link-button {
    background: #ff8c42;
    color: #000;
}

.stream-link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stream-link-number {
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
}

.stream-link-quality {
    color: #ff6b00;
    font-weight: bold;
    font-size: 0.9rem;
    background: #333;
    padding: 4px 8px;
    border-radius: 4px;
}

.stream-link-language {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.stream-link-button {
    display: block;
    background: #ff6b00;
    color: #000;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    width: 100%;
}

.stream-link-button:hover {
    background: #ff8c42;
    color: #000;
}

/* Additional Info Section */
.additional-info-section {
    margin: 40px 0;
    padding: 25px;
    background: #2d2d2d;
    border-radius: 8px;
    border: 1px solid #444;
}

.additional-info-section h3 {
    color: #ff6b00;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.additional-info-section h4 {
    color: #ff6b00;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.additional-info-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Event Ended Message */
.event-ended-message {
    text-align: center;
    padding: 40px 20px;
    background: #2d2d2d;
    border-radius: 8px;
    border: 1px solid #666;
    margin: 30px 0;
}

.event-ended-message p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Event Page Footer */
.event-page-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    margin-top: 30px;
}

.event-page-footer p {
    color: #666;
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Modern Embed Section Styles */
.modern-embed-section {
    margin: 40px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.embed-section-header {
    padding: 30px 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-bottom: 2px solid #ff6b00;
}

.embed-section-header h2 {
    color: #ff6b00;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.embed-section-header p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

/* Embed Code Display */
.embed-code-display {
    padding: 0;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 10px;
    background: #2d2d2d;
}

.code-header span {
    color: #ff6b00;
    font-weight: bold;
    font-size: 1.1rem;
}

.copy-btn-modern {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.copy-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.copy-btn-modern:active {
    transform: translateY(0);
}

.copy-icon {
    font-size: 1.1rem;
}

.embed-code {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    margin: 0 30px 30px;
    padding: 20px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #00ff88;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.embed-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6b00, transparent);
}

.embed-code code {
    display: block;
    white-space: pre;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-embed-section {
        margin: 30px 0;
        border-radius: 8px;
    }
    
    .embed-section-header {
        padding: 25px 20px 15px;
    }
    
    .embed-section-header h2 {
        font-size: 1.5rem;
    }
    
    .code-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .embed-code {
        margin: 0 20px 20px;
        padding: 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .embed-section-header {
        padding: 20px 15px 10px;
    }
    
    .embed-section-header h2 {
        font-size: 1.3rem;
    }
    
    .embed-code {
        margin: 0 15px 15px;
        padding: 12px;
        font-size: 0.75rem;
    }
    
    .copy-btn-modern {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Security enhancements */
.embed-code {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Hide scrollbar for code but keep functionality */
.embed-code::-webkit-scrollbar {
    height: 8px;
}

.embed-code::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.embed-code::-webkit-scrollbar-thumb {
    background: #ff6b00;
    border-radius: 4px;
}

.embed-code::-webkit-scrollbar-thumb:hover {
    background: #ff8c42;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-page-new {
        padding: 15px;
        margin: 10px;
    }
    
    .event-title-new {
        font-size: 1.4rem;
    }
    
    .teams-vs-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .team-box {
        padding: 15px;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .event-info-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .stream-links-grid-new {
        grid-template-columns: 1fr;
    }
    
    .additional-info-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .event-title-new {
        font-size: 1.2rem;
    }
    
    .team-name {
        font-size: 1.1rem;
    }
    
    .vs-text {
        font-size: 1rem;
        padding: 8px 12px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        margin: 15px;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .stream-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        gap: 10px;
    }
    
    .main-nav a {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .stream-links-grid {
        grid-template-columns: 1fr;
    }
    
    .channels-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-time {
        width: 100%;
        margin-bottom: 8px;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .main-nav ul {
        gap: 5px;
    }
    
    .main-nav a {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
    
    .content-wrapper {
        margin: 10px;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 3px;
        margin-bottom: 10px;
    }
    
    .search-btn {
        border-radius: 3px;
    }
}