/* --------------------------------------------------------------------------
   TAGS Y BADGES COMPARTIDOS
   --------------------------------------------------------------------------
   Lo unico de pages/lineups.css que usaban otras paginas: etiquetas, badges
   y pestanas de orden. Por estas pocas reglas el archivo entero viajaba a
   todo el sitio.
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 20px;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(129, 140, 248, .12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--brand-accent);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: .15em;
    background: rgba(129, 140, 248, .08);
    border: 1px solid rgba(129, 140, 248, .2);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--sp-8);
}

.page-title {
    font-family: 'Teko', sans-serif;
    font-size: var(--fs-7xl);
    font-weight: var(--fw-bold);
    color: var(--text-white);
    text-transform: uppercase;
    line-height: .9;
    letter-spacing: .02em;
}

.page-title span { color: var(--brand-accent); }

.page-subtitle {
    color: var(--text-gray);
    font-size: var(--fs-md);
    margin-top: var(--sp-3);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.search-input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--sp-4) var(--sp-6);
    color: var(--text-white);
    font-size: var(--fs-md);
    outline: none;
    font-family: inherit;
}

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

.search-input:focus        { border-color: rgba(129, 140, 248, .4); }

@media (max-width: 900px) {
    .lineups-main { grid-template-columns: 1fr; }
}

.sort-tab.active {
    background: var(--bg-input);
    color: var(--text-white);
}

.badge-side.attack  { background: rgba(2, 132, 199, .85);  color: #bae6fd; }

.badge-side.defense { background: rgba(161, 98, 7, .85);   color: #fef3c7; }

.tag {
    font-size: var(--fs-2xs);
    font-weight: var(--fw-bold);
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* — Premium badge — */
.badge-premium {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, rgba(255,196,0,.85), rgba(255,140,0,.85));
    color: #1a1000;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    padding: 3px 8px;
    border-radius: var(--radius-xl);
    letter-spacing: .02em;
}

.lineup-card.lineup-locked .btn-view-locked {
    opacity: 1;
    pointer-events: auto;
    color: var(--amber);
    border-color: var(--amber);
}

.lineup-modal-overlay.active { display: flex; }
