/* ═══════════════════════════════════════════
   Consulta — index (hero DNI)
   ═══════════════════════════════════════════ */

body:has(.hero) footer {
    display: none;
}

/* ── Hero ── */
.hero {
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    background: #1e6bff;
    padding: 0 5% 0 6%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 20% 50%,
            rgba(255, 194, 0, 0.08) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 80% 50%,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 60%
        );
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 60px,
        rgba(255, 255, 255, 0.02) 60px,
        rgba(255, 255, 255, 0.02) 61px
    );
    z-index: 0;
}

/* ── Círculo decorativo ── */
.cancha-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 194, 0, 0.06);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.cancha-circle::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 194, 0, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ── Contenido ── */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    padding: 0;
    animation: fadeUp 0.7s ease both;
    max-width: 480px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Clubes ── */
.clubs-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.6rem;
    font-family: var(--font-body);
}

.clubs-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.4rem;
}

.club-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    opacity: 0.65;
    transition: opacity 0.2s;
}
.club-item:hover {
    opacity: 1;
}

.club-shield {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.club-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
}

/* ── Título ── */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 0.95;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: 2px;
}
.hero-title .accent {
    color: var(--color-gold);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ── Card DNI ── */
.dni-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.8rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.dni-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.dni-input-wrap {
    margin-bottom: 1rem;
}

.dni-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 8px;
    text-align: center;
    transition: all 0.2s;
    outline: none;
}
.dni-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 4px;
    font-size: 1.5rem;
}
.dni-input:focus {
    border-color: var(--color-gold);
    background: rgba(255, 194, 0, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 194, 0, 0.15);
}
.dni-input.is-error {
    border-color: #ef4444;
}

/* ── Error DNI ── */
.dni-error-box {
    text-align: left;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}
.dni-error-title {
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #fca5a5;
}
.dni-error-intro {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.4rem;
    line-height: 1.5;
}
.dni-error-list {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    padding-left: 1.2rem;
    margin: 0 0 0.8rem;
    line-height: 1.8;
}
.dni-error-list strong {
    color: rgba(255, 255, 255, 0.75);
}
.dni-error-footer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
    margin: 0;
}
.dni-error-link {
    color: var(--color-gold);
    font-weight: 600;
    text-decoration: none;
}

/* ── Botón consultar ── */
.btn-consultar {
    width: 100%;
    padding: 0.95rem;
    background: var(--color-gold);
    color: #1a1a1a;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 3px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 700;
}
.btn-consultar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 194, 0, 0.4);
    opacity: 0.9;
}
.btn-consultar:active {
    transform: translateY(0);
}

/* ── Decorativos ── */
.deco-mancha {
    position: absolute;
    bottom: -5%;
    right: -2%;
    width: 48%;
    max-width: 820px;
    z-index: 0;
    pointer-events: none;
}
.deco-ninos {
    position: absolute;
    bottom: -8%;
    right: 0%;
    width: 44%;
    max-width: 500px;
    z-index: 1;
    pointer-events: none;
}
