.cosmicrobots-page {
    --cr-page-bg: #000836;
    --cr-page-bg-rgb: 0, 8, 54;
    --cr-accent: #f1c22b;
    background-color: var(--cr-page-bg);
    background-image: url('images/CosmicRobotsSteam/CosmicRobotsback.jpg');
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
}

.cr-header {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.cr-header-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.5rem) 2rem;
    text-align: center;
}

.cr-tagline {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: #d8d8e8;
    max-width: 52rem;
    margin: 0 auto;
    line-height: 1.7;
}

.cr-store-bar {
    position: relative;
    z-index: 1;
    width: 100%;
    background: #000000;
    padding: clamp(1.25rem, 3vw, 2rem) 2rem;
}

.cr-store-bar-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.cr-store-bar .cr-store-buttons {
    justify-content: center;
    margin-top: 0;
}

.cr-store-label {
    margin: 0 0 1rem;
    color: var(--cr-accent);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    text-align: center;
}

.cr-header-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(var(--cr-page-bg-rgb), 0.05) 0%,
            rgba(var(--cr-page-bg-rgb), 0.45) 38%,
            rgba(var(--cr-page-bg-rgb), 0.92) 72%,
            rgba(var(--cr-page-bg-rgb), 1) 100%
        ),
        url('images/CosmicRobotsSteam/store_page_background.png') center / cover no-repeat;
    z-index: 0;
}

.cr-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(107, 180, 45, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(124, 58, 237, 0.22) 0%, transparent 40%);
}

.cr-banner-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    line-height: 0;
}

.cr-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.cr-store-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin-top: 0.5rem;
}

.cr-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.cr-store-btn:hover {
    transform: translateY(-4px) scale(1.06);
    opacity: 1;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.cr-store-btn img {
    width: clamp(8.5rem, 22vw, 12rem);
    height: clamp(3.75rem, 10vw, 5.5rem);
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.cr-store-btn--primary img {
    filter: drop-shadow(0 0 18px rgba(107, 180, 45, 0.35));
}

.cr-store-btn--primary:hover img {
    filter: drop-shadow(0 0 24px rgba(107, 180, 45, 0.55));
}

.cr-section {
    padding: clamp(3.5rem, 6vw, 5.5rem) 2rem;
}

.cr-section:nth-of-type(even):not(.cr-about-section) {
    background: rgba(255, 255, 255, 0.03);
}

.cr-about-section {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 0 0 clamp(3.5rem, 6vw, 5.5rem);
}

.cr-about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(var(--cr-page-bg-rgb), 0.05) 0%,
            rgba(var(--cr-page-bg-rgb), 0.45) 38%,
            rgba(var(--cr-page-bg-rgb), 0.92) 72%,
            rgba(var(--cr-page-bg-rgb), 1) 100%
        ),
        url('images/CosmicRobotsSteam/store_page_background.png') center / cover no-repeat;
    z-index: 0;
}

.cr-about-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(107, 180, 45, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(124, 58, 237, 0.22) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.cr-about-section .cr-store-bar {
    position: relative;
    z-index: 1;
}

.cr-about-title {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.2;
    text-align: center;
    color: var(--cr-accent);
}

.cr-about-section .cr-section-inner {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 4vw, 3rem) 2rem 0;
}

.cr-about-copy p {
    color: #d8d8e8;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 52rem;
}

.cr-about-copy h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.35rem;
}

.cr-section-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.cr-section h2 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    margin-bottom: 1.25rem;
}

.cr-section-intro {
    color: #a0a0b0;
    max-width: 52rem;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.cr-trailer-section .cr-section-inner {
    text-align: center;
}

.cr-trailer-section h2 {
    margin-bottom: 1.75rem;
}

.cr-trailer-panel {
    position: relative;
    width: min(960px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid #ffffff;
    background: var(--cr-page-bg);
    aspect-ratio: 16 / 9;
}

.cr-trailer-panel iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cr-features-section {
    position: relative;
    z-index: 2;
    overflow: visible;
    margin-top: clamp(-5rem, -10vw, -3rem);
    padding-top: 0;
    padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.cr-features-heading {
    position: relative;
    min-height: clamp(14rem, 28vw, 20rem);
    margin-bottom: 2rem;
    overflow: visible;
}

.cr-features-planet {
    position: absolute;
    left: 50%;
    top: 0;
    width: clamp(20rem, 42vw, 34rem);
    height: auto;
    transform: translate(calc(-50% - min(24rem, 28vw)), -18%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
}

.cr-features-heading .cr-section-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    min-height: clamp(14rem, 28vw, 20rem);
    padding-top: clamp(4rem, 8vw, 6rem);
}

.cr-features-heading h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: left;
    text-shadow:
        0 0 24px rgba(var(--cr-page-bg-rgb), 0.95),
        0 2px 16px rgba(0, 0, 0, 0.65);
}

.cr-cta-heading {
    position: relative;
    min-height: clamp(14rem, 28vw, 20rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.cr-cta-planet {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(22rem, 46vw, 38rem);
    height: auto;
    transform: translate(-50%, -52%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
}

.cr-cta-heading .cr-section-inner {
    position: relative;
    z-index: 1;
    padding-bottom: 0;
    padding-left: 2rem;
    padding-right: 2rem;
}

.cr-cta-heading h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    text-shadow:
        0 0 24px rgba(var(--cr-page-bg-rgb), 0.95),
        0 2px 16px rgba(0, 0, 0, 0.65);
}

.cr-features-section .cr-section-inner {
    padding-top: 0;
}

.cr-features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cr-feature-card {
    padding: 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(var(--cr-page-bg-rgb), 0.3);
    display: grid;
    grid-template-columns: minmax(14rem, 22rem) 1fr;
    grid-template-rows: auto auto;
    gap: 0 1.75rem;
    align-items: center;
}

.cr-feature-card:nth-child(even) {
    grid-template-columns: 1fr minmax(14rem, 22rem);
}

.cr-feature-shot {
    grid-row: 1 / -1;
    grid-column: 1;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 2px solid #ffffff;
    border-radius: 14px;
    overflow: hidden;
    background: var(--cr-page-bg);
    aspect-ratio: 16 / 9;
}

.cr-feature-card:nth-child(even) .cr-feature-shot {
    grid-column: 2;
}

.cr-feature-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.cr-feature-shot:hover img {
    transform: scale(1.03);
}

.cr-feature-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--cr-accent);
}

.cr-feature-card:nth-child(even) h3 {
    grid-column: 1;
}

.cr-feature-card p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0;
    color: #a0a0b0;
    line-height: 1.65;
    max-width: 40rem;
}

.cr-feature-card:nth-child(even) p {
    grid-column: 1;
}

@media (max-width: 768px) {
    .cr-feature-card,
    .cr-feature-card:nth-child(even) {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
    }

    .cr-feature-shot,
    .cr-feature-card:nth-child(even) .cr-feature-shot {
        grid-column: 1;
        grid-row: 1;
    }

    .cr-feature-card h3,
    .cr-feature-card:nth-child(even) h3 {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    .cr-feature-card p,
    .cr-feature-card:nth-child(even) p {
        grid-column: 1;
        grid-row: 3;
    }
}

.cr-cta-band {
    text-align: center;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
}

.cr-cta-band h2 {
    color: var(--cr-accent);
}

.cr-cta-band .cr-store-bar {
    margin-top: 1.5rem;
}

.cr-aniode-footer {
    padding: 3rem 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(var(--cr-page-bg-rgb), 0.85);
}

.cr-aniode-footer-inner {
    width: min(960px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.cr-aniode-footer-logo {
    height: 72px;
    width: auto;
}

.cr-aniode-footer-copy {
    color: #d8d8e8;
    max-width: 34rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.cr-aniode-footer-copy strong {
    font-weight: 700;
}

.cr-footer-game {
    color: var(--cr-accent);
}

.cr-footer-richard {
    color: #662579;
}

.cr-footer-aniode {
    color: var(--accent-green);
}

.cr-aniode-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.cr-aniode-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cr-aniode-link--site img,
.cr-aniode-link--discord img,
.cr-aniode-link--contact img {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    object-fit: contain;
}

.cr-aniode-links a:hover {
    border-color: rgba(124, 58, 237, 0.55);
    background: rgba(124, 58, 237, 0.12);
}

