/*
 * Aeostara — Platform Chooser
 * Completely self-contained. One background image, one overlay.
 * No other stylesheet should touch these classes.
 */

/* ── Page wrapper ── */
.chooser-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0B0E14;
}

/* ── Background image layer ── */
.chooser-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://aeostara.com/wp-content/uploads/2026/03/aeostara_bg_celestial_horizon.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* ── Main content ── */
.chooser-main {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 0 1.5rem;
}

/* ── Headline ── */
.chooser-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #E8E6E1;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
}

/* ── Subtitle ── */
.chooser-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #C7C7C7;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 3rem;
}

/* ── Card grid ── */
.chooser-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── Individual card ── */
.chooser-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: rgba(17, 26, 34, 0.85);
    border: 1px solid #1E2D3D;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.chooser-card:hover {
    border-color: #5DB7D6;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(93, 183, 214, 0.12);
}

.chooser-card__icon {
    width: 48px;
    height: 48px;
    color: #C7C7C7;
    margin-bottom: 1.25rem;
    transition: color 0.2s;
}

.chooser-card:hover .chooser-card__icon {
    color: #5DB7D6;
}

.chooser-card__name {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #E8E6E1;
    margin-bottom: 0.5rem;
}

.chooser-card__tech {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #C7C7C7;
}

/* ── Footer ── */
.chooser-footer {
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
}

.chooser-footer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #4A6580;
    margin: 0;
}

.chooser-footer a {
    color: #5DB7D6;
    text-decoration: none;
}

.chooser-footer a:hover {
    color: #D4A254;
}

/* ── Hide site header/footer on chooser ── */
body.platform-chooser .site-header,
body.platform-chooser .site-footer {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .chooser-headline { font-size: 2rem; }
    .chooser-sub { font-size: 1rem; margin-bottom: 2rem; }
    .chooser-cards { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .chooser-cards .chooser-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 340px;
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .chooser-headline { font-size: 1.5rem; }
    .chooser-sub { font-size: 0.875rem; }
    .chooser-cards { grid-template-columns: 1fr; gap: 0.75rem; }
    .chooser-card {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem 1.25rem;
        text-align: left;
    }
    .chooser-card__icon { width: 32px; height: 32px; margin-bottom: 0; flex-shrink: 0; }
}
