:root {
    --wc-ink: #1f1713;
    --wc-muted: #74675e;
    --wc-paper: #fffdf9;
    --wc-line: rgba(32, 23, 18, 0.12);
    --wc-teal: #1f6f78;
}

.world-cup-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(145deg, rgba(31, 111, 120, 0.12), transparent 32%),
        linear-gradient(315deg, rgba(191, 100, 48, 0.16), transparent 38%),
        #fbf6ee;
}

.world-cup-shell {
    width: min(1420px, calc(100% - clamp(24px, 5vw, 72px)));
    margin: 0 auto;
    padding: 112px 0 120px;
}

.world-cup-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.world-cup-kicker {
    margin: 0 0 8px;
    color: var(--wc-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.world-cup-header h1 {
    margin: 0;
    color: var(--wc-ink);
    font-size: clamp(2.1rem, 7vw, 5.4rem);
    line-height: 0.96;
}

.world-cup-header h1 .ar {
    font-size: 0.74em;
    line-height: 1.2;
}

.world-cup-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
}

.world-cup-gallery-column {
    min-width: 0;
}

.world-cup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-flow: dense;
    gap: 12px;
}

.world-cup-photo {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    background: #efe3d5;
    box-shadow: 0 16px 38px rgba(92, 58, 31, 0.12);
}

.world-cup-photo:nth-child(5n + 1) {
    grid-row: span 2;
    min-height: 532px;
}

.world-cup-photo:nth-child(7n + 3) {
    grid-column: span 2;
}

.world-cup-photo img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-smooth);
}

.world-cup-photo:hover img {
    transform: scale(1.035);
}

.snapchat-handle {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(31, 23, 19, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    backdrop-filter: blur(12px);
}

.snapchat-handle .material-icons {
    font-size: 15px;
}

.world-cup-empty {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 1px dashed rgba(184, 132, 77, 0.35);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.68);
    color: var(--wc-muted);
    text-align: center;
}

.world-cup-empty .material-icons {
    color: var(--primary);
    font-size: 42px;
}

.world-cup-empty p {
    margin: 0;
    font-weight: 700;
}

.world-cup-empty a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.feature-card {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(184, 132, 77, 0.18);
    border-radius: 8px;
    background: rgba(255, 253, 249, 0.86);
    box-shadow: 0 18px 46px rgba(92, 58, 31, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.feature-card-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
}

.feature-card-header > .material-icons {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 999px;
    background: rgba(31, 111, 120, 0.1);
    color: var(--wc-teal);
    font-size: 20px;
}

.feature-card h2 {
    margin: 0;
    color: var(--wc-ink);
    font-size: 1.35rem;
    line-height: 1.1;
}

.feature-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 20px;
    color: var(--wc-muted);
    font-size: 14px;
    line-height: 1.55;
}

.feature-steps li::marker {
    color: var(--primary);
    font-weight: 800;
}

.feature-steps strong {
    color: var(--wc-ink);
}

.filter-buttons {
    display: grid;
    gap: 9px;
    padding-top: 2px;
}

.filter-buttons a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(184, 132, 77, 0.18);
    border-radius: 8px;
    background: #fff;
    color: var(--primary-dark);
    padding: 10px 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.22s var(--ease-smooth), box-shadow 0.22s ease, border-color 0.22s ease;
}

.filter-buttons a:hover {
    border-color: rgba(184, 132, 77, 0.34);
    box-shadow: 0 10px 24px rgba(92, 58, 31, 0.1);
    transform: translateY(-2px);
}

.filter-buttons .material-icons {
    color: var(--wc-teal);
    font-size: 19px;
}

@media (max-width: 1080px) {
    .world-cup-content {
        grid-template-columns: 1fr;
    }

    .feature-card {
        position: static;
        max-width: 560px;
    }
}

@media (max-width: 760px) {
    .world-cup-shell {
        width: min(100% - 24px, 560px);
        padding-top: 92px;
    }

    .world-cup-header {
        align-items: start;
    }

    .world-cup-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 18px;
    }

    .world-cup-photo,
    .world-cup-photo:nth-child(5n + 1) {
        grid-row: auto;
        min-height: 360px;
    }

    .world-cup-photo:nth-child(7n + 3) {
        grid-column: auto;
    }
}
