
    :root {
        --primary: #015293;
        --secondary: #ff6b6b;
        --light: #f4f4f4;
        --dark: #333;
    }

    /* Showcase */
    #showcase {
        min-height: 400px;
        background: url("../img/showcase.jpg") no-repeat 0 -100px;
        text-align: center;
        color: #fff;
    }

    #showcase h1 {
        margin-top: 100px;
        font-size: 55px;
        margin-bottom: 10px;
    }

    #showcase p {
        font-size: 20px;
    }

    /* Newsletter */
    #newsletter {
        padding: 15px;
        color: #fff;
        background: var(--dark);
    }

    #newsletter h1 {
        float: left;
    }

    #newsletter form {
        float: right;
        margin-top: 15px;
    }

    #newsletter input[type="email"] {
        padding: 4px;
        height: 25px;
        width: 250px;
    }

    /* Boxes */
    #boxes {
        margin-top: 20px;
    }

    #boxes .box {
        float: left;
        text-align: center;
        width: 30%;
        padding: 10px;
    }

    #boxes .box img {
        width: 90px;
    }

    /* Sidebar */
    aside#sidebar {
        float: right;
        width: 30%;
        margin-top: 10px;
        padding: 20px;
    }

    aside#sidebar .quote input,
    aside#sidebar .quote textarea {
        width: 90%;
        padding: 5px;
    }

    /* Main-col */
    article#main-col {
        float: left;
        width: 65%;
    }

    /* Services */
    ul#services li {
        list-style: none;
        padding: 20px;
        border: #ccc solid 1px;
        margin-bottom: 5px;
        background: #e6e6e6;
    }

    /* Footer */
    footer {
        padding: 20px;
        margin-top: 20px;
        color: #fff;
        background-color: var(--secondary);
        text-align: center;
    }

    /* Media Queries */
    @media (max-width: 768px) {

        header #branding,
        header nav,
        header nav li,
        #newsletter h1,
        #newsletter form,
        #boxes .box,
        aside#sidebar,
        article#main-col {
            float: none;
            text-align: center;
            width: 100%;
        }

        header {
            padding-bottom: 50px;
        }

        #showcase h1 {
            margin-top: 40px;
        }

        #newsletter form {
            margin-top: 0;
        }
    }

    /* Tournaments */
    .tournaments-section {
        padding: 50px 0;
        background-color: var(--light);
    }

    .tournaments-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .tournament-card {
        background-color: #fff;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s ease;
    }

    .tournament-card:hover {
        transform: translateY(-5px);
    }

    .tournament-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .tournament-content {
        padding: 20px;
    }

    .tournament-title {
        font-size: 1.5em;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 10px;
    }

    .tournament-details {
        color: #777;
        margin-bottom: 15px;
    }

    .tournament-details p {
        margin: 5px 0;
    }

    .tournament-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .btn {
        display: inline-block;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .btn-primary {
        background-color: var(--primary);
        color: #fff;
    }

    .btn-primary:hover {
        background-color: #5a52d4;
    }

    .btn-secondary {
        background-color: var(--secondary);
        color: #fff;
    }

    .btn-secondary:hover {
        background-color: #d45a5a;
    }

    /* Animaciones */
    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-20px);
        }

        60% {
            transform: translateY(-10px);
        }
    }

    .bounce {
        animation: bounce 2s infinite;
    }

    /* Estilos para los filtros */
    .filter-container {
        background-color: white;
        border-radius: 15px;
        padding: 15px 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        margin-bottom: 30px;
    }

    .filter-title {
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 0;
    }

    .filter-btn {
        background-color: #f1f1f1;
        color: #666;
        border: none;
        border-radius: 20px;
        padding: 8px 20px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .filter-btn:hover {
        background-color: #e0e0e0;
        transform: translateY(-2px);
    }

    .filter-btn.active {
        background-color: var(--primary);
        color: white;
        box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    }

    /* Estilos para la paginación */
    .pagination-container {
        margin-top: 40px;
    }

    .pagination .page-item .page-link {
        border: none;
        color: var(--dark);
        margin: 0 5px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .pagination .page-item .page-link:hover {
        background-color: #f1f1f1;
        color: var(--primary);
    }

    .pagination .page-item.active .page-link {
        background-color: var(--primary);
        color: white;
        box-shadow: 0 5px 15px rgb(1 82 147 / 29%);
    }

    .pagination .page-item.disabled .page-link {
        color: #ccc;
        pointer-events: none;
    }

    /* Animación para las tarjetas */
    .tournament-card {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    :root {
        --secondary: #ff6584;
        --dark: #2c2c54;
        --light: #f5f6fa;
        --success: #44bd32;
        --warning: #fbc531;
        --info: #00a8ff;
        --danger: #e84118;
    }

    .hero-section {
        background: linear-gradient(135deg, var(--primary) 0%, #8c7ae6 100%);
        padding: 80px 0;
        margin-bottom: 30px;
        color: white;
        position: relative;
        overflow: hidden;
    }

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://images.unsplash.com/photo-1552072092-7f9b8d63efcb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
        background-size: cover;
        background-position: center;
        opacity: 0.2;
        z-index: 0;
    }

    .hero-section .container {
        position: relative;
        z-index: 1;
    }

    .main-title {
        font-weight: 700;
        font-size: 3.5rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .subtitle {
        font-size: 1.5rem;
        opacity: 0.9;
    }

    .tournament-card {
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        background: white;
        height: 100%;
        position: relative;
    }

    .tournament-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .card-img-container {
        height: 200px;
        overflow: hidden;
        position: relative;
    }

    .card-img-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.5s ease;
    }

    .tournament-card:hover .card-img-container img {
        transform: scale(1.1);
    }

    .card-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: var(--primary);
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.8rem;
        z-index: 2;
        box-shadow: 0 3px 10px rgba(108, 99, 255, 0.5);
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-weight: 700;
        margin-bottom: 10px;
        color: var(--dark);
        font-size: 1.4rem;
    }

    .card-text {
        color: #666;
        margin-bottom: 15px;
    }

    .winner-section {
        display: flex;
        align-items: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    .winner-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 15px;
        border: 3px solid var(--success);
    }

    .winner-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .winner-info {
        flex: 1;
    }

    .winner-label {
        font-size: 0.8rem;
        color: #888;
        margin-bottom: 2px;
    }

    .winner-name {
        font-weight: 600;
        color: var(--dark);
    }

    .trophy-icon {
        color: var(--warning);
        font-size: 1.5rem;
        margin-left: 10px;
        animation: shine 2s infinite;
    }

    .card-footer {
        padding: 15px 20px;
        background: #f8f9fa;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .date-info {
        font-size: 0.9rem;
        color: #666;
    }

    .btn-details {
        background: var(--primary);
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 20px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-details:hover {
        background: #5a52d5;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
    }

    .stats-container {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
    }

    .stat-item {
        text-align: center;
        flex: 1;
        padding: 10px;
        border-right: 1px solid #eee;
    }

    .stat-item:last-child {
        border-right: none;
    }

    .stat-value {
        font-weight: 700;
        font-size: 1.2rem;
        color: var(--primary);
    }

    .stat-label {
        font-size: 0.8rem;
        color: #888;
    }

    /* Animaciones */
    @keyframes bounce {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    .bounce {
        display: inline-block;
        animation: bounce 2s ease infinite;
    }

    @keyframes shine {
        0% {
            opacity: 1;
        }

        50% {
            opacity: 0.5;
        }

        100% {
            opacity: 1;
        }
    }

    /* Estilos para el modal */
    .modal-content {
        border-radius: 15px;
        overflow: hidden;
    }

    .modal-header {
        background: var(--primary);
        color: white;
        border-bottom: none;
    }

    .modal-title {
        font-weight: 700;
    }

    .modal-body {
        padding: 30px;
    }

    .tournament-detail-header {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
    }

    .tournament-logo {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 20px;
        border: 4px solid var(--primary);
    }

    .tournament-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .tournament-info h3 {
        margin-bottom: 5px;
        font-weight: 700;
    }

    .tournament-info p {
        color: #666;
        margin-bottom: 5px;
    }

    .team-list {
        margin-top: 30px;
    }

    .team-item {
        display: flex;
        align-items: center;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 10px;
        background: #f8f9fa;
        transition: all 0.3s ease;
    }

    .team-item:hover {
        background: #f1f1f1;
        transform: translateX(5px);
    }

    .team-position {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--primary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        margin-right: 15px;
    }

    .team-position.winner {
        background: var(--warning);
    }

    .team-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 15px;
    }

    .team-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .team-name {
        font-weight: 600;
        flex: 1;
    }

    .team-score {
        font-weight: 700;
        color: var(--primary);
    }

    .winner-details {
        background-color: #f8f9fa;
        border-radius: 15px;
        padding: 20px;
        margin-top: 20px;
        border-left: 5px solid var(--success);
    }

    .winner-item {
        background-color: transparent;
        display: flex;
        align-items: center;
    }

    /* Media queries para responsividad */
    @media (max-width: 992px) {
        .main-title {
            font-size: 2.5rem;
        }

        .subtitle {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 768px) {
        .hero-section {
            padding: 50px 0;
        }

        .main-title {
            font-size: 2rem;
        }

        .subtitle {
            font-size: 1rem;
        }

        .tournament-detail-header {
            flex-direction: column;
            text-align: center;
        }

        .tournament-logo {
            margin-right: 0;
            margin-bottom: 20px;
        }
    }

    @media (max-width: 576px) {
        .card-footer {
            flex-direction: column;
            align-items: flex-start;
        }

        .btn-details {
            margin-top: 10px;
            width: 100%;
        }

        .stats-container {
            flex-wrap: wrap;
        }

        .stat-item {
            flex: 0 0 50%;
            border-right: none;
            border-bottom: 1px solid #eee;
            padding: 10px 0;
        }
    }