* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 40px 0;
    background: #d4841c;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideDown 1s ease-out;
}
.bg-equipos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../recursos/equipos.png") no-repeat center center/cover;
    filter: blur(3px) opacity(75%);
    z-index: -1;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 2;
    position: relative;
    text-decoration: none;
}
.cta-button:hover {
    background: white;
    color: #d4841c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


h1 {
    font-size: 3.5em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    background-clip: text;
}

.subtitle {
    font-size: 1.4em;
    color: #f0f8ff;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.container {
    margin: 0 auto;
    padding: 20px;
}

.team-selector {
    background: rgba(255, 255, 255, 0.6);
    margin: 2rem auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.selector-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.tab-button {
    flex: 1;
    padding: 1.2rem 1rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(135deg, #d4841c, #b8721a);
    transition: width 0.3s ease;
}

.tab-button.active {
    color: #d4841c;
    background: white;
}

.tab-button.active::before {
    width: 100%;
}

.tab-button:hover:not(.active) {
    background: #e9ecef;
    color: #495057;
}

.team-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in;
}

.team-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header img{
    width: 600px;
    margin: 1% 0;
    border-radius: 2%;
}

.section-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-description {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.team-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin: 0;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.player-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #d4841c, #b8721a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.player-card:hover::before {
    transform: scaleX(1);
}

.player-info {
    padding: 2rem;
    text-align: center;
}

.player-info img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid #f8f9fa;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.player-card:hover .player-info img {
    transform: scale(1.05);
    border-color: #d4841c;
}

.player-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.player-position {
    color: #d4841c;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 4rem;
}

.footer h3 {
    color: #d4841c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.footer .copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

.footer a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #c98126;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    .selector-tabs {
        flex-direction: column;
    }

    .tab-button {
        padding: 1rem;
        font-size: 1rem;
        border-bottom: 1px solid #e9ecef;
    }

    .tab-button:last-child {
        border-bottom: none;
    }

    .team-content {
        padding: 1.5rem;
    }

    .section-header img{
        width: 300px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .players-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .player-info {
        padding: 1.5rem;
    }

    .player-info img {
        width: 100px;
        height: 100px;
    }

    .team-description {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem 0.5rem;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    .section-header img{
        width: 250px;
    }

    .back-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .players-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .player-card {
        border-radius: 15px;
    }

    .player-info {
        padding: 1.2rem;
    }

    .player-info img {
        width: 80px;
        height: 80px;
    }

    .player-name {
        font-size: 1.1rem;
    }

    .player-position {
        font-size: 0.9rem;
    }
}

/* Tablet específico */
@media (min-width: 769px) and (max-width: 1024px) {
    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}