/* Play Now page */
.et-play-page {
    position: relative;
    padding: 28px 0 10px;
}

.et-play-shell {
    width: min(calc(100% - 40px), 980px);
    margin: 0 auto;
}

.et-play-card {
    border: 1px solid color-mix(in srgb, var(--et-red) 24%, var(--et-border-soft));
    border-radius: 14px;
    background:
        radial-gradient(circle at top center, color-mix(in srgb, var(--et-red) 15%, transparent), transparent 55%),
        linear-gradient(180deg, rgba(26, 18, 24, 0.97), rgba(12, 13, 17, 0.98));
    box-shadow: 0 18px 34px rgba(0,0,0,.22);
    overflow: hidden;
}

.et-play-server-strip {
    min-height: 68px;
    padding: 0 28px;
    border-bottom: 1px solid color-mix(in srgb, var(--et-red) 14%, var(--et-border-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

.et-play-server-label {
    color: #908895;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.et-play-server-copy {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--et-muted);
    transition: opacity .18s ease;
}

.et-play-server-copy strong {
    color: color-mix(in srgb, #fff 20%, var(--et-red));
    font-family: var(--font-heading);
    font-size: 17px;
    letter-spacing: .01em;
    text-shadow: 0 0 14px color-mix(in srgb, var(--et-red) 24%, transparent);
}

.et-play-server-copy span {
    color: #8f8996;
    font-size: 13px;
}

.et-play-steps-bar {
    position: relative;
    display: grid;
    grid-template-columns: 44px repeat(5, minmax(0, 1fr)) 44px;
    align-items: center;
    gap: 0;
    padding: 26px 24px 8px;
}

.et-play-step-node {
    position: relative;
    display: flex;
    justify-content: center;
}

.et-play-node-line {
    position: absolute;
    top: 21px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #2a242d;
    transform: translateX(0);
}

.et-play-step-node.is-active .et-play-node-line,
.et-play-step-node.is-complete .et-play-node-line {
    background: linear-gradient(90deg, color-mix(in srgb, #fff 14%, var(--et-red)), color-mix(in srgb, #000 6%, var(--et-red)));
}

.et-play-circle {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 2px solid #38303a;
    background: linear-gradient(180deg, #2a242b, #19161d);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b9a9b4;
    font-family: var(--font-heading);
    font-size: 15px;
    box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.et-play-step-node.is-active .et-play-circle,
.et-play-step-node.is-complete .et-play-circle {
    color: #ffffff;
    border-color: color-mix(in srgb, #fff 16%, var(--et-red));
    background: linear-gradient(180deg, color-mix(in srgb, #fff 14%, var(--et-red)), color-mix(in srgb, #000 8%, var(--et-red)));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--et-red) 16%, transparent);
}

.et-play-arrow {
    justify-self: center;
    width: 36px;
    height: 36px;
    border-width: 1px;
    font-size: 12px;
}

.et-play-arrow:disabled,
.et-play-nav-button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.et-play-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    padding: 8px 30px 32px;
}

.et-play-figure {
    align-self: center;
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--et-red) 12%, var(--et-border));
    border-radius: 10px;
    background: #0f1014;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

/* The base Eclipse stylesheet sets all images to height:100%. Override it here
   so the 16:9 screenshots always retain their natural proportions. */
.et-play-figure img,
.et-play-figure img[data-play-image] {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 16 / 9;
    object-fit: contain !important;
    object-position: center;
    background: #07080b;
}

.et-play-figure figcaption {
    border-top: 1px solid color-mix(in srgb, var(--et-red) 12%, var(--et-border));
    padding: 8px 12px 10px;
    text-align: center;
    color: #a9a0aa;
    font-size: 14px;
}

.et-play-copy {
    text-align: center;
}

.et-play-badge {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 999px;
    border: 3px solid color-mix(in srgb, #fff 10%, var(--et-red));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, #fff 10%, var(--et-red));
    font-family: var(--font-heading);
    font-size: 23px;
    background: color-mix(in srgb, var(--et-red) 12%, transparent);
}

.et-play-copy h1 {
    margin: 0 0 16px;
    color: #f5f2eb;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.12;
    text-transform: none;
}

.et-play-copy p {
    margin: 0 auto;
    max-width: 460px;
    color: #d7ccd3;
    font-size: 17px;
    line-height: 1.78;
}

.et-play-primary-action {
    min-width: 325px;
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, #fff 10%, var(--et-red));
    background: linear-gradient(180deg, color-mix(in srgb, #fff 6%, var(--et-red)), color-mix(in srgb, #000 6%, var(--et-red)));
    color: #fff3f6;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .02em;
    box-shadow: 0 4px 0 color-mix(in srgb, #000 45%, var(--et-red));
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.et-play-primary-action:hover {
    filter: brightness(1.04);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 color-mix(in srgb, #000 45%, var(--et-red));
}

.et-play-footer-row {
    min-height: 86px;
    padding: 0 30px;
    border-top: 1px solid color-mix(in srgb, var(--et-red) 10%, var(--et-border-soft));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

.et-play-nav-button {
    min-width: 92px;
    height: 34px;
    padding: 0 12px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: 0 4px 0 rgba(0,0,0,.3);
}

.et-play-nav-back {
    color: #f7eff3;
    border: 1px solid #55414e;
    background: linear-gradient(180deg, #4a3943, #2b222a);
}

.et-play-nav-next {
    justify-self: end;
    color: #fff3f6;
    border: 1px solid color-mix(in srgb, #fff 10%, var(--et-red));
    background: linear-gradient(180deg, color-mix(in srgb, #fff 6%, var(--et-red)), color-mix(in srgb, #000 6%, var(--et-red)));
}

.et-play-counter {
    text-align: center;
    color: #9a8e98;
    font-size: 15px;
}

.et-play-faq {
    margin-top: 48px;
}

.et-play-faq h2 {
    margin: 0 0 18px;
    color: #f5f2eb;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3vw, 3rem);
}

.et-play-faq-list {
    display: grid;
    gap: 14px;
}

.et-play-faq-item {
    border: 1px solid #2d2430;
    border-radius: 10px;
    background: rgba(14, 11, 16, .82);
    overflow: hidden;
    transition: border-color .18s ease, background .18s ease;
}

.et-play-faq-item[open] {
    border-color: color-mix(in srgb, var(--et-red) 28%, var(--et-border));
    background: rgba(22, 14, 19, .92);
}

.et-play-faq-button {
    width: 100%;
    min-height: 68px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #f5f2eb;
    font-family: var(--font-heading);
    font-size: 15px;
    text-align: left;
}

.et-play-faq-button .et-icon {
    color: color-mix(in srgb, #fff 10%, var(--et-red));
    transition: transform .18s ease;
}

.et-play-faq-item[open] .et-play-faq-button .et-icon {
    transform: rotate(45deg);
}

.et-play-faq-answer {
    padding: 0 24px 22px;
}

[x-cloak] { display: none !important; }

.et-play-faq-answer p {
    margin: 0;
    color: #d2c8cf;
    font-size: 16px;
    line-height: 1.7;
}

.et-play-help-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, #fff 10%, var(--et-red));
    background: linear-gradient(180deg, color-mix(in srgb, #fff 5%, var(--et-red)), color-mix(in srgb, #000 10%, var(--et-red)));
    color: #ffffff;
    box-shadow: 0 12px 34px color-mix(in srgb, #000 40%, var(--et-red));
}

.et-play-help-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    font-size: 20px;
}

.et-play-help-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.et-play-help-copy strong {
    font-family: var(--font-heading);
    font-size: 13px;
    line-height: 1.2;
}

.et-play-help-copy small {
    margin-top: 4px;
    color: rgba(255,255,255,.92);
    font-size: 13px;
    line-height: 1.3;
}

.et-play-help-button {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(14, 15, 23, .35);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .et-play-steps-bar {
        grid-template-columns: 38px repeat(5, minmax(0, 1fr)) 38px;
        padding-inline: 14px;
    }

    .et-play-content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .et-play-copy p {
        max-width: 100%;
    }

    .et-play-primary-action {
        min-width: min(100%, 320px);
    }
}

@media (max-width: 767px) {
    .et-play-page {
        padding-top: 20px;
    }

    .et-play-shell {
        width: min(calc(100% - 24px), 100%);
    }

    .et-play-server-strip {
        min-height: 84px;
        padding: 14px 18px;
        flex-direction: column;
        gap: 10px;
    }

    .et-play-server-copy {
        flex-direction: column;
        gap: 6px;
    }

    .et-play-server-copy strong {
        font-size: 15px;
    }

    .et-play-steps-bar {
        gap: 4px;
        padding: 18px 10px 2px;
    }

    .et-play-circle {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .et-play-node-line {
        top: 17px;
    }

    .et-play-content-grid {
        padding: 6px 14px 22px;
        grid-template-columns: minmax(0, 1fr);
    }

    .et-play-figure {
        width: 100%;
        max-width: 100%;
    }

    .et-play-figure img,
    .et-play-figure img[data-play-image] {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .et-play-badge {
        width: 46px;
        height: 46px;
        margin-bottom: 14px;
        font-size: 20px;
    }

    .et-play-copy h1 {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }

    .et-play-copy p {
        font-size: 15px;
        line-height: 1.65;
    }

    .et-play-primary-action {
        width: 100%;
        min-width: 0;
        padding: 16px 18px;
    }

    .et-play-footer-row {
        padding: 14px;
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .et-play-nav-next {
        justify-self: stretch;
    }

    .et-play-counter {
        order: 3;
    }

    .et-play-faq {
        margin-top: 30px;
    }

    .et-play-faq-button {
        min-height: 60px;
        padding: 0 16px;
        font-size: 14px;
    }

    .et-play-faq-answer {
        padding: 0 16px 18px;
    }

    .et-play-help-float {
        left: 12px;
        right: 12px;
        bottom: 12px;
        gap: 12px;
        padding: 14px;
    }

    .et-play-help-copy small {
        font-size: 12px;
    }

    .et-play-help-button {
        display: none;
    }
}


/* Play Now refinements */
.et-play-primary-action.is-discord,.et-play-help-float{border-color:var(--et-discord-light);background:linear-gradient(180deg,var(--et-discord-light),var(--et-discord));box-shadow:0 4px 0 var(--et-discord-dark),0 12px 34px rgba(39,26,120,.22),inset 0 1px rgba(255,255,255,.18)}
.et-play-primary-action.is-discord{color:#fff}.et-play-primary-action.is-discord:hover{box-shadow:0 6px 0 var(--et-discord-dark),0 12px 34px rgba(39,26,120,.22),inset 0 1px rgba(255,255,255,.18)}
.et-play-help-button{background:rgba(14,15,23,.28)}
.et-play-faq-item[open]{border-color:color-mix(in srgb,var(--et-red) 28%,var(--et-border));background:rgba(22,14,19,.92)}
.et-play-faq-item[open] .et-play-faq-button .et-icon{transform:rotate(45deg)}
.et-play-faq-button .et-icon{transition:transform .18s ease}
