/* For Creators private beta — /creators/ and /en/creators/ */

.creator-page {
    background: var(--bg);
}

.creator-page .btn[aria-current="page"] {
    border-color: var(--text);
}

.creator-main {
    padding: calc(var(--nav-h) + clamp(40px, 6vw, 72px)) 0 clamp(72px, 9vw, 120px);
}

.creator-kicker-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.creator-kicker,
.creator-seal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--ring), var(--shadow-sm);
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

.creator-kicker::before,
.creator-seal::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1d2129;
    box-shadow: 0 0 0 4px rgba(29, 33, 41, 0.1);
}

.creator-page .lang-switch button {
    color: var(--muted);
}

.creator-page .lang-switch button:hover {
    color: var(--text);
    background: var(--surface);
}

.creator-page .lang-switch button[aria-current="true"] {
    background: var(--surface);
    color: var(--text);
}

.creator-head {
    max-width: 760px;
    margin-bottom: clamp(32px, 5vw, 52px);
}

.creator-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -0.048em;
}

.creator-title em {
    font-style: normal;
    font-weight: 750;
    background: linear-gradient(90deg, #4f2ad4 0%, #1a46c8 100%) left bottom / 100% 3px no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-bottom: 0.04em;
}

.creator-lede {
    max-width: 620px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.creator-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.creator-platforms li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 13px 0 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--ring), var(--shadow-xs);
    font-size: 13.5px;
    font-weight: 600;
}

.creator-platforms img {
    flex: none;
    width: 18px;
    height: 18px;
}

.creator-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 20px;
    align-items: start;
}

.creator-side {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.creator-clients {
    overflow: hidden;
    padding: 20px 0 22px;
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--ring), var(--shadow-sm);
}

.creator-clients__label {
    padding: 0 clamp(22px, 3vw, 32px);
    color: var(--faint);
    font-size: 13px;
    font-weight: 600;
}

/* Four groups, shifted by two: the strip loops without a seam at any column width. */
.creator-marquee {
    overflow: hidden;
    margin-top: 16px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.creator-marquee__track {
    display: flex;
    width: max-content;
    animation: creator-marquee 38s linear infinite;
}

.creator-marquee__group {
    display: flex;
    flex: none;
    align-items: center;
    gap: 60px;
    height: 44px;
    padding-right: 60px;
}

.creator-marquee__group img {
    width: auto;
    max-width: none;
    height: 22px;
    filter: grayscale(1);
    opacity: 0.45;
}

.creator-marquee__group .creator-logo--ilso {
    height: 24px;
}

.creator-marquee__group .creator-logo--ksecret {
    height: 20px;
}

.creator-marquee__group .creator-logo--pawbulous {
    height: 44px;
}

.creator-marquee__group .creator-logo--unni {
    height: 24px;
}

@keyframes creator-marquee {
    to {
        transform: translateX(-50%);
    }
}

.creator-invite,
.creator-form-card {
    border-radius: var(--r-lg);
    box-shadow: var(--ring), var(--shadow-sm);
}

.creator-invite {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3vw, 32px);
    background:
        radial-gradient(90% 80% at 100% 0%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, #111214 0%, #050506 100%);
    color: #fff;
    box-shadow: var(--edge-night), 0 1px 2px rgba(0, 0, 0, 0.2), 0 24px 40px -28px rgba(0, 0, 0, 0.55);
}

.creator-invite::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
}

.creator-invite::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grain-light);
    opacity: 0.08;
    pointer-events: none;
}

.creator-invite > * {
    position: relative;
    z-index: 1;
}

.creator-seal {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
}

.creator-seal::before {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.creator-invite h2 {
    margin-top: 22px;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.creator-points {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.creator-points li {
    position: relative;
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.5;
}

.creator-points li::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10.2l3.6 3.6L16 6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.creator-invite__note {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.55;
}

.creator-form-card {
    padding: clamp(22px, 3vw, 32px);
    background: #fff;
    box-shadow: var(--ring), var(--shadow-md);
}

.creator-form-card h2,
.creator-section__title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.creator-form-card__lede,
.creator-section__desc,
.creator-hint {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.creator-section + .creator-section,
.creator-form > .creator-section:first-of-type,
.creator-form-card .creator-submit {
    margin-top: 26px;
}

.creator-section {
    margin: 0;
    padding: 0;
    border: 0;
    min-inline-size: 0;
}

.creator-field {
    display: grid;
    gap: 6px;
    margin-top: 14px;
}

.creator-field label,
.creator-field__label,
.creator-optional__title {
    font-size: 13.5px;
    font-weight: 650;
}

.creator-section legend {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.creator-field .required,
.creator-section legend .required {
    margin-left: 2px;
    color: var(--highlight);
}

.creator-field input:not([type="radio"]),
.creator-field select,
.creator-percent input {
    width: 100%;
    height: 48px;
    font: inherit;
    color: inherit;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background-color: #f7f8fa;
    box-shadow: inset 0 1px 2px rgba(var(--ink), 0.04);
    font-size: 15px;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.creator-field select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.creator-field input:not([type="radio"]):focus,
.creator-field select:focus,
.creator-percent input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 140, 255, 0.16);
}

.creator-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.creator-choice {
    position: relative;
    display: block;
    min-height: 72px;
    cursor: pointer;
}

.creator-choice input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.creator-choice span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 100%;
    padding: 12px 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f7f8fa;
    text-align: center;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.creator-choice strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.creator-choice small {
    color: var(--muted);
    font-size: 12px;
}

.creator-choice input:focus-visible + span {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.creator-choice input:checked + span {
    border-color: transparent;
    background: var(--accent-soft);
    box-shadow: inset 0 0 0 1.5px var(--accent);
}

.creator-choice:hover span {
    background: #fff;
}

.creator-choice input:checked + span,
.creator-choice:hover input:checked + span {
    background: var(--accent-soft);
}

.creator-choices--platform {
    margin-top: 0;
}

.creator-choices--platform .creator-choice {
    min-height: 52px;
}

.creator-choices--platform .creator-choice span {
    flex-direction: row;
    gap: 8px;
    padding: 8px;
}

.creator-choices--platform .creator-choice img {
    flex: none;
    width: 20px;
    height: 20px;
}

.creator-choices--platform .creator-choice strong {
    font-size: 14.5px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.creator-readout {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f4f6f8;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.creator-readout.is-set {
    background: #f3f7ff;
    color: var(--text);
}

.creator-custom {
    display: none;
    gap: 6px;
    margin-top: 12px;
}

.creator-form.is-custom .creator-custom {
    display: grid;
}

.creator-percent {
    position: relative;
}

.creator-percent span {
    position: absolute;
    top: 50%;
    right: 14px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 650;
    transform: translateY(-50%);
    pointer-events: none;
}

.creator-optional {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.creator-optional summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
}

.creator-optional summary::-webkit-details-marker {
    display: none;
}

.creator-optional__main {
    display: grid;
    gap: 4px;
}

.creator-optional__tag {
    display: inline-flex;
    width: fit-content;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: 1px;
}

.creator-optional__chevron {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface);
}

.creator-optional__chevron svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.creator-optional[open] .creator-optional__chevron svg {
    transform: rotate(180deg);
}

.creator-optional__panel {
    padding-top: 4px;
}

.creator-submit {
    width: 100%;
}

.creator-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.creator-error {
    margin-top: 12px;
    color: #b42318;
    font-size: 13.5px;
    line-height: 1.5;
}

.creator-fine {
    margin-top: 12px;
    color: var(--faint);
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
}

.creator-success {
    display: grid;
    align-content: center;
    min-height: 320px;
    gap: 12px;
}

.creator-success h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.creator-success p {
    max-width: 420px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 860px) {
    .creator-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .creator-choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .creator-choices--platform {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .creator-choices--platform .creator-choice {
        min-height: 64px;
    }

    .creator-choices--platform .creator-choice span {
        flex-direction: column;
        gap: 5px;
    }

    .creator-choices--platform .creator-choice strong {
        font-size: 13px;
    }
}
