/* ========================================= */
/* ============ PREVIOUS EDITION =========== */
/* ========================================= */
.previous-page {
    position: relative;
    max-width: 1280px;
    padding-top: 30px;
}

/* ========================================= */
/* ================== HERO ================= */
/* ========================================= */
.previous-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid var(--oc-color-border);
    box-shadow: 0 18px 50px var(--oc-color-shadow-strong), inset 0 0 40px var(--oc-color-highlight);
}

.previous-hero-background {
    position: absolute;
    inset: 0;
    background-image: var(--previous-background);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.previous-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, #020c0ed9 0%, #020c0e9c 45%, #020c0ee8 100% );
}

.previous-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 850px;
    padding: 60px 30px;
    box-sizing: border-box;
    text-align: center;
}

.previous-logo {
    display: block;
    max-width: min(75%, 420px);
    max-height: 180px;
    margin: 0 auto 25px;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px #000000b3);
}

.previous-hero-line {
    width: 80px;
    height: 3px;
    margin: 0 auto 22px;
    background: linear-gradient( 90deg, var(--oc-color-title), var(--oc-color-accent) );
    box-shadow: 0 0 15px var(--oc-color-title);
}

.previous-title {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    color: var(--oc-color-text);
    text-transform: uppercase;
    text-shadow: 0 8px 30px #000000cc;
}

/* ========================================= */
/* ================ CONTENT ================ */
/* ========================================= */
.previous-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ========================================= */
/* ============ SECTION HEADING ============ */
/* ========================================= */
.previous-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

    .previous-section-heading .site-section-title {
        margin-bottom: 0;
    }

.previous-main-heading {
    margin-top: 8px;
    margin-bottom: 0;
}

.previous-section-count {
    flex-shrink: 0;
    padding: 5px 11px;
    border: 1px solid var(--oc-color-border);
    background: var(--oc-color-box-background);
    color: var(--oc-color-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ========================================= */
/* ============== PRESENTATION ============= */
/* ========================================= */
.previous-presentation-box {
    padding: 26px;
}

.previous-presentation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 35px;
    align-items: center;
}

.previous-presentation-content {
    min-width: 0;
}

.previous-description {
    margin: 0;
    color: var(--oc-color-text-light);
    line-height: 1.8;
}

.previous-poster-container {
    display: flex;
    justify-content: center;
}

.previous-poster {
    display: block;
    width: 100%;
    max-width: 210px;
    max-height: 300px;
    object-fit: contain;
    border: 1px solid var(--oc-color-border);
    box-shadow: 0 12px 30px var(--oc-color-shadow-strong);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

    .previous-poster:hover {
        transform: translateY(-4px);
        border-color: var(--oc-color-title);
        box-shadow: 0 18px 35px var(--oc-color-shadow-strong), 0 0 18px var(--oc-color-border);
    }

/* ========================================= */
/* ================= STATS ================= */
/* ========================================= */
.previous-stats-box {
    padding: 25px;
}

.previous-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.previous-stat {
    min-width: 0;
    padding: 15px 10px;
    text-align: center;
    background: linear-gradient( 180deg, var(--oc-color-surface-soft), #ffffff05 );
    border: 1px solid var(--oc-color-border);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

    .previous-stat:hover {
        transform: translateY(-2px);
        border-color: var(--oc-color-title);
        background: var(--oc-color-box-background);
    }

.previous-stat-value {
    overflow: hidden;
    color: var(--oc-color-title);
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
}

.previous-stat-label {
    margin-top: 5px;
    color: var(--oc-color-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
}

/* ========================================= */
/* ================== INFO ================= */
/* ========================================= */
.previous-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.previous-info-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 17px 20px;
    background: var(--oc-color-surface-soft);
    border: 1px solid var(--oc-color-border);
    box-shadow: 0 8px 20px var(--oc-color-shadow);
    transition: border-color .2s ease, transform .2s ease;
}

    .previous-info-card:hover {
        transform: translateY(-2px);
        border-color: var(--oc-color-title);
    }

.previous-info-icon {
    font-size: 24px;
    line-height: 1;
}

.previous-info-title {
    margin-bottom: 3px;
    color: var(--oc-color-title);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.previous-info-value {
    color: var(--oc-color-text-light);
    font-size: 14px;
    line-height: 1.45;
}

/* ========================================= */
/* ============== FEATURE BOX ============== */
/* ========================================= */
.previous-feature-box {
    padding: 27px;
}

.previous-feature-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.previous-feature-kicker {
    margin-bottom: 4px;
    color: var(--oc-color-accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.previous-feature-title {
    margin: 0;
    color: var(--oc-color-title);
    font-family: 'Roboto', sans-serif;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.1;
}

.previous-game-badge {
    flex-shrink: 0;
    padding: 7px 12px;
    border: 1px solid var(--oc-color-border);
    background: var(--oc-color-box-background);
    color: var(--oc-color-title);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.previous-feature-description {
    max-width: 900px;
    margin: 0 0 20px;
    color: var(--oc-color-text-light);
    line-height: 1.7;
}

/* ========================================= */
/* ================ DETAILS ================ */
/* ========================================= */
.previous-details {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.previous-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    background: var(--oc-color-surface-soft);
    border-left: 2px solid var(--oc-color-title);
}

.previous-detail-icon {
    flex-shrink: 0;
    width: 25px;
    color: var(--oc-color-accent);
    font-size: 18px;
    text-align: center;
}

.previous-detail-label {
    margin-bottom: 2px;
    color: var(--oc-color-text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.previous-detail-value {
    overflow: hidden;
    color: var(--oc-color-text);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
}

/* ========================================= */
/* ================= PODIUM ================ */
/* ========================================= */
.previous-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.previous-podium-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 13px;
    background: var(--oc-color-surface-soft);
    border: 1px solid var(--oc-color-border);
}

.previous-podium-first {
    border-color: var(--oc-color-title);
    background: var(--oc-color-box-background);
}

.previous-podium-position {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--oc-color-border);
    color: var(--oc-color-title);
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 900;
}

.previous-podium-label {
    color: var(--oc-color-text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.previous-podium-team {
    overflow: hidden;
    margin-top: 2px;
    color: var(--oc-color-text);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
}

/* ========================================= */
/* ================= BUTTON ================ */
/* ========================================= */
.previous-actions {
    display: flex;
    margin-top: 18px;
}

.previous-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid var(--oc-color-title);
    background: var(--oc-color-box-background);
    color: var(--oc-color-title);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

    .previous-button:hover {
        background: var(--oc-color-title);
        color: var(--oc-color-text-dark);
        transform: translateY(-2px);
    }

/* ========================================= */
/* ================== LAN ================== */
/* ========================================= */
.previous-lan-summary {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.previous-lan-item {
    min-width: 130px;
    padding: 13px 18px;
    background: var(--oc-color-box-background);
    border: 1px solid var(--oc-color-border);
    text-align: center;
}

.previous-lan-value {
    display: block;
    color: var(--oc-color-title);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 900;
}

.previous-lan-label {
    display: block;
    margin-top: 2px;
    color: var(--oc-color-text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.previous-activities-title {
    margin-top: 22px;
    margin-bottom: 9px;
    color: var(--oc-color-text);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.previous-activities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.previous-activity {
    display: inline-block;
    padding: 5px 9px;
    background: var(--oc-color-surface-soft);
    border: 1px solid var(--oc-color-border);
    color: var(--oc-color-text-light);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

/* ========================================= */
/* ============== ASSOCIATION ============== */
/* ========================================= */
.previous-association-box {
    padding: 27px;
}

.previous-association-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.previous-association-card {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    min-width: 0;
    background: var(--oc-color-surface-soft);
    border: 1px solid var(--oc-color-border);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease;
}

    .previous-association-card:hover {
        transform: translateY(-3px);
        border-color: var(--oc-color-title);
    }

.previous-association-image-container {
    min-height: 170px;
    overflow: hidden;
}

.previous-association-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.previous-association-card:hover .previous-association-image {
    transform: scale(1.05);
}

.previous-association-content {
    min-width: 0;
    padding: 17px;
}

.previous-association-title {
    margin: 0 0 8px;
    color: var(--oc-color-title);
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.previous-association-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--oc-color-text-muted);
    font-size: 11px;
}

.previous-association-description {
    margin: 0 0 12px;
    color: var(--oc-color-text-light);
    font-size: 13px;
    line-height: 1.55;
}

/* ========================================= */
/* ================ TOMBOLA ================ */
/* ========================================= */
.previous-raffle-box {
    padding: 25px;
}

.previous-raffle {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.previous-raffle-image-container {
    display: flex;
    justify-content: center;
}

.previous-raffle-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 1px solid var(--oc-color-border);
}

.previous-raffle-name {
    color: var(--oc-color-title);
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    font-weight: 900;
}

.previous-raffle-price {
    margin-top: 5px;
    color: var(--oc-color-accent);
    font-size: 14px;
    font-weight: 800;
}

.previous-raffle-description {
    margin-top: 10px;
    color: var(--oc-color-text-light);
    line-height: 1.6;
}

/* ========================================= */
/* ================= MEDIA ================= */
/* ========================================= */
.previous-media-box {
    padding: 20px 24px;
}

.previous-media-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

    .previous-media-header .site-section-title {
        margin: 0;
    }

.previous-media {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.previous-media-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid var(--oc-color-border);
    background: var(--oc-color-surface-soft);
    color: var(--oc-color-text-light);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

    .previous-media-link span {
        color: var(--oc-color-title);
    }

    .previous-media-link:hover {
        background: var(--oc-color-box-background);
        border-color: var(--oc-color-title);
        color: var(--oc-color-title);
    }

/* ========================================= */
/* ================ GALERIE ================ */
/* ========================================= */
.previous-gallery-box {
    padding: 25px;
}

.previous-gallery {
    margin-top: 25px;
}

    .previous-gallery:first-of-type {
        margin-top: 0;
    }

.previous-gallery-title {
    margin: 0 0 12px;
    color: var(--oc-color-text);
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.previous-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

/* ========================================= */
/* ========== RESPONSIVE - TABLET ========== */
/* ========================================= */
@media (max-width: 950px) {

    .previous-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .previous-details {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .previous-association-grid {
        grid-template-columns: 1fr;
    }

    .previous-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ========================================= */
/* ========== RESPONSIVE - MOBILE ========== */
/* ========================================= */
@media (max-width: 600px) {

    .previous-page {
        padding-top: 15px;
    }

    /* ========================================= */
    /* ================== HERO ================= */
    /* ========================================= */
    .previous-hero {
        min-height: 280px;
        margin-bottom: 15px;
    }

    .previous-hero-content {
        padding: 40px 20px;
    }

    .previous-logo {
        max-width: 78%;
        max-height: 125px;
        margin-bottom: 18px;
    }

    .previous-hero-line {
        width: 55px;
        margin-bottom: 16px;
    }

    .previous-title {
        font-size: 35px;
    }

    /* ========================================= */
    /* ================ CONTENT ================ */
    /* ========================================= */
    .previous-content {
        gap: 15px;
    }

    /* ========================================= */
    /* ================ HEADINGS =============== */
    /* ========================================= */
    .previous-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .previous-section-count {
        align-self: flex-start;
    }

    /* ========================================= */
    /* ============== PRESENTATION )))========== */
    /* ========================================= */
    .previous-presentation-box {
        padding: 20px;
    }

    .previous-presentation {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .previous-poster-container {
        order: -1;
    }

    .previous-poster {
        max-width: 170px;
    }

    /* ========================================= */
    /* ================= STATS ================= */
    /* ========================================= */
    .previous-stats-box {
        padding: 20px;
    }

    .previous-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .previous-stat {
        padding: 12px 8px;
    }

    .previous-stat-value {
        font-size: 17px;
    }

    .previous-stat-label {
        font-size: 9px;
    }

    /* ========================================= */
    /* ================== INFO ================= */
    /* ========================================= */
    .previous-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .previous-info-card {
        padding: 14px 16px;
    }

    /* ========================================= */
    /* ================ FEATURE ================ */
    /* ========================================= */
    .previous-feature-box {
        padding: 20px;
    }

    .previous-feature-header {
        flex-direction: column;
        gap: 10px;
    }

    .previous-game-badge {
        align-self: flex-start;
    }

    .previous-feature-title {
        font-size: 25px;
    }

    /* ========================================= */
    /* ================ DETAILS ================ */
    /* ========================================= */
    .previous-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .previous-detail {
        padding: 10px;
    }

    /* ========================================= */
    /* ================= PODIUM ================ */
    /* ========================================= */
    .previous-podium {
        grid-template-columns: 1fr;
    }

    /* ========================================= */
    /* ================== LAN ================== */
    /* ========================================= */
    .previous-lan-summary {
        flex-direction: column;
    }

    .previous-lan-item {
        width: 100%;
        box-sizing: border-box;
    }

    /* ========================================= */
    /* ============== ASSOCIATION ============== */
    /* ========================================= */
    .previous-association-box {
        padding: 20px;
    }

    .previous-association-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .previous-association-card {
        grid-template-columns: 1fr;
    }

    .previous-association-image-container {
        height: 160px;
        min-height: 0;
    }

    .previous-association-content {
        padding: 15px;
    }

    /* ========================================= */
    /* ================= RAFFLE ================ */
    /* ========================================= */
    .previous-raffle-box {
        padding: 20px;
    }

    .previous-raffle {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .previous-raffle-image {
        width: 130px;
        height: 130px;
    }

    /* ========================================= */
    /* ================= MEDIA ================= */
    /* ========================================= */
    .previous-media-box {
        padding: 18px 20px;
    }

    .previous-media {
        display: grid;
        grid-template-columns: 1fr;
    }

    .previous-media-link {
        width: 100%;
        box-sizing: border-box;
    }

    /* ========================================= */
    /* ================ GALLERY ================ */
    /* ========================================= */
    .previous-gallery-box {
        padding: 20px;
    }

    .previous-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .previous-gallery-overlay {
        display: none;
    }
}

/* ========================================= */
/* =========== GALERIE - LIGHTBOX ========== */
/* ========================================= */
.previous-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--oc-color-border);
    background: var(--oc-color-surface-soft);
    cursor: pointer;
    font: inherit;
    appearance: none;
    transition: border-color .2s ease, transform .2s ease;
}

    .previous-gallery-item:hover {
        border-color: var(--oc-color-title);
        transform: translateY(-2px);
    }

.previous-gallery-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

.previous-gallery-item:hover .previous-gallery-image {
    transform: scale(1.05);
    filter: brightness(.65);
}

.previous-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oc-color-title);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: 0;
    transition: opacity .25s ease;
}

.previous-gallery-item:hover .previous-gallery-overlay {
    opacity: 1;
}

/* ========================================= */
/* ================ LIGHTBOX =============== */
/* ========================================= */
.previous-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    background: #000000e8;
    cursor: zoom-out;
    animation: previous-lightbox-in .2s ease;
}

.previous-lightbox-image {
    display: block;
    max-width: 92vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--oc-color-border);
    box-shadow: 0 20px 70px #000000cc;
    cursor: default;
    animation: previous-lightbox-image-in .25s ease;
}

.previous-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 2;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--oc-color-border);
    background: var(--oc-color-surface-dark);
    color: var(--oc-color-text);
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 36px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

    .previous-lightbox-close:hover {
        background: var(--oc-color-title);
        border-color: var(--oc-color-title);
        color: var(--oc-color-text-dark);
        transform: scale(1.05);
    }

/* ========================================= */
/* =============== ANIMATIONS ============== */
/* ========================================= */
@keyframes previous-lightbox-in {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes previous-lightbox-image-in {

    from {
        opacity: 0;
        transform: scale(.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================= */
/* =========== LIGHTBOX - MOBILE =========== */
/* ========================================= */
@media (max-width: 600px) {

    .previous-lightbox {
        padding: 20px;
    }

    .previous-lightbox-image {
        max-width: 96vw;
        max-height: 82vh;
    }

    .previous-lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 28px;
        line-height: 32px;
    }
}
