/* Reset y Variables */
:root {
    /* Colores corporativos */
    --accent-color: #78c913;
    --accent-dark: #28cc00;
    --accent-light: #66ff33;
    
    /* Fondos oscuros */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-steel: #1a1a1c;
    --bg-steel-light: #252528;
    --bg-card: #1f1f22;
    --bg-card-hover: #2a2a2d;
    
    /* Textos */
    --text-white: #ffffff;
    --text-light: #e5e5e5;
    --text-medium: #b8b8b8;
    --text-dark: #8a8a8a;
    
    /* Bordes */
    --border-dark: #2a2a2d;
    --border-light: #3a3a3d;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.8);
    --shadow-accent: 0 0 20px rgba(50, 255, 0, 0.3);
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Tipografía */
    --font-primary: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-light);
    background: var(--bg-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-dark);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--accent-color);
}

.navbar {
    padding: 1.25rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(1.1);
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-steel) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    color: var(--text-white);
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-video {
        opacity: 0.5;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    line-height: 1.5;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-dark);
    border-color: var(--accent-color);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-accent);
    color: var(--bg-dark);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--bg-steel-light);
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    position: relative;
    box-shadow: var(--shadow-accent);
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
    box-shadow: 0 0 10px var(--accent-color);
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Servicios */
.servicios {
    background: var(--bg-dark);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid var(--border-dark);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-accent);
    border-color: var(--accent-color);
    background: var(--bg-card-hover);
}

.servicio-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 255, 2, 0.1);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(225, 255, 2, 0.2);
    padding: 1rem;
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(225, 255, 2, 0.15);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-accent);
}

/* Precio de servicios */
.servicio-precio {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.precio-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.precio-gratis {
    background: linear-gradient(135deg, rgba(225, 255, 2, 0.2), rgba(225, 255, 2, 0.1));
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(225, 255, 2, 0.2);
}

.precio-pago {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.servicio-card:hover .precio-badge {
    transform: scale(1.05);
}

.servicio-card:hover .precio-gratis {
    box-shadow: 0 6px 20px rgba(225, 255, 2, 0.3);
    border-color: var(--accent-color);
}

.servicio-card:hover .precio-pago {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.servicio-icon svg {
    width: 100%;
    height: 100%;
    max-width: 40px;
    max-height: 40px;
}

.servicio-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.servicio-description {
    color: var(--text-medium);
    line-height: 1.75;
    font-size: 0.9375rem;
    flex-grow: 1;
}

/* Nosotros */
.nosotros {
    background: var(--bg-steel);
}

.nosotros-content {
    max-width: 900px;
    margin: 0 auto;
}

.nosotros-text {
    text-align: center;
}

.nosotros-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-dark);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-accent);
    border-color: var(--accent-color);
    background: var(--bg-card-hover);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 0 20px rgba(50, 255, 0, 0.5);
}

.stat-label {
    color: var(--text-medium);
    font-size: 1rem;
}

/* Futbolistas */
.futbolistas {
    background: var(--bg-dark);
}

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

.futbolista-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

.futbolista-card-link:hover {
    text-decoration: none;
}

.futbolista-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-dark);
    cursor: pointer;
}

.futbolista-card-link:hover .futbolista-card {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), var(--shadow-accent);
    border-color: var(--accent-color);
    background: var(--bg-card-hover);
}

.futbolista-foto {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-steel);
}

.futbolista-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.futbolista-card-link:hover .futbolista-foto img {
    transform: scale(1.1);
}

.futbolista-foto.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.futbolista-foto.placeholder svg {
    width: 80px;
    height: 80px;
}

.futbolista-info {
    padding: 1.5rem;
}

.futbolista-nombre {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.futbolista-posicion {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.futbolista-club {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.futbolista-card-bio {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.no-futbolistas {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 3rem;
    grid-column: 1 / -1;
}

/* Contacto */
.contacto {
    background: radial-gradient(circle at top, rgba(120, 201, 19, 0.08), transparent 45%), var(--bg-steel);
    padding: 80px 0;
}

.contacto-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-md);
}

.contacto-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contacto-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(120, 201, 19, 0.1);
    border: 1px solid rgba(120, 201, 19, 0.2);
}

.contacto-icon svg {
    width: 26px;
    height: 26px;
}

.contacto-details h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-white);
}

.contacto-details p {
    color: var(--text-medium);
    margin: 0;
    font-size: 0.95rem;
}

.contacto-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.contacto-highlight {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    border-radius: 18px;
    padding: 1.15rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contacto-highlight-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(120, 201, 19, 0.15);
    color: var(--accent-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contacto-highlight h4 {
    margin: 0 0 0.35rem 0;
    color: var(--text-white);
    font-size: 1rem;
}

.contacto-highlight p {
    margin: 0;
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contacto-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 18px;
    border: 1px solid var(--border-dark);
    background: rgba(255, 255, 255, 0.02);
}

.contacto-meta-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(120, 201, 19, 0.15);
    color: var(--accent-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contacto-meta h4 {
    margin: 0;
    color: var(--text-white);
    font-size: 1.1rem;
}

.contacto-meta p {
    margin: 0.25rem 0 0 0;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.contacto-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-dark);
    position: relative;
    overflow: hidden;
}

.contacto-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(120, 201, 19, 0.08), transparent 60%);
    pointer-events: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid var(--border-dark);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    transition: var(--transition);
    background: var(--bg-steel);
    color: var(--text-light);
    letter-spacing: -0.01em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(50, 255, 0, 0.1), var(--shadow-accent);
    outline: none;
    background: var(--bg-steel-light);
}


.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.captcha-group label {
    display: block;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.captcha-inputs {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.captcha-question {
    background: rgba(120, 201, 19, 0.12);
    color: var(--accent-color);
    font-weight: 600;
    padding: 0.65rem 1rem;
    border-radius: 12px;
}

.captcha-inputs input {
    flex: 1;
}

.form-helper {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-medium);
    font-size: 0.85rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    background: var(--bg-steel);
    border: 1.5px solid var(--border-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    font-size: 0.9rem;
}

.lang-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: var(--bg-steel-light);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    border: 1px solid var(--border-dark);
    overflow: hidden;
}

.language-selector:hover .lang-dropdown,
.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-dark);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--bg-steel-light);
    color: var(--accent-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bg-steel) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    color: var(--text-white);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-dark);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta-section {
    background: var(--bg-steel);
    color: var(--text-white);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-medium);
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(50, 255, 0, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(50, 255, 0, 0.3);
}

.alert-error {
    background: rgba(255, 0, 0, 0.15);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* Preview Sections */
.servicios-preview,
.nosotros-preview,
.futbolistas-preview {
    padding: 5rem 0;
}

.servicios-preview {
    background: var(--bg-dark);
}

.nosotros-preview {
    background: var(--bg-steel);
}

.futbolistas-preview {
    background: var(--bg-dark);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-darker) 0%, #0a0a0a 100%);
    color: var(--text-white);
    padding: 4rem 0 0;
    border-top: 2px solid rgba(225, 255, 2, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-brand {
    max-width: 320px;
}

.footer-section h3.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
    transition: var(--transition);
}

.footer-logo:hover img {
    filter: brightness(1.2);
}

.footer-description {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 12px;
}

.footer-links a:hover::before {
    width: 6px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact li a {
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact li a:hover {
    color: var(--accent-color);
}

.footer-contact li span {
    color: var(--text-medium);
}

.footer-bottom {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-medium);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(225, 255, 2, 0.3);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-section-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
    background: var(--bg-steel);
}

.legal-text {
    max-width: 1600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.legal-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(225, 255, 2, 0.2);
    font-family: 'Inter', sans-serif;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.legal-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.legal-text ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-text ul li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.legal-text ul li strong {
    color: var(--text-white);
    font-weight: 600;
}

.legal-text a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.legal-text a:hover {
    border-bottom-color: var(--accent-color);
}

.legal-updated {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-medium);
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .legal-text {
        padding: 2rem 1.5rem;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .legal-text h3 {
        font-size: 1.2rem;
    }
}

/* Blog Styles */
.blog-section {
    padding: 80px 0;
    background: var(--bg-steel);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-grid-small {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-dark);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.blog-category {
    padding: 1rem 1.5rem 0.5rem;
}

.blog-category a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(225, 255, 2, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-category a:hover {
    background: rgba(225, 255, 2, 0.2);
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-title a:hover {
    color: var(--accent-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 1rem 0;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.blog-card-date {
    color: var(--text-medium);
}

.blog-card-author {
    color: var(--text-medium);
}

.blog-card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.blog-card-link:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

.blog-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-medium);
}

/* Blog Post Page */
.blog-post-page {
    padding: 80px 0;
    background: var(--bg-steel);
}

.blog-post-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.blog-post-category {
    margin-bottom: 1rem;
}

.blog-post-category a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(225, 255, 2, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-post-category a:hover {
    background: rgba(225, 255, 2, 0.2);
}

.blog-post-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 1rem 0;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.blog-post-date,
.blog-post-author,
.blog-post-views {
    color: var(--text-medium);
}

.blog-post-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid var(--border-dark);
}

.blog-post-excerpt {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-dark);
    font-weight: 500;
}

.blog-post-body {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.1rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-related {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid var(--border-dark);
}

.blog-related h2 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-content {
        padding: 2rem 1.5rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1rem;
        border-top: 1px solid var(--border-dark);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .lang-dropdown {
        right: 0;
        left: auto;
        position: absolute;
        top: calc(100% + 8px);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .page-header {
        padding: 6rem 0 3rem;
        margin-top: 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .contacto-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .futbolistas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1.5rem 0;
    background: var(--bg-steel);
    border-bottom: 1px solid var(--border-light);
}

.breadcrumbs-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-medium);
}

.breadcrumbs-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs-nav a:hover {
    color: var(--accent-color);
}

.breadcrumb-separator {
    color: var(--text-medium);
}

.breadcrumb-current {
    color: var(--text-white);
    font-weight: 500;
}

/* Página de Detalle de Futbolista */
.futbolista-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-steel) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    overflow: hidden;
}

.futbolista-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(225, 255, 2, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.futbolista-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 4rem;
    align-items: start;
}

.futbolista-hero-image {
    position: relative;
}

.futbolista-main-photo {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-light);
    transition: var(--transition);
}

.futbolista-main-photo:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-accent);
}

.futbolista-main-photo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-steel);
    color: var(--text-light);
}

.futbolista-main-photo.placeholder svg {
    width: 120px;
    height: 120px;
}

.futbolista-hero-info {
    color: var(--text-white);
}

.futbolista-hero-header {
    margin-bottom: 2.5rem;
}

.futbolista-hero-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.futbolista-posicion-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(225, 255, 2, 0.15);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.futbolista-posicion-badge svg {
    width: 16px;
    height: 16px;
}

.futbolista-hero-details {
    display: grid;
    gap: 1.5rem;
}

.futbolista-detail-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.futbolista-detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(225, 255, 2, 0.1);
}

.detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 255, 2, 0.1);
    border-radius: 12px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
}

.futbolista-hero-cta {
    margin-top: 2.5rem;
}

.futbolista-hero-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.futbolista-hero-cta .btn svg {
    width: 20px;
    height: 20px;
}

.futbolista-photo-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.futbolista-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}


/* Futbolista Stats Section */
.futbolista-stats {
    padding: 60px 0;
    background: var(--bg-steel);
    position: relative;
}

.futbolista-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.futbolista-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.futbolista-stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition);
}

.futbolista-stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(225, 255, 2, 0.1);
}

.stat-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 255, 2, 0.1);
    border-radius: 16px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-content {
    flex: 1;
}

.stat-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.futbolista-bio {
    padding: 80px 0;
    background: var(--bg-dark);
    position: relative;
}

.futbolista-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.futbolista-bio-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.futbolista-bio-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-top: 2rem;
    text-align: justify;
}

/* Espaciado entre párrafos */
.futbolista-bio-text br {
    line-height: 1.9;
}

/* Espaciado adicional cuando hay dos <br> seguidos (separación de párrafos) */
.futbolista-bio-text br + br {
    margin-bottom: 1.5rem;
    display: block;
}

.otros-futbolistas {
    padding: 80px 0;
    background: var(--bg-steel);
}

@media (max-width: 1024px) {
    .futbolista-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .futbolista-hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .futbolista-main-photo {
        height: 400px;
    }
    
    .futbolista-hero-name {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .futbolista-hero-header {
        text-align: center;
    }
    
    .futbolista-hero-cta {
        text-align: center;
    }
    
    .futbolista-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 1rem 0;
    }
    
    .breadcrumbs-nav {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }
    
    .futbolista-hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .futbolista-hero-content {
        gap: 2rem;
    }
    
    .futbolista-hero-image {
        max-width: 100%;
    }
    
    .futbolista-main-photo {
        height: 300px;
    }
    
    .futbolista-hero-name {
        font-size: 2rem;
    }
    
    .futbolista-detail-item {
        padding: 1rem;
    }
    
    .futbolista-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .futbolista-stat-card {
        padding: 1.5rem;
    }
    
    .futbolista-bio-text {
        font-size: 1rem;
    }
    
    .futbolista-hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Base de Datos de Jugadores */
.jugadores-db-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

.jugadores-db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.jugadores-db-search {
    flex: 1;
    min-width: 300px;
}

.search-form {
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--bg-steel);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
}

.search-input::placeholder {
    color: var(--text-medium);
}

.jugadores-db-actions {
    display: flex;
    gap: 1rem;
}

.jugadores-db-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.jugador-db-card {
    background: var(--bg-steel);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.jugador-db-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.jugador-db-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.jugador-db-foto {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-darker);
}

.jugador-db-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jugador-db-foto.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
}

.jugador-db-foto.placeholder svg {
    width: 80px;
    height: 80px;
}

.jugador-db-info {
    padding: 1.5rem;
}

.jugador-db-nombre {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.jugador-db-posicion {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.jugador-db-club,
.jugador-db-nacionalidad {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.no-jugadores {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    grid-column: 1 / -1;
}

.no-jugadores p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Tabla de Jugadores DB */
.jugadores-db-table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
    background: var(--bg-steel);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    padding: 1rem;
}

.jugadores-db-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.jugadores-db-table thead {
    background: rgba(255, 255, 255, 0.05);
}

.jugadores-db-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-light);
}

.jugadores-db-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    vertical-align: middle;
}

.jugadores-db-table tbody tr {
    transition: var(--transition);
}

.jugadores-db-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.jugadores-db-table tbody tr:last-child td {
    border-bottom: none;
}

.table-jugador-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.table-jugador-foto {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
}

.table-jugador-foto.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    color: var(--text-medium);
}

.table-jugador-foto.placeholder svg {
    width: 24px;
    height: 24px;
}

.table-jugador-name {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.table-jugador-name strong {
    color: var(--text-white);
    font-weight: 600;
    font-size: 1rem;
}

.table-jugador-edad {
    color: var(--text-medium);
    font-size: 0.875rem;
}

.jugadores-db-table .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Formularios Jugadores DB */
.jugadores-db-form-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-steel);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-light);
}

.jugadores-db-form .form-group {
    margin-bottom: 1.5rem;
}

.jugadores-db-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.jugadores-db-form input,
.jugadores-db-form textarea,
.jugadores-db-form select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
}

.jugadores-db-form input:focus,
.jugadores-db-form textarea:focus,
.jugadores-db-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(225, 255, 2, 0.1);
}

.btn-block {
    width: 100%;
}

.form-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-light);
}

.form-footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .jugadores-db-header {
        flex-direction: column;
    }
    
    .jugadores-db-search {
        width: 100%;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .jugadores-db-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .jugadores-db-actions .btn {
        width: 100%;
    }
    
    .jugadores-db-grid {
        grid-template-columns: 1fr;
    }
    
    .jugadores-db-table-wrapper {
        padding: 0.5rem;
        border-radius: 12px;
    }
    
    .jugadores-db-table {
        min-width: 600px;
        font-size: 0.875rem;
    }
    
    .jugadores-db-table th,
    .jugadores-db-table td {
        padding: 0.875rem 0.5rem;
    }
    
    .table-jugador-foto {
        width: 40px;
        height: 40px;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
}

/* Panel de Usuario - Tabs */
.perfil-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.tab-btn:hover {
    color: var(--text-white);
}

.tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-medium);
    font-size: 0.875rem;
}

.current-photo img {
    display: block;
}

/* Vídeos y Logros */
.videos-list,
.logros-list {
    margin-top: 3rem;
}

.videos-list h3,
.logros-list h3 {
    color: var(--text-white);
    margin-bottom: 2rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item {
    background: var(--bg-steel);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.video-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-darker);
}

.video-thumbnail.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
}

.video-thumbnail.placeholder svg {
    width: 60px;
    height: 60px;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.video-info p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.logros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.logro-item {
    background: var(--bg-steel);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
}

.logro-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.logro-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.logro-header h4 {
    color: var(--text-white);
    font-size: 1.125rem;
    margin: 0;
    flex: 1;
}

.logro-tipo {
    background: rgba(225, 255, 2, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
}

.logro-club,
.logro-fecha {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.no-items {
    text-align: center;
    color: var(--text-medium);
    padding: 2rem;
    background: var(--bg-steel);
    border-radius: 16px;
}

/* Perfil Público de Jugador */
.jugador-db-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-steel) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
}

.jugador-db-hero-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.jugador-db-main-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-light);
}

.jugador-db-main-photo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-steel);
    color: var(--text-light);
}

.jugador-db-main-photo.placeholder svg {
    width: 100px;
    height: 100px;
}

.jugador-db-hero-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.jugador-db-posicion-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(225, 255, 2, 0.15);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.jugador-db-hero-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.jugador-db-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.jugador-db-bio,
.jugador-db-videos,
.jugador-db-curriculum,
.jugador-db-curriculum-text {
    padding: 60px 0;
    background: var(--bg-dark);
}

.jugador-db-bio-text,
.jugador-db-curriculum-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
    text-align: justify;
}

.videos-grid-public {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.video-item-public {
    background: var(--bg-steel);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.video-item-public:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-link {
    padding: 2rem;
    text-align: center;
    background: var(--bg-darker);
}

.video-info-public {
    padding: 1.5rem;
}

.video-info-public h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.video-info-public p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.logros-grid-public {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.logro-item-public {
    background: var(--bg-steel);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.logro-item-public:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.logro-header-public {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.logro-header-public h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin: 0;
    flex: 1;
}

.logro-tipo-badge {
    background: rgba(225, 255, 2, 0.15);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.logro-item-public p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .jugador-db-hero-content {
        grid-template-columns: 1fr;
    }
    
    .jugador-db-hero-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .videos-grid-public {
        grid-template-columns: 1fr;
    }
    
    .logros-grid-public {
        grid-template-columns: 1fr;
    }
}

/* Trayectoria Styles */
.trayectoria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trayectoria-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.trayectoria-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.trayectoria-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trayectoria-header h4 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.trayectoria-actions {
    display: flex;
    gap: 0.5rem;
}

.trayectoria-content p {
    margin: 0.5rem 0;
    color: var(--text-light);
}

.trayectoria-stats h5 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

/* Trayectoria Timeline (Public Profile) */
.jugador-db-trayectoria {
    padding: 80px 0;
    background: var(--bg-steel);
    position: relative;
}

.trayectoria-timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 3rem;
}

.trayectoria-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-color), transparent);
}

.trayectoria-item-public {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.trayectoria-item-public::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--bg-steel);
    box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.2);
}

.trayectoria-year h3 {
    font-size: 1.75rem;
    color: var(--accent-color);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.trayectoria-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
}

.trayectoria-details:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.1);
}

.trayectoria-details h4 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: var(--text-light);
}

.trayectoria-posicion,
.trayectoria-liga,
.trayectoria-pais {
    margin: 0.5rem 0;
    color: var(--text-medium);
}

.trayectoria-stats-public {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.trayectoria-video-link {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trayectoria-notas-public {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-medium);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .trayectoria-timeline {
        padding-left: 2rem;
    }
    
    .trayectoria-item-public {
        padding-left: 1.5rem;
    }
    
    .trayectoria-item-public::before {
        left: -1.25rem;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trayectoria-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .perfil-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .videos-grid,
    .logros-grid {
        grid-template-columns: 1fr;
    }
    
    .jugador-db-hero-name {
        font-size: 2rem;
    }
}

