.cr *,
.chess-resources,
.chess-resources-page * {
    box-sizing: border-box;
}/* ====================================
   CHESS RESOURCES PAGE
==================================== */

.chess-resources-page {
    background: #070707;
    color: #f3f3f3;
    overflow: hidden;
}

/* ====================================
   HERO
==================================== */

.cr-hero {
    position: relative;
    overflow: hidden;

    min-height: 52vh;
    padding: 110px 20px 80px;

    background: #050505;
}

.cr-hero__bg {
    position: absolute;
    inset: 0;
    
    width: 100%;
    height: 100%;
    
    object-fit: cover;
    object-position: center;
    
    z-index: 0;
    
    pointer-events: none;
    user-select: none;
}

.cr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.45),
        rgba(0,0,0,.35),
        rgba(0,0,0,.55)
    );
    z-index: 1;
}
.cr-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    background:
        linear-gradient(
            to bottom,
            rgba(5,5,5,0) 0%,
            rgba(5,5,5,.35) 45%,
            #050505 100%
        );
    filter: blur(18px);
    transform: translateY(25px);
    z-index: 2;
}

.cr-hero__inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.cr-hero__label,
.cr-section-label {
    margin-bottom: 18px;
    color: #d8b46a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cr-hero__title {
    margin: 0 0 24px;
    max-width: 720px;
    color: #fff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -.04em;
}

.cr-hero__text {
    margin: 0;
    max-width: 620px;
    color: rgba(255,255,255,.74);
    font-size: 19px;
    line-height: 1.65;
}

.cr-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.cr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.cr-btn--gold {
    background: linear-gradient(135deg, #f1d98b, #d8b46a 48%, #9f7628);
    color: #090909;
    box-shadow: 0 18px 40px rgba(216,180,106,.22);
}

.cr-btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(216,180,106,.30);
}

.cr-btn--ghost {
    border: 1px solid rgba(216,180,106,.38);
    color: #d8b46a;
    background: rgba(255,255,255,.03);
}

.cr-btn--ghost:hover {
    background: rgba(216,180,106,.10);
    border-color: rgba(216,180,106,.65);
}

/* HERO VISUAL */

.cr-hero__visual {
    position: relative;
    width: 420px;
    height: 420px;
    display: grid;
    place-items: center;
}

.cr-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(216,180,106,.28);
    box-shadow:
        0 0 30px rgba(216,180,106,.08),
        inset 0 0 30px rgba(216,180,106,.05);
}

.cr-orbit--outer {
    width: 390px;
    height: 390px;
}

.cr-orbit--inner {
    width: 270px;
    height: 270px;
}

.cr-piece {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 190px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 20%, rgba(255,255,255,.18), transparent 30%),
        linear-gradient(145deg, rgba(216,180,106,.18), rgba(255,255,255,.04));
    border: 1px solid rgba(216,180,106,.35);
    color: #d8b46a;
    font-size: 104px;
    line-height: 1;
    text-shadow: 0 0 34px rgba(216,180,106,.35);
    box-shadow:
        0 28px 80px rgba(0,0,0,.55),
        0 0 80px rgba(216,180,106,.14);
}

/* ====================================
   COMMON SECTIONS
==================================== */

.cr-feature,
.cr-resources,
.cr-parents,
.cr-final {
    padding: 90px 20px;
}

.cr-section-head {
    width: min(900px, 100%);
    margin: 0 auto 42px;
    text-align: center;
}

.cr-section-head h2,
.cr-parents h2,
.cr-final h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.035em;
}

.cr-section-head p,
.cr-parents p,
.cr-final p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 17px;
    line-height: 1.7;
}

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

.cr-feature {
    background:
        radial-gradient(circle at 50% 0%, rgba(216,180,106,.10), transparent 34%),
        #0b0b0b;
}

.cr-feature-card {
    width: min(1050px, 100%);
    margin: 0 auto;
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    border: 1px solid rgba(216,180,106,.22);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    box-shadow: 0 24px 80px rgba(0,0,0,.38);
}

.cr-feature-card h3 {
    margin: 0 0 12px;
    color: #d8b46a;
    font-size: 25px;
}

.cr-feature-card p {
    margin: 0;
    max-width: 690px;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.7;
}

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

.cr-resources {
    background: #070707;
}

.cr-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cr-card {
    position: relative;
    min-height: 270px;
    padding: 30px;
    border: 1px solid rgba(216,180,106,.20);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(216,180,106,.13), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
    box-shadow: 0 22px 60px rgba(0,0,0,.28);
    transition: .25s ease;
}

.cr-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216,180,106,.48);
    background:
        radial-gradient(circle at 100% 0%, rgba(216,180,106,.18), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
}

.cr-card__icon {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
    color: #d8b46a;
    font-size: 42px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(216,180,106,.25);
}

.cr-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 23px;
    line-height: 1.15;
}

.cr-card p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.66);
    font-size: 15px;
    line-height: 1.65;
}

.cr-card a {
    color: #d8b46a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.cr-card a:hover {
    color: #f0d58b;
}

/* ====================================
   PARENTS
==================================== */

.cr-parents {
    background:
        linear-gradient(180deg, #070707, #101010);
    border-top: 1px solid rgba(216,180,106,.14);
    border-bottom: 1px solid rgba(216,180,106,.14);
}

.cr-parents__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.cr-parents__list {
    display: grid;
    gap: 14px;
}

.cr-parents__list div {
    padding: 18px 20px;
    border: 1px solid rgba(216,180,106,.20);
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.78);
    font-size: 15px;
}

.cr-parents__list div::before {
    content: "✓";
    margin-right: 10px;
    color: #d8b46a;
    font-weight: 900;
}

/* ====================================
   FINAL
==================================== */

.cr-final {
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(216,180,106,.12), transparent 40%),
        #080808;
}

.cr-final p {
    width: min(720px, 100%);
    margin: 0 auto 30px;
}

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

@media (max-width: 980px) {
    .cr-hero__inner,
    .cr-parents__inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .cr-hero__visual {
        width: min(420px, 100%);
        height: 360px;
        margin: 0 auto;
    }

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

    .cr-feature-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cr-hero {
        padding: 78px 16px 70px;
    }

    .cr-feature,
    .cr-resources,
    .cr-parents,
    .cr-final {
        padding: 64px 16px;
    }

    .cr-hero__title {
        font-size: 44px;
    }

    .cr-hero__text {
        font-size: 16px;
    }

    .cr-hero__actions {
        flex-direction: column;
    }

    .cr-btn {
        width: 100%;
    }

    .cr-hero__visual {
        height: 300px;
    }

    .cr-orbit--outer {
        width: 280px;
        height: 280px;
    }

    .cr-orbit--inner {
        width: 200px;
        height: 200px;
    }

    .cr-piece {
        width: 150px;
        height: 150px;
        font-size: 82px;
    }

    .cr-grid {
        grid-template-columns: 1fr;
    }

    .cr-card {
        min-height: auto;
    }

    .cr-feature-card {
        padding: 24px;
    }
}