/* =========================================================
   09 CREATOR NETWORK — "POWERED BY TALENT"
   Self-contained styles. Uses the site's existing color
   variables (--black-2, --gold, --gray, --line, --white) with
   safe fallbacks, so it drops into the theme without conflicts.
========================================================= */

.crt-section {
    position: relative;
    background: var(--black-2, #0b0b0d);
    overflow: hidden;
}

.crt-row {
    display: flex;
    align-items: stretch;
    min-height: 300px;
}

/* ---------- Left text block ---------- */
.crt-info {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 40px 36px;
    text-align: start;
}

.crt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold, #cda45e);
}

.crt-eyebrow-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold, #cda45e);
    display: inline-block;
}

.crt-title {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white, #fff);
    text-transform: uppercase;
    margin: 0;
}

.crt-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--gray, #9a9a9a);
    max-width: 320px;
    margin: 0;
}

/* ---------- Right filmstrip ---------- */
.crt-strip {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-width: 0;
}

/* Fixed width per photo — change --crt-photo-w to resize all thumbnails at once */
.crt-photo {
    position: relative;
    flex: 0 0 var(--crt-photo-w, 150px);
    width: var(--crt-photo-w, 150px);
    overflow: hidden;
    border-inline-start: 1px solid var(--line, rgba(255, 255, 255, .08));
}

.crt-photo img,
.crt-photo-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease, filter .5s ease;
}

.crt-photo-ph {
    background: linear-gradient(160deg, var(--black-3, #17171a), var(--black-2, #0b0b0d));
}

.crt-photo:hover img {
    transform: scale(1.06);
}

.crt-num {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--gold, #cda45e);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

/* ---------- Gold CTA tile at the end of the strip ---------- */
.crt-cta-tile {
    flex: 1.4;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 28px 26px;
    background: linear-gradient(150deg, #d8ad5f 0%, #a97f2f 55%, #6f4f1c 100%);
    text-decoration: none;
    transition: filter .3s ease;
}

.crt-cta-tile:hover {
    filter: brightness(1.08);
}

.crt-cta-label {
    font-size: 15px;
    font-weight: 700;
    color: #1b140a;
}

.crt-cta-highlight {
    font-size: 15px;
    font-weight: 800;
    color: #2c1f0c;
    margin-bottom: 10px;
}

.crt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #1b140a;
}

.crt-cta-arrow {
    transition: transform .25s ease;
}

.crt-cta-tile:hover .crt-cta-arrow {
    transform: translateX(4px);
}

[dir="rtl"] .crt-cta-tile:hover .crt-cta-arrow {
    transform: translateX(-4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .crt-row {
        flex-direction: column;
        min-height: 0;
    }

    .crt-info {
        flex: none;
        padding: 34px 24px 22px;
    }

    .crt-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        height: 240px;
    }

    .crt-strip::-webkit-scrollbar {
        display: none;
    }

    .crt-photo {
        flex: 0 0 130px;
    }

    .crt-cta-tile {
        flex: 0 0 220px;
    }
}

@media (max-width: 560px) {
    .crt-strip {
        height: 200px;
    }

    .crt-photo {
        flex: 0 0 110px;
    }

    .crt-cta-tile {
        flex: 0 0 190px;
        padding: 22px 20px;
    }
}

/* Creator Modal (public registration form) */
.creator-modal {
    position: fixed; inset: 0; z-index: 1000;
    display: none; align-items: flex-start; justify-content: center;
    padding: 24px;
    overflow-y: auto;
}
.creator-modal.is-open { display: flex; }
.creator-modal__backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.creator-modal__inner {
    position: relative; z-index: 1;
    max-width: 720px; width: 100%;
    background: var(--black-2);
    border: 1px solid rgba(200, 168, 75, 0.18);
    border-radius: 16px;
    padding: clamp(24px, 3vw, 32px);
    margin: 20px 0;
    animation: creatorModalPop .32s cubic-bezier(.2,.8,.2,1);
}
@keyframes creatorModalPop {
    from { opacity: 0; transform: translateY(14px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.creator-modal__close {
    position: absolute; top: 12px; inset-inline-end: 12px;
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.1); color: #fff; font-size: 1.4rem; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
    z-index: 3;
}
.creator-modal__close:hover { background: rgba(255,255,255,.2); }

/* Proof Gallery (creator show page) */
.cr-proof-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cr-proof-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--black-3, #17171a);
    border: 1px solid var(--line, rgba(255,255,255,.08));
    border-radius: 10px;
    text-decoration: none;
    color: var(--text, #ddd);
    transition: all .2s ease;
    flex-shrink: 0;
}
.cr-proof-card:hover {
    border-color: var(--gold, #cda45e);
    background: var(--black-2, #0b0b0d);
}
.cr-proof-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.cr-proof-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold, #cda45e);
    white-space: nowrap;
}
.cr-proof-thumb {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease;
    flex-shrink: 0;
}
.cr-proof-thumb:hover {
    transform: scale(1.03);
    border-color: var(--gold);
}
.cr-proof-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Proof Lightbox */
.cr-proof-lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.92);
    align-items: center; justify-content: center;
    padding: 24px;
    cursor: pointer;
}
.cr-proof-lightbox.is-open { display: flex; }
.cr-proof-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
}
.cr-proof-lightbox-close {
    position: absolute; top: 16px; inset-inline-end: 16px;
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 2001;
}