/* ========================================
   FAN GUIDE PAGES - Modern Design System
   History, Legends, Arena, Watch, FAQ
   ======================================== */

/* ========================================
   PAGE LAYOUT
   ======================================== */

.fan-guide-page {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.fan-guide-page .page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* ========================================
   PAGE TITLE
   ======================================== */

.fan-guide-page h1 {
    color: #041E42;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 32px 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Last updated date for legal pages */
.last-updated {
    color: #6b7280;
    font-size: 0.875rem;
    margin: -24px 0 32px 0;
    font-style: italic;
}

/* ========================================
   INTRO BANNER
   ======================================== */

.intro-banner {
    background: linear-gradient(135deg, #041E42 0%, #0a3a6e 100%);
    color: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 48px;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.7;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(4, 30, 66, 0.15);
}

.intro-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 184, 28, 0.1) 100%);
    pointer-events: none;
}

.intro-banner p {
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   SECTION HEADINGS
   ======================================== */

.section-title {
    color: #041E42;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 56px 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #FFB81C;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title:first-of-type {
    margin-top: 0;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-section {
    margin-bottom: 48px;
}

.content-section p {
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 16px 0;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* ========================================
   FEATURE LISTS
   ======================================== */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    position: relative;
    padding: 12px 0 12px 28px;
    color: #374151;
    line-height: 1.6;
    border-bottom: 1px solid #e5e7eb;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: #FFB81C;
    border-radius: 50%;
}

.feature-list li strong {
    color: #041E42;
    font-weight: 600;
}

/* ========================================
   INFO CARDS
   ======================================== */

.info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    border-color: #FFB81C;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.info-card h3 {
    color: #041E42;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.info-card p {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.info-card .highlight {
    color: #041E42;
    font-weight: 600;
}

/* Card with accent border */
.info-card.accent {
    border-left: 4px solid #FFB81C;
}

/* ========================================
   CARD GRID
   ======================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .card-grid-2,
    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   DARK CARDS (Navy Background)
   ======================================== */

.dark-card {
    background: linear-gradient(135deg, #041E42 0%, #0a3a6e 100%);
    color: white;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(4, 30, 66, 0.2);
}

.dark-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(4, 30, 66, 0.3);
}

.dark-card h3 {
    color: #FFB81C;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.dark-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

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

.dark-card .price {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.dark-card .price strong {
    color: #FFB81C;
}

/* ========================================
   STAT CARDS (Milestones)
   ======================================== */

.stat-card {
    background: linear-gradient(135deg, #041E42 0%, #0a3a6e 100%);
    color: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(4, 30, 66, 0.2);
}

.stat-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(4, 30, 66, 0.3);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFB81C;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ========================================
   HIGHLIGHT BOX
   ======================================== */

.highlight-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    border-left: 4px solid #FFB81C;
}

.highlight-box p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

.highlight-box p strong {
    color: #041E42;
}

/* ========================================
   LEGEND CARDS (Player Profiles)
   ======================================== */

.legend-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.legend-card:hover {
    box-shadow: 0 12px 32px rgba(4, 30, 66, 0.12);
    transform: translateY(-4px);
}

.legend-card-header {
    background: linear-gradient(135deg, #041E42 0%, #0a3a6e 100%);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legend-card-header h3 {
    color: #FFB81C;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.legend-card-header .number {
    background: #FFB81C;
    color: #041E42;
    font-size: 1.5rem;
    font-weight: 800;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-card-body {
    padding: 24px;
}

.legend-card-body .position {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 12px;
}

.legend-card-body p {
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.legend-card-body .stats {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.legend-card-body .stats span {
    font-size: 0.875rem;
    color: #6b7280;
}

.legend-card-body .stats strong {
    color: #041E42;
    font-weight: 700;
}

/* ========================================
   DATA TABLE
   ======================================== */

.data-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.data-table thead tr {
    background: #041E42;
}

.data-table thead th {
    color: white;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 16px 20px;
    text-align: left;
}

.data-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.9375rem;
}

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

.data-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.data-table tbody tr:hover {
    background: #f3f4f6;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #d1d5db;
}

.faq-question {
    padding: 20px 24px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #041E42;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #FFB81C;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.7;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0 0 12px 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* ========================================
   CLOSING CTA
   ======================================== */

.closing-cta {
    text-align: center;
    margin: 64px 0 0 0;
    padding: 32px;
    background: linear-gradient(135deg, #041E42 0%, #0a3a6e 100%);
    border-radius: 16px;
    color: white;
}

.closing-cta p {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #FFB81C;
}

/* ========================================
   RETIRED NUMBER BANNER
   ======================================== */

.retired-number-banner {
    background: linear-gradient(135deg, #041E42 0%, #0a3a6e 100%);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(4, 30, 66, 0.2);
}

.retired-number {
    font-size: 4rem;
    font-weight: 800;
    color: #FFB81C;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.retired-number-info {
    flex: 1;
    color: white;
}

.retired-number-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.retired-number-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.retired-number-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ========================================
   TIMELINE BOX
   ======================================== */

.timeline-box {
    background: linear-gradient(135deg, #FFB81C 0%, #f5a623 100%);
    color: #041E42;
    padding: 24px 28px;
    border-radius: 12px;
    margin: 32px 0;
}

.timeline-box h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.timeline-box .feature-list li {
    border-color: rgba(4, 30, 66, 0.15);
    color: #041E42;
}

.timeline-box .feature-list li::before {
    background: #041E42;
}

/* ========================================
   MINI STATS (for legend cards)
   ======================================== */

.mini-stat {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.mini-stat .value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #041E42;
    line-height: 1.2;
}

.mini-stat .label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .fan-guide-page .page-content {
        padding: 32px 16px 64px;
    }

    .intro-banner {
        padding: 24px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.25rem;
        margin: 40px 0 20px 0;
    }

    .info-card,
    .dark-card,
    .stat-card {
        padding: 20px;
    }

    .legend-card-header {
        padding: 16px 20px;
    }

    .legend-card-header h3 {
        font-size: 1.125rem;
    }

    .legend-card-header .number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .legend-card-body {
        padding: 20px;
    }

    .legend-card-body .stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .retired-number-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px;
    }

    .retired-number {
        font-size: 3rem;
    }

    .mini-stat {
        padding: 10px 8px;
    }

    .mini-stat .value {
        font-size: 1.125rem;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px 16px;
    }

    .data-table thead th,
    .data-table tbody td {
        padding: 12px 16px;
    }

    .closing-cta {
        padding: 24px;
        margin-top: 48px;
    }

    .closing-cta p {
        font-size: 1.125rem;
    }
}
