* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER SECTION ===== */
.main-header {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    padding: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.logo-section {
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-title {
    color: #ffd60a;
    font-size: 2.5em;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    margin: 0;
}

/* ===== LEADERBOARD SECTION ===== */
.leaderboard-section {
    background-image: url('https://ik.imagekit.io/epbd8urp8/leaderboardbanner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-overlay {
    background: rgba(27, 67, 50, 0.92);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 20px;
    max-width: 1250px;
    width: 100%;
    margin: 0 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    color: #ffd60a;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Filter Section */
.filter-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.filter-group label {
    font-weight: 700;
    color: #1b4332;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label i {
    color: #2d6a4f;
}

.filter-group select {
    padding: 12px 15px;
    border: 2px solid #2d6a4f;
    border-radius: 10px;
    font-size: 1em;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-group select:hover {
    border-color: #ffd60a;
    box-shadow: 0 0 10px rgba(255, 214, 10, 0.3);
}

.filter-group select:focus {
    outline: none;
    border-color: #ffd60a;
    box-shadow: 0 0 15px rgba(255, 214, 10, 0.5);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: white;
}

thead th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 700;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

thead th i {
    margin-right: 5px;
    color: #ffd60a;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s;
}

tbody tr:hover {
    background: #f0f7f4;
    transform: scale(1.01);
}

tbody td {
    padding: 18px 15px;
    color: #333;
    font-weight: 500;
}

.no-data {
    text-align: center;
    padding: 50px;
    color: #666;
    font-size: 1.2em;
}

.currency {
    font-weight: 700;
    color: #2d6a4f;
}

.user-id {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #1b4332;
    background: #e8f5e9;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

/* ===== PRIZE SCHEME SECTION ===== */
.prize-scheme-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.prize-table-title {
    text-align: center;
    color: #1b4332;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: white;
    padding: 12px 15px;
    border-radius: 10px 10px 0 0;
    max-width: 550px;
    margin: 0 auto 10px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.prize-subtitle {
    text-align: center;
    color: #666;
    font-size: 0.95em;
    font-style: italic;
    margin-bottom: 15px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.prize-table-wrapper {
    max-width: 550px;
    margin: 0 auto;
    background: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.prize-table {
    width: 100%;
    border-collapse: collapse;
}

.prize-table thead {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
}

.prize-table thead th {
    padding: 10px 8px;
    color: white;
    font-weight: 800;
    font-size: 0.95em;
    text-align: center;
    border: 2px solid #1b4332;
}

.toggle-header {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
    position: relative;
}

.toggle-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toggle-icon {
    font-size: 0.8em;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s;
}

.prize-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.prize-table tbody tr:hover {
    background: #f0f7f4;
}

.prize-table tbody td {
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #ddd;
    font-size: 0.9em;
}

.month-cell {
    background: #e8f5e9;
    color: #1b4332;
    font-weight: 800;
    font-size: 1em;
    vertical-align: middle;
    width: 30%;
}

.bet-cell {
    color: #2d6a4f;
    font-size: 0.95em;
    width: 35%;
}

.prize-cell {
    color: #dc3545;
    font-weight: 800;
    font-size: 0.95em;
    width: 30%;
}

.winner-cell {
    color: #1b4332;
    font-weight: 800;
    font-size: 0.95em;
    width: 20%;
    background: #f0f7f4;
}

.last-call-row {
    background: #fff5f5;
}

.last-call-row .month-cell {
    background: #ffebee;
    color: #dc3545;
}

.last-call-row:hover {
    background: #ffe5e5;
}

/* ===== BANNER SLIDER INSIDE LEADERBOARD ===== */
.slider-wrapper-inside {
    position: relative;
    width: 100%;
    margin: 0 auto 30px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: white;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27, 67, 50, 0.8);
    color: #ffd60a;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5em;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(27, 67, 50, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 10px;
    border-radius: 0 10px 10px 0;
}

.slider-btn.next {
    right: 10px;
    border-radius: 10px 0 0 10px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #ffd60a;
    width: 30px;
    border-radius: 6px;
}

/* ===== ACTION BUTTONS SECTION ===== */
.action-buttons-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 3px solid transparent;
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.action-btn.btn-tutorial {
    border-color: #dc3545;
}

.action-btn.btn-tutorial:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.action-btn.btn-promo {
    border-color: #ffc107;
}

.action-btn.btn-promo:hover {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: white;
}

.action-btn.btn-event {
    border-color: #1877f2;
}

.action-btn.btn-event:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
    color: white;
}

.btn-icon {
    font-size: 3em;
    min-width: 80px;
    text-align: center;
}

.btn-tutorial .btn-icon {
    color: #dc3545;
}

.btn-promo .btn-icon {
    color: #ffc107;
}

.btn-event .btn-icon {
    color: #1877f2;
}

.action-btn:hover .btn-icon {
    color: white;
}

.btn-content h3 {
    font-size: 1.3em;
    margin-bottom: 5px;
    font-weight: 700;
}

.btn-content p {
    font-size: 1em;
    opacity: 0.8;
}

/* ===== CONTACT & TESTIMONIAL SECTION ===== */
.contact-testimonial-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
}

.contact-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.contact-box,
.testimonial-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-box h2,
.testimonial-box h2 {
    color: #1b4332;
    font-size: 1.8em;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-box h2 i,
.testimonial-box h2 i {
    color: #ffd60a;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border-left: 4px solid #2d6a4f;
}

.contact-item:hover {
    background: #2d6a4f;
    color: white;
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.8em;
    color: #2d6a4f;
}

.contact-item:hover i {
    color: #ffd60a;
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    min-height: 200px;
}

.testimonial-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-item.active {
    opacity: 1;
    position: relative;
}

.testimonial-stars {
    color: #ffd60a;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.testimonial-item p {
    font-size: 1.1em;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: #1b4332;
    font-size: 1.1em;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9em;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-nav button {
    background: #2d6a4f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s;
}

.testimonial-nav button:hover {
    background: #1b4332;
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
.main-footer {
    background: #1b4332;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-text {
    text-align: center;
    flex: 1;
}

.footer-text p {
    margin: 5px 0;
    opacity: 0.9;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: rgba(255, 214, 10, 0.2);
    color: #ffd60a;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #ffd60a;
    transition: all 0.3s;
    font-weight: 600;
}

.admin-link:hover {
    background: #ffd60a;
    color: #1b4332;
    transform: translateY(-2px);
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.video-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #666;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.video-close:hover,
.video-close:focus {
    color: #d00;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .video-close {
        font-size: 28px;
        right: 15px;
        top: 10px;
    }
    
    .main-title {
        font-size: 1.5em;
        padding: 0 10px;
    }

    .logo {
        max-width: 120px;
    }

    .banner-overlay {
        padding: 20px;
        margin: 0 10px;
    }

    .section-subtitle {
        font-size: 1.3em;
        margin-bottom: 20px;
    }

    /* Slider responsive */
    .slider-wrapper-inside {
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .slider-container {
        height: 200px;
    }

    .slider-btn {
        padding: 10px 12px;
        font-size: 1.2em;
    }

    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    .slider-dots {
        bottom: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }

    /* Filter responsive */
    .filter-section {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .filter-group {
        width: 100%;
        min-width: auto;
    }

    .filter-group select {
        width: 100%;
        padding: 10px;
        font-size: 0.95em;
    }

    /* Table responsive */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        font-size: 0.75em;
        min-width: 600px;
    }

    thead th {
        padding: 10px 6px;
        font-size: 0.9em;
    }

    tbody td {
        padding: 10px 6px;
    }

    .user-id {
        padding: 3px 6px;
        font-size: 0.9em;
    }

    /* Prize table responsive */
    .prize-table-title {
        font-size: 1em;
        padding: 10px;
        white-space: normal;
    }

    .prize-subtitle {
        font-size: 0.85em;
    }

    .prize-table-wrapper {
        overflow-x: auto;
    }

    .prize-table {
        font-size: 0.85em;
    }

    .prize-table thead th {
        padding: 8px 5px;
        font-size: 0.85em;
    }

    .prize-table tbody td {
        padding: 8px 5px;
        font-size: 0.85em;
    }

    /* Action buttons responsive */
    .action-buttons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .action-btn {
        flex-direction: row;
        padding: 20px;
    }

    .btn-icon {
        font-size: 2.5em;
        min-width: 60px;
    }

    .btn-content h3 {
        font-size: 1.1em;
    }

    .btn-content p {
        font-size: 0.9em;
    }

    /* Contact & Testimonial responsive */
    .contact-testimonial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-box,
    .testimonial-box {
        padding: 25px;
    }

    .contact-box h2,
    .testimonial-box h2 {
        font-size: 1.5em;
    }

    .contact-item {
        padding: 12px 15px;
    }

    .contact-item i {
        font-size: 1.5em;
    }

    .testimonial-item p {
        font-size: 1em;
    }

    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-logo img {
        max-width: 120px;
    }

    .admin-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.2em;
        line-height: 1.3;
    }

    .logo {
        max-width: 100px;
    }

    .banner-overlay {
        padding: 15px;
        margin: 0 5px;
    }

    .section-subtitle {
        font-size: 1.1em;
    }

    /* Slider extra small */
    .slider-container {
        height: 150px;
    }

    .slider-btn {
        padding: 8px 10px;
        font-size: 1em;
    }

    /* Table extra small */
    table {
        font-size: 0.7em;
        min-width: 550px;
    }

    thead th,
    tbody td {
        padding: 8px 4px;
    }

    /* Prize table extra small */
    .prize-table-title {
        font-size: 0.9em;
        padding: 8px;
    }

    .prize-table {
        font-size: 0.75em;
    }

    /* Action buttons extra small */
    .action-btn {
        padding: 15px;
    }

    .btn-icon {
        font-size: 2em;
        min-width: 50px;
    }

    .btn-content h3 {
        font-size: 1em;
    }

    .btn-content p {
        font-size: 0.85em;
    }

    /* Contact extra small */
    .contact-box,
    .testimonial-box {
        padding: 20px;
    }

    .contact-box h2,
    .testimonial-box h2 {
        font-size: 1.3em;
    }

    .contact-item {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    .testimonial-item p {
        font-size: 0.95em;
    }

    .testimonial-stars {
        font-size: 1.2em;
    }
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}
