:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --bg-color: #f5f6fa;
    --header-footer-color: #f8f9fa;
    --card-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, 0.12);
    --border-color: #d1d5db;
    --input-text-color: #2c3e50;
    --input-border-color: #d1d5db;
}

html.dark-theme {
    --primary-color: #5dade2;
    --secondary-color: #3498db;
    --accent-color: #ec7063;
    --text-color: #e8e8e8;
    --bg-color: #2c3e50;
    --header-footer-color: #34495e;
    --card-color: #3d4c5e;
    --shadow-color: rgba(0, 0, 0, 0.25);
    --border-color: #4a5568;
    --input-text-color: #ffffff;
    --input-border-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background-color: var(--header-footer-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
}

.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo {
    font-family: 'Arial', sans-serif;
    font-size: 28px;
    font-weight: 900;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    line-height: 1;
}

.logo a:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.logo a:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.logo a:hover::after {
    width: 100%;
}

html.dark-theme .logo a {
    color: var(--primary-color);
}

html.dark-theme .logo a::after {
    background: var(--primary-color);
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 40px;
}

.categories {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.categories li {
    position: relative;
    display: flex;
    align-items: center;
}

.categories li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    height: 40px;
    box-sizing: border-box;
}

.categories li a i {
    font-size: 12px;
}

.categories li a:hover {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-menu, .nested-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--header-footer-color);
    box-shadow: 0 4px 8px var(--shadow-color);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    list-style: none;
    display: none;
    z-index: 1000;
}

.dropdown-menu.active {
    display: block !important;
}

.nested-menu.active {
    display: block !important;
}

.nested-menu {
    left: 100%;
    top: 0;
    z-index: 1001;
}

.dropdown-menu li, .nested-menu li {
    padding: 0;
}

.dropdown-menu li a, .nested-menu li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    color: var(--text-color);
    white-space: nowrap;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-menu li a i, .nested-menu li a i {
    font-size: 10px;
}

.dropdown-menu li a:hover, .nested-menu li a:hover {
    background-color: var(--primary-color);
    color: white;
}

*::after {
    content: none !important;
}

.section-title::after {
    content: '' !important;
}

.fas.fa-chevron-down::after,
.fas.fa-chevron-right::after,
.fas.fa-chevron-up::after,
.fas.fa-chevron-left::after,
.fa-chevron-down::after,
.fa-chevron-right::after,
.fa-chevron-up::after,
.fa-chevron-left::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
}

*[class*="chevron"]::after,
*[class*="fa-"]::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.search-container {
    flex-grow: 1;
    max-width: 300px;
    margin-right: 30px;
}

.search-box {
    display: flex;
    align-items: center;
    position: relative;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid var(--input-border-color);
    border-radius: 20px;
    outline: none;
    background-color: var(--header-footer-color);
    color: var(--input-text-color);
    width: 100%;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-color);
    position: absolute;
    right: 10px;
    cursor: pointer;
}

.social-theme {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: var(--text-color);
    font-size: 18px;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 20px;
    border-radius: 20px;
    background-color: var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 5px;
    flex-shrink: 0;
}

.theme-toggle i {
    position: absolute;
    font-size: 12px;
    transition: all 0.3s ease;
}

.theme-toggle .fa-moon {
    opacity: 1;
    transform: translateX(0);
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: translateX(20px);
}

html.dark-theme .theme-toggle .fa-moon {
    opacity: 0;
    transform: translateX(-20px);
}

html.dark-theme .theme-toggle .fa-sun {
    opacity: 1;
    transform: translateX(0);
}

.mobile-search-btn {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.main-content {
    flex: 1;
    padding: 30px 0;
}

.section-title {
    text-align: left;
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.back-button-container {
    margin-bottom: 30px;
}

.back-button {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    transition: color 0.3s;
}

.back-button:hover {
    color: var(--primary-color);
}

.back-button i {
    font-size: 14px;
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    background-color: var(--card-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    overflow: hidden;
    display: flex;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.event-image {
    width: 30%;
    min-height: 150px;
    background-size: cover;
    background-position: center;
}

.event-info {
    width: 70%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-details {
    margin-bottom: 15px;
}

.event-time {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.event-description {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

.watch-btn {
    align-self: flex-end;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.watch-btn:hover {
    background-color: var(--secondary-color);
}

.footer {
    background-color: var(--bg-color);
    padding: 30px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content p {
    color: var(--text-color);
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.stream-content {
    flex: 1;
    padding: 30px 0;
}

.content-widget.mobile-widget {
    display: none;
    width: 100%;
    max-width: 320px;
    height: 50px;
    margin: 20px auto;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-widget.sidebar-widget {
    width: 160px;
    flex-shrink: 0;
    margin-left: 20px;
    height: 600px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.banner-placeholder {
    color: #e8e8e8;
    font-size: 12px;
    text-align: center;
    opacity: 0.5;
    font-style: italic;
}

.banner-placeholder span {
    display: block;
}

.stream-container {
    display: flex;
    gap: 5px;
}

.stream-player {
    flex: 1;
    background-color: var(--card-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    overflow: hidden;
}

.stream-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
    background-color: #000;
}

.stream-video .video-js {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #000;
    display: block;
}

.stream-video .video-js.vjs-fluid {
    padding-top: 0 !important;
}

.video-js .vjs-big-play-button {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 120px !important; 
    height: 60px !important; 
    border-radius: 8px !important; 
    background-color: rgba(0, 0, 0, 0.7) !important;
    border: 2px solid var(--primary-color) !important;
    font-size: 24px !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.video-js .vjs-big-play-button:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--secondary-color) !important;
}

.video-js .vjs-big-play-button .vjs-icon-placeholder:before {
    position: static !important;
    transform: none !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important; 
}

.video-js.vjs-playing .vjs-big-play-button,
.video-js.vjs-paused.vjs-has-started .vjs-big-play-button {
    display: none !important;
    opacity: 0 !important;
}

html.dark-theme .video-js .vjs-big-play-button {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border-color: var(--primary-color) !important;
}

html.dark-theme .video-js .vjs-big-play-button:hover {
    background-color: var(--primary-color) !important;
}

@media (max-width: 768px) {
    .video-js .vjs-big-play-button {
        width: 100px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    
    .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
        font-size: 28px !important; 
    }
}

@media (max-width: 480px) {
    .video-js .vjs-big-play-button {
        width: 80px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
        font-size: 24px !important; 
    }
}

.video-js .vjs-tech {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.video-js .vjs-control-bar {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 40px !important;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8)) !important;
}

html.dark-theme .video-js {
    background-color: #000;
}

html.dark-theme .video-js .vjs-control-bar {
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.9));
}

html.dark-theme .video-js .vjs-slider {
    background-color: rgba(255,255,255,0.2);
}
.video-js .vjs-big-play-button
html.dark-theme .video-js .vjs-play-progress {
    background-color: var(--primary-color);
}

html.dark-theme .video-js .vjs-big-play-button {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border-color: var(--primary-color) !important;
}

html.dark-theme .video-js .vjs-big-play-button:hover {
    background-color: var(--primary-color) !important;
}

.stream-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 10;
}

.stream-placeholder h1 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #888888;
}

.stream-placeholder p {
    color: #666666;
    margin-bottom: 5px;
    font-size: 14px;
}

.stream-info {
    padding: 20px;
    background-color: var(--card-color);
}

.stream-info h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.stream-info p {
    color: var(--text-color);
    margin-bottom: 5px;
    opacity: 0.8; 
}

#stream-info-time {
    font-size: 16px !important;
    color: var(--primary-color) !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
    opacity: 1 !important; 
}

#stream-info-description {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .stream-container {
        flex-direction: column;
    }
    
    .stream-player {
        width: 100%;
    }
    
    .video-js .vjs-big-play-button {
        width: 60px !important;
        height: 60px !important;
        font-size: 18px !important;
    }
    
    .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
        font-size: 28px !important; 
    }
    
    .stream-info h1 {
        font-size: 20px;
        font-weight: 600;
    }
    
    #stream-info-time {
        font-size: 16px !important;
        color: var(--primary-color) !important;
        font-weight: 500 !important;
    }
    
    #stream-info-description {
        font-size: 14px;
        opacity: 0.8; 
    }
    
    .stream-info {
        padding-top: 0;
        margin-top: 20px;
    }
    
    .stream-placeholder h1 {
        font-size: 20px;
    }
    
    .stream-placeholder p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .video-js .vjs-big-play-button {
        width: 50px !important;
        height: 50px !important;
        font-size: 16px !important;
    }
    
    .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
        font-size: 20px !important; 
    }
    
    .stream-info h1 {
        font-size: 18px;
        font-weight: 600;
    }
    
    #stream-info-time {
        font-size: 14px !important;
        color: var(--primary-color) !important;
        font-weight: 500 !important;
    }
    
    #stream-info-description {
        font-size: 14px;
        opacity: 0.8; 
    }
    
    .event-image {
        height: 245px; 
    }
}

.video-js.vjs-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
}

.video-js.vjs-fullscreen .vjs-tech {
    object-fit: contain !important;
}

@media (max-width: 992px) {
    .stream-container {
        flex-direction: column;
    }
    
    .stream-player {
        width: 100%;
    }
    
    .video-js .vjs-big-play-button {
        width: 60px !important;
        height: 60px !important;
        font-size: 18px !important;
    }
    
    .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
        font-size: 28px !important; 
    }
    
    .stream-info h1 {
        font-size: 20px;
        font-weight: 600;
    }
    
    #stream-info-time {
        font-size: 16px !important;
        color: var(--primary-color) !important;
        font-weight: 500 !important;
    }
    
    #stream-info-description {
        font-size: 14px;
        opacity: 0.8; 
    }
    
    .stream-info {
        padding-top: 0;
        margin-top: 20px;
    }
    
    .stream-placeholder h1 {
        font-size: 20px;
    }
    
    .stream-placeholder p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .video-js .vjs-big-play-button {
        width: 50px !important;
        height: 50px !important;
        font-size: 16px !important;
    }
    
    .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
        font-size: 20px !important; 
    }
    
    .stream-info h1 {
        font-size: 18px;
        font-weight: 600;
    }
    
    #stream-info-time {
        font-size: 14px !important;
        color: var(--primary-color) !important;
        font-weight: 500 !important;
    }
    
    #stream-info-description {
        font-size: 14px;
        opacity: 0.8; 
    }
    
    .event-image {
        height: 245px; 
    }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
    .video-js.vjs-fullscreen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 9999 !important;
    }
    
    .video-js.vjs-fullscreen .vjs-tech {
        object-fit: contain !important;
    }
}

html.dark-theme .video-js .vjs-big-play-button {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

html.dark-theme .video-js .vjs-big-play-button:hover {
    background-color: var(--primary-color);
}

html.dark-theme .video-js .vjs-control-bar button {
    color: white;
}

html.dark-theme .video-js .vjs-control-bar button:hover {
    color: var(--primary-color);
}

.video-js .vjs-tech {
    object-fit: cover;
}

.burger-menu {
    display: none;
    cursor: pointer;
}

.burger-icon {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: auto;
    max-height: 100vh;
    background-color: var(--header-footer-color);
    box-shadow: 2px 0 10px var(--shadow-color);
    z-index: 1100;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-radius: 0 0 8px 0;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    padding: 20px;
    position: relative;
    min-height: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-categories {
    list-style: none;
    margin-top: 40px;
}

.mobile-categories li {
    margin-bottom: 10px;
}

.mobile-categories li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 10px;
    border-radius: 4px;
}

.mobile-categories li a:hover {
    background-color: var(--primary-color);
    color: white;
}

.mobile-dropdown-menu, .mobile-nested-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
    list-style: none;
}

.mobile-dropdown-menu.active, .mobile-nested-menu.active {
    max-height: 1000px;
}

.mobile-social-theme {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding-left: 40px;
}

.mobile-social {
    display: flex;
    gap: 15px;
}

.mobile-social a {
    color: var(--text-color);
    font-size: 24px;
    transition: transform 0.2s;
}

.mobile-social a:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

.mobile-theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 20px;
    border-radius: 20px;
    background-color: var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 5px;
    flex-shrink: 0;
}

.mobile-theme-toggle i {
    position: absolute;
    font-size: 12px;
    transition: all 0.3s ease;
}

.mobile-theme-toggle .fa-moon {
    opacity: 1;
    transform: translateX(0);
}

.mobile-theme-toggle .fa-sun {
    opacity: 0;
    transform: translateX(20px);
}

html.dark-theme .mobile-theme-toggle .fa-moon {
    opacity: 0;
    transform: translateX(-20px);
}

html.dark-theme .mobile-theme-toggle .fa-sun {
    opacity: 1;
    transform: translateX(0);
}

.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.mobile-search-overlay.active {
    display: block;
}

.mobile-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--header-footer-color);
    z-index: 1100;
    display: none;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.mobile-search.active {
    display: flex;
}

.mobile-search-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.mobile-search-content input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--input-border-color);
    border-radius: 20px;
    outline: none;
    background-color: var(--header-footer-color);
    color: var(--input-text-color);
    font-size: 14px;
}

.mobile-search-submit {
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

.mobile-search-submit:hover {
    background-color: var(--secondary-color);
}

.mobile-search-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.overlay.active {
    display: block;
}

.no-scroll {
    overflow: hidden;
}

@media (max-width: 992px) {
    .main-nav, .search-container, .social-theme {
        display: none;
    }
    
    .burger-menu, .mobile-search-btn {
        display: flex;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-image {
        width: 100%;
        height: 320px; 
    }
    
    .event-info {
        width: 100%;
    }
    
    .stream-container {
        flex-direction: column;
    }
    
    .stream-player {
        width: 100%;
    }
    
    .content-widget.mobile-widget {
        display: flex;
    }
    
    .content-widget.sidebar-widget {
        display: none;
    }
    
    .stream-info {
        padding-top: 0;
        margin-top: 20px;
    }
    
    .stream-info h1 {
        font-size: 20px;
        font-weight: 600;
    }
    
    #stream-info-time {
        font-size: 16px !important;
        color: var(--primary-color) !important;
        font-weight: 500 !important;
    }
    
    #stream-info-description {
        font-size: 14px;
        opacity: 0.8; 
    }
    
    .stream-placeholder h1 {
        font-size: 20px;
    }
    
    .stream-placeholder p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .event-image {
        height: 280px; 
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }
    
    .event-title {
        font-size: 18px;
    }
    
    .event-time {
        font-size: 14px;
    }
    
    .footer-content p {
        font-size: 13px;
    }
    
    .stream-info h1 {
        font-size: 18px;
        font-weight: 600;
    }
    
    #stream-info-time {
        font-size: 14px !important;
        color: var(--primary-color) !important;
        font-weight: 500 !important;
    }
    
    #stream-info-description {
        font-size: 14px;
        opacity: 0.8; 
    }
    
    .event-image {
        height: 245px; 
    }
}

@media (max-width: 480px) {
    .event-image {
        height: 210px; 
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.event-card {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.dropdown-menu, .nested-menu {
    animation: slideIn 0.3s ease forwards;
}

.stream-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stream-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.donate-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #fff;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: #fff;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #0066aa, #004d7a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.stream-action-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .stream-buttons {
        gap: 10px;
        margin-top: 15px;
    }
    
    .stream-action-btn {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 110px;
    }
}

.stream-video iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background-color: #000;
}

.external-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 15px;
    box-sizing: border-box;
}

.external-player-container h2 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.external-player-container p {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.external-player-button {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.external-player-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.external-player-button:active {
    transform: translateY(0);
}

.external-player-button i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .external-player-container {
        padding: 12px;
    }
    
    .external-player-container h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .external-player-container p {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .external-player-button {
        padding: 10px 20px;
        font-size: 13px;
        gap: 6px;
    }
    
    .external-player-button i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .external-player-container {
        padding: 10px;
    }
    
    .external-player-container h2 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .external-player-container p {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .external-player-button {
        padding: 9px 18px;
        font-size: 12px;
        gap: 5px;
    }
    
    .external-player-button i {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .external-player-container h2 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .external-player-container p {
        font-size: 11px;
        margin-bottom: 12px;
    }
    
    .external-player-button {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .external-player-button i {
        font-size: 12px;
    }
}

.stream-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
    background-color: #000;
    overflow: hidden;
}

.external-player-button i.fas.fa-play {
    font-size: 1em;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
}

.external-player-button i.fas.fa-play::before {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 1;
}

.external-player-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.external-player-button i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

