 :root {
    color-scheme: dark;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #eef3ff;
    background-color: #050712;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(92,124,250,0.22), transparent 32%),
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.08), transparent 14%),
        #050712;
    color: #eef3ff;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(18,27,51,0.18) 0%, transparent 28%);
    pointer-events: none;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(5, 7, 18, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.brand .eyebrow {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #74a7ff;
}

.brand h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: #dbe5ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}

main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    position: relative;
    z-index: 1;
}

.hero,
.section-head,
.card,
.teaser-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    backdrop-filter: blur(12px);
}

.hero {
    padding: 48px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(92, 124, 250, 0.16);
    color: #b8d0ff;
    font-size: 0.82rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero h2,
.section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
}

.hero p,
.section-head p,
.card p,
.teaser-card p {
    margin: 1.5rem 0 0;
    line-height: 1.75;
    color: #d6e0ff;
    max-width: 72ch;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #5c7cfa, #65d5ff);
    color: #05101d;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(92, 124, 250, 0.24);
}

.button-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #eef3ff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.teaser-card {
    padding: 28px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.teaser-card h3 {
    margin: 0;
    font-size: 1.35rem;
}

.events-grid {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.card {
    padding: 28px;
    box-shadow: 0 24px 50px rgba(9, 14, 30, 0.14);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
    color: #9bb0ff;
    font-size: 0.95rem;
}

.tag {
    display: inline-flex;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(92, 124, 250, 0.18);
    color: #d6e0ff;
    font-weight: 700;
}

.location {
    margin-top: 1rem;
    color: #b8cffb;
}

.placeholder,
.error {
    min-height: 160px;
    display: grid;
    place-items: center;
    color: #cbd6ff;
}

.error {
    background: rgba(174, 62, 84, 0.16);
    border-color: rgba(174, 62, 84, 0.3);
    color: #ffd7e0;
}

.section-head {
    padding: 32px 36px;
    margin-bottom: 20px;
}

footer {
    padding: 28px 24px;
    text-align: center;
    color: #8c98c7;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 720px) {
    .hero,
    .section-head {
        padding: 28px 20px;
    }

    nav {
        width: 100%;
        justify-content: center;
    }

    main {
        padding: 32px 18px 64px;
    }
}
