:root {
    --primary-color: #1a237e;
    --secondary-color: #ffd700;
    --accent-color: #ff4081;
    --dark-color: #2c3e50;
    --light-color: #f5f6fa;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --champion-gradient: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    --silver-gradient: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
    --bronze-gradient: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
    --tournament-bg: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    --trophy-gold: #ffd700;
    --trophy-silver: #c0c0c0;
    --trophy-bronze: #cd7f32;
}

body {
    background: var(--tournament-bg);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--dark-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-wrapper {
    background: transparent;
}

/* Layout styles */
.wrapper {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.content-wrapper {
    margin-left: 250px;
    min-height: 100vh;
    transition: margin-left .3s ease-in-out;
    position: relative;
}

/* Content Header */
.content-header {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
}

.content-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-header h1 i {
    display: none;
}

/* Card styles */
.card {
    margin-bottom: 2rem;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    position: relative;
    z-index: 2;
}

.card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
}

.card-title i {
    display: none;
}

.card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Table styles */
.table-container {
    overflow-x: auto;
    margin: 1rem 0;
    padding: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0 1.5rem 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.matrix-table th,
.matrix-table td {
    padding: 1rem;
    text-align: center;
    border: none;
}

.matrix-table th {
    background: var(--champion-gradient);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 1rem;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 1;
}

.matrix-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    text-align: left;
    min-width: 300px;
    max-width: 400px;
}

.matrix-table td:first-child {
    position: sticky;
    left: 0;
    background-color: #f8f9fa;
    z-index: 1;
    text-align: left;
    font-weight: 500;
    min-width: 300px;
    max-width: 400px;
    white-space: normal;
    word-wrap: break-word;
}

.matrix-table tr {
    transition: all 0.3s ease;
}

.matrix-table tr:not(.leaderboard-highlight) {
    background-color: #fff;
    border-radius: 8px;
    margin: 4px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.matrix-table tr:hover {
    background-color: #f1f5f9;
}

/* Remove search-related styles */
.dataTables_filter,
.dataTables_length,
.dataTables_info,
.dataTables_paginate {
    display: none !important;
}

/* Remove search input styles */
input[type="search"] {
    display: none !important;
}

/* Remove search wrapper */
.dataTables_wrapper .dataTables_filter {
    display: none !important;
}

/* Badge styles */
.event-label-badge {
    background-color: #e2e8f0;
    color: #1e293b;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 0.5rem;
    display: inline-block;
}

.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge.bg-warning {
    background-color: #ffc107;
    color: #000;
}

/* Points cell styles */
.points-cell {
    font-weight: 500;
    min-width: 120px;
}

.score {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.rank {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.25rem 0;
}

.points {
    font-size: 0.875rem;
    color: #f09e41;
    font-weight: 600;
}

/* Print button */
.btn-print {
    background-color: #f09e41;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.btn-print:hover {
    background-color: #e67e22;
    color: white;
}

/* Ranking badge styles */
.badge.bg-gold {
    background-color: #FFD700 !important;
    color: #000 !important;
}

.badge.bg-silver {
    background-color: #C0C0C0 !important;
    color: #000 !important;
}

.badge.bg-bronze {
    background-color: #CD7F32 !important;
    color: #fff !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
    color: #fff !important;
}

.contestant-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.contestant-score .rank {
    font-weight: 600;
}

.contestant-score .points {
    font-weight: 500;
    color: #f09e41;
}

.contestant-score .score {
    font-weight: 600;
    color: #1e293b;
}

.no-score {
    color: #6c757d;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-header h1 {
        font-size: 1.5rem;
    }

    .card-header {
        padding: 0.75rem 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .matrix-table {
        margin: 1.5rem 0 1rem 0;
    }
    
    .matrix-table th,
    .matrix-table td {
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .matrix-table {
        margin: 1rem 0 0.8rem 0;
    }
    
    .matrix-table th,
    .matrix-table td {
        padding: 0.6rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }

    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
        page-break-inside: avoid;
    }

    .matrix-table {
        border: 1px solid #dee2e6;
        width: 100% !important;
        table-layout: fixed;
    }

    .matrix-table th {
        background-color: #f09e41 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        padding: 8px !important;
        font-size: 10pt !important;
    }

    .matrix-table td {
        padding: 8px !important;
        font-size: 10pt !important;
    }

    .matrix-table td:first-child,
    .matrix-table th:first-child {
        width: 200px !important;
        position: sticky !important;
        left: 0 !important;
        background-color: #f8f9fa !important;
        z-index: 1 !important;
    }

    .table-container {
        overflow: visible !important;
        width: 100% !important;
    }

    .content-wrapper {
        margin-left: 0 !important;
        padding-top: 0 !important;
    }

    .content-header {
        position: static !important;
        margin-bottom: 1rem;
    }

    .main-header {
        position: static !important;
        display: none !important;
    }

    .main-sidebar {
        display: none !important;
    }

    /* Ensure proper page breaks */
    .card:not(:first-child) {
        page-break-before: always;
    }

    /* Score display styles */
    .score {
        font-size: 10pt !important;
        font-weight: bold;
    }

    .rank {
        font-size: 9pt !important;
        color: #666;
    }

    .points {
        font-size: 9pt !important;
        color: #f09e41;
    }

    /* Event label badge */
    .event-label-badge {
        display: inline-block;
        margin-right: 0.5rem;
        font-size: 9pt !important;
    }
}

/* Teams Leaderboard Table Styles */
.leaderboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.leaderboard-table thead {
    background: var(--champion-gradient);
    position: sticky;
    top: 0;
    z-index: 3;
}

.leaderboard-table th {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 1rem;
    font-size: 0.9rem;
    position: relative;
    text-align: left;
}

.leaderboard-table th:first-child {
    width: 80px;
    text-align: center;
}

.leaderboard-table th:nth-child(2) {
    width: 40%;
}

.leaderboard-table th:last-child {
    text-align: right;
}

.leaderboard-table tbody {
    position: relative;
    z-index: 1;
}

.leaderboard-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    background-color: white;
    padding-top: 10px;
}

.leaderboard-table tbody tr:first-child {
    position: relative;
    z-index: 2;
    padding-top: 15px;
}

.leaderboard-table td {
    padding: 1rem;
    vertical-align: middle;
    transition: all 0.3s ease;
    background-color: white;
    padding-top: 1.2rem;
}

.leaderboard-table td:first-child {
    text-align: center;
}

.leaderboard-table td:last-child {
    text-align: right;
    font-weight: 600;
}

/* Rank Badge Styles */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background: var(--primary-color);
}

.rank-1 .rank-badge {
    background: var(--champion-gradient);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.rank-2 .rank-badge {
    background: var(--silver-gradient);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.rank-3 .rank-badge {
    background: var(--bronze-gradient);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.5);
}

/* Styles for ranks 4-10 */
.rank-4 .rank-badge,
.rank-5 .rank-badge,
.rank-6 .rank-badge,
.rank-7 .rank-badge,
.rank-8 .rank-badge,
.rank-9 .rank-badge,
.rank-10 .rank-badge {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Styles for ranks above 10 */
.rank-11 .rank-badge,
.rank-12 .rank-badge,
.rank-13 .rank-badge,
.rank-14 .rank-badge,
.rank-15 .rank-badge,
.rank-16 .rank-badge,
.rank-17 .rank-badge,
.rank-18 .rank-badge,
.rank-19 .rank-badge,
.rank-20 .rank-badge {
    background: var(--primary-color);
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Team Info Styles for all ranks */
.team-info {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 1;
}

.team-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-logo:hover {
    transform: scale(1.1);
}

.team-details {
    display: flex;
    flex-direction: column;
}

.team-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.team-members {
    font-size: 0.8rem;
    color: #666;
}

/* Points Display for all ranks */
.points-display {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    opacity: 1;
}

.points-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.points-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hover Effects for all ranks */
.leaderboard-table tbody tr:hover {
    background-color: rgba(255, 215, 0, 0.05);
    transform: translateX(5px);
}

.leaderboard-table tbody tr:hover .team-logo {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.leaderboard-table tbody tr:hover .points-value {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Animation for all ranks */
.leaderboard-table tbody tr {
    animation: slideIn 0.3s ease forwards;
    animation-delay: calc(var(--row-index) * 0.1s);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

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

/* Tournament Header */
.tournament-header {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.5rem;
}

.tournament-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.tournament-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Tournament Effects */
.tournament-effect {
    position: relative;
    overflow: hidden;
}

.tournament-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Live Leaderboard Cards */
.live-leaderboard {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin: 20px 0 40px 0;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leaderboard-card {
    position: relative;
    min-width: 250px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: visible;
    margin-top: 60px;
    flex: 1;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.leaderboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.rank-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.team-photo-card {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.team-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
    color: var(--primary-color);
}

.team-points {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Enhanced Trophy Effects */
.rank-1 .team-photo-card {
    border-color: var(--trophy-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: trophyGlow 2s infinite;
}

.rank-2 .team-photo-card {
    border-color: var(--trophy-silver);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.rank-3 .team-photo-card {
    border-color: var(--trophy-bronze);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.5);
}

/* Trophy Animation */
@keyframes trophyGlow {
    0% { filter: drop-shadow(0 0 5px var(--trophy-gold)); }
    50% { filter: drop-shadow(0 0 15px var(--trophy-gold)); }
    100% { filter: drop-shadow(0 0 5px var(--trophy-gold)); }
}

/* Rank Badge Enhancements */
.rank-1 .rank-number {
    background: var(--champion-gradient);
    color: white;
    font-size: 1.1rem;
    padding: 8px 20px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.rank-2 .rank-number {
    background: var(--silver-gradient);
    color: white;
    font-size: 1.1rem;
    padding: 8px 20px;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.rank-3 .rank-number {
    background: var(--bronze-gradient);
    color: white;
    font-size: 1.1rem;
    padding: 8px 20px;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.5);
}

/* Points Display Enhancement */
.team-points {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 10px;
}

.team-points::before {
    content: 'Points';
    display: block;
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .live-leaderboard {
        margin: 15px 0 30px 0;
        padding: 15px;
        gap: 15px;
    }

    .leaderboard-card {
        min-width: 200px;
        max-width: 250px;
        margin-top: 40px;
    }

    .card {
        margin-bottom: 1.5rem;
    }

    .card-header {
        padding: 0.75rem 1rem;
    }

    .card-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .live-leaderboard {
        margin: 10px 0 25px 0;
        padding: 10px;
        gap: 10px;
    }

    .leaderboard-card {
        min-width: 150px;
        max-width: 200px;
        margin-top: 30px;
    }
}

/* Animation Effects */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.rank-1 .team-photo-card {
    animation: pulse 2s infinite;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.rank-2 .team-photo-card {
    border-color: #c0c0c0;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.rank-3 .team-photo-card {
    border-color: #cd7f32;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.5);
}

/* Simplified Teams Leaderboard Styles */
.leaderboard-highlight {
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.leaderboard-highlight:hover {
    background-color: #f8f9fa;
}

.rank-column {
    width: 80px;
    text-align: center;
    font-weight: 600;
}

.medal-icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

.team-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #e2e8f0;
}

.points-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background-color: #f8f9fa;
    border-radius: 20px;
    font-weight: 600;
}

.points-badge i {
    color: #f09e41;
}

/* Remove complex animations and effects */
.text-warning,
.text-secondary,
.text-danger,
.text-info,
.text-success {
    animation: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-img {
        width: 40px;
        height: 40px;
    }
    
    .points-badge {
        padding: 4px 10px;
    }
}

/* Animation Effects */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

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

/* Tournament Header */
.tournament-header {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.tournament-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.tournament-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Tournament Effects */
.tournament-effect {
    position: relative;
    overflow: hidden;
}

.tournament-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive adjustments for Live Leaderboard */
@media (max-width: 1200px) {
    .live-leaderboard {
        margin: 20px 0 50px 0;
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .live-leaderboard {
        margin: 20px 0 45px 0;
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .live-leaderboard {
        margin: 15px 0 40px 0;
        padding: 15px;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .live-leaderboard {
        margin: 10px 0 35px 0;
        padding: 12px;
        gap: 12px;
    }
}

@media (max-width: 400px) {
    .live-leaderboard {
        margin: 8px 0 30px 0;
        padding: 10px;
        gap: 10px;
    }
}

/* Tournament Footer */
.tournament-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.tournament-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
}

.tournament-footer p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tournament-footer i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .tournament-footer {
        padding: 1.2rem 0;
        margin-top: 2.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .tournament-footer {
        padding: 1rem 0;
        margin-top: 2rem;
        font-size: 0.8rem;
    }
}

/* Print Footer */
@media print {
    .tournament-footer {
        background: none;
        border-top: 1px solid #dee2e6;
        color: #000;
        padding: 1rem 0;
        margin-top: 2rem;
    }
    
    .tournament-footer i {
        color: #000;
    }
}

/* Points Change Animation */
.points-changing {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.points-change-indicator {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: slideIn 0.3s ease-out;
}

.points-change-indicator.positive {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.points-change-indicator.negative {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Ensure points container has relative positioning */
.team-points {
    position: relative;
    display: inline-block;
    min-width: 100px;
} 