@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #FAD61A;
    --secondary-color: #2A5BD7;
    --background-color: #171717;
    --secondary-bg: #1E1E1E;
    --card-bg: #252525;
    --text-color: #FFFFFF;
    --text-secondary: #AAAAAA;
    --youtube-color: #FF0000;
    --twitch-color: #9146FF;
    --tiktok-color: #000000;
    --discord-color: #5865F2;
    --telegram-color: #26A5E4;
    --border-radius: 10px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --glow-shadow: 0 0 15px rgba(250, 214, 26, 0.5);
}

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

body {
    font-family: 'Montserrat', 'e-Ukraine', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.website-container {
    display: flex;
    min-height: 100vh;
}


.sidebar {
    width: 280px;
    background-color: var(--secondary-bg);
    position: fixed;
    height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: var(--glow-shadow);
    margin-bottom: 1rem;
    object-fit: cover;
}

.sidebar h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.sidebar-nav li.active {
    background-color: rgba(250, 214, 26, 0.1);
}

.sidebar-nav li:hover {
    background-color: rgba(250, 214, 26, 0.05);
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav a i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.sidebar-nav li.active a {
    color: var(--primary-color);
}


.main-content {
    flex: 1;
    margin-left: 280px;
    padding-bottom: 2rem;
}

.content-section {
    padding: 3rem 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}


.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.cta-button i {
    margin-right: 8px;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: #000000;
}

.cta-button.primary:hover {
    background-color: #e8c619;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}


.hero-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 91, 215, 0.8), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}


.platform-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.platform-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 300px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.platform-card:hover {
    transform: translateY(-10px);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.youtube-card .platform-icon {
    color: var(--youtube-color);
}

.twitch-card .platform-icon {
    color: var(--twitch-color);
}

.tiktok-card .platform-icon {
    color: #fff;
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.platform-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: transparent;
    border: 2px solid;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.youtube-card .platform-link {
    color: var(--youtube-color);
    border-color: var(--youtube-color);
}

.youtube-card .platform-link:hover {
    background-color: var(--youtube-color);
    color: white;
}

.twitch-card .platform-link {
    color: var(--twitch-color);
    border-color: var(--twitch-color);
}

.twitch-card .platform-link:hover {
    background-color: var(--twitch-color);
    color: white;
}

.tiktok-card .platform-link {
    color: white;
    border-color: white;
}

.tiktok-card .platform-link:hover {
    background-color: white;
    color: black;
}


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

.tournament-header {
    text-align: center;
    margin-bottom: 30px;
}

.tournament-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.tournament-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.tournament-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tournament-card {
    background-color: #222;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    max-height: 250px;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.tournament-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}


.tournament-status.upcoming,
[class*="tournament-status"][class*="МАЙБУТНІЙ"] {
    background-color: #FFC107; 
    color: #000000;
}

.tournament-status.ongoing,
.tournament-status.underway,
[class*="tournament-status"][class*="ТРИВАЄ"] {
    background-color: #4CAF50; 
    color: #FFFFFF; 
}

.tournament-status.finished,
[class*="tournament-status"][class*="ЗАВЕРШЕНО"] {
    background-color: #F44336; 
    color: #FFFFFF;
}


.tournament-status.ongoing:before,
.tournament-status.underway:before,
[class*="tournament-status"][class*="ТРИВАЄ"]:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

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

.tournament-card h4 {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 12px;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    max-height: 48px; 
    padding-right: 90px; 
}

.tournament-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.tournament-meta span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #ccc;
}

.tournament-meta i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: #999;
}

.tournament-meta span i.fa-trophy {
    color: #FFD700;
}

.winner-info {
    margin-top: 5px;
    margin-bottom: 10px;
}

.winner-info span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #FFD700;
    font-weight: bold;
}

.winner-info i.fa-trophy {
    margin-right: 8px;
    color: #FFD700;
}

.tournament-actions {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.tournament-link, 
.tournament-actions .cta-button {
    flex: 1;
    padding: 8px 6px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.tournament-link {
    background-color: #FFD700;
    color: #333;
}

.tournament-link:hover {
    background-color: #f0c800;
}

.tournament-actions .cta-button.secondary {
    background-color: #444;
    color: white;
}

.tournament-actions .cta-button.secondary:hover {
    background-color: #555;
}

.tournament-link i, 
.tournament-actions .cta-button i {
    margin-right: 4px;
    font-size: 12px;
}

.all-tournaments-btn {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.all-tournaments-btn .cta-button {
    background-color: #FFD700;
    color: #333;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.all-tournaments-btn .cta-button:hover {
    background-color: #f0c800;
}

.matches-section {
    margin-top: 50px;
}

.matches-filter {
    background-color: #222;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-select {
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.filter-select:focus {
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.matches-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.match-card {
    background-color: #222;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    min-height: 140px;
}

.match-card:hover {
    transform: translateY(-3px);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.match-round {
    font-size: 12px;
    color: #999;
}

.match-status {
    font-size: 0.8em;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
}

.match-status.finished {
    background-color: #FFEBEE;
    color: #F44336;
}

.match-status.open {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.match-status.pending {
    background-color: #FFF8E1;
    color: #FFC107;
}

.match-players {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
    padding: 8px;
    background-color: #333;
    border-radius: 5px;
}

.match-players .player {
    flex: 1;
    padding: 5px 10px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-players .player.winner {
    font-weight: bold;
    color: #FFD700;
}

.match-players .vs {
    padding: 0 10px;
    color: #999;
    font-size: 0.9em;
}

.match-details {
    margin-top: 8px;
    font-size: 13px;
    color: #ccc;
}

.match-winner {
    margin-top: 5px;
    font-weight: bold;
}

.match-link {
    color: #FFD700;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
    padding-top: 8px;
    font-weight: 500;
    font-size: 13px;
}

.match-link:hover {
    text-decoration: underline;
}

.tournament-matches-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tournament-matches-header h3 {
    font-size: 22px;
    margin: 0;
}

.tournament-meta-info {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #ccc;
}

.bracket-link {
    color: #FFD700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bracket-link:hover {
    text-decoration: underline;
}

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

.video-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.video-card:hover .play-button {
    opacity: 1;
}

.play-button i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.video-info {
    padding: 1rem;
}

.video-info h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.meta-item i {
    margin-right: 0.3rem;
    font-size: 0.8rem;
}

.tab-container {
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    overflow-x: visible;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.community-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.community-card {
    display: flex;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.community-card:hover {
    transform: translateX(10px);
}

.community-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    font-size: 2rem;
}

.community-content {
    margin-left: 1rem;
}

.community-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.community-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.new-footer {
    background-color: #191919;
    padding: 3rem 0 1rem;
    color: #AAAAAA;
    border-top: 1px solid #333333;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid #FAD61A;
}

.footer-title h3 {
    color: #FAD61A;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.footer-title p {
    font-size: 0.9rem;
    color: #888888;
}

.footer-nav h4,
.footer-social h4,
.footer-contact h4 {
    color: #FAD61A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: #AAAAAA;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: #FAD61A;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333333;
    font-size: 0.9rem;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #ccc;
}

.loading i {
    margin-right: 10px;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.error-message {
    padding: 15px;
    background-color: rgba(244, 67, 54, 0.1);
    border-left: 3px solid #F44336;
    margin: 10px 0;
    color: #F44336;
}

.no-tournaments-message,
.no-matches-message {
    padding: 30px;
    background-color: #222;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 240px;
    }
    
    .main-content {
        margin-left: 240px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 70px;
        padding: 1rem 0.5rem;
    }
    
    .sidebar-header h2, 
    .sidebar-nav a span {
        display: none;
    }
    
    .sidebar-nav a i {
        font-size: 1.5rem;
        margin-right: 0;
    }
    
    .profile-pic {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    .main-content {
        margin-left: 70px;
    }
    
    .tournament-cards,
    .matches-list {
        grid-template-columns: 1fr;
    }
    
    .tournament-matches-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-profile-pic {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-nav li {
        margin-bottom: 0.5rem;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
    
    .platform-card {
        width: 100%;
    }
    
    .tournament-cards {
        grid-template-columns: 1fr;
    }
    
    .tournament-card p {
        min-height: auto;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 2rem 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-social-icons {
        gap: 0.5rem;
    }
    
    .footer-social .social-icon {
        width: 36px;
        height: 36px;
    }
}

.new-footer {
    background-color: #191919;
    padding: 3rem 0 1rem;
    color: #AAAAAA;
    border-top: 1px solid #333333;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid #FAD61A;
}

.footer-title h3 {
    color: #FAD61A;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.footer-title p {
    font-size: 0.9rem;
    color: #888888;
}

.footer-nav h4,
.footer-social h4,
.footer-contact h4 {
    color: #FAD61A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: #AAAAAA;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: #FAD61A;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #252525;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footer-social .social-icon.youtube:hover {
    background-color: #FF0000;
    color: white;
}

.footer-social .social-icon.twitch:hover {
    background-color: #9146FF;
    color: white;
}

.footer-social .social-icon.tiktok:hover {
    background-color: #000000;
    color: white;
}

.footer-social .social-icon.discord:hover {
    background-color: #5865F2;
    color: white;
}

.footer-social .social-icon.telegram:hover {
    background-color: #26A5E4;
    color: white;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact a {
    color: #FAD61A;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333333;
    font-size: 0.9rem;
}

.playlist-section {
    margin-bottom: 3rem;
}

.playlist-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.playlist-search {
    flex: 1;
    max-width: 400px;
}

.playlist-search input {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: var(--border-radius);
    background-color: #333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: inherit;
}

.playlist-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(250, 214, 26, 0.2);
}

.playlist-sort select {
    padding: 0.7rem 1rem;
    border-radius: var(--border-radius);
    background-color: #333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23AAAAAA"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.playlist-sort select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(250, 214, 26, 0.2);
}

.playlist-card {
    background-color: #222;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.playlist-card:hover {
    transform: translateX(10px);
    background-color: #2a2a2a;
}

.playlist-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 1.2rem;
    min-width: 40px;
    text-align: center;
}

.playlist-info {
    flex: 1;
}

.playlist-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.playlist-meta {
    font-size: 0.9rem;
    color: #aaa;
}

.playlist-button {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--primary-color);
    color: #000;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
    margin-left: 15px;
    white-space: nowrap;
}

.playlist-button:hover {
    background-color: #e8c619;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.playlist-badge {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    vertical-align: middle;
}

.playlist-badge i {
    font-size: 1.2rem;
    margin-right: 5px;
}

.trophy-icon {
    color: gold;
}

.heart-icon {
    color: #2196F3;
}

.thumbs-up-icon {
    color: #FFD700;
}
.playlist-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    align-items: center;
    gap: 1rem;
}

.playlist-search {
    flex: 0 1 auto;
    width: 300px; 
}

.playlist-search input {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: var(--border-radius);
    background-color: #333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: inherit;
}

.playlist-sort {
    flex: 0 0 auto; 
}

.playlist-sort select {
    padding: 0.7rem 1rem;
    border-radius: var(--border-radius);
    background-color: #333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23AAAAAA"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    width: auto;
}
.tournament-winner-banner {
    background-color: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    color: #FFD700;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.tournament-winner-banner i {
    margin-right: 10px;
    font-size: 20px;
}

.matches-container {
    max-width: 900px; 
    margin: 0 auto; 
    padding: 0 15px;
}


.tournament-matches-header {
    background-color: #252525;
    border-radius: 8px 8px 0 0;
    padding: 15px 20px;
    margin-bottom: 0;
    border-bottom: 1px solid #333;
}


.match-row {
    background-color: #222;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}


.match-header {
    background-color: #2a2a2a;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}


.match-players {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}


.vs {
    font-weight: bold;
    color: #777;
    text-align: center;
    margin: 0 10px;
}


.winner {
    color: #FFD700;
    font-weight: bold;
}

.winner-icon {
    color: #FFD700;
    margin-left: 5px;
}


.match-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}


.match-details {
    padding: 0 15px 15px;
    color: #aaa;
    font-size: 13px;
}


.round-header {
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.round-header h4 {
    color: #FFD700;
    font-size: 18px;
    margin: 0;
}


.match-link {
    display: block;
    text-align: center;
    padding: 8px 0;
    background-color: #2a2a2a;
    color: #FFD700;
    text-decoration: none;
    border-top: 1px solid #333;
    transition: background-color 0.2s;
}

.match-link:hover {
    background-color: #333;
}

.platform-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


.twitch-card {
    border: 1px solid #6441a5;
}

.twitch-card.streaming {
    border: 2px solid #f33;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 51, 51, 0.4);
}


.platform-header {
    margin-bottom: 15px;
}

.platform-header i {
    font-size: 3rem;
    color: #6441a5;
    margin-bottom: 10px;
    display: block;
}

.twitch-card.streaming .platform-header i {
    color: #f33;
}

.platform-header h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}


.stream-info {
    margin: 15px 0;
    min-height: 80px;
}

.stream-info strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
    line-height: 1.4;
}

.viewer-count {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(100, 65, 165, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
}

.twitch-card.streaming .viewer-count {
    background-color: rgba(255, 51, 51, 0.2);
}

.viewer-count i {
    margin-right: 5px;
}


.platform-link.twitch-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #6441a5;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    margin-top: 10px;
}

.platform-link.twitch-btn:hover {
    background-color: #7d5bbe;
    transform: translateY(-2px);
}

.twitch-card.streaming .platform-link.twitch-btn {
    background-color: #f33;
}

.twitch-card.streaming .platform-link.twitch-btn:hover {
    background-color: #ff5555;
}


.live-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f33;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    animation: pulse 2s infinite;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.twitch-card.streaming .live-indicator {
    opacity: 1;
    transform: translateY(0);
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    margin-right: 5px;
    animation: blink 1s infinite;
}

.live-text {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 51, 51, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}
.contact-card {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--box-shadow);
        }
        
        .contact-methods {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .contact-method {
            background-color: var(--secondary-bg);
            border-radius: var(--border-radius);
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: var(--transition);
        }
        
        .contact-method:hover {
            transform: translateY(-5px);
            box-shadow: var(--box-shadow);
        }
        
        .contact-icon {
            width: 60px;
            height: 60px;
            background-color: rgba(250, 214, 26, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            color: var(--primary-color);
            font-size: 1.5rem;
        }
        
        .contact-method h3 {
            margin-bottom: 0.5rem;
        }
        
        .contact-method p {
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }
        
        .contact-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }
        
        .contact-link:hover {
            text-decoration: underline;
        }
        
        .contact-form {
            display: grid;
            gap: 1.5rem;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
        }
        
        .form-group label {
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .form-group input,
        .form-group textarea {
            padding: 0.8rem 1rem;
            background-color: var(--secondary-bg);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius);
            color: var(--text-color);
            font-family: inherit;
            transition: var(--transition);
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(250, 214, 26, 0.2);
        }
        
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        
        .submit-btn {
            padding: 0.8rem 2rem;
            background-color: var(--primary-color);
            color: #000;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: inline-block;
            justify-self: start;
        }
        
        .submit-btn:hover {
            background-color: #e8c619;
            transform: translateY(-3px);
            box-shadow: var(--box-shadow);
        }
        
        .social-section {
            text-align: center;
            margin-top: 3rem;
        }
        
        .social-contacts {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .social-contact {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: var(--card-bg);
            color: var(--text-color);
            text-decoration: none;
            font-size: 1.5rem;
            transition: var(--transition);
        }
        
        .social-contact:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: var(--box-shadow);
        }
        
        .social-contact.youtube:hover {
            background-color: var(--youtube-color);
            color: white;
        }
        
        .social-contact.twitch:hover {
            background-color: var(--twitch-color);
            color: white;
        }
        
        .social-contact.tiktok:hover {
            background-color: var(--tiktok-color);
            color: white;
        }
        
        .social-contact.discord:hover {
            background-color: var(--discord-color);
            color: white;
        }
        
        .social-contact.telegram:hover {
            background-color: var(--telegram-color);
            color: white;
        }
		        .community-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .community-feature-card {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            transition: var(--transition);
            box-shadow: var(--box-shadow);
            display: flex;
            flex-direction: column;
        }
        
        .community-feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        }
        
        .card-header {
            position: relative;
            height: 180px;
            overflow: hidden;
        }
        
        .card-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .card-header .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .card-header .icon {
            font-size: 3rem;
            color: var(--primary-color);
        }
        
        .card-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .card-content h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        
        .card-content p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }
        
        .feature-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.8rem 1.5rem;
            background-color: var(--primary-color);
            color: #000;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            align-self: flex-start;
        }
        
        .feature-button:hover {
            background-color: #e8c619;
            transform: translateY(-3px);
            box-shadow: var(--box-shadow);
        }
        
        .feature-button i {
            margin-right: 0.5rem;
        }
        
        .community-stats {
            display: flex;
            justify-content: space-between;
            background-color: var(--secondary-bg);
            padding: 2rem;
            border-radius: var(--border-radius);
            margin-bottom: 3rem;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .stat-item {
            text-align: center;
            flex: 1;
            min-width: 150px;
        }
        
        .stat-value {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        .stat-label {
            color: var(--text-secondary);
            font-size: 1rem;
        }
        
        .mapban-demo {
            background-color: var(--card-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            padding: 2rem;
            margin-top: 3rem;
        }
        
        .mapban-demo img {
            width: 100%;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
        }
        
        .mapban-demo h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .mapban-demo p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

:root {
    --scrollbar-thumb: #FAD61A;
    --scrollbar-track: #252525;
    --scrollbar-size: 10px;
    --scrollbar-hover: #e8c619;
}

::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 5px;
    border: 2px solid var(--scrollbar-track);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-hover);
}

::-webkit-scrollbar-corner {
    background: var(--scrollbar-track);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.tournament-cards, .videos-grid, .matches-container {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}