
.cl-hero {
    --cl-hero-red: #e3222f;
    --cl-hero-red-light: #ff3a48;
    --cl-hero-red-dark: #8f111a;
    --cl-hero-green: #32d583;
    --cl-hero-amber: #f0b429;
    --cl-hero-bg: #050609;
    --cl-hero-panel: rgba(10, 12, 17, 0.82);
    --cl-hero-line: rgba(255, 255, 255, 0.1);
    --cl-hero-text: #f4f5f7;
    --cl-hero-muted: #9ca5b5;
    --cl-hero-pointer-x: 0px;
    --cl-hero-pointer-y: 0px;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    padding: 126px 0 54px;
    background: var(--cl-hero-bg);
    color: var(--cl-hero-text);
}

.cl-hero__background,
.cl-hero__scene,
.cl-hero__vignette,
.cl-hero__ambient-light,
.cl-hero__grain,
.cl-hero__particles {
    position: absolute;
    inset: 0;
}

.cl-hero__background {
    z-index: -2;
    overflow: hidden;
    background: #050609;
}

.cl-hero__scene {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
    transform: scale(1.035) translate3d(var(--cl-hero-pointer-x), var(--cl-hero-pointer-y), 0);
    filter: saturate(0.82) contrast(1.08) brightness(0.78);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: transform;
}

.cl-hero__vignette {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 6, 9, 0.98) 0%, rgba(5, 6, 9, 0.9) 27%, rgba(5, 6, 9, 0.58) 52%, rgba(5, 6, 9, 0.18) 78%, rgba(5, 6, 9, 0.48) 100%),
        linear-gradient(180deg, rgba(5, 6, 9, 0.68) 0%, transparent 24%, transparent 66%, #050609 100%);
}

.cl-hero__ambient-light {
    z-index: 2;
    top: 8%;
    right: 5%;
    bottom: auto;
    left: auto;
    width: min(46vw, 700px);
    height: min(72vh, 720px);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(227, 34, 47, 0.2) 0%, rgba(143, 17, 26, 0.06) 46%, transparent 72%);
    filter: blur(44px);
    opacity: 0.72;
}

.cl-hero__grain {
    z-index: 3;
    pointer-events: none;
    opacity: 0.16;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.cl-hero__particles {
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.cl-hero__particle {
    position: absolute;
    bottom: 6%;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.9);
    box-shadow: 0 0 7px rgba(227, 34, 47, 0.8);
    opacity: 0;
    animation: clHeroParticle 10s infinite ease-out;
}

.cl-hero__container {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1240px);
    min-height: calc(100vh - 180px);
    min-height: calc(100svh - 180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.84fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
}

.cl-hero__content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 680px;
}

.cl-hero__status {
    width: fit-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 7px 11px;
    border: 1px solid var(--cl-hero-line);
    border-radius: 999px;
    background: rgba(8, 11, 16, 0.74);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.cl-hero__status-dot,
.cl-connect-modal__status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--cl-hero-amber);
    box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.08);
}

.cl-hero__status[data-status="online"] .cl-hero__status-dot,
.cl-connect-modal__status[data-status="online"] .cl-connect-modal__status-dot {
    background: var(--cl-hero-green);
    box-shadow: 0 0 0 4px rgba(50, 213, 131, 0.08), 0 0 12px rgba(50, 213, 131, 0.56);
    animation: clHeroStatusPulse 2.4s infinite ease-out;
}

.cl-hero__status[data-status="offline"] .cl-hero__status-dot,
.cl-connect-modal__status[data-status="offline"] .cl-connect-modal__status-dot {
    background: var(--cl-hero-red-light);
    box-shadow: 0 0 0 4px rgba(227, 34, 47, 0.1);
}

.cl-hero__status-system,
.cl-hero__status-text,
.cl-hero__status-players {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.cl-hero__status-system {
    color: #9fa8b8;
}

.cl-hero__status-system i {
    margin-right: 3px;
    color: #737d8d;
}

.cl-hero__status-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.14);
}

.cl-hero__status-text {
    color: var(--cl-hero-amber);
}

.cl-hero__status[data-status="online"] .cl-hero__status-text {
    color: var(--cl-hero-green);
}

.cl-hero__status[data-status="offline"] .cl-hero__status-text {
    color: var(--cl-hero-red-light);
}

.cl-hero__status-players {
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1f3f6;
    letter-spacing: 0;
}

.cl-hero__narrative {
    min-height: 244px;
}

.cl-hero__title {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(4.6rem, 7.1vw, 6.45rem);
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.cl-hero__title-line {
    display: block;
}

.cl-hero__title-metal {
    color: #f3f4f6;
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.56);
}

.cl-hero__title-red {
    width: fit-content;
    margin-top: 12px;
    color: var(--cl-hero-red);
    text-shadow: 0 14px 42px rgba(143, 17, 26, 0.28);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.cl-hero__title-red::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin-top: 17px;
    background: var(--cl-hero-red);
    box-shadow: 0 0 10px rgba(227, 34, 47, 0.45);
}

.cl-hero__subtitle {
    max-width: 580px;
    min-height: 3.35em;
    margin: 22px 0 0;
    color: var(--cl-hero-muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.98rem, 1.5vw, 1.08rem);
    line-height: 1.68;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.cl-hero__title-red.is-changing,
.cl-hero__subtitle.is-changing,
.cl-hero__context-badge.is-changing {
    opacity: 0;
    transform: translateY(7px);
}

.cl-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 21px;
}

.cl-hero__primary-button,
.cl-hero__platform-link,
.cl-hero__copy-button,
.cl-connect-modal__copy,
.cl-connect-modal__primary-link,
.cl-connect-modal__secondary-link {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    text-decoration: none;
}

.cl-hero__primary-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 21px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: var(--cl-hero-red);
    color: #fff;
    box-shadow: 0 12px 28px rgba(143, 17, 26, 0.3);
    cursor: pointer;
    transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.cl-hero__primary-button:hover {
    transform: translateY(-2px);
    background: var(--cl-hero-red-light);
    box-shadow: 0 16px 34px rgba(143, 17, 26, 0.4);
}

.cl-hero__primary-button:focus-visible,
.cl-hero__platform-link:focus-visible,
.cl-hero__copy-button:focus-visible,
.cl-hero__indicator:focus-visible,
.cl-hero__scroll:focus-visible,
.cl-connect-modal button:focus-visible,
.cl-connect-modal a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.cl-hero__button-icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.72rem;
}

.cl-hero__button-arrow {
    font-size: 0.75rem;
    transition: transform 0.24s ease;
}

.cl-hero__primary-button:hover .cl-hero__button-arrow {
    transform: translateX(3px);
}

.cl-hero__platforms {
    display: flex;
    gap: 8px;
}

.cl-hero__platform-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid var(--cl-hero-line);
    border-radius: 999px;
    background: rgba(8, 11, 16, 0.74);
    color: #d8dce3;
    font-size: 0.81rem;
    backdrop-filter: blur(10px);
    transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.cl-hero__platform-link i {
    color: var(--cl-hero-red-light);
    font-size: 0.92rem;
}

.cl-hero__platform-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(18, 21, 28, 0.88);
    color: #fff;
}

.cl-hero__ip {
    width: fit-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 13px;
    padding: 7px 8px 7px 15px;
    border: 1px solid var(--cl-hero-line);
    border-radius: 11px;
    background: rgba(6, 8, 12, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.cl-hero__ip-content {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.cl-hero__ip-label {
    color: var(--cl-hero-red-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    white-space: nowrap;
}

.cl-hero__ip-address {
    overflow: hidden;
    color: #f4f5f7;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cl-hero__copy-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(227, 34, 47, 0.32);
    border-radius: 8px;
    background: rgba(227, 34, 47, 0.1);
    color: #fff;
    font-size: 0.72rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.cl-hero__copy-button:hover,
.cl-hero__copy-button.is-copied {
    border-color: var(--cl-hero-red);
    background: var(--cl-hero-red);
}

.cl-hero__slider-controls {
    display: flex;
    gap: 7px;
    width: fit-content;
    margin-top: 22px;
}

.cl-hero__indicator {
    position: relative;
    width: 34px;
    height: 3px;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.cl-hero__indicator::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--cl-hero-red);
    transform: scaleX(0);
    transform-origin: left;
}

.cl-hero__indicator.is-active {
    width: 54px;
}

.cl-hero__indicator.is-active::after {
    animation: clHeroIndicator 6.5s linear forwards;
}

.cl-hero__data-rail {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 25px;
    padding-top: 17px;
    border-top: 1px solid var(--cl-hero-line);
}

.cl-hero__data-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding-right: 18px;
}

.cl-hero__data-item + .cl-hero__data-item {
    padding-left: 18px;
    border-left: 1px solid var(--cl-hero-line);
}

.cl-hero__data-item > i {
    color: var(--cl-hero-red-light);
    font-size: 0.92rem;
}

.cl-hero__data-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cl-hero__data-copy strong {
    overflow: hidden;
    color: #f4f5f7;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cl-hero__data-copy small {
    color: #697384;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.085em;
    white-space: nowrap;
}

.cl-hero__character-column {
    position: relative;
    align-self: end;
    justify-self: end;
    width: min(100%, 510px);
    height: min(760px, calc(100vh - 128px));
    height: min(760px, calc(100svh - 128px));
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.cl-hero__character-halo {
    position: absolute;
    z-index: -1;
    right: -3%;
    bottom: 8%;
    width: 88%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(227, 34, 47, 0.2) 0%, rgba(143, 17, 26, 0.06) 48%, transparent 72%);
    filter: blur(42px);
}

.cl-hero__character-ground {
    position: absolute;
    z-index: 0;
    right: 7%;
    bottom: 0;
    width: 78%;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.76);
    filter: blur(12px);
}

.cl-hero__character {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    transform: translate3d(calc(var(--cl-hero-pointer-x) * -0.65), calc(var(--cl-hero-pointer-y) * -0.5), 0);
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.65));
    transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: transform;
}

.cl-hero__context-badge {
    position: absolute;
    z-index: 3;
    top: 27%;
    left: -7%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 11px;
    background: rgba(8, 11, 16, 0.82);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.cl-hero__context-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(227, 34, 47, 0.28);
    border-radius: 8px;
    background: rgba(227, 34, 47, 0.1);
    color: var(--cl-hero-red-light);
    font-size: 0.82rem;
}

.cl-hero__context-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cl-hero__context-copy small,
.cl-hero__context-copy strong {
    white-space: nowrap;
}

.cl-hero__context-copy small {
    color: #7f8999;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.cl-hero__context-copy strong {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.035em;
}

.cl-hero__scroll {
    position: absolute;
    z-index: 5;
    right: max(28px, calc((100vw - 1240px) / 2));
    bottom: 27px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #697384;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cl-hero__scroll:hover {
    color: #fff;
}

.cl-hero__scroll-track {
    width: 19px;
    height: 33px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.cl-hero__scroll-dot {
    width: 3px;
    height: 6px;
    border-radius: 999px;
    background: var(--cl-hero-red-light);
    animation: clHeroScroll 1.9s infinite ease-in-out;
}


.cl-connect-modal {
    --cl-modal-red: #e3222f;
    --cl-modal-green: #32d583;
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cl-connect-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.cl-connect-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(2, 3, 5, 0.86);
    backdrop-filter: blur(12px);
    cursor: default;
}

.cl-connect-modal__panel {
    position: relative;
    width: min(100%, 530px);
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 17px;
    background: #0a0c11;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cl-connect-modal__panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cl-modal-red), transparent);
}

.cl-connect-modal.is-open .cl-connect-modal__panel {
    transform: translateY(0) scale(1);
}

.cl-connect-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #9ca5b5;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cl-connect-modal__close:hover {
    border-color: rgba(227, 34, 47, 0.38);
    background: rgba(227, 34, 47, 0.1);
    color: #fff;
}

.cl-connect-modal__header {
    padding-right: 38px;
}

.cl-connect-modal__logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 13px;
}

.cl-connect-modal__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--cl-modal-red);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.cl-connect-modal__header h2 {
    margin: 0;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.65rem, 5vw, 2.05rem);
    font-weight: 800;
    letter-spacing: 0.025em;
}

.cl-connect-modal__header p {
    max-width: 430px;
    margin: 7px 0 21px;
    color: #8c96a6;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.83rem;
    line-height: 1.58;
}

.cl-connect-modal__server {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.cl-connect-modal__status,
.cl-connect-modal__metrics,
.cl-connect-modal__metrics span {
    display: flex;
    align-items: center;
}

.cl-connect-modal__status {
    gap: 8px;
    color: #f0b429;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cl-connect-modal__status[data-status="online"] {
    color: var(--cl-modal-green);
}

.cl-connect-modal__status[data-status="offline"] {
    color: #ff5260;
}

.cl-connect-modal__metrics {
    gap: 13px;
}

.cl-connect-modal__metrics span {
    gap: 6px;
    color: #c4cad4;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
}

.cl-connect-modal__metrics i {
    color: #687283;
}

.cl-connect-modal__ip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 10px;
    padding: 12px 12px 12px 15px;
    border: 1px solid rgba(227, 34, 47, 0.25);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.27);
}

.cl-connect-modal__ip-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cl-connect-modal__ip-copy small {
    color: #737d8d;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.cl-connect-modal__ip-copy code {
    overflow: hidden;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cl-connect-modal__copy {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(227, 34, 47, 0.3);
    border-radius: 8px;
    background: rgba(227, 34, 47, 0.1);
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    white-space: nowrap;
}

.cl-connect-modal__copy:hover,
.cl-connect-modal__copy.is-copied {
    background: var(--cl-modal-red);
}

.cl-connect-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 16px;
}

.cl-connect-modal__primary-link,
.cl-connect-modal__secondary-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 9px;
    color: #fff;
    font-size: 0.82rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cl-connect-modal__primary-link {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--cl-modal-red);
}

.cl-connect-modal__secondary-link {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
}

.cl-connect-modal__primary-link:hover,
.cl-connect-modal__secondary-link:hover {
    transform: translateY(-2px);
}

.cl-connect-modal__secondary-link:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.cl-connect-modal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cl-connect-modal__footer span {
    color: #747e8e;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
}

.cl-connect-modal__footer i {
    margin-right: 4px;
    color: #a0a8b5;
}

body.cl-modal-open {
    overflow: hidden;
}


@keyframes clHeroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes clHeroFadeDown {
    0% {
        opacity: 0;
        transform: translateY(-16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes clHeroScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes clHeroFadeLeft {
    0% {
        opacity: 0;
        transform: translate3d(36px, 0, 0) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.cl-hero .cl-hero-animate {
    opacity: 0;
    will-change: transform, opacity;
}

.cl-hero.is-revealed .cl-hero-animate {
    animation: clHeroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cl-hero.is-revealed .cl-hero-animate[data-motion="fade-down"] {
    animation-name: clHeroFadeDown;
}

.cl-hero.is-revealed .cl-hero-animate[data-motion="scale-in"] {
    animation-name: clHeroScaleIn;
}

.cl-hero.is-revealed .cl-hero__character-column.cl-hero-animate {
    animation-name: clHeroFadeLeft;
    animation-duration: 0.85s;
}

.cl-hero.is-revealed .cl-hero__status {
    animation-delay: 0.05s;
}

.cl-hero.is-revealed .cl-hero-delay-1 {
    animation-delay: 0.14s;
}

.cl-hero.is-revealed .cl-hero-delay-2 {
    animation-delay: 0.24s;
}

.cl-hero.is-revealed .cl-hero-delay-3 {
    animation-delay: 0.34s;
}

.cl-hero.is-revealed .cl-hero-delay-4 {
    animation-delay: 0.44s;
}

.cl-hero.is-revealed .cl-hero-delay-5 {
    animation-delay: 0.54s;
}

.cl-hero.is-revealed [data-motion-item] {
    animation: clHeroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cl-hero.is-revealed [data-motion-item]:nth-child(1) {
    animation-delay: 0.54s;
}

.cl-hero.is-revealed [data-motion-item]:nth-child(2) {
    animation-delay: 0.64s;
}

.cl-hero.is-revealed [data-motion-item]:nth-child(3) {
    animation-delay: 0.74s;
}

@keyframes clHeroParticle {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }

    18% {
        opacity: 0.55;
    }

    100% {
        opacity: 0;
        transform: translate3d(10px, -48vh, 0);
    }
}

@keyframes clHeroStatusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(50, 213, 131, 0.28), 0 0 10px rgba(50, 213, 131, 0.42);
    }

    70%,
    100% {
        box-shadow: 0 0 0 7px rgba(50, 213, 131, 0), 0 0 10px rgba(50, 213, 131, 0.42);
    }
}

@keyframes clHeroIndicator {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes clHeroScroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(13px);
    }
}

@media (max-width: 1080px) {
    .cl-hero {
        padding-top: 116px;
    }

    .cl-hero__container {
        width: min(100% - 40px, 980px);
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
        gap: 18px;
    }

    .cl-hero__content {
        max-width: 620px;
    }

    .cl-hero__title {
        font-size: clamp(4.15rem, 8.2vw, 5.6rem);
    }

    .cl-hero__actions {
        align-items: stretch;
        flex-direction: column;
        width: fit-content;
    }

    .cl-hero__platform-link {
        flex: 1;
    }

    .cl-hero__character-column {
        width: 390px;
        height: min(660px, calc(100svh - 126px));
    }

    .cl-hero__context-badge {
        left: -11%;
    }

    .cl-hero__scroll {
        display: none;
    }
}

@media (max-width: 768px) {
    .cl-hero {
        min-height: 100svh;
        padding: 108px 0 30px;
    }

    .cl-hero__scene {
        object-position: 72% center;
        filter: saturate(0.72) contrast(1.05) brightness(0.58);
    }

    .cl-hero__vignette {
        background:
            linear-gradient(90deg, rgba(5, 6, 9, 0.96) 0%, rgba(5, 6, 9, 0.78) 60%, rgba(5, 6, 9, 0.55) 100%),
            linear-gradient(180deg, rgba(5, 6, 9, 0.68) 0%, rgba(5, 6, 9, 0.34) 34%, rgba(5, 6, 9, 0.82) 68%, #050609 100%);
    }

    .cl-hero__container {
        width: min(100% - 32px, 620px);
        min-height: auto;
        display: block;
    }

    .cl-hero__content {
        max-width: none;
        padding-bottom: 36px;
    }

    .cl-hero__status {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .cl-hero__status-system {
        display: none;
    }

    .cl-hero__status-divider {
        display: none;
    }

    .cl-hero__narrative {
        min-height: 202px;
    }

    .cl-hero__title {
        font-size: clamp(3.4rem, 17vw, 5rem);
        line-height: 0.84;
    }

    .cl-hero__title-red {
        margin-top: 9px;
    }

    .cl-hero__title-red::after {
        margin-top: 13px;
    }

    .cl-hero__subtitle {
        max-width: 520px;
        margin-top: 17px;
        font-size: 0.92rem;
        line-height: 1.58;
    }

    .cl-hero__actions,
    .cl-hero__ip {
        width: 100%;
    }

    .cl-hero__primary-button {
        width: 100%;
    }

    .cl-hero__platforms {
        width: 100%;
    }

    .cl-hero__platform-link {
        min-width: 0;
        padding: 0 10px;
    }

    .cl-hero__ip {
        justify-content: space-between;
    }

    .cl-hero__data-rail {
        gap: 13px 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cl-hero__data-item {
        padding-right: 12px;
    }

    .cl-hero__data-item + .cl-hero__data-item {
        padding-left: 12px;
    }

    .cl-hero__data-item:nth-child(3) {
        grid-column: 1 / -1;
        padding-top: 13px;
        padding-left: 0;
        border-top: 1px solid var(--cl-hero-line);
        border-left: 0;
    }

    .cl-hero__character-column {
        position: absolute;
        z-index: 1;
        right: -58px;
        top: 145px;
        bottom: auto;
        width: 330px;
        height: 500px;
        min-height: 0;
        opacity: 0.3;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    }

    .cl-hero__character-halo,
    .cl-hero__context-badge {
        display: none;
    }

    .cl-connect-modal {
        padding: 14px;
    }

    .cl-connect-modal__panel {
        max-height: calc(100svh - 28px);
        overflow-y: auto;
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .cl-hero__status-players {
        font-size: 0.62rem;
    }

    .cl-hero__title {
        font-size: clamp(3.15rem, 18vw, 4.15rem);
    }

    .cl-hero__platform-link {
        font-size: 0.72rem;
    }

    .cl-hero__ip {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
        padding: 11px;
    }

    .cl-hero__ip-content {
        justify-content: space-between;
    }

    .cl-hero__copy-button {
        width: 100%;
    }

    .cl-hero__character-column {
        right: -72px;
        width: 310px;
        height: 460px;
    }

    .cl-connect-modal__server,
    .cl-connect-modal__ip {
        align-items: stretch;
        flex-direction: column;
    }

    .cl-connect-modal__metrics {
        justify-content: space-between;
    }

    .cl-connect-modal__copy {
        width: 100%;
    }

    .cl-connect-modal__actions {
        grid-template-columns: 1fr;
    }
}
