/* Hero Background (same as homepage) */
.tournaments-page {
    position: relative;
    overflow: hidden;
    background: #000;
    min-height: 100vh;
    padding-top: 120px;
    margin-top: -120px;
}

.tournaments-page .hero-bg {
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.tournaments-page .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 2s ease-in-out;
    animation: backgroundSlide 20s infinite;
}

.tournaments-page .hero-bg-image:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1471295253337-3ceaaedca402?q=80&w=2336&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    animation-delay: 0s;
}

.tournaments-page .hero-bg-image:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1770067665792-9975acdec4fb?q=80&w=2340&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    animation-delay: 6.66s;
}

.tournaments-page .hero-bg-image:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1629217855633-79a6925d6c47?q=80&w=2340&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    animation-delay: 13.33s;
}

@keyframes backgroundSlide {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    25% {
        opacity: 1;
        transform: scale(1.08);
    }
    30% {
        opacity: 1;
        transform: scale(1.1);
    }
    33.33% {
        opacity: 0;
        transform: scale(1.15);
    }
    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

.tournaments-page .hero-overlay {
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.015) 2px,
            rgba(255,255,255,0.015) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.015) 2px,
            rgba(255,255,255,0.015) 4px
        ),
        linear-gradient(135deg, rgba(0, 230, 118, 0.7) 0%, rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(45deg, rgba(255, 215, 0, 0.15) 0%, rgba(220, 20, 60, 0.1) 100%);
    z-index: 1;
}

.tournaments-page .container {
    position: relative;
    z-index: 2;
    padding: 2rem 2rem 4rem 2rem;
}

.breadcrumb {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(46, 139, 87, 0.2);
    padding: 0.75rem 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    position: relative;
    z-index: 10;
}

.breadcrumb .container {
    max-width: 100%;
    padding: 0 2rem;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--bma-green-bright);
}

.breadcrumb-item.active {
    color: var(--bma-white);
    font-weight: 500;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
}

.breadcrumb .icon {
    width: 16px;
    height: 16px;
}

/* ===== Tournaments Page ===== */

.tournaments-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tournaments-page .tournament-table {
    margin-top: 2rem;
}

/* Force tournaments table to have exact same header style as homepage */
.tournaments-page #tournaments-table.tabulator .tabulator-header,
.tournaments-page #tournaments-table.tabulator .tabulator-col {
    background-color: #0a0a0a !important;
}

/* The rest of the dark theme styles are inherited from style.css
   since #tournaments-table is styled there alongside #starting-soon-table */

@media (max-width: 768px) {
    .tournaments-page .tournament-table {
        margin-top: 1.5rem;
    }
}

.tournaments-header .section-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.tournaments-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--bma-white) 0%, var(--bma-green-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tournaments-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Controls */
.tournaments-controls {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(46, 139, 87, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tab:hover {
    background: rgba(46, 139, 87, 0.1);
    color: var(--bma-white);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--bma-green) 0%, rgba(46, 139, 87, 0.8) 100%);
    border-color: var(--bma-green-bright);
    color: var(--bma-white);
}

.tab-count {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 0.2rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.filter-tab.active .tab-count {
    background: rgba(0, 230, 118, 0.3);
    color: var(--bma-green-bright);
}

/* Sport Filters */
.sport-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sport-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sport-pill:hover {
    background: rgba(46, 139, 87, 0.1);
    border-color: var(--bma-green);
    color: var(--bma-white);
}

.sport-pill.active {
    background: var(--bma-green);
    border-color: var(--bma-green-bright);
    color: var(--bma-white);
}

.sport-icon-small {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) saturate(100%) invert(79%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(98%) contrast(119%);
}

.sport-icon-small.NFL {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 176 176'%3E%3Cpath d='M45.45 112.63c-2.68-8.15 2.71-21.26 6.9-28.42 12.49-22.48 40.37-33.6 65.12-27.49 4.66 1.33 9.96 2.88 12.99 6.91-3.68-3.14-8.8-3.83-13.43-4.5-23.57-2.77-48.1 7.16-61.4 27.17-4.02 5.86-7.41 12.33-9.38 19.22-.6 2.31-1.22 4.72-.8 7.12Z'/%3E%3Cpath d='M45.45 112.63c-.23-6.13 9.79-17.32 14.18-21.6 15.64-15.21 36.29-25.61 57.94-28.63 3.27-.34 6.6-.57 9.87-.04 1.06.22 2.26.45 3.02 1.27-.93-.57-2.03-.54-3.07-.52-3.17.15-6.29.88-9.35 1.7-20.33 5.76-39.41 15.76-55.79 29.1-4.86 4.07-9.6 8.38-13.65 13.28-1.23 1.66-2.85 3.32-3.14 5.43Z'/%3E%3Cpath d='M78.56 71.69c1.4.58 2.43 1.39 2.98 2.72.19.65.16 1.46.46 2.05.28.6.79 1.04 1.4 1.41 2.45 1.49 3.99 3.61 4.17 6.66l-.23.19a6.85 6.85 0 0 1-4.62-3.95c-.7-1.11-.56-2.81-1.52-3.77-.45-.49-1.22-.77-1.74-1.21-.53-.45-.79-1.08-1.01-1.72-.2-.66-.32-1.39-.14-2.24l.26-.14ZM85.55 67.67c1.48.39 2.61 1.21 3.22 2.52.23.65.22 1.46.53 2.05.29.6.81 1.03 1.42 1.41 1.2.71 2.15 1.66 2.9 2.79.69 1.25 1.1 2.59.97 4.11l-.26.15c-1.49-.6-2.51-1.45-3.35-2.45-.77-1.09-1.33-2.3-1.6-3.65-.15-.7-.39-1.32-.86-1.79-.45-.48-1.23-.73-1.77-1.14-.54-.42-.82-1.01-1.09-1.63-.24-.63-.41-1.32-.35-2.18l.24-.18ZM70.91 77.28c1.4.58 2.43 1.39 2.98 2.72.19.65.16 1.46.46 2.05.28.6.79 1.04 1.4 1.41 2.45 1.49 3.99 3.61 4.17 6.66l-.23.19a6.85 6.85 0 0 1-4.62-3.95c-.7-1.11-.56-2.81-1.52-3.77-.45-.49-1.22-.77-1.74-1.21-.53-.45-.79-1.08-1.01-1.72-.2-.66-.32-1.39-.14-2.24l.26-.14ZM130.45 63.63c2.95 8.32-2.14 21.24-6.35 28.63-12.87 23.3-40.01 33.3-65.36 26.84-4.67-1.38-9.93-2.73-13.29-6.46 3.94 2.8 9.07 3.34 13.74 4.06 24.3 3.06 47.9-5.7 61.61-26.49 3.98-5.91 7.28-12.45 9.07-19.40.54-2.34 1.05-4.76.58-7.16Z'/%3E%3C/svg%3E");
}

.sport-icon-small.NBA {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 176 176'%3E%3Cpath d='M60.03 65.95c7.33-19.57 31.62-27.74 49.91-18.19 13.64 6.7 22.14 22.43 19.87 37.47-.71 4.87-2.4 9.55-5.04 13.54 5.04-13.26 2.65-28.16-6.63-38.49-16.21-18.21-45.13-14.8-58.12 5.68Z'/%3E%3Cpath d='M125.06 98.4c-7.52 19.5-31.88 27.44-50.09 17.71-13.58-6.84-21.92-22.64-19.51-37.66.76-4.86 2.49-9.53 5.17-13.5-5.17 13.21-2.92 28.14 6.26 38.56 16.03 18.36 44.98 15.23 58.17-5.12Z'/%3E%3Cpath d='M126.42 95.69c-3.07 7.29-12.94 7.58-19.7 7.07-14.59-1.62-28.72-8.41-39.08-18.81-4.63-4.97-10.54-12.87-6.76-19.81-1.97 7.07 4.19 13.13 8.92 17.56 10.6 9.01 23.68 15.31 37.33 17.98 6.42.94 14.99 1.97 19.29-3.98Z'/%3E%3Cpath d='M76 113c-4.49-2.75-4.45-9.3-4.24-13.97.65-8.37 4.25-16.19 8.68-23.18 5.32-8.25 11.39-16.27 19.44-22.03 2.61-1.7 6.13-3.84 9.26-2.38-5.33-1.26-11.63 6.9-14.76 10.57-8.59 11.15-16.53 23.48-19.26 37.48-.62 3.02-1.02 6.13-.73 9.2.19 1.51.53 3.05 1.61 4.31'/%3E%3Cpath d='M96.92 119.94c-8.85-2.45-13.09-13.3-11.84-21.86 1.59-9.14 9.38-15.59 17.02-19.76 9.51-5.16 17.52-9.23 17.9-21.31 2.62 17.16-14.19 21.06-23.96 30.06-3.38 3.18-6.15 7.13-7.07 11.69-1.22 7.68 1.22 16.56 7.95 21.19ZM56 87c2.27.45 3.81-.44 5.17-1.6 1.36-1.17 2.54-2.65 3.57-4.21 2.18-3.28 3.63-6.95 4.49-10.91.93-3.93 1.3-8.26 2.88-12.43 1.46-4.12 4.42-7.69 8.06-10.02-2.78 3.11-4.87 6.66-5.75 10.72-.88 3.92-.9 8.09-1.61 12.42-.67 4.32-2.25 8.69-4.75 12.43-2.21 3.63-8.52 7.81-12.06 3.59Z'/%3E%3C/svg%3E");
}

.sport-icon-small.MLB {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 176 176'%3E%3Cpath d='M57.16 68.76c9.24-18.75 34.22-24.46 51.48-13.14 12.91 8.03 19.8 24.52 16.05 39.26-1.19 4.77-3.33 9.26-6.36 12.98 6.34-12.7 5.44-27.76-2.76-38.96-14.31-19.73-43.43-19.22-58.4-.13Z'/%3E%3Cpath d='M118.65 107.53c-9.42 18.66-34.45 24.13-51.6 12.64-12.83-8.15-19.56-24.71-15.67-39.41 1.24-4.76 3.42-9.23 6.48-12.91-6.46 12.63-5.7 27.71 2.39 38.99 14.12 19.87 43.24 19.63 58.39.7Z'/%3E%3Cpath d='M81.5 51.5c.66.98.55 2.28.63 3.41 0 3.51-.67 6.99-1.7 10.34-3.47 11.11-11.23 21.46-22.11 26.16-1.91.74-3.92 1.46-5.99 1.37-.29-.03-.62-.06-.83-.29.53.21 1.1-.03 1.63-.18 1.59-.54 3.08-1.37 4.5-2.26 9.42-6.03 16.32-15.36 20.66-25.58 1.28-3.11 2.39-6.33 3.05-9.64.15-1.09.52-2.27.17-3.34Z'/%3E%3Cpath d='M55.04 86.32c2.84 2.25 4.98 5.19 6.01 8.68-3.18-1.76-5.55-5.06-6.01-8.68M60.09 83.59c3.08 1.9 5.56 4.57 6.98 7.92-3.36-1.37-6.1-4.38-6.98-7.92M64.24 79.48c3.36 1.34 6.26 3.54 8.25 6.59-3.55-.77-6.76-3.25-8.25-6.59M67.96 74.84c3.4 1.23 6.38 3.34 8.46 6.32-3.57-.66-6.87-3.03-8.46-6.32M71.01 69.38c3.55.7 6.8 2.34 9.31 4.98-3.63-.11-7.24-1.97-9.31-4.98M73.95 64.04c3.61.32 7.01 1.6 9.79 3.95-3.62.27-7.41-1.18-9.79-3.95M75.55 58.53c3.6-.36 7.19.27 10.35 2.06-3.51.94-7.5.22-10.35-2.06M91 123c-5.65-2.93-5.31-10.76-4.39-16.15 2.63-13.39 12.84-28.9 26.15-33.47 2.79-.82 6.22-1 8.57.99-5.53-1.99-10.52 2.2-14.46 5.57-7.88 7.52-13.95 17.24-17.24 27.63-1.3 5.02-2.86 11.35 1.36 15.44Z'/%3E%3Cpath d='M112.92 80.57c-3.06-2.21-5.48-5.13-6.83-8.68 3.39 1.69 6.06 4.95 6.83 8.68M107.82 83.75c-3.3-1.84-6.04-4.46-7.8-7.82 3.57 1.28 6.59 4.21 7.8 7.82M103.74 88.31c-3.57-1.24-6.72-3.34-9.04-6.35 3.73.64 7.22 3.01 9.04 6.35M100.15 93.39c-3.61-1.12-6.83-3.12-9.24-6.05 3.75.52 7.32 2.77 9.24 6.05M97.32 99.29c-3.73-.57-7.22-2.06-10.04-4.6 3.79-.05 7.65 1.64 10.04 4.6M94.59 105.05c-3.77-.17-7.4-1.28-10.47-3.5 3.76-.45 7.78.82 10.47 3.5M93.27 110.91c-3.74.54-7.51.12-10.94-1.49 3.61-1.15 7.8-.65 10.94 1.49'/%3E%3C/svg%3E");
}

.sport-icon-small.NHL {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' id='Layer_1' viewBox='0 0 176 176'%3E%3Cdefs/%3E%3Cpath d='M85.13 88.71c3.31-7.34 13.72-30.4 16.87-37.4.5-1.02.77-1.89.54-2.92-.69-2.54-4.61-2.44-5.61-.12-.35.74-1.85 3.79-2.24 4.61-5.27 10.8-16.03 33.05-21.16 43.61-1.99 4.27-7.44 6.3-11.76 4.37-3.37-1.62-10.16-4.87-13.52-6.51l-3.35-1.64c-1.88-.84-4.15-2.3-6.03-2.37-2.3.07-3.83 2.74-5 4.61-1.06 2.01-2.7 4.63-1.54 6.79.77 1.4 2.84 2.67 5.03 3.6l6.79 3.07c4.53 2.05 9.04 4.12 13.55 6.23 1.78.73 4.75 2.49 6.53 2.74 3.32.57 6.93-1.17 8.39-4.34l1.7-3.32c2.14-4.19 8.02-15.55 10.26-19.88l.36.17-6.38 13.48-3.21 6.73c-1.08 1.99-2.07 5.13-3.82 6.67-2.93 2.97-7.81 3.35-11.47 1.5l-3.47-1.37c-4.63-1.82-9.25-3.67-13.86-5.54-2.49-1.11-8.23-3.09-10.49-4.6-5.72-3.53-4.97-8.78-1.96-13.93 1.41-2.48 3.18-5.09 6.02-6.3 3.75-1.54 7.32.91 10.41 2.41l3.32 1.69 13.18 6.77c2.6 1.26 6.02.06 7.31-2.55l1.7-3.32 6.79-13.28c1.88-3.61 14.54-28.61 16.19-31.64 4.03-5.54 12.22-.78 8.56 5.41-1.02 2.03-3.92 7.88-4.99 10.01l-13.3 26.7-.36-.17Z'/%3E%3Cpath d='m46.52 91.57-2.94 18.76M53.59 95.04l-2.95 18.76' class='cls-1'/%3E%3Cpath d='M102.5 124.63c-.03 1.06-.21 6.01-.23 6.95l-.02.69c.06 1.55-.77 3.03-1.85 3.91-.73.69-1.99 1-2.9 1.31a38.45 38.45 0 0 1-19.6.75c-1.83-.41-3.61-.97-5.35-1.64-1.79-.51-3.53-1.91-3.53-3.9.14 1.96 1.88 3.16 3.66 3.55 1.76.54 3.56.97 5.37 1.25 5.43.83 10.99.48 16.22-1.1 1.26-.36 2.61-.87 3.82-1.37.9-.32 1.64-1.39 1.7-2.2l-.08-2.64-.19-5.56h3Z'/%3E%3Cpath d='m70.5 124.67-.19 5.56-.08 2.64c.06.82.8 1.88 1.7 2.2l1.25.5c5.96 2.27 12.46 2.94 18.79 1.96 1.81-.28 3.61-.71 5.37-1.25 1.77-.38 3.52-1.59 3.66-3.55 0 2-1.74 3.39-3.53 3.9a38.4 38.4 0 0 1-5.35 1.64c-6.89 1.56-14.27 1.14-20.96-1.19-1.95-.65-3.45-2.59-3.4-4.77-.02-.45-.05-1.62-.07-2.08l-.19-5.56z'/%3E%3Cpath d='M86.06 128.3c4.06-.56 8.15-1.04 12.02-2.27.75-.28 1.68-.57 2.15-1.08 0-.02-.04.02-.07.18-.03.14.05.28.04.27-2.04-1.1-4.67-1.27-7.02-1.54-5.34-.49-10.81-.49-16.15-.02-2.35.26-5.18.45-7.21 1.54-.04.03-.03.03 0-.08.04-.12 0-.30-.05-.34-.06-.06.08.14.3.26 4.16 2.05 9.06 2.34 13.64 3.08-2.76.29-5.53.32-8.33.15-2.17-.22-4.35-.36-6.4-1.35-.37-.22-.81-.44-1.21-1.1-.74-1.3.49-2.63 1.56-3.1 2.32-1.14 4.9-1.5 7.39-1.88 5.6-.67 11.2-.67 16.79.03 2.36.39 11.01 1.44 8.46 5.33-.98 1.01-2.18 1.24-3.37 1.54-4.15.82-8.37.78-12.54.39ZM79.23 77c-4.36-6.92-8.15-14.09-11.86-21.35-1.26-2.84-3.57-5.48-2.07-8.86 1.97-4.04 8.35-3.59 10.01.46l.43.92c3.16 6.77 6.18 13.58 8.74 20.63-4.08-6.29-7.69-12.81-11.19-19.41-.22-.38-.59-1.19-.88-1.49-1.03-1.39-3.71-1.35-4.42.2-.84 1.98 1.28 4.39 1.92 6.3 3.37 7.43 6.62 14.88 9.32 22.6M89.7 79.27c3.16 5.35 6.17 10.83 9.17 16.21 1.33 2.31 4.18 3.57 6.75 2.94 1.1-.23 2.83-1.29 3.87-1.82 4-2.1 8.36-4.46 12.36-6.51 4.84-2.42 9.96-6.29 14.79-1.1 1.78 1.79 3.03 4.15 4.15 6.37 1.25 2.62 1.81 5.95.12 8.55-2.17 3.25-5.35 4.26-8.59 5.67l-8.58 3.62-8.62 3.55-4.31 1.77c-1.43.56-3.37 1.47-4.93 1.5-4.55.46-9-2.37-10.48-6.67l-.95-2.13c-3.12-7.07-6.21-14.3-9.08-21.47 3.83 6.7 7.53 13.65 11.14 20.47l1.09 2.05c1.57 3.81 5.95 5.79 9.77 4.14 3.75-1.73 10.92-4.92 14.76-6.64l8.53-3.73c3.53-1.58 8.89-3.25 6.92-8.11-1.10-2.77-3.82-7.78-6.42-7.77-.95-.05-2.25.42-3.59 1.06-5.44 2.62-11.35 5.41-16.82 7.95l-2.11.99c-4.02 2.15-9.58.4-11.51-3.76-2.56-5.72-5.06-11.37-7.45-17.13Z'/%3E%3Cpath d='m123.43 91.57 2.94 18.76M116.36 95.04l2.94 18.76' class='cls-1'/%3E%3C/svg%3E");
}

.sport-icon-small.SOCCER,
.sport-icon-small.EPL {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 176 176'%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Ccircle cx='88.05' cy='87.78' r='36' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M57.15 69c9.24-18.75 34.22-24.46 51.48-13.14 12.91 8.03 19.8 24.52 16.05 39.26-1.19 4.77-3.33 9.26-6.36 12.98 6.34-12.7 5.44-27.76-2.76-38.96-14.31-19.73-43.43-19.22-58.4-.13Z'/%3E%3Cpath d='M118.63 107.77c-9.42 18.66-34.45 24.13-51.6 12.64C54.2 112.26 47.47 95.7 51.36 81c1.24-4.76 3.42-9.23 6.48-12.91-6.46 12.63-5.7 27.71 2.39 38.99 14.12 19.87 43.24 19.63 58.39.7Z'/%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M75.71 80.48c-.59 5.08-1.08 10.36-1.43 15.44 4.7 2.12 9.73 4.25 14.65 6.22A488 488 0 0 0 99.6 90.39c-2.68-4.49-5.52-9.1-8.3-13.46-5.23 1.08-10.57 2.3-15.6 3.55ZM65.56 71.65c-4.27 1.46-7.97 3.03-10.61 4.62-1.09-3.26-1.86-6.06-2.65-8.64 1.51-3.55 3.91-7 6.82-9.8 2.78.52 5.84 1.08 9.39 1.88-1.15 3.35-2.14 7.46-2.96 11.95Z'/%3E%3Cpath d='M75.66 82.73c-4.29-4.66-8.1-8.91-11.16-12.42 3.62 2.87 8.08 6.4 13.04 10.32-.63.7-1.26 1.4-1.88 2.1M89.61 77.74c4.12-6.14 7.98-11.7 11.06-15.93-2.32 4.61-5.32 10.67-8.58 17.31-.83-.46-1.66-.93-2.48-1.38'/%3E%3Cpath d='M99.59 63.25c-2.32-3.69-4.59-6.74-6.62-8.78 3.07-1.41 5.67-2.24 7.83-2.74 3.76.37 7.8 1.35 11.63 2.93.3 2.26.4 5.19.28 8.72-3.9-.25-8.36-.29-13.11-.14ZM115.22 91.92c2.31-4.08 4.23-7.95 5.73-11.39 2.98 1.61 4.97 3.15 5.54 4.49.03 3.73.04 7.42.06 11.07-.52 1.84-2.46 3.88-5.34 5.95-1.56-2.96-3.55-6.38-5.99-10.12'/%3E%3Cpath d='M95.63 89.22c8.06 1.01 15.68 1.98 21.34 2.72-5.72.12-13.41.16-21.53.14.07-.95.13-1.91.19-2.86M77.32 95.96c-6.68 2.6-12.68 4.88-17.2 6.55 4.18-2.44 9.74-5.61 15.99-9.11.4.85.8 1.71 1.21 2.56'/%3E%3Cpath d='M62.76 101.37c-3.87-2.1-7.09-4.19-9.20-6.11-1.32 3-2.1 5.53-2.67 7.68.48 3.68 1.68 7.58 3.53 11.19 2.44.14 5.46.11 9.08-.15-.44-3.73-.69-8.02-.75-12.61ZM92.53 114.86c-3.56 2.92-6.91 5.33-9.82 7.14 2.4 2.43 4.57 3.94 6.32 4.31 3.73-.07 7.65-.2 11.66-.49 1.41-1.17 2.77-3.63 4.04-6.92a162 162 0 0 1-12.2-4.04'/%3E%3Cpath d='M90.06 99.41c1.3 7.62 2.5 14.6 3.36 19.53-1.68-4.77-3.86-11.51-6.13-18.9.92-.21 1.85-.41 2.77-.63'/%3E%3C/g%3E%3C/svg%3E");
}

.sport-icon-small.NCAAF {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 176 176'%3E%3Cpath d='M45.45 112.63c-2.68-8.15 2.71-21.26 6.9-28.42 12.49-22.48 40.37-33.6 65.12-27.49 4.66 1.33 9.96 2.88 12.99 6.91-3.68-3.14-8.8-3.83-13.43-4.5-23.57-2.77-48.1 7.16-61.4 27.17-4.02 5.86-7.41 12.33-9.38 19.22-.6 2.31-1.22 4.72-.8 7.12Z'/%3E%3Cpath d='M45.45 112.63c-.23-6.13 9.79-17.32 14.18-21.6 15.64-15.21 36.29-25.61 57.94-28.63 3.27-.34 6.6-.57 9.87-.04 1.06.22 2.26.45 3.02 1.27-.93-.57-2.03-.54-3.07-.52-3.17.15-6.29.88-9.35 1.7-20.33 5.76-39.41 15.76-55.79 29.1-4.86 4.07-9.6 8.38-13.65 13.28-1.23 1.66-2.85 3.32-3.14 5.43Z'/%3E%3Cpath d='M78.56 71.69c1.4.58 2.43 1.39 2.98 2.72.19.65.16 1.46.46 2.05.28.6.79 1.04 1.4 1.41 2.45 1.49 3.99 3.61 4.17 6.66l-.23.19a6.85 6.85 0 0 1-4.62-3.95c-.7-1.11-.56-2.81-1.52-3.77-.45-.49-1.22-.77-1.74-1.21-.53-.45-.79-1.08-1.01-1.72-.2-.66-.32-1.39-.14-2.24l.26-.14ZM85.55 67.67c1.48.39 2.61 1.21 3.22 2.52.23.65.22 1.46.53 2.05.29.6.81 1.03 1.42 1.41 1.2.71 2.15 1.66 2.9 2.79.69 1.25 1.1 2.59.97 4.11l-.26.15c-1.49-.6-2.51-1.45-3.35-2.45-.77-1.09-1.33-2.30-1.6-3.65-.15-.7-.39-1.32-.86-1.79-.45-.48-1.23-.73-1.77-1.14-.54-.42-.82-1.01-1.09-1.63-.24-.63-.41-1.32-.35-2.18l.24-.18ZM70.91 77.28c1.4.58 2.43 1.39 2.98 2.72.19.65.16 1.46.46 2.05.28.6.79 1.04 1.4 1.41 2.45 1.49 3.99 3.61 4.17 6.66l-.23.19a6.85 6.85 0 0 1-4.62-3.95c-.7-1.11-.56-2.81-1.52-3.77-.45-.49-1.22-.77-1.74-1.21-.53-.45-.79-1.08-1.01-1.72-.2-.66-.32-1.39-.14-2.24l.26-.14ZM130.45 63.63c2.95 8.32-2.14 21.24-6.35 28.63-12.87 23.3-40.01 33.3-65.36 26.84-4.67-1.38-9.93-2.73-13.29-6.46 3.94 2.8 9.07 3.34 13.74 4.06 24.3 3.06 47.9-5.7 61.61-26.49 3.98-5.91 7.28-12.45 9.07-19.40.54-2.34 1.05-4.76.58-7.16Z'/%3E%3C/svg%3E");
}

/* Sort Controls */
.sort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-controls label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 600;
}

.sort-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--bma-white);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--bma-green);
}

.sort-select:focus {
    outline: none;
    border-color: var(--bma-green-bright);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}

/* Tournament Grid */
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.tournament-card-full {
    background: #1a1a1a;
    border: 2px solid rgba(46, 139, 87, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tournament-card-full::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--bma-green-bright), var(--bma-yellow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tournament-card-full:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 230, 118, 0.4);
}

.tournament-card-full:hover::before {
    opacity: 1;
}

.tournament-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sport-badge-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bma-green-bright);
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-live {
    background: rgba(46, 139, 87, 0.2);
    color: var(--bma-green-bright);
    animation: pulse 2s ease-in-out infinite;
}

.status-upcoming {
    background: rgba(255, 215, 0, 0.2);
    color: var(--bma-yellow);
}

.status-completed {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.tournament-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--bma-white);
}

.tournament-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tournament-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.meta-item svg {
    color: var(--bma-green);
}

.tournament-time-detail {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.tournament-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.entry-badge {
    background: var(--gradient-primary);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bma-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Empty State */
.tournaments-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-icon {
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.tournaments-empty h3 {
    font-size: 1.5rem;
    color: var(--bma-white);
    margin-bottom: 0.5rem;
}

.tournaments-empty p {
    color: rgba(255, 255, 255, 0.5);
    max-width: 400px;
}

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

    .tournaments-lead {
        font-size: 1rem;
    }

    .tournaments-controls {
        padding: 1.5rem;
    }

    .filter-tabs {
        gap: 0.75rem;
    }

    .filter-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .sport-filters {
        gap: 0.5rem;
    }

    .sport-pill {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .tournament-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sort-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .sort-select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 0.75rem 0;
    }

    .breadcrumb-item {
        font-size: 0.8rem;
    }

    .tournaments-header .section-logo {
        height: 50px;
    }

    .tournaments-header h1 {
        font-size: 1.8rem;
    }

    .filter-tabs {
        flex-direction: column;
    }

    .filter-tab {
        width: 100%;
        justify-content: center;
    }

    .tournament-card-full {
        padding: 1.25rem;
    }

    .tournament-title {
        font-size: 1.1rem;
    }
}

/* ========================================
   PAGINATION CONTROLS
   ======================================== */

.pagination-container {
    display: block;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-top {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding: 0 0 1rem 0;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-info {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.pagination-info span {
    color: var(--bma-green-bright);
    font-weight: 600;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: rgba(46, 139, 87, 0.1);
    border: 1px solid rgba(46, 139, 87, 0.3);
    color: var(--bma-white);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(46, 139, 87, 0.2);
    border-color: var(--bma-green-bright);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.page-number {
    min-width: 36px;
    min-height: 36px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:hover {
    background: rgba(46, 139, 87, 0.2);
    border-color: var(--bma-green-bright);
    transform: translateY(-2px);
}

.page-number.active {
    background: var(--gradient-primary);
    border-color: var(--bma-green-bright);
    color: var(--bma-white);
    cursor: default;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

.page-ellipsis {
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.5rem;
    user-select: none;
}

.pagination-settings {
    display: block;
    text-align: center;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.pagination-settings label {
    margin-right: 0.5rem;
}

.pagination-settings select {
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--bma-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-settings select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--bma-green-bright);
}

.pagination-settings select:focus {
    outline: 2px solid var(--bma-green-bright);
    outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pagination-container {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }

    .pagination-info {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .pagination-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: 40px;
        min-height: 40px;
    }

    .page-number {
        min-width: 40px;
        min-height: 40px;
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .pagination-settings {
        font-size: 0.85rem;
    }

    .pagination-settings select {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}
