:root {
    /* 1920px: 1840px Nutzbreite, QHD/4K werden per Media Query erweitert. */
    --cir-page-width: min(1840px, calc(100vw - 64px));
    --cir-ui-scale: 1;
}

@media (min-width: 2200px) {
    :root {
        /* 2560px: ca. 2400px Nutzbreite, ca. 80px Rand je Seite. */
        --cir-page-width: min(2400px, calc(100vw - 160px));
        --cir-ui-scale: 1.12;
    }
}

@media (min-width: 3400px) {
    :root {
        /* 3840px: ca. 3200px Nutzbreite, nicht komplett überdehnt. */
        --cir-page-width: min(3200px, calc(100vw - 420px));
        --cir-ui-scale: 1.28;
    }
}

.site-header {
    width: var(--cir-page-width);
    min-height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark.brand-logo {
    width: 70px;
    height: 70px;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(214, 168, 92, 0.28);
    background: transparent;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.brand-mark.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.brand-text {
    display: grid;
}

.brand-text strong {
    font-size: 1.03rem;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.brand-text small {
    color: var(--cir-muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--cir-muted);
    font-weight: 800;
    font-size: 0.94rem;
}

.main-nav a {
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--cir-text);
    border-bottom-color: var(--cir-gold);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.landing-hero,
.section-tight,
.dashboard-grid,
.site-footer {
    width: var(--cir-page-width);
    margin-left: auto;
    margin-right: auto;
}

.landing-hero {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 8, 18, 0.98) 0%, rgba(2, 8, 18, 0.76) 34%, rgba(2, 8, 18, 0.10) 66%, rgba(2, 8, 18, 0.86) 100%),
        linear-gradient(180deg, rgba(2, 8, 18, 0.04) 0%, rgba(2, 8, 18, 0.78) 100%),
        url("/static/public/assets/images/background.png") center right / cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 40px 56px 28px;
}

.hero-copy {
    max-width: 760px;
}

.hero-copy h1 {
    margin: 0 0 8px;
    max-width: 760px;
    color: #f3f7ff;
    font-size: 68px;
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.hero-copy h2 {
    margin: 0 0 16px;
    color: var(--cir-gold);
    font-size: 32px;
    line-height: 1.05;
}

.hero-copy p {
    margin: 0;
    max-width: 680px;
    color: rgba(226, 232, 240, 0.88);
    font-size: 16px;
    line-height: 1.42;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-large {
    min-width: 220px;
    min-height: 44px;
    gap: 16px;
}

.trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    color: rgba(226, 232, 240, 0.76);
    font-size: 0.9rem;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 999px;
    background: rgba(3, 10, 22, 0.42);
}

.trust-row span:nth-child(2),
.trust-row span:nth-child(4) {
    padding: 0;
    border: 0;
    background: transparent;
}

.trust-row img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.section-tight {
    padding: 16px 0 14px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.panel-card {
    background:
        linear-gradient(180deg, rgba(19, 35, 55, 0.88), rgba(5, 12, 22, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.feature-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 16px;
    min-height: 116px;
    padding: 16px;
}

.feature-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.feature-card h3,
.panel-card h2 {
    margin: 0;
    color: #f3f7ff;
}

.feature-card h3 {
    font-size: 18px;
}

.feature-card p {
    margin: 7px 0 9px;
    color: rgba(226, 232, 240, 0.78);
    font-size: 13px;
    line-height: 1.34;
}

.feature-card a,
.panel-link {
    color: #63c9ff;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.28fr 1fr 0.72fr;
    gap: 16px;
    padding: 0 0 22px;
}

.panel-card {
    padding: 15px;
}

.panel-card h2 {
    margin-bottom: 12px;
    color: var(--cir-gold);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 15px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.step {
    position: relative;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    right: -6px;
    width: 1px;
    height: 90px;
    background: rgba(148, 163, 184, 0.14);
}

.step img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 8px;
}

.step strong {
    display: block;
    margin-bottom: 7px;
    color: #f3f7ff;
    font-size: 13px;
}

.step strong span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 7px;
    border-radius: 999px;
    background: var(--cir-gold);
    color: #120b02;
    font-size: 12px;
}

.step p,
.text-card p,
.discord-card p {
    margin: 0 0 12px;
    color: rgba(226, 232, 240, 0.78);
    font-size: 12.5px;
    line-height: 1.35;
}

.panel-link {
    display: inline-flex;
    margin-top: 10px;
}

.update-item {
    display: grid;
    grid-template-columns: 62px 1fr 12px;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin-bottom: 9px;
    padding: 8px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 9px;
    background: rgba(3, 10, 22, 0.38);
}

.update-item small {
    display: block;
    margin-bottom: 3px;
    color: rgba(226, 232, 240, 0.55);
    font-size: 11px;
}

.update-item strong {
    color: #f3f7ff;
    font-size: 12px;
    line-height: 1.25;
}

.tag {
    display: inline-flex;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
}

.tag-update {
    background: rgba(69, 97, 255, 0.28);
    color: #aebcff;
}

.tag-news {
    background: rgba(34, 197, 94, 0.22);
    color: #86efac;
}

.tag-roadmap {
    background: rgba(168, 85, 247, 0.25);
    color: #d8b4fe;
}

.discord-card {
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.22), transparent 45%),
        linear-gradient(180deg, rgba(19, 35, 65, 0.95), rgba(8, 18, 34, 0.95));
}

.discord-card .eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #7fa7ff;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 900;
}

.discord-card h2 {
    margin-bottom: 10px;
    color: #8da2ff;
    font-size: 25px;
    letter-spacing: 0.02em;
}

.discord-card ul {
    margin: 12px 0;
    padding: 0;
    list-style: none;
}

.discord-card li {
    margin-bottom: 6px;
    color: rgba(226, 232, 240, 0.84);
    font-size: 13px;
}

.discord-card li::before {
    content: "✓";
    margin-right: 8px;
    color: #93c5fd;
}

.full-width {
    width: 100%;
    justify-content: space-between;
}

.btn-blue {
    color: #eff6ff;
    background: linear-gradient(180deg, #234f99, #17366d);
    border: 1px solid rgba(147, 197, 253, 0.25);
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 28px;
    align-items: center;
    padding: 24px 0 26px;
    color: var(--cir-muted);
    border-top: 1px solid var(--cir-border-soft);
}

.site-footer p {
    margin: 6px 0 0;
}

.site-footer nav {
    display: flex;
    gap: 18px;
}



/* ---------- Public subpage layouts ---------- */

.hero.hero-compact,
.section {
    width: var(--cir-page-width);
    max-width: var(--cir-page-width);
    margin-left: auto;
    margin-right: auto;
}

.hero.hero-compact {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.62fr);
    gap: 26px;
    align-items: center;
    padding: 48px 0 30px;
}

.hero.hero-compact .hero-copy {
    max-width: 900px;
}

.hero.hero-compact h1 {
    max-width: 980px;
    margin: 10px 0 18px;
    color: #f3f7ff;
    font-size: clamp(48px, 3.25vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.hero.hero-compact .hero-lead {
    max-width: 820px;
    margin: 0;
    color: rgba(226, 232, 240, 0.84);
    font-size: 18px;
    line-height: 1.55;
}

.hero.hero-compact > .panel,
.hero.hero-compact > .pillar-panel {
    padding: 26px;
}

.hero.hero-compact > .panel h2,
.hero.hero-compact > .pillar-panel h2 {
    margin-top: 8px;
    color: #f3f7ff;
}

.hero.hero-compact > .pillar-panel ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding-left: 18px;
    color: rgba(226, 232, 240, 0.82);
}

.section {
    padding: 34px 0;
}

.section-header {
    max-width: 900px;
    margin-bottom: 22px;
}

.section-header h2 {
    margin: 8px 0 8px;
    color: #f3f7ff;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-header p {
    max-width: 820px;
    margin: 0;
    color: rgba(226, 232, 240, 0.76);
    font-size: 16px;
    line-height: 1.55;
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid,
.step-grid,
.status-grid,
.two-column {
    display: grid;
    gap: 18px;
}

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

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

.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.info-card,
.step-card,
.status-card,
.pillar-panel {
    min-width: 0;
}

.panel,
.step-card,
.status-card,
.pillar-panel {
    padding: 24px;
}

.info-card h3,
.step-card h3,
.panel h2,
.status-card strong {
    color: #f3f7ff;
}

.info-card p,
.step-card p,
.panel p,
.status-card span {
    color: rgba(226, 232, 240, 0.76);
}

.step-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #120b02;
    background: var(--cir-gold);
    font-weight: 900;
}

.process-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 14px;
    align-items: center;
}

.process-card {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: #f3f7ff;
    font-weight: 900;
    text-align: center;
}

.process-arrow {
    color: var(--cir-gold);
    font-size: 28px;
    font-weight: 900;
}

.release-panel h2,
.status-summary h2 {
    font-size: 38px;
    line-height: 1;
}

.status-card {
    display: grid;
    gap: 8px;
}

.status-card.ok {
    border-color: rgba(34, 197, 94, 0.35);
}

.status-card.pending {
    border-color: rgba(214, 168, 92, 0.30);
}


/* ---------- QHD / 4K controlled scaling ---------- */

@media (min-width: 2200px) {
    .site-header {
        min-height: calc(76px * var(--cir-ui-scale));
        gap: calc(32px * var(--cir-ui-scale));
        padding: calc(10px * var(--cir-ui-scale)) 0;
    }

    .brand {
        gap: calc(14px * var(--cir-ui-scale));
    }

    .brand-mark.brand-logo {
        width: calc(70px * var(--cir-ui-scale));
        height: calc(70px * var(--cir-ui-scale));
        border-radius: calc(16px * var(--cir-ui-scale));
    }

    .brand-text strong {
        font-size: calc(1.03rem * var(--cir-ui-scale));
    }

    .brand-text small {
        font-size: calc(0.78rem * var(--cir-ui-scale));
    }

    .main-nav {
        gap: calc(24px * var(--cir-ui-scale));
        font-size: calc(0.94rem * var(--cir-ui-scale));
    }

    .header-actions {
        gap: calc(12px * var(--cir-ui-scale));
    }

    .landing-hero {
        min-height: calc(400px * var(--cir-ui-scale));
    }

    .hero-content {
        padding:
            calc(40px * var(--cir-ui-scale))
            calc(56px * var(--cir-ui-scale))
            calc(28px * var(--cir-ui-scale));
    }

    .hero-copy {
        max-width: calc(760px * var(--cir-ui-scale));
    }

    .hero-copy h1 {
        max-width: calc(760px * var(--cir-ui-scale));
        font-size: calc(68px * var(--cir-ui-scale));
    }

    .hero-copy h2 {
        font-size: calc(32px * var(--cir-ui-scale));
    }

    .hero-copy p {
        max-width: calc(680px * var(--cir-ui-scale));
        font-size: calc(16px * var(--cir-ui-scale));
    }

    .hero-actions {
        gap: calc(14px * var(--cir-ui-scale));
        margin-top: calc(20px * var(--cir-ui-scale));
    }

    .btn-large {
        min-width: calc(220px * var(--cir-ui-scale));
        min-height: calc(44px * var(--cir-ui-scale));
    }

    .trust-row {
        gap: calc(12px * var(--cir-ui-scale));
        margin-top: calc(16px * var(--cir-ui-scale));
        font-size: calc(0.9rem * var(--cir-ui-scale));
    }

    .trust-row img {
        width: calc(23px * var(--cir-ui-scale));
        height: calc(23px * var(--cir-ui-scale));
    }

    .section-tight {
        padding:
            calc(16px * var(--cir-ui-scale))
            0
            calc(14px * var(--cir-ui-scale));
    }

    .feature-grid,
    .dashboard-grid {
        gap: calc(16px * var(--cir-ui-scale));
    }

    .feature-card {
        grid-template-columns: calc(68px * var(--cir-ui-scale)) 1fr;
        gap: calc(16px * var(--cir-ui-scale));
        min-height: calc(116px * var(--cir-ui-scale));
        padding: calc(16px * var(--cir-ui-scale));
    }

    .feature-card img {
        width: calc(58px * var(--cir-ui-scale));
        height: calc(58px * var(--cir-ui-scale));
    }

    .feature-card h3 {
        font-size: calc(18px * var(--cir-ui-scale));
    }

    .feature-card p {
        font-size: calc(13px * var(--cir-ui-scale));
    }

    .dashboard-grid {
        padding-bottom: calc(22px * var(--cir-ui-scale));
    }

    .panel-card {
        padding: calc(15px * var(--cir-ui-scale));
    }

    .panel-card h2 {
        font-size: calc(15px * var(--cir-ui-scale));
    }

    .step img {
        width: calc(40px * var(--cir-ui-scale));
        height: calc(40px * var(--cir-ui-scale));
    }

    .step strong {
        font-size: calc(13px * var(--cir-ui-scale));
    }

    .step p,
    .text-card p,
    .discord-card p {
        font-size: calc(12.5px * var(--cir-ui-scale));
    }

    .update-item {
        grid-template-columns:
            calc(62px * var(--cir-ui-scale))
            1fr
            calc(12px * var(--cir-ui-scale));
        min-height: calc(46px * var(--cir-ui-scale));
        padding: calc(8px * var(--cir-ui-scale));
    }

    .update-item small {
        font-size: calc(11px * var(--cir-ui-scale));
    }

    .update-item strong {
        font-size: calc(12px * var(--cir-ui-scale));
    }

    .discord-card h2 {
        font-size: calc(25px * var(--cir-ui-scale));
    }

    .discord-card li {
        font-size: calc(13px * var(--cir-ui-scale));
    }

    .site-footer {
        gap: calc(28px * var(--cir-ui-scale));
        padding:
            calc(24px * var(--cir-ui-scale))
            0
            calc(26px * var(--cir-ui-scale));
    }
}


@media (max-width: 1280px) {
    .site-header,
    .landing-hero,
    .section-tight,
    .dashboard-grid,
    .site-footer {
        width: calc(100% - 32px);
    }

    .site-header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .main-nav,
    .header-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .feature-grid,
    .dashboard-grid,
    .card-grid.four,
    .step-grid,
    .status-grid,
    .two-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero.hero-compact {
        grid-template-columns: 1fr;
        padding: 42px 0 28px;
    }

    .process-row {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .steps-card,
    .discord-card {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .site-header {
        width: 100%;
        min-height: auto;
        padding: 10px 16px;
        background: rgba(3, 10, 22, 0.94);
    }

    .brand-mark.brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-text small,
    .main-nav,
    .header-actions {
        display: none;
    }

    .landing-hero,
    .section-tight,
    .dashboard-grid,
    .site-footer {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-bg {
        background:
            linear-gradient(180deg, rgba(2, 8, 18, 0.78), rgba(2, 8, 18, 0.98) 72%),
            url("/static/public/assets/images/background.png") center top / cover no-repeat;
    }

    .hero-content {
        padding: 34px 4px 26px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 12vw, 56px);
    }

    .hero-copy h2 {
        font-size: clamp(22px, 7vw, 30px);
    }

    .hero-copy p {
        font-size: 15px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn-large {
        width: 100%;
        min-width: 0;
    }

    .trust-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .trust-row span:nth-child(2),
    .trust-row span:nth-child(4) {
        display: none;
    }

    .feature-grid,
    .dashboard-grid,
    .steps,
    .card-grid.four,
    .step-grid,
    .status-grid,
    .two-column,
    .process-row {
        grid-template-columns: 1fr;
    }

    .hero.hero-compact,
    .section {
        width: 100%;
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero.hero-compact {
        padding-top: 34px;
        padding-bottom: 24px;
    }

    .hero.hero-compact h1 {
        font-size: clamp(36px, 11vw, 54px);
    }

    .hero.hero-compact .hero-lead {
        font-size: 15px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .process-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .steps-card,
    .discord-card {
        grid-column: auto;
    }

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

    .feature-card img {
        width: 50px;
        height: 50px;
    }

    .step {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 12px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .step img {
        grid-row: span 2;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer nav {
        flex-wrap: wrap;
    }
}

/* ---------- Language switch ---------- */

.lang-switch {
    min-width: 48px;
    padding-left: 14px;
    padding-right: 14px;
    font-weight: 900;
}

/* Language switch refinement */
.lang-switch {
    min-width: 68px;
    gap: 6px;
    white-space: nowrap;
}

/* Language switch with local SVG flags */
.lang-switch {
    min-width: 74px;
    gap: 7px;
    padding-left: 12px;
    padding-right: 12px;
    white-space: nowrap;
}

.lang-switch img {
    width: 22px;
    height: 15px;
    display: block;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lang-switch span {
    font-weight: 900;
    letter-spacing: 0.02em;
}

/* ---------- Themed subpage heroes ---------- */

/*
    Öffentliches Unterseiten-System.
    Ziel:
    - Startseite bleibt unverändert.
    - Unterseiten wirken wie kompakte Briefing-Seiten.
    - Hero + Hauptinhalt sollen auf 1920x1080 möglichst stark wirken.
    - Rating darf mehr Inhalt haben, aber keine internen Formeln/Gewichte offenlegen.
*/

.hero.page-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: clamp(28px, 4.4vw, 86px);
    min-height: calc(286px * var(--cir-ui-scale, 1));
    padding: clamp(26px, 2.5vw, 48px);
    margin-bottom: clamp(18px, 1.8vw, 30px);
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    isolation: isolate;
}

.hero.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--page-hero-image, url("/static/public/assets/images/background.png"));
    background-position: var(--page-hero-position, center center);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: var(--page-hero-opacity, 0.72);
    transform: scale(1.015);
}

.hero.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at var(--page-glow-x, 74%) var(--page-glow-y, 24%), var(--page-accent-glow, rgba(214, 168, 92, 0.22)), transparent 34%),
        linear-gradient(90deg, rgba(2, 8, 18, 0.98) 0%, rgba(2, 8, 18, 0.76) 40%, rgba(2, 8, 18, 0.22) 68%, rgba(2, 8, 18, 0.86) 100%),
        linear-gradient(180deg, rgba(2, 8, 18, 0.06) 0%, rgba(2, 8, 18, 0.82) 100%);
}

.hero.page-hero .hero-copy {
    max-width: 760px;
}

.hero.page-hero .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.65rem, 3.42vw, 4.1rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
}

.hero.page-hero .hero-lead {
    max-width: 760px;
    margin-top: 14px;
    font-size: clamp(0.95rem, 0.84vw, 1.06rem);
    line-height: 1.48;
}

.page-hero-panel,
.hero.page-hero > .panel,
.hero.page-hero > .pillar-panel {
    justify-self: end;
    align-self: center;
    width: min(560px, 100%);
    padding: clamp(20px, 1.5vw, 28px);
    background:
        linear-gradient(180deg, rgba(19, 35, 55, 0.90), rgba(5, 12, 22, 0.92));
    border: 1px solid rgba(120, 156, 190, 0.20);
    box-shadow:
        0 22px 62px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(12px);
}

.page-hero-panel h2,
.hero.page-hero > .panel h2,
.hero.page-hero > .pillar-panel h2 {
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: clamp(1.28rem, 1.36vw, 1.9rem);
    line-height: 1.08;
}

.hero.page-hero > .pillar-panel ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.hero.page-hero > .pillar-panel li {
    margin: 7px 0;
    color: var(--cir-muted);
}

/* Page-specific hero images */

.page-hero-rating {
    --page-hero-image: url("/static/public/assets/images/pages/rating.png");
    --page-hero-position: center 43%;
    --page-glow-x: 78%;
    --page-glow-y: 24%;
    --page-accent-glow: rgba(214, 168, 92, 0.20);
}

.page-hero-download {
    --page-hero-image: url("/static/public/assets/images/pages/download.png");
    --page-hero-position: center 54%;
    --page-glow-x: 72%;
    --page-glow-y: 30%;
    --page-accent-glow: rgba(99, 201, 255, 0.16);
}

.page-hero-connect {
    --page-hero-image: url("/static/public/assets/images/pages/connect.png");
    --page-hero-position: center 48%;
    --page-glow-x: 72%;
    --page-glow-y: 30%;
    --page-accent-glow: rgba(34, 197, 94, 0.15);
}

.page-hero-statistics {
    --page-hero-image: url("/static/public/assets/images/pages/statistics.png");
    --page-hero-position: center 46%;
    --page-glow-x: 76%;
    --page-glow-y: 24%;
    --page-accent-glow: rgba(99, 102, 241, 0.18);
}

.page-hero-status {
    --page-hero-image: url("/static/public/assets/images/pages/status.png");
    --page-hero-position: center 38%;
    --page-glow-x: 76%;
    --page-glow-y: 22%;
    --page-accent-glow: rgba(34, 197, 94, 0.15);
}

.page-hero-news {
    --page-hero-image: url("/static/public/assets/images/pages/news.png");
    --page-hero-position: center 50%;
    --page-glow-x: 74%;
    --page-glow-y: 26%;
    --page-accent-glow: rgba(168, 85, 247, 0.17);
}

.page-hero-support {
    --page-hero-image: url("/static/public/assets/images/pages/support.png");
    --page-hero-position: center 52%;
    --page-glow-x: 72%;
    --page-glow-y: 30%;
    --page-accent-glow: rgba(59, 130, 246, 0.17);
}

.page-hero-faq {
    --page-hero-image: url("/static/public/assets/images/pages/faq.png");
    --page-hero-position: center 48%;
    --page-glow-x: 72%;
    --page-glow-y: 28%;
    --page-accent-glow: rgba(214, 168, 92, 0.15);
}

.page-hero-changelog {
    --page-hero-image: url("/static/public/assets/images/pages/changelog.png");
    --page-hero-position: center 50%;
    --page-glow-x: 76%;
    --page-glow-y: 30%;
    --page-accent-glow: rgba(14, 165, 233, 0.16);
}

/* Subpage content system */

.subpage-section {
    padding-top: clamp(16px, 1.45vw, 26px);
    padding-bottom: clamp(16px, 1.45vw, 26px);
}

.subpage-section .section-header {
    margin-bottom: clamp(14px, 1.3vw, 22px);
}

.subpage-section .section-header h2 {
    font-size: clamp(1.55rem, 1.75vw, 2.28rem);
    line-height: 1.08;
}

.subpage-section .section-header p {
    max-width: 880px;
    line-height: 1.48;
}

.subpage-section .card-grid {
    gap: clamp(14px, 1.25vw, 22px);
}

.subpage-section .info-card,
.subpage-section .step-card,
.subpage-section.panel,
.subpage-section .panel,
.subpage-panel {
    background:
        linear-gradient(180deg, rgba(19, 35, 55, 0.84), rgba(6, 14, 26, 0.91));
    border: 1px solid rgba(120, 156, 190, 0.17);
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.subpage-section .info-card {
    min-height: calc(142px * var(--cir-ui-scale, 1));
    padding: clamp(18px, 1.25vw, 24px);
}

.subpage-section .info-card h3,
.subpage-section .step-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.subpage-section .info-card p,
.subpage-section .step-card p,
.subpage-section .panel p {
    line-height: 1.45;
}

.icon-badge-img {
    width: calc(42px * var(--cir-ui-scale, 1));
    height: calc(42px * var(--cir-ui-scale, 1));
    min-width: calc(42px * var(--cir-ui-scale, 1));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 18%, rgba(242, 184, 75, 0.22), rgba(242, 184, 75, 0.07) 54%, rgba(2, 8, 18, 0.48) 100%);
    border: 1px solid rgba(242, 184, 75, 0.28);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 10px 26px rgba(0, 0, 0, 0.20);
}

.icon-badge-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter:
        drop-shadow(0 0 8px rgba(242, 184, 75, 0.22))
        drop-shadow(0 5px 10px rgba(0, 0, 0, 0.20));
}

.subpage-section .info-card .icon-badge-img {
    margin-bottom: 16px;
}

.panel-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.panel-title-row .icon-badge-img {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 7px;
    border-radius: 11px;
}

.panel-title-row .eyebrow {
    margin: 0;
}

.subpage-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 1.3vw, 24px);
}

.subpage-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.3vw, 24px);
}

.subpage-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.subpage-cta p {
    max-width: 880px;
}

.rating-pillar-grid .info-card {
    min-height: 162px;
}

.rating-detail-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(16px, 1.3vw, 24px);
}

.rating-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.rating-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cir-muted);
}

.rating-list span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--cir-gold);
    box-shadow: 0 0 12px rgba(242, 184, 75, 0.35);
}

.process-section {
    padding-top: clamp(12px, 1.1vw, 20px);
    padding-bottom: clamp(12px, 1.1vw, 20px);
}

.process-row {
    gap: clamp(10px, 1.2vw, 20px);
}

.process-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 12px 16px;
    background:
        linear-gradient(180deg, rgba(19, 35, 55, 0.92), rgba(7, 16, 30, 0.92));
    border: 1px solid rgba(120, 156, 190, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.process-card .icon-badge-img {
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 6px;
}

.process-card span:last-child {
    font-weight: 900;
}

.process-arrow {
    font-size: 22px;
}

.step-grid {
    gap: 16px;
}

.step-card {
    min-height: calc(132px * var(--cir-ui-scale, 1));
    padding: clamp(18px, 1.25vw, 24px);
}

.step-card-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.step-number {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(180deg, #f4c86b, #d99a30);
    color: #07111d;
    font-weight: 1000;
    box-shadow: 0 8px 22px rgba(217, 154, 48, 0.20);
}

.status-grid-refined {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.status-grid-refined .status-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 16px 18px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(19, 35, 55, 0.82), rgba(6, 14, 26, 0.89));
    border: 1px solid rgba(120, 156, 190, 0.16);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.status-grid-refined .status-card > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.status-grid-refined .status-card .icon-badge-img {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 7px;
}

.status-grid-refined .status-card em {
    justify-self: end;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.status-card.ok em {
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.status-card.testing em {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.22);
}

.status-card.pending em {
    color: #facc15;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.22);
}

.status-card.planned em {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.release-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.release-list div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 8px;
}

.release-list strong {
    color: var(--cir-white);
}

.release-list span {
    color: var(--cir-muted);
}

.news-grid .info-card,
.support-grid .info-card {
    min-height: 148px;
}

.discord-highlight {
    background:
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.30), transparent 36%),
        linear-gradient(180deg, rgba(24, 43, 78, 0.92), rgba(8, 18, 35, 0.94));
}

.discord-highlight .btn {
    margin-top: 12px;
}

/* 1080p Feinschliff */

@media (max-height: 940px) and (min-width: 1100px) {
    .hero.page-hero {
        min-height: 250px;
        padding-top: 24px;
        padding-bottom: 24px;
        margin-bottom: 18px;
    }

    .hero.page-hero .hero-copy h1 {
        font-size: clamp(2.38rem, 3vw, 3.65rem);
    }

    .subpage-section {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .subpage-section .section-header {
        margin-bottom: 12px;
    }

    .subpage-section .info-card {
        min-height: 124px;
        padding: 16px;
    }

    .rating-pillar-grid .info-card {
        min-height: 146px;
    }

    .subpage-section .panel,
    .subpage-section.panel,
    .step-card,
    .status-card {
        padding: 16px;
    }
}

/* Mobile */

@media (max-width: 980px) {
    .hero.page-hero {
        grid-template-columns: 1fr;
    }

    .hero.page-hero .hero-copy h1 {
        font-size: clamp(2.25rem, 8.5vw, 3.7rem);
    }

    .page-hero-panel,
    .hero.page-hero > .panel,
    .hero.page-hero > .pillar-panel {
        justify-self: stretch;
        width: 100%;
    }

    .subpage-two,
    .subpage-three,
    .rating-detail-grid,
    .status-grid-refined {
        grid-template-columns: 1fr;
    }

    .subpage-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .hero.page-hero {
        min-height: auto;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hero.page-hero::after {
        background:
            linear-gradient(180deg, rgba(2, 8, 18, 0.86), rgba(2, 8, 18, 0.98) 72%),
            radial-gradient(circle at 80% 10%, var(--page-accent-glow, rgba(214, 168, 92, 0.18)), transparent 36%);
    }

    .subpage-section .info-card .icon-badge-img {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .process-row {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        display: none;
    }

    .status-grid-refined .status-card {
        grid-template-columns: auto 1fr;
    }

    .status-grid-refined .status-card em {
        grid-column: 2;
        justify-self: start;
    }
}

/* ---------- /Themed subpage heroes ---------- */

/* ---------- Rating explainer extension ---------- */

.rating-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: clamp(16px, 1.4vw, 26px);
}

.rating-intro-main,
.rating-intro-side {
    padding: clamp(20px, 1.6vw, 30px);
}

.rating-intro-main p + p,
.rating-role-grid p + p {
    margin-top: 12px;
}

.rating-explain-stack {
    display: grid;
    gap: clamp(16px, 1.25vw, 24px);
}

.rating-explain-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: clamp(18px, 1.5vw, 30px);
    align-items: center;
    min-height: 190px;
    padding: clamp(20px, 1.5vw, 30px);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(19, 35, 55, 0.84), rgba(6, 14, 26, 0.92));
    border: 1px solid rgba(120, 156, 190, 0.18);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.rating-explain-card h3 {
    margin: 4px 0 10px;
    font-size: clamp(1.35rem, 1.35vw, 1.85rem);
    line-height: 1.08;
}

.rating-explain-card p {
    max-width: 960px;
    line-height: 1.55;
}

.rating-explain-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-explain-icon .icon-badge-img {
    width: 76px;
    height: 76px;
    min-width: 76px;
    padding: 14px;
    border-radius: 22px;
}

.rating-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.rating-chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 999px;
    color: rgba(216, 232, 255, 0.88);
    background: rgba(94, 130, 170, 0.12);
    border: 1px solid rgba(140, 176, 215, 0.16);
    font-size: 0.78rem;
    font-weight: 800;
}

.rating-damage {
    border-color: rgba(249, 115, 22, 0.26);
}

.rating-defense {
    border-color: rgba(242, 184, 75, 0.26);
}

.rating-support {
    border-color: rgba(34, 197, 94, 0.24);
}

.rating-activity {
    border-color: rgba(56, 189, 248, 0.24);
}

.rating-role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 1.4vw, 26px);
}

@media (max-height: 940px) and (min-width: 1100px) {
    .rating-explain-card {
        min-height: 164px;
        padding: 20px;
    }

    .rating-explain-icon .icon-badge-img {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .rating-explain-card p {
        line-height: 1.45;
    }
}

@media (max-width: 980px) {
    .rating-intro-grid,
    .rating-role-grid {
        grid-template-columns: 1fr;
    }

    .rating-explain-card {
        grid-template-columns: 1fr;
    }

    .rating-explain-icon {
        justify-content: flex-start;
    }
}

/* ---------- /Rating explainer extension ---------- */
