﻿
.history-page {
    background: #fbf7ef;
    color: #65452e;
    width: 100%;
    min-width: 0;
    overflow-x: clip;
}

/* HERO */
.history-hero {
    background: linear-gradient(135deg, #f1e3cd, #fbf7ef);
    border-bottom: 1px solid #d8c3a2;
}

.history-eyebrow,
.history-section-label {
    color: #99713e;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.history-accent {
    color: #a88755;
}

.history-hero-description,
.history-section-description {
    max-width: 680px;
    color: #78634e;
}

.history-hero-symbol {
    display: flex;
    justify-content: center;
    gap: 18px;
    color: #a88755;
    font-size: 2.5rem;
}

/* SECTIONS */
.history-section {
    background: #fbf7ef;
}

/* FEATURE CARD */
.history-feature-card {
    padding: 3rem 2rem;
    background: #efe0c8;
    border: 1px solid #d4b991;
    border-radius: 18px;
    text-align: center;
}

.history-feature-icon {
    font-size: 2.5rem;
    color: #a88755;
}

.history-feature-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.3;
}

.history-feature-label {
    font-weight: 700;
}

.history-feature-divider {
    width: 60px;
    height: 2px;
    background: #a88755;
    margin: 1.5rem auto;
}

.history-feature-card p {
    color: #78634e;
    margin: 0;
}

/* TIMELINE */
.history-timeline-section {
    background: #f3e9d9;
}

.history-timeline {
    max-width: 850px;
    margin: auto;
    position: relative;
}

    .history-timeline::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 26px;
        width: 2px;
        background: #c8aa7e;
    }

.history-timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2rem;
}

    .history-timeline-item:last-child {
        margin-bottom: 0;
    }

.history-timeline-marker {
    position: absolute;
    left: 0;
    top: 10px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #65452e;
    color: #f4dfb5;
    border: 3px solid #c8aa7e;
}

.history-timeline-content {
    background: #fffaf2;
    border: 1px solid #dfcdb1;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 5px 16px #65452e0b;
}

.history-timeline-date {
    color: #9c753f;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.history-timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: .5rem 0;
}

.history-timeline-content p {
    color: #78634e;
    margin: 0;
    line-height: 1.7;
}

/* CULTURE CARDS */
.history-culture-card {
    border: 1px solid #dfcdb1;
    border-radius: 14px;
    background: #fffaf2;
    color: #65452e;
    box-shadow: 0 4px 15px #65452e0a;
}

    .history-culture-card p {
        color: #78634e;
        line-height: 1.7;
        margin-bottom: 0;
    }

.history-culture-icon {
    font-size: 2rem;
    color: #a88755;
}

/* MODERN GAME */
.history-modern-section {
    background: #e8d5b5;
    color: #65452e;
}

    .history-modern-section p {
        max-width: 650px;
        color: #78634e;
    }

.history-modern-icon {
    font-size: 2.8rem;
    color: #a88755;
}

.history-play-btn {
    background: #65452e;
    border: 1px solid #a88755;
    color: #f4dfb5;
    font-weight: 600;
}

    .history-play-btn:hover,
    .history-play-btn:focus {
        background: #79563a;
        border-color: #a88755;
        color: #fff0cf;
    }



.history-page .text-muted {
    color: #78634e !important;
}

/* MOBILE */
/* MOBILE */
@media (max-width: 767.98px) {

    .history-page .container {
        max-width: 100%;
    }

    .history-page .row > * {
        min-width: 0;
    }

    .history-hero h1 {
        font-size: 2.3rem;
        overflow-wrap: break-word;
    }

    .history-feature-card {
        padding: 2rem 1.25rem;
    }

    .history-feature-number {
        font-size: 3.2rem;
    }

    .history-timeline {
        width: 100%;
        min-width: 0;
    }

        .history-timeline::before {
            left: 20px;
        }

    .history-timeline-item {
        padding-left: 58px;
        min-width: 0;
    }

    .history-timeline-marker {
        width: 42px;
        height: 42px;
        font-size: .9rem;
    }

    .history-timeline-content {
        padding: 1.25rem;
        min-width: 0;
        overflow-wrap: break-word;
    }

        .history-timeline-content h3 {
            font-size: 1.1rem;
        }
}
