:root {

    --bg-base: #050d17;
    --bg-deep: #081423;

    --panel: rgba(15,25,42,0.78);
    --panel-strong: rgba(11,20,34,0.90);

    --border: rgba(255,255,255,0.08);

    --text: #edf4ff;
    --muted: #9aacbf;

    --accent: #79d7ff;
    --accent-2: #8b80ff;
    --accent-3: #7ee7c8;

    --radius: 22px;
    --radius-sm: 14px;

    --shadow: 0 30px 90px rgba(0,0,0,0.45);

    --max: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

    background:

        radial-gradient(circle at 10% 10%, rgba(121,215,255,0.10), transparent 35%),

        radial-gradient(circle at 85% 10%, rgba(139,128,255,0.08), transparent 35%),

        radial-gradient(circle at 50% 100%, rgba(126,231,200,0.06), transparent 40%),

        linear-gradient(180deg, #050d17 0%, #07111c 45%, #081423 100%);

    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
}

.site-shell {
    position: relative;
    min-height: 100vh;
}

/* ambient glows */

.bg-orb {

    position: fixed;

    border-radius: 999px;

    filter: blur(110px);

    pointer-events: none;

    opacity: 0.42;

    z-index: 0;
}

.orb-1 {

    width: 360px;
    height: 360px;

    background: rgba(121,215,255,0.15);

    top: -60px;
    left: -120px;
}

.orb-2 {

    width: 420px;
    height: 420px;

    background: rgba(139,128,255,0.14);

    top: 120px;
    right: -160px;
}

.bg-grid {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 0;

    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);

    background-size: 40px 40px;

    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

/* layout */

.container {

    width: min(var(--max), calc(100% - 32px));

    margin: 0 auto;

    position: relative;

    z-index: 1;
}

.main-content {
    padding: 20px 0 60px;
}

/* topbar */

.topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    padding: 22px 0 10px;
}

.brand {

    display: flex;

    align-items: center;

    gap: 14px;
}

.brand-mark {

    width: 40px;
    height: 40px;

    border-radius: 14px;

    background: linear-gradient(135deg, var(--accent), var(--accent-2));

    box-shadow: 0 12px 28px rgba(121,215,255,0.25);
}

.brand-title {

    font-weight: 700;

    letter-spacing: -0.02em;
}

.brand-subtitle {

    font-size: 0.92rem;

    color: var(--muted);
}

.topbar-actions {

    display: flex;

    gap: 10px;
}

.topbar-link {

    padding: 10px 14px;

    border-radius: 999px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.04);

    transition: 0.2s ease;
}

.topbar-link:hover {

    background: rgba(255,255,255,0.08);
}

.topbar-link-strong {

    background: linear-gradient(
        135deg,
        rgba(121,215,255,0.20),
        rgba(139,128,255,0.20)
    );
}

/* panels */

.panel {

    background: linear-gradient(
        180deg,
        rgba(16,28,50,0.82),
        rgba(10,19,35,0.90)
    );

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    backdrop-filter: blur(14px);

    padding: 28px;

    margin-bottom: 22px;
}

.panel h2 {

    margin: 0 0 10px;

    font-size: 1.35rem;

    letter-spacing: -0.02em;
}

.panel p {
    color: #dbe6f7;
}

/* hero */

.hero-grid {

    display: grid;

    grid-template-columns: 1.4fr 0.8fr;

    gap: 20px;

    margin-bottom: 22px;
}

.eyebrow {

    display: inline-block;

    padding: 8px 12px;

    border-radius: 999px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.05);

    color: var(--muted);

    font-size: 0.9rem;

    margin-bottom: 14px;
}

.hero-panel h1 {

    font-size: clamp(2.4rem,4vw,4rem);

    line-height: 1.05;

    margin: 0 0 14px;

    letter-spacing: -0.04em;
}

.hero-text {

    font-size: 1.05rem;

    color: var(--muted);

    max-width: 62ch;
}

.hero-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin: 22px 0;
}

.meta-chip {

    padding: 14px 16px;

    border-radius: 18px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.05);
}

.meta-label {

    display: block;

    font-size: 0.8rem;

    color: var(--muted);

    margin-bottom: 4px;
}

.registration-note {

    display: inline-block;

    padding: 10px 14px;

    border-radius: 999px;

    background: rgba(126,231,200,0.08);

    border: 1px solid rgba(126,231,200,0.18);

    font-weight: 600;

    margin-bottom: 12px;
}

.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

/* buttons */

.btn {

    padding: 12px 18px;

    border-radius: 14px;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    transition: transform .15s ease;
}

.btn:hover {

    transform: translateY(-1px);
}

.btn-primary {

    background: linear-gradient(
        135deg,
        var(--accent),
        var(--accent-2)
    );

    color: #06101d;
}

.btn-secondary {

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.05);
}

/* countdown */

.countdown-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 12px;
}

.count-box {

    text-align: center;

    padding: 18px;

    border-radius: 16px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.05);
}

.count-value {

    font-size: 2rem;

    font-weight: 800;
}

.count-label {

    color: var(--muted);

    font-size: 0.85rem;

    margin-top: 4px;
}

/* participant list */

.participant-list {

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.participant-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 16px;

    padding: 16px 18px;

    border-radius: 18px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.03)
        );
}

.participant-row-name {

    font-weight: 700;

    letter-spacing: -0.02em;
}

.participant-row-field {

    font-size: 0.92rem;

    color: var(--muted);

    margin-top: 3px;
}

.participant-row-main {
    min-width: 0;
}

.participant-row-action {
    flex-shrink: 0;
}

/* pill button */

.link-pill {

    padding: 8px 12px;

    border-radius: 999px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.06);

    font-size: 0.9rem;

    font-weight: 600;
}

/* CTA */

.cta-panel {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 18px;
}

/* footer */

.footer {

    display: flex;

    justify-content: space-between;

    color: var(--muted);

    font-size: 0.92rem;

    padding-bottom: 40px;
}

.footer-link {
    opacity: 0.85;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-link:hover {
    opacity: 1;
}

/* mobile */

@media (max-width: 900px) {

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

}

@media (max-width: 720px) {

    .container {
        width: calc(100% - 20px);
    }

    .topbar,
    .topbar-actions,
    .cta-panel,
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .participant-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .participant-row-action {
        width: 100%;
    }

    .participant-row-action .link-pill {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}