@import url('https://fonts.googleapis.com/css2?family=Aspekta:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600&display=swap');

:root {
    --bg: #171214;
    --bg-soft: rgba(30, 25, 31, 0.84);
    --panel: rgba(24, 20, 25, 0.8);
    --panel-strong: rgba(27, 23, 30, 0.94);
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f8f5f7;
    --muted: #c5bfc7;
    --blue: #338ef7;
    --blue-soft: rgba(51, 142, 247, 0.18);
    --violet: #9d87ff;
    --violet-soft: rgba(157, 135, 255, 0.2);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

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

html {
    min-height: 100%;
    background:
        radial-gradient(circle at 14% 18%, rgba(51, 142, 247, 0.28), transparent 24%),
        radial-gradient(circle at 82% 84%, rgba(157, 135, 255, 0.32), transparent 24%),
        linear-gradient(135deg, #141012 0%, #1a1519 48%, #120f12 100%);
}

body {
    min-height: 100vh;
    font-family: 'Aspekta', sans-serif;
    color: var(--text);
    background: transparent;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 52%, transparent 88%);
    pointer-events: none;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.ambient {
    position: absolute;
    width: 32rem;
    height: 32rem;
    filter: blur(24px);
    opacity: 0.75;
    pointer-events: none;
}

.ambient-left {
    top: -9rem;
    left: -9rem;
    background: linear-gradient(180deg, rgba(157, 135, 255, 0.7), rgba(51, 142, 247, 0.45));
    border-radius: 38% 62% 58% 42% / 45% 35% 65% 55%;
    animation: float-left 16s ease-in-out infinite;
}

.ambient-right {
    right: -10rem;
    bottom: -10rem;
    background: linear-gradient(180deg, rgba(157, 135, 255, 0.8), rgba(51, 142, 247, 0.42));
    border-radius: 56% 44% 36% 64% / 48% 58% 42% 52%;
    animation: float-right 18s ease-in-out infinite;
}

.event-page {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-family: 'Chakra Petch', monospace;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
}

.home-link::before {
    content: "<";
    color: var(--blue);
}

.home-link:hover {
    color: var(--text);
    transform: translateX(-2px);
}

.hero-panel,
.info-card,
.resources-panel {
    background: linear-gradient(180deg, rgba(34, 28, 36, 0.9), rgba(23, 18, 22, 0.85));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 360px);
    gap: 2rem;
    padding: 2rem;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(51, 142, 247, 0.5), rgba(157, 135, 255, 0.45), transparent);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.summit-mark {
    width: min(100%, 420px);
    height: 132px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.summit-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.08);
    filter: contrast(1.04) saturate(1.05);
}

.eyebrow,
.section-kicker {
    font-family: 'Chakra Petch', monospace;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue);
}

.hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.lead,
.info-card p,
.resources-head p,
.topic-list {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.hero-meta span {
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    color: var(--text);
    font-family: 'Chakra Petch', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
}

.poster-card {
    position: relative;
    padding: 0.9rem;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(157, 135, 255, 0.2), rgba(51, 142, 247, 0.04)),
        var(--panel-strong);
    border: 1px solid var(--line-strong);
    align-self: center;
}

.poster-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(157, 135, 255, 0.65), rgba(51, 142, 247, 0.65));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.35;
}

.poster-card img {
    display: block;
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

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

.info-card,
.resources-panel {
    border-radius: 28px;
    padding: 1.75rem;
}

.info-card h2,
.resources-head h2 {
    margin: 0.55rem 0 1rem;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.info-card p + p {
    margin-top: 0.9rem;
}

.topic-list {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.topic-list li {
    position: relative;
    padding-left: 1.35rem;
}

.topic-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--violet), var(--blue));
    box-shadow: 0 0 0 6px rgba(51, 142, 247, 0.08);
}

.resources-panel {
    margin-top: 1.5rem;
    background:
        linear-gradient(180deg, rgba(33, 29, 37, 0.94), rgba(21, 18, 24, 0.9)),
        var(--panel);
}

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

.resource-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 112px;
    padding: 1rem 1.1rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.resource-link:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.resource-slides:hover {
    box-shadow: 0 16px 36px rgba(255, 191, 60, 0.18);
}

.resource-colab:hover {
    box-shadow: 0 16px 36px rgba(255, 179, 0, 0.18);
}

.resource-logo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-logo svg {
    width: 44px;
    height: 44px;
    display: block;
}

.resource-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.resource-copy strong {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.resource-copy span {
    color: var(--muted);
    font-family: 'Chakra Petch', monospace;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.resource-arrow {
    margin-left: auto;
    color: var(--blue);
    font-size: 1.45rem;
}

@keyframes float-left {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(1.6rem, 1.2rem, 0) rotate(6deg);
    }
}

@keyframes float-right {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-1.8rem, -1rem, 0) rotate(-5deg);
    }
}

@media (max-width: 960px) {
    .hero-panel,
    .content-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .poster-card {
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .event-page {
        width: min(100% - 1rem, 1120px);
        padding: 1rem 0 2.5rem;
    }

    .hero-panel,
    .info-card,
    .resources-panel {
        border-radius: 24px;
        padding: 1.2rem;
    }

    .summit-mark {
        height: 108px;
    }

    .resource-link {
        min-height: 96px;
        padding: 0.95rem;
    }

    .resource-logo {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }
}
