/* CSBPS 2025 – Elegant Web 2.0 style */

:root {
    --bg-body: #0b1220;
    --bg-elevated: #0f172a;
    --bg-elevated-soft: #111827;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.1);
    --accent-strong: #0ea5e9;
    --accent-alt: #a855f7;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.4);
    --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.9);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --transition-fast: 0.2s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, #1d4ed8 0, transparent 55%),
                radial-gradient(circle at top right, #14b8a6 0, transparent 55%),
                radial-gradient(circle at bottom, #6d28d9 0, transparent 55%),
                var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-strong);
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(20px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: contain;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.35), transparent 65%), #020617;
    padding: 6px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.8);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 650;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #e5e7eb;
}

.brand-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    gap: 0.4rem;
    padding: 0.15rem;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
}

.main-nav a {
    position: relative;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-radius: 999px;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.main-nav a:hover {
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
}

.hero {
    padding: 2.8rem 0 2.2rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.4fr);
    gap: 2.4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.4rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
}

.hero-lead {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 34rem;
    margin-bottom: 1.4rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.83rem;
    font-weight: 550;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent-alt));
    color: #0b1120;
    box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.95);
}

.btn.secondary {
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-main);
    border-color: rgba(148, 163, 184, 0.5);
}

.btn.secondary:hover {
    background: rgba(15, 23, 42, 0.98);
}

.hero-date {
    font-size: 0.88rem;
    color: var(--accent);
}

.hero-card {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 60%), var(--bg-elevated);
    border-radius: 1.4rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
}

.hero-card h2 {
    font-size: 1.02rem;
    margin-bottom: 0.7rem;
}

.key-dates {
    list-style: none;
    margin-bottom: 0.85rem;
}

.key-dates li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0.1rem;
    font-size: 0.82rem;
    border-bottom: 1px dashed rgba(31, 41, 55, 0.85);
}

.key-dates li:last-child {
    border-bottom: none;
}

.key-dates .label {
    color: var(--text-muted);
}

.key-dates .value {
    color: #e5e7eb;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--accent);
}

.section {
    padding: 1.8rem 0 1.5rem;
}

.section-light {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 65%),
                rgba(15, 23, 42, 0.88);
    border-top: 1px solid rgba(30, 64, 175, 0.35);
    border-bottom: 1px solid rgba(30, 64, 175, 0.35);
}

.section h2 {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}

.section-intro {
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    max-width: 34rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem;
}

.grid-2 p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    padding: 0.28rem 0.75rem;
    font-size: 0.8rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-muted);
}

.section-accent {
    padding-bottom: 2.4rem;
}

.callout {
    background: linear-gradient(130deg, rgba(56, 189, 248, 0.16), rgba(168, 85, 247, 0.16));
    border-radius: 1.3rem;
    padding: 1.3rem 1.4rem;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.9);
}

.callout p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.submission-link {
    margin-top: 0.6rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.55);
    font-size: 0.85rem;
}

.page-hero {
    padding: 2.3rem 0 1.2rem;
}

.page-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.page-intro {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.page-content {
    max-width: 760px;
}

.page-content h2 {
    font-size: 1.1rem;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
}

.page-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.page-content ul {
    margin: 0.2rem 0 0.7rem 1.1rem;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.page-content li {
    margin-bottom: 0.2rem;
}

.highlight-box {
    margin-top: 0.4rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.6);
    font-size: 0.88rem;
}

.site-footer {
    margin-top: 1.6rem;
    border-top: 1px solid rgba(30, 64, 175, 0.4);
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.08), transparent 55%), #020617;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
    padding: 1.5rem 0 1rem;
}

.site-footer h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.site-footer p,
.site-footer li {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.footer-links,
.footer-dates {
    list-style: none;
}

.footer-links li + li,
.footer-dates li + li {
    margin-top: 0.18rem;
}

.footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    padding: 0.7rem 0 0.9rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
    }

    .hero {
        padding-top: 2rem;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

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

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