

.intro-section {
    padding: 4rem 1rem 2rem;
    margin-top: 70px;
    text-align: center;
    background: linear-gradient(135deg, #2d6a8f 0%, #1e4a5f 100%);
    color: #fff;
    position: relative;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-title.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    color: #e8f4f8;
}

.page-subtitle.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.section {
    padding: 3rem 1rem;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a9bc4, transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    color: #1e4a5f;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4a9bc4, transparent);
}

.section-title.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}


.torneo-actual {
    background: linear-gradient(180deg, #e8f4f8 0%, #d4e8f0 100%);
}

.torneo-info {
    opacity: 0;
    transform: translateY(20px);
}

.torneo-info.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.torneo-card {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 3px solid #4a9bc4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.torneo-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1e4a5f;
    text-align: center;
}

.torneo-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: #2d6a8f;
}

.torneo-card strong {
    color: #1e4a5f;
}


.tabla-section {
    background: linear-gradient(180deg, #d4e8f0 0%, #e8f4f8 100%);
}

.tabla-container {
    opacity: 0;
    transform: translateY(20px);
    overflow-x: auto;
}

.tabla-container.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tabla-torneo {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid #d4e8f0;
}

.tabla-torneo thead {
    background: linear-gradient(135deg, #2d6a8f 0%, #1e4a5f 100%);
    color: #fff;
}

.tabla-torneo th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.tabla-torneo tbody tr {
    border-bottom: 1px solid #d4e8f0;
    transition: all 0.3s ease;
}

.tabla-torneo tbody tr:hover {
    background: #e8f4f8;
    transform: scale(1.01);
}

.tabla-torneo tbody tr.posicion-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    font-weight: bold;
}

.tabla-torneo tbody tr.posicion-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    font-weight: bold;
}

.tabla-torneo tbody tr.posicion-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #e8a87c 100%);
    font-weight: bold;
}

.tabla-torneo td {
    padding: 1rem;
    color: #2d6a8f;
}

.tabla-torneo tbody tr.posicion-1 td,
.tabla-torneo tbody tr.posicion-2 td,
.tabla-torneo tbody tr.posicion-3 td {
    color: #1e4a5f;
}

.tabla-torneo td:first-child {
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}


.premios-section {
    background: linear-gradient(180deg, #e8f4f8 0%, #d4e8f0 100%);
}

.premios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.premio-card {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    border: 2px solid #d4e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.premio-card.slide-up-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.premio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: #4a9bc4;
}

.premio-medalla {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.medalla-oro {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.medalla-plata {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
}

.medalla-bronce {
    background: linear-gradient(135deg, #cd7f32 0%, #e8a87c 100%);
}

.premio-medalla:not(.medalla-oro):not(.medalla-plata):not(.medalla-bronce) {
    background: linear-gradient(135deg, #4a9bc4 0%, #2d6a8f 100%);
}

.premio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1e4a5f;
}

.premio-card ul {
    list-style: none;
    padding: 0;
}

.premio-card li {
    padding: 0.5rem 0;
    color: #2d6a8f;
    line-height: 1.6;
}


.torneos-anteriores {
    background: linear-gradient(180deg, #d4e8f0 0%, #e8f4f8 100%);
}

.torneos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.torneo-anterior-card {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    border: 2px solid #d4e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #4a9bc4;
}

.torneo-anterior-card.slide-up-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.torneo-anterior-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.torneo-anterior-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e4a5f;
}

.torneo-anterior-card p {
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: #2d6a8f;
}

.torneo-anterior-card strong {
    color: #1e4a5f;
}


.participar-section {
    background: linear-gradient(180deg, #e8f4f8 0%, #d4e8f0 100%);
}

.participar-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.participar-content.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.paso-item {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #d4e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.paso-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: #4a9bc4;
}

.paso-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a9bc4 0%, #2d6a8f 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(74, 155, 196, 0.4);
}

.paso-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e4a5f;
}

.paso-item p {
    line-height: 1.6;
    color: #2d6a8f;
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
}

.slide-up-visible {
    opacity: 1;
    transform: translateY(0);
}


@media (min-width: 768px) {
    .page-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .premios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .torneos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .participar-content {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (min-width: 1024px) {
    .intro-section {
        padding: 6rem 1rem 4rem;
    }

    .section {
        padding: 5rem 1rem;
    }

    .premios-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .participar-content {
        grid-template-columns: repeat(4, 1fr);
    }
}
