/* Reset y fuentes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    padding-top: 80px;
}

/* Barra superior principal */
.top-bar {
    background-color: #000000; /* Negro profesional */
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.logo span {
    color: #3498db; /* Azul para "Pro" */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav ul li a:hover, .active {
    color: #3498db;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 8px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-bar button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: 0.3s;
}

.search-bar button:hover {
    background-color: #2980b9;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 60px 5%;
    background-color: #ffffff;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.hero p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* Grid de deportes */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 5% 5%;
}

.sport-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sport-header {
    background-color: var(--sport-color);
    padding: 15px;
    color: white;
}

.sport-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.sport-card p {
    padding: 20px;
    color: #555;
    font-size: 0.95rem;
    min-height: 60px;
}

.access-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--sport-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.access-btn:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #000000;
    color: #ecf0f1;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Estilos para el formulario de registro e inicio de sesión */
.auth-form {
    max-width: 350px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.auth-form input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.auth-form button {
    margin-top: 10px;
}
