/* ==========================================================================
   SPARTA1893.CZ - STRÁNKA INFO (O PROJEKTU)
   Nový prémiový design v souladu s vizuálním stylem sparta1893.cz
   ========================================================================== */

/* 1. Globální vynucení tmavého pozadí */
html,
body {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hlavní obal stránky s jemnou klubovou atmosférou */
.info-page-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    box-sizing: border-box;
    position: relative;
    background: radial-gradient(circle at 50% -40px, rgba(172, 31, 45, 0.18) 0%, rgba(0, 51, 160, 0.08) 40%, rgba(0, 0, 0, 0) 75%);
}

/* --------------------------------------------------------------------------
   2. HERO HLAVIČKA
   -------------------------------------------------------------------------- */
.info-hero {
    text-align: center;
    padding: 38px 16px 44px;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

/* Horní klubový nadpis / kicker s elegantními linkami */
.info-hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
}

.info-hero-kicker .kicker-line {
    width: 44px;
    height: 1px;
    flex-shrink: 0;
}

.info-hero-kicker .kicker-line-left {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 199, 44, 0.75) 100%);
}

.info-hero-kicker .kicker-line-right {
    background: linear-gradient(90deg, rgba(255, 199, 44, 0.75) 0%, transparent 100%);
}

.info-hero-kicker .kicker-text {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffc72c;
    text-shadow: 0 0 12px rgba(255, 199, 44, 0.35);
}

/* Hlavní H1 nadpis - maximální kontrast, žádné splývání */
.info-hero-title {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.info-hero-title .info-title-main {
    color: #ffffff !important;
}

.info-hero-title .info-title-sub {
    color: #ffd200 !important;
    display: inline-block;
    white-space: nowrap;
    text-shadow: 0 2px 14px rgba(255, 210, 0, 0.45);
    margin-left: 4px;
}

.info-hero-title .highlight {
    color: #ffd200 !important;
}

/* Sparťanská trikolóra linka pod nadpisem */
.info-hero-accent-line {
    width: 110px;
    height: 3px;
    background: linear-gradient(90deg, #0033a0 0%, #ffc72c 50%, #ac1f2d 100%);
    margin: 22px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 199, 44, 0.4);
}

/* --------------------------------------------------------------------------
   3. OBSAHOVÉ KARTY (GRID)
   -------------------------------------------------------------------------- */
.info-content-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 14px;
}

/* Jednotlivá karta */
.info-card {
    background: linear-gradient(160deg, rgba(24, 24, 40, 0.92) 0%, rgba(13, 13, 22, 0.98) 100%) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 18px !important;
    padding: 36px 42px !important;
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 22px rgba(172, 31, 45, 0.12) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease !important;
    box-sizing: border-box;
}

.info-card:hover {
    border-color: rgba(255, 199, 44, 0.45) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.8), 0 0 28px rgba(172, 31, 45, 0.25) !important;
    transform: translateY(-4px) !important;
}

/* Horní trikolóra linka (2px, stejně jako na 4 statistických boxech a v archivu) */
.info-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px !important;
    background: linear-gradient(90deg, #0033a0 0%, #0033a0 33.33%, #ffc72c 33.33%, #ffc72c 66.66%, #ac1f2d 66.66%, #ac1f2d 100%) !important;
    opacity: 0.85;
    transition: height 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
    z-index: 2;
}

.info-card:hover .info-card-accent {
    height: 3px !important;
    opacity: 1 !important;
    box-shadow: 0 1px 10px rgba(255, 199, 44, 0.6) !important;
}

/* Hlavička karty */
.info-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(172, 31, 45, 0.3) 0%, rgba(197, 160, 89, 0.2) 100%);
    border: 1px solid rgba(255, 199, 44, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc72c;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.info-card-title {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    line-height: 1.25;
}

/* Typografie těla karty */
.info-card-body p {
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 1.02rem;
    line-height: 1.78;
    color: #cbd5e1;
    margin: 0 0 18px 0;
}

.info-card-body p:last-child {
    margin-bottom: 0;
}

.info-card-body strong {
    color: #ffffff;
    font-weight: 700;
}

/* Zvýrazněný úvodní odstavec */
.info-lead-p {
    font-size: 1.08rem !important;
    line-height: 1.82 !important;
    color: #f1f5f9 !important;
}

/* --------------------------------------------------------------------------
   4. PAMÁTNÉ MILNÍKY A SLAVNÉ ZÁPASY (2-SLOUPCOVÁ MŘÍŽKA)
   -------------------------------------------------------------------------- */
.info-milestones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0 26px;
}

.info-milestone-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.info-milestone-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(172, 31, 45, 0.12) 100%);
    border-color: rgba(255, 199, 44, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(172, 31, 45, 0.22);
}

.info-milestone-year {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffc72c;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.info-milestone-year::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ac1f2d;
    box-shadow: 0 0 8px #ac1f2d;
}

.info-milestone-text {
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 0.96rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.info-milestone-text strong {
    color: #ffffff;
}

.info-milestones-footer-text {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 14px !important;
}

/* --------------------------------------------------------------------------
   5. OSOBNOSTI KLUBU - ODKAZY A ŠTÍTKY HRÁČŮ
   -------------------------------------------------------------------------- */
.info-legend-link {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 199, 44, 0.45) !important;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.info-legend-link:hover {
    color: #ffc72c !important;
    text-decoration-color: #ffc72c !important;
    text-shadow: 0 0 8px rgba(255, 199, 44, 0.4);
}

.info-legends-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-legend-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 7px 16px;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
    text-decoration: none !important;
    transition: all 0.22s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.info-legend-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffc72c;
    box-shadow: 0 0 6px rgba(255, 199, 44, 0.6);
}

.info-legend-pill:hover {
    background: rgba(172, 31, 45, 0.22);
    border-color: rgba(255, 199, 44, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(172, 31, 45, 0.35);
}

/* --------------------------------------------------------------------------
   6. SPODNÍ NAVIGAČNÍ ROZCESTNÍK DO ARCHIVU
   -------------------------------------------------------------------------- */
.info-cta-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.info-cta-btn {
    background: linear-gradient(160deg, rgba(24, 24, 40, 0.88) 0%, rgba(13, 13, 22, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px 22px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.info-cta-btn:hover {
    background: linear-gradient(135deg, rgba(172, 31, 45, 0.35) 0%, rgba(138, 23, 35, 0.45) 100%);
    border-color: #ffc72c;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(172, 31, 45, 0.4), 0 0 16px rgba(255, 199, 44, 0.3);
}

.info-cta-btn-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.info-cta-btn-text {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.info-cta-btn-sub {
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 0.78rem;
    color: #94a3b8;
}

.info-cta-btn-arrow {
    color: #ffc72c;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.info-cta-btn:hover .info-cta-btn-arrow {
    transform: translateX(4px);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. RESPONZIVITA (TABLETY A MOBILY)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .info-milestones-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-cta-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .info-page-wrapper {
        padding: 16px 14px 60px;
    }

    .info-hero {
        padding: 24px 10px 32px;
    }

    .info-hero-title {
        font-size: 1.85rem;
    }

    .info-hero-title .info-title-sub {
        white-space: normal;
    }

    .info-card {
        padding: 24px 20px !important;
        border-radius: 14px !important;
    }

    .info-card-header {
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .info-badge-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .info-badge-icon svg {
        width: 19px;
        height: 19px;
    }

    .info-card-title {
        font-size: 1.3rem;
    }

    .info-card-body p {
        font-size: 0.95rem;
        line-height: 1.68;
    }

    .info-lead-p {
        font-size: 1rem !important;
    }

    .info-milestone-item {
        padding: 15px 16px;
    }

    .info-legend-pill {
        padding: 6px 12px;
        font-size: 0.82rem;
    }

    .info-cta-btn {
        padding: 16px 18px;
    }
}
