* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #8B0000;
            --secondary: #D4AF37;
            --dark: #1a1a1a;
            --light: #f5f5f5;
            --accent: #C00000;
        }

        body {
            background-color: #0a0a0a;
            color: var(--light);
            overflow-x: hidden;
        }

        header {
            background: linear-gradient(to right, var(--primary), #5a0000);
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

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

        .logo {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            overflow: hidden;
            background: white;
            padding: 5px;
        }

        .logo img {
            /*width: 100%;
            height: 100%;
            object-fit: contain;*/
            width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
        }

        .logo-text h1 {
            font-size: 28px;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .logo-text p {
            color: var(--secondary);
            font-size: 14px;
            letter-spacing: 1px;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 3px 0;
            transition: all 0.3s ease;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin: 0 15px;
        }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 18px;
            padding: 8px 15px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        nav ul li a:hover, nav ul li a.active {
            background-color: var(--secondary);
            color: var(--dark);
        }

        .hero {
            height: 80vh;
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                        url('../images/rooster1.jpg') no-repeat 50% 23%/cover;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero h2 {
            font-size: 48px;
            margin-bottom: 20px;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        }

        .hero p {
            font-size: 20px;
            margin-bottom: 30px;
            color: #ddd;
        }

        .btn {
            display: inline-block;
            background: var(--secondary);
            color: var(--dark);
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: 18px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

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

        .section-title {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .section-title h2 {
            font-size: 36px;
            color: var(--secondary);
            display: inline-block;
            padding-bottom: 10px;
        }

        .section-title h2:after {
            content: '';
            position: absolute;
            width: 100px;
            height: 3px;
            background: var(--primary);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .calendar-container {
            background: rgba(30, 30, 30, 0.8);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            margin-bottom: 50px;
        }

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

        .calendar-header h3 {
            color: var(--secondary);
            font-size: 24px;
        }

        .calendar-controls {
            display: flex;
            gap: 10px;
        }

        .calendar-controls button {
            background: var(--primary);
            border: none;
            color: white;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .calendar-controls button:hover {
            background: var(--secondary);
            color: var(--dark);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 10px;
            margin-top: 20px;
        }

        .calendar-day {
            background: rgba(139, 0, 0, 0.3);
            padding: 15px 5px;
            text-align: center;
            border-radius: 5px;
            font-weight: 600;
            font-size: 14px;
            color: var(--secondary);
        }

        .calendar-date {
            background: rgba(40, 40, 40, 0.7);
            padding: 15px 5px;
            text-align: center;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 500;
        }

        .calendar-date:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        .calendar-date.event {
            background: rgba(212, 175, 55, 0.3);
            position: relative;
        }

        .calendar-date.event:after {
            content: '';
            position: absolute;
            top: 5px;
            right: 5px;
            width: 8px;
            height: 8px;
            background: var(--secondary);
            border-radius: 50%;
        }

        .calendar-date.active {
            background: var(--secondary) !important;
            color: var(--dark);
            font-weight: bold;
        }

        .calendar-date.today {
            background: rgba(139, 0, 0, 0.7) !important;
            border: 2px solid var(--secondary);
        }

        .calendar-date.prev-month,
        .calendar-date.next-month {
            opacity: 0.4;
            color: #777;
        }

        .streaming-section {
            margin: 50px 0;
        }

        .stream-container {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
        }

        .main-stream {
            background: rgba(30, 30, 30, 0.8);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }

        .stream-video {
            height: 400px;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .stream-video img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .stream-video .loading-spinner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: 4px solid var(--light);
            border-top: 4px solid var(--secondary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            display: none; /* Shown via JS when buffering */
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

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

        .stream-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3); /* Less opaque */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            transition: opacity 0.3s ease;
        }

        .stream-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .stream-info {
            padding: 20px;
        }

        .stream-info h3 {
            color: var(--secondary);
            margin-bottom: 10px;
        }

        .stream-info p {
            color: #ccc;
            margin-bottom: 15px;
        }

        .stream-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #444;
        }

        .stat {
            text-align: center;
        }

        .stat i {
            color: var(--secondary);
            font-size: 24px;
            margin-bottom: 5px;
        }

        .upcoming-fights {
            background: rgba(30, 30, 30, 0.8);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }

        .upcoming-fights h3 {
            color: var(--secondary);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-top: 1px solid #444;
        }

        .fight-card {
            background: rgba(50, 50, 50, 0.7);
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .fight-card:hover {
            background: rgba(139, 0, 0, 0.3);
            transform: translateX(5px);
        }

        .fight-card h4 {
            color: white;
            margin-bottom: 8px;
        }

        .fight-card p {
            color: #ccc;
            font-size: 14px;
        }

        .ad-section {
            margin: 50px 0;
        }

        .ads-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .ad-card {
            background: rgba(30, 30, 30, 0.8);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
        }

        .ad-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
        }

        .ad-image {
            height: 180px;
            background: linear-gradient(45deg, var(--primary), #5a0000);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ad-image i {
            font-size: 60px;
            color: var(--secondary);
        }

        .ad-content {
            padding: 20px;
        }

        .ad-content h3 {
            color: var(--secondary);
            margin-bottom: 10px;
        }

        .ad-content p {
            color: #ccc;
            margin-bottom: 15px;
            font-size: 14px;
        }

        .members-section {
            margin: 50px 0;
        }

        .members-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px; /* 25 original */

    padding: 20px;
        }

        .member-card {
            background: rgba(30, 30, 30, 0.8);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            text-align: center;
            padding: 25px 15px;
        }

        .member-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary), #5a0000);
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .member-avatar i {
            font-size: 40px;
            color: var(--secondary);
        }

        .member-card h3 {
            color: var(--secondary);
            margin-bottom: 5px;
        }

        .member-card p {
            color: #ccc;
            font-size: 14px;
            margin-bottom: 15px;
        }

        .member-stats {
            display: flex;
            justify-content: space-around;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #444;
        }

        .stat-value {
            font-weight: 700;
            color: var(--secondary);
        }

        footer {
            background: var(--dark);
            padding: 40px 20px 20px;
            margin-top: 50px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-column h3 {
            color: var(--secondary);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3:after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background: var(--primary);
            bottom: 0;
            left: 0;
        }

        .footer-column p, .footer-column li {
            color: #aaa;
            margin-bottom: 10px;
            line-height: 1.6;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 8px;
        }

        .footer-column ul li a {
            color: #aaa;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-column ul li a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            margin-top: 30px;
            border-top: 1px solid #333;
            color: #777;
            font-size: 14px;
        }

        @media (max-width: 992px) {
            .stream-container {
                grid-template-columns: 1fr;
            }

            .menu-toggle {
                display: flex;
            }

            nav ul {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: linear-gradient(to right, var(--primary), #5a0000);
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
                display: none;
            }

            nav ul.active {
                display: flex;
            }

            nav ul li {
                margin: 10px 0;
            }

            nav ul li a {
                display: block;
                padding: 12px 15px;
            }

            .logo-text h1 {
                font-size: 24px;
            }

            .logo {
                width: 60px;
                height: 60px;
            }
        }

        @media (max-width: 768px) {
            .hero h2 {
                font-size: 36px;
            }

            .hero p {
                font-size: 18px;
            }

            .calendar-grid {
                gap: 8px;
            }

            .calendar-day, .calendar-date {
                padding: 12px 3px;
                font-size: 13px;
            }

            .section-title h2 {
                font-size: 28px;
            }

            .ads-container {
                grid-template-columns: 1fr;
            }

            .members-container {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .hero {
                height: 60vh;
            }

            .hero h2 {
                font-size: 28px;
            }

            .hero p {
                font-size: 16px;
            }

            .calendar-container {
                padding: 15px;
            }

            .calendar-date, .calendar-day {
                padding: 8px 2px;
                font-size: 11px;
                min-height: 40px;
            }

            .stream-video {
                height: 250px;
                position: relative;
                width: 100%;
                padding-top: 56.25%; /* 16:9 aspect ratio */
                background: #000;
            }
        }

        .member-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

.member-search {
    display: flex;
    gap: 15px;
   /* flex-wrap: wrap;*/
}

.member-search input,
.member-search select {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background: rgba(40, 40, 40, 0.7);
    color: var(--light);
    font-size: 14px;
}

.member-search input {
    min-width: 250px;
}

.member-search input::placeholder {
    color: #aaa;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-controls #memberCount {
    color: #ccc;
    font-size: 14px;
}

#loadMoreBtn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#loadMoreBtn:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Animation for member cards */
.member-card {
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.2s; }
.member-card:nth-child(3) { animation-delay: 0.3s; }
.member-card:nth-child(4) { animation-delay: 0.4s; }

/* Hidden members */
.member-card.hidden {
    display: none;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .member-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .member-search {
        flex-direction: column;
    }

    .member-search input {
        min-width: auto;
    }

    .pagination-controls {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
