/* body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: #fff;
}

.container {
    max-width: 1024px;
    margin: auto;
    padding: 1rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.btn {
    background: #1e90ff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: #0d75d8;
}

.match-card {
    background: #111;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.match-card img {
    height: 50px;
}

.team-logos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.team-logos span {
    font-weight: bold;
}

.video-container {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.server-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.server-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #ff4500;
    color: #fff;
}

.server-btn.active {
    background: #32cd32;
}

.error {
    color: red;
    text-align: center;
    margin-top: 2rem;
} */


/* 
body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #0f0f0f;
    color: #f3f4f6;
}


.back-nav {
    margin: 0.5rem;
    padding: 0.5rem;
    background: linear-gradient(to right, rgba(56, 189, 248, .2), rgba(249, 115, 22, .2));
    border-radius: 6px;
}

.back-link {
    color: #f3f4f6;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.back-link:hover {
    text-decoration: underline;
}


.layout {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    background: linear-gradient(to right, rgba(56, 189, 248, .2), rgba(249, 115, 22, .2));
}

@media (min-width: 1024px) {
    .layout {
        flex-direction: row;
    }
}


.sidebar {
    display: none;
}

@media (min-width: 640px) {
    .sidebar {
        display: block;
        flex: 0 0 20%;
        background: #1f2937;
        border-radius: 8px;
        padding: 1rem;
    }
}

.ad-box {
    text-align: center;
}

.ad-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.ad-box h2 {
    color: #facc15;
    margin-bottom: 0.5rem;
}

.contact-box {
    background: #374151;
    padding: 0.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.contact-box a {
    color: #fbbf24;
}


.player-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.player-header {
    background: #1f2937;
    padding: 0.75rem;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-header h1 {
    font-size: 1rem;
    font-weight: 600;
}

.share-btn {
    background: #0284c7;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
}

.share-btn:hover {
    background: #0369a1;
}

.share-menu {
    position: absolute;
    right: 1rem;
    top: 3rem;
    background: white;
    color: black;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}

.share-menu button {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
}

.share-menu button:hover {
    background: #f3f4f6;
}

.hidden {
    display: none;
}


.video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    background: black;
}

.video-container video,
.video-container iframe {
    width: 100%;
    height: 100%;
}

.controls {
    background: #1f2937;
    padding: 0.75rem;
    border-radius: 0 0 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.server-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.server-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    background: #f97316;
    color: white;
}

.server-btn:hover {
    background: #ea580c;
}

.server-btn.active {
    background: #0ea5e9;
}

.info-text {
    text-align: center;
    font-size: 0.8rem;
    color: #d1d5db;
}

.chat {
    display: none;
}

@media (min-width: 1024px) {
    .chat {
        display: block;
        flex: 0 0 20%;
        background: #1f2937;
        border-radius: 8px;
        overflow: hidden;
    }
}

.chat-header {
    background: #0284c7;
    color: white;
    padding: 0.75rem;
    text-align: center;
}

.chat-frame {
    width: 100%;
    height: 400px;
    border: none;
} */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: #f1f1f1;
}

/* Back breadcrumb */
.breadcrumb {
    margin: .5rem;
    background: linear-gradient(to right, rgba(56, 189, 248, 0.2), rgba(249, 115, 22, 0.2));
    padding: .5rem;
    border-radius: .4rem;
}

.back-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.header-bar h1 {
    font-size: 1rem;
    font-weight: 600;
}

/* Layout */
.player-layout {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .5rem;
    background: linear-gradient(to right, rgba(56, 189, 248, 0.2), rgba(249, 115, 22, 0.2));
}

@media (min-width: 1024px) {
    .player-layout {
        flex-direction: row;
        align-items: start;
    }
}

/* Sidebar */
.sidebar {
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: .5rem;
    padding: 1rem;
    display: none;
}

@media (min-width: 640px) {
    .sidebar {
        display: block;
        max-width: 20%;
    }
}

.ad-card {
    text-align: center;
}

.ad-logo {
    height: 60px;
    margin-bottom: .5rem;
}

.ad-card h2 {
    color: #fbbf24;
    margin-bottom: .3rem;
}

.contact-box {
    background: #2d2d2d;
    padding: .8rem;
    border-radius: .4rem;
    margin-top: 1rem;
}

.contact-mail {
    color: #fbbf24;
    font-weight: bold;
    text-decoration: none;
}

.contact-mail:hover {
    text-decoration: underline;
}

/* Main Player */
.main-player {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f1f1f;
    padding: .75rem;
    border-radius: .5rem .5rem 0 0;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: #0284c7;
    border: none;
    padding: .4rem .8rem;
    border-radius: .3rem;
    color: #fff;
    cursor: pointer;
}

.dropdown-btn:hover {
    background: #0369a1;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    color: black;
    border-radius: .4rem;
    border: 1px solid #ddd;
    margin-top: .4rem;
    min-width: 10rem;
}

.dropdown-menu button {
    display: block;
    width: 100%;
    padding: .5rem 1rem;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.dropdown-menu button:hover {
    background: #f3f4f6;
}

.dropdown.show .dropdown-menu {
    display: block;
}

/* Video */
.video-container {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Controls */
.controls {
    background: #1f1f1f;
    padding: .8rem;
    border-radius: 0 0 .5rem .5rem;
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
}

@media (min-width: 640px) {
    .controls {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }
}

.server-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.server-btn {
    background: #f97316;
    color: white;
    border: none;
    padding: .4rem .8rem;
    font-size: .85rem;
    border-radius: .3rem;
    cursor: pointer;
}

.server-btn:hover {
    background: #ea580c;
}

.server-btn.active {
    background: #0284c7;
}

.live-info p {
    font-size: .85rem;
    margin: 0;
    text-align: center;
}

.live-info span {
    font-weight: bold;
}

/* Chat */
.chat-box {
    background: #1f1f1f;
    border-radius: .5rem;
    border: 1px solid #333;
    overflow: hidden;
}

.chat-header {
    background: #0284c7;
    color: white;
    padding: .6rem;
    font-weight: bold;
}

.chat-box iframe {
    width: 100%;
    height: 400px;
}

/* Disclaimer */
/* Disclaimer Section */
.disclaimer-section {
    padding: 2rem 1rem;
    background: #f9fafb;
    /* light background */
}

body.dark .disclaimer-section {
    background: #111827;
    /* dark mode adjustment */
}

.disclaimer-card {
    max-width: 800px;
    margin: auto;
    background: #fff;
    color: #333;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.dark .disclaimer-card {
    background: #1f2937;
    color: #ddd;
    border-color: #374151;
}

.disclaimer-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.disclaimer-icon {
    font-size: 2rem;
    color: #fbbf24;
    /* amber */
    flex-shrink: 0;
}

.disclaimer-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 .3rem;
}

.disclaimer-header p {
    font-size: .9rem;
    color: #555;
}

body.dark .disclaimer-header p {
    color: #9ca3af;
}

.disclaimer-body p {
    font-size: .9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.disclaimer-body strong {
    font-weight: 600;
}

.disclaimer-warning {
    margin-top: 1rem;
    padding: 1rem;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: .5rem;
    font-size: .9rem;
    color: #92400e;
}

body.dark .disclaimer-warning {
    background: rgba(146, 64, 14, 0.2);
    border-color: #92400e;
    color: #fcd34d;
}

.disclaimer-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .9rem;
}

.disclaimer-links a {
    color: #d97706;
    /* amber link */
    text-decoration: none;
    font-weight: 500;
}

.disclaimer-links a:hover {
    text-decoration: underline;
}

.dropdown-menu {
    display: none;
    z-index: 100;
}

.dropdown.show .dropdown-menu {
    display: block;
}


/* Navbar Base */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

body.dark .navbar {
    background: #0f172a;
    border-color: #1e293b;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
}

.logo img {
    height: 48px;
    width: auto;
}

/* Links */
.nav-links {
    display: none;
}

.nav-links a {
    margin: 0 12px;
    color: #111;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
}

body.dark .nav-links a {
    color: #ccc;
}

.nav-links a:hover {
    color: #0ea5e9;
}

/* sky-500 */

/* Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-gradient {
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 6px;
    background: linear-gradient(to right, #0ea5e9, #f97316);
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-gradient:hover {
    opacity: 0.9;
}

/* User menu */
.user-menu {
    position: relative;
}

.avatar {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    overflow: hidden;
}

body.dark .dropdown {
    background: #1f2937;
    color: #ddd;
}

.dropdown a,
.dropdown p,
.dropdown button {
    display: block;
    padding: 10px 12px;
    text-align: left;
    font-size: 14px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown a:hover,
.dropdown button:hover {
    background: #f1f5f9;
}

body.dark .dropdown a:hover {
    background: #0ea5e9;
    color: white;
}

.dropdown .logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: red;
    width: 100%;
}

/* Mobile */
.menu-toggle {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

body.dark .mobile-nav {
    background: #0f172a;
}

.mobile-nav a {
    padding: 0.5rem 0;
    color: #111;
    text-decoration: none;
    font-weight: 500;
}

body.dark .mobile-nav a {
    color: #eee;
}

.mobile-nav a:hover {
    color: #0ea5e9;
}

/* Responsive */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .menu-toggle,
    .mobile-nav {
        display: none;
    }
}

.work {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.work-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
}