@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #03060d;
    --cyan: #00eaff;
    --blue: #236bff;
    --violet: #c02cff;
    --pink: #ff35c8;
    --muted: #8490a8;
    --line: rgba(90, 140, 190, .2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: #f4f7ff;
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    padding-top: 74px; /* Отступ для фиксированного хедера */
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background: repeating-linear-gradient(
        0deg,
        rgba(100, 170, 220, .055) 0px,
        rgba(100, 170, 220, .055) 1px,
        transparent 1px,
        transparent 4px
    );
    mix-blend-mode: screen;
    opacity: .55;
}

body:after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    background: radial-gradient(ellipse at 50% 28%, transparent 0 28%, rgba(0, 0, 0, .32) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1120px, calc(100% - 44px));
    margin: auto;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: .12em;
}

/* --- ХЕДЕР --- */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(3, 6, 13, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(90, 140, 190, 0.2);
    transition: all 0.4s ease;
}

.topbar-inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.4s ease;
    position: relative; /* Важно для мобильного меню */
}

.topbar.scrolled {
    background: rgba(3, 6, 13, 0.9);
    border-bottom: 1px solid rgba(0, 234, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.topbar.scrolled .topbar-inner {
    height: 60px;
}

.brand {
    font: 700 21px 'IBM Plex Mono';
    letter-spacing: .08em;
    text-shadow: 2px 0 var(--cyan), -2px 0 var(--pink);
}

nav {
    display: flex;
    gap: 30px;
    color: #aab5cb;
    font: 11px 'IBM Plex Mono';
    letter-spacing: .12em;
}

nav a:hover {
    color: var(--cyan);
}

.top-cta {
    border: 1px solid rgba(0, 234, 255, .55);
    padding: 10px 15px;
    color: var(--cyan);
    font: 11px 'IBM Plex Mono';
    letter-spacing: .1em;
    transition: all 0.2s ease;
}

.top-cta:hover {
    border-color: var(--pink);
    color: #fff;
    text-shadow: 2px 0 var(--cyan), -2px 0 var(--pink);
    box-shadow: 0 0 15px rgba(255, 53, 200, 0.3);
    transform: translateY(-1px);
}

/* --- HERO СЕКЦИЯ --- */
.hero {
    width: 100%;
    max-width: none;
    min-height: 790px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 72px 22px 64px;
    isolation: isolate;
    overflow: hidden;
    margin-top: -74px;
    background-color: #080711;
    background-image: url("../images/hero-bg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Старый фоновой слой оставлен в PHP, но отключён. */
.hero-energy { display: none; }

.hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    margin: auto;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.hero-kicker {
    color: #a4b1c8;
    font: 12px 'IBM Plex Mono';
    letter-spacing: .48em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.glitch-title {
    font: 700 clamp(64px, 12vw, 132px)/.95 'Space Grotesk';
    letter-spacing: .035em;
    margin: 0 auto 16px;
    position: relative;
    width: max-content;
    max-width: 100%;
    text-shadow: 3px 0 var(--cyan), -3px 0 var(--pink), 0 0 28px rgba(0, 210, 255, .25);
}

.glitch-title:after {
    content: "";
    position: absolute;
    left: 2%; right: -3%; top: 47%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--cyan), #fff, var(--pink), transparent);
    opacity: .8;
    clip-path: polygon(0 0, 72% 0, 72% 100%, 0 100%);
}

.subtitle {
    font: 12px 'IBM Plex Mono';
    letter-spacing: .5em;
    color: #bd4cda;
    margin-bottom: 28px;
}

.orb-wrap {
    width: min(760px, 92vw);
    height: clamp(170px, 27vw, 300px);
    min-height: 170px;
    margin: 0 auto 12px;
    position: relative;
    display: grid;
    place-items: center;
}

.number {
    position: relative;
    z-index: 2;
    font: 600 clamp(74px, 14vw, 128px)/1 'IBM Plex Mono';
    letter-spacing: -.08em;
    color: #fff;
    text-shadow: 3px 0 var(--cyan), -3px 0 var(--pink), 0 0 18px var(--violet), 0 0 38px rgba(160, 40, 255, .8), 0 3px 24px rgba(0, 0, 0, .8);
}

.number:after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 52%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cyan), white, var(--pink), transparent);
    opacity: .8;
}

.date {
    font: 600 clamp(20px, 4vw, 29px) 'IBM Plex Mono';
    letter-spacing: .18em;
    text-shadow: 2px 0 var(--cyan), -2px 0 var(--pink);
}

.date small {
    color: var(--cyan);
    padding: 0 10px;
}

/*.hero-note {
    margin: 16px auto 0;
    color: #71809a;
    font: 10px 'IBM Plex Mono';
    letter-spacing: .22em;
    background-color: #2a1943;
    padding:8px 0;
}*/

.glitch-block {
    position: absolute;
    width: 95px; height: 34px;
    background: repeating-linear-gradient(90deg, #00eaff 0 12px, #164aff 12px 24px, #b32bff 24px 36px, #ff315d 36px 48px);
    opacity: .75;
    filter: blur(.3px);
    -webkit-mask-image: linear-gradient(0deg, transparent, #000 20%, #000 80%, transparent);
    mask-image: linear-gradient(0deg, transparent, #000 20%, #000 80%, transparent);
}

.g1 { right: 3%; top: 27%; }
.g2 { left: 4%; bottom: 18%; width: 75px; }
.g3 { right: 8%; bottom: 15%; width: 120px; opacity: .45; }

.data {
    position: absolute;
    color: rgba(0, 234, 255, .42);
    text-shadow: 0 0 8px rgba(0, 234, 255, .18);
    font: 9px/1.7 'IBM Plex Mono';
    text-align: left;
    max-width: 180px;
    overflow: hidden;
    height: 110px;
}

.d1 { left: 0; top: 49%; }
.d2 { right: 0; top: 53%; text-align: right; }

.scroll {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    font: 9px 'IBM Plex Mono';
    letter-spacing: .25em;
    color: #67758e;
}

/* --- ОБЩИЕ СЕКЦИИ --- */
section {
    padding: 100px 0;
    position: relative;
    border-top: 1px solid var(--line);
}

.eyebrow {
    font: 11px 'IBM Plex Mono';
    color: var(--cyan);
    letter-spacing: .28em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.05;
    margin: 0 0 24px;
    letter-spacing: -.04em;
}

.intro {
    max-width: 700px;
    color: #9ba8bf;
    font-size: 17px;
    line-height: 1.75;
}

.event-panel {
    border: 1px solid rgba(0, 234, 255, .28);
    background: linear-gradient(120deg, rgba(0, 234, 255, .055), rgba(160, 35, 255, .06));
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.event-panel:after {
    content: "NEXT EVENT // LOADING...";
    position: absolute;
    right: -5px; top: 10px;
    color: rgba(190, 210, 255, .08);
    font: 700 34px 'IBM Plex Mono';
    white-space: nowrap;
}

.event-panel h3 { font-size: 27px; margin: 0 0 10px; }
.event-panel p { color: var(--muted); margin: 0; line-height: 1.6; }

.event-meta {
    font: 12px 'IBM Plex Mono';
    color: var(--cyan);
    letter-spacing: .12em;
    margin-top: 18px;
}

.button {
    display: inline-block;
    padding: 15px 20px;
    border: 1px solid var(--cyan);
    color: #fff;
    font: 11px 'IBM Plex Mono';
    letter-spacing: .13em;
    box-shadow: 0 0 18px rgba(0, 234, 255, .12);
    transition: .2s;
}

.button:hover {
    background: var(--cyan);
    color: #020711;
    box-shadow: 0 0 28px rgba(0, 234, 255, .4);
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.tile {
    border: 1px solid var(--line);
    padding: 24px;
    min-height: 190px;
    background: linear-gradient(145deg, rgba(16, 26, 48, .65), rgba(4, 8, 18, .75));
    transition: .25s;
}

.tile:hover {
    border-color: rgba(190, 50, 255, .6);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(120, 40, 255, .1);
}

.tile .tag { font: 10px 'IBM Plex Mono'; color: var(--cyan); letter-spacing: .16em; }
.tile h3 { font-size: 21px; margin: 22px 0 9px; }
.tile p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }

.archive-empty {
    padding: 32px;
    border: 1px dashed rgba(120, 150, 190, .3);
    color: #8996ae;
    font: 12px 'IBM Plex Mono';
    letter-spacing: .08em;
    text-align: center;
}

.talk-list { border-top: 1px solid var(--line); }

.talk {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
}

.talk .num { color: var(--violet); font: 13px 'IBM Plex Mono'; }
.talk h3 { font-size: 18px; margin: 0 0 15px; }
.talk p { margin: 0; color: var(--muted); font-size: 15px; }
.arrow { color: var(--cyan); font-size: 22px; }

.community {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 38px;
    border: 1px solid rgba(183, 50, 255, .35);
    background: radial-gradient(ellipse at 80% 50%, rgba(150, 30, 255, .12), transparent 50%);
}

.community p { color: var(--muted); max-width: 560px; line-height: 1.6; }

.footer {
    padding: 30px 0 45px;
    display: flex;
    justify-content: space-between;
    color: #68758d;
    font: 10px 'IBM Plex Mono';
    letter-spacing: .12em;
}

.footer strong { color: #dce5f6; }

@media (prefers-reduced-motion: reduce) {
    .hero .singularity-live { display: none; }
}

/* --- БАЗОВЫЕ СТИЛИ ДЛЯ БУРГЕРА (СКРЫТЫ НА ДЕСКТОПЕ) --- */
.menu-toggle { display: none; }

.menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--cyan);
    transition: 0.3s;
    box-shadow: 0 0 5px var(--cyan);
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 700px) {
    .wrap { width: min(100% - 30px, 540px); }

    .topbar-inner { height: 62px; }

    .hero {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        background-position: center;
        margin-top: -62px;
        padding-top: 100px;
    }

    .hero:before { background-position: 54% center; }
    .hero-content { width: 100%; }
    .hero { min-height: 720px; padding-top: 55px; }

    .hero-kicker { letter-spacing: .25em; font-size: 10px; }
    .subtitle { letter-spacing: .25em; font-size: 10px; }
    .orb-wrap { min-height: 300px; }
    .data { font-size: 7px; max-width: 110px; }
    .g1 { right: 0; }
    .g2 { left: 0; }

    .event-panel { grid-template-columns: 1fr; padding: 23px; }
    .event-panel .button { width: max-content; }
    .grid { grid-template-columns: 1fr; }
    .tile { min-height: 150px; }

    .talk { grid-template-columns: 0.2fr 1fr auto; gap: 12px; }
    .talk p { line-height: 1.45; }

    .community { grid-template-columns: 1fr; padding: 25px; }
    .community .button { width: max-content; justify-self: start; margin-top: 12px; }

    .footer { gap: 15px; flex-direction: column; }
    .date { letter-spacing: .1em; }

    /* Скрываем десктопную кнопку и показываем бургер */
    .top-cta { display: none; }
    .menu-btn { display: flex; }

    /* Прячем меню и превращаем в выпадающее */
    nav.nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 100vw;
        background: #03060d;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 25px;
        border-bottom: 1px solid var(--line);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
    }

    /* Показываем при клике */
    .menu-toggle:checked ~ nav.nav-menu {
        display: flex;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    /* Анимация крестика */
    .menu-toggle:checked ~ .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle:checked ~ .menu-btn span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    section {
        padding: 50px 0;
        position: relative;
        border-top: 1px solid var(--line);
    }
}

.hero .singularity-live {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    mix-blend-mode: normal;
}

.hero .hero-content, .hero .scroll { z-index: 3; }
.hero .glitch-block, .hero .data { z-index: 2; }


/* ==========================================
   HERO — ПЛАВНОЕ РАСТВОРЕНИЕ ФОНА
   ========================================== */

.hero {
    background-color: #080711;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Маска рассчитывается по фактическому размеру
   изображения в JavaScript */
.hero .singularity-live {
    --fade-left-start: 0px;
    --fade-left-end: 100px;
    --fade-right-start: 100%;
    --fade-right-end: 100%;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent var(--fade-left-start),
        #000 var(--fade-left-end),
        #000 var(--fade-right-start),
        transparent var(--fade-right-end)
    );

    mask-image: linear-gradient(
        to right,
        transparent var(--fade-left-start),
        #000 var(--fade-left-end),
        #000 var(--fade-right-start),
        transparent var(--fade-right-end)
    );

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}


/* ==========================================
   ДЕКОР — ОГРАНИЧЕННАЯ ШИРИНА
   ========================================== */

.hero .g1 {
    right: max(3%, calc((100% - 1600px) / 2 + 35px));
}

.hero .g2 {
    left: max(4%, calc((100% - 1600px) / 2 + 35px));
}

.hero .g3 {
    right: max(8%, calc((100% - 1600px) / 2 + 100px));
}

.hero .d1 {
    left: max(0px, calc((100% - 1600px) / 2));
}

.hero .d2 {
    right: max(0px, calc((100% - 1600px) / 2));
}

/* ==========================================
   GR 2.0 — АТМОСФЕРНОЕ СВЕЧЕНИЕ ПО КРАЯМ
   ========================================== */

.hero {
    background-color: #080711;
}

/* Мягкое свечение под анимированным фоном */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse 380px 520px at 8% 58%,
            rgba(100, 35, 185, 0.15) 0%,
            rgba(65, 20, 130, 0.08) 38%,
            transparent 75%
        ),
        radial-gradient(
            ellipse 420px 540px at 92% 52%,
            rgba(120, 35, 210, 0.18) 0%,
            rgba(70, 25, 145, 0.09) 40%,
            transparent 76%
        ),
        linear-gradient(
            to right,
            #080711 0%,
            #10091d 15%,
            #080711 35%,
            #080711 65%,
            #10091d 85%,
            #080711 100%
        );
}

/* Сохраняем порядок слоёв */
.hero .singularity-live {
    z-index: 1;
}

.hero .glitch-block,
.hero .data {
    z-index: 2;
}

.hero .hero-content,
.hero .scroll {
    z-index: 3;
}

/* На обычных экранах свечение слабее */
@media (max-width: 1920px) {
    .hero::before {
        opacity: 0.55;
    }
}

/* На мобильных экранах почти незаметно */
@media (max-width: 700px) {
    .hero::before {
        opacity: 0.25;
    }
}


/* ==========================================
   GR 2.0 — SECTION LIFT REVEAL
   Вся секция подтягивается при прокрутке
   ========================================== */

/* Обычное состояние без JavaScript */
.section-lift {
    opacity: 1;
    transform: none;
}

/* Начальное положение — секция ниже и чуть меньше */
html.section-lift-ready .section-lift {
    opacity: 0;
    transform: translate3d(0, 95px, 0) scale(0.965);
    filter: blur(5px);

    transition:
        opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.85s ease;

    will-change: opacity, transform, filter;
}

/* Секция плавно подтягивается на своё место */
html.section-lift-ready .section-lift.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

/* На мобильных — меньше смещение */
@media (max-width: 768px) {
    html.section-lift-ready .section-lift {
        transform: translate3d(0, 55px, 0) scale(0.98);
        filter: blur(3px);
        transition-duration: 0.8s;
    }
}

/* Уважаем настройки доступности */
@media (prefers-reduced-motion: reduce) {
    html.section-lift-ready .section-lift,
    html.section-lift-ready .section-lift.is-visible {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        will-change: auto;
    }
}
@media (max-width: 500px) {
    .orb-wrap {
        min-height: 200px;
    }
    .hero {
        min-height: 650px;
        padding-top: 0px;
    }
}


/* ==========================================
   GR 2.0 — MINI TERMINAL
   ========================================== */

.hero-terminal {
    position: relative;
    z-index: 3;

    width: fit-content;
    max-width: 100%;
    margin: 12px auto 0;

    color: #71809a;
    font: 10px 'IBM Plex Mono', monospace;
    letter-spacing: .22em;

    background-color: #2a1943;
    border: 1px solid rgba(113, 128, 154, 0.3);
}

/* Верхняя панель */

.hero-terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 7px 11px;

    border-bottom: 1px solid rgba(113, 128, 154, 0.25);

    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}

.hero-terminal-dots {
    display: flex;
    gap: 4px;
}

.hero-terminal-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #71809a;
    opacity: .65;
}

.hero-terminal-name {
    color: inherit;
    white-space: nowrap;
}

.hero-terminal-status {
    margin-left: auto;
    color: inherit;
    opacity: .8;
}

/* Строка терминала */

.hero-terminal-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;

    min-height: 35px;
    padding: 9px 12px;

    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    white-space: nowrap;
}

.hero-terminal-prompt {
    flex-shrink: 0;
    color: inherit;
}

.hero-terminal-text {
    color: inherit;
    white-space: pre;
}

/* Мигающий курсор */

.hero-terminal-cursor {
    display: inline-block;
    flex-shrink: 0;

    width: 5px;
    height: 12px;

    background-color: #71809a;

    animation: terminal-blink .8s steps(1) infinite;
}

@keyframes terminal-blink {
    0%, 49% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}

.hero-terminal.is-complete .hero-terminal-cursor {
    animation: terminal-blink .8s steps(1) infinite;
}

/* Мобильная версия */

@media (max-width: 480px) {
    .hero-terminal {
        max-width: calc(100vw - 32px);
    }

    .hero-terminal-header {
        gap: 8px;
        padding: 6px 9px;
    }

    .hero-terminal-line {
        gap: 5px;
        padding: 8px 9px;
        font-size: 8px;
        letter-spacing: .12em;
    }

    .hero-terminal-cursor {
        width: 4px;
        height: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-terminal-cursor {
        animation: none;
    }
}
/* ==========================================
   GR 2.0 — ШИРИНА ТЕРМИНАЛА
   ========================================== */

.hero-terminal {
    width: 520px;
    max-width: calc(100% - 24px);
    box-sizing: border-box;
    margin: 12px auto 0;
}

.hero-terminal-line {
    justify-content: center;
}

/* На планшетах */
@media (max-width: 768px) {
    .hero-terminal {
        width: 90%;
    }
}

/* На телефонах */
@media (max-width: 480px) {
    .hero-terminal {
        width: calc(100% - 20px);
        max-width: 100%;
    }
}


/* ==========================================
   GR 2.0 — EVENT CASE FILE
   ========================================== */

.event-details {
    min-width: 0;
}

.event-description {
    max-width: 790px;
    margin: 12px 0 26px;

    color: #8995ab;
    font-size: 15px;
    line-height: 1.85;
}

/* Технические подзаголовки */

.event-subheading {
    margin-bottom: 16px;

    color: #00e5f4;
    font: 10px 'IBM Plex Mono', monospace;
    letter-spacing: .22em;
}

/* Программа мероприятия */

.event-schedule {
    max-width: 760px;
    margin: 24px 0;
    padding: 18px 0;

    border-top: 1px solid rgba(113,128,154,.2);
    border-bottom: 1px solid rgba(113,128,154,.2);
}

.event-schedule-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
    align-items: start;

    padding: 11px 0;

    border-bottom: 1px solid rgba(113,128,154,.10);
}

.event-schedule-item:last-child {
    border-bottom: none;
}

.event-schedule-item time {
    color: #00e5f4;
    font: 600 13px 'IBM Plex Mono', monospace;
    letter-spacing: .05em;
}

.event-schedule-item span {
    color: #e4e6f0;
    font-size: 14px;
    line-height: 1.6;
}

/* Дата и место */

.event-location {
    margin: 22px 0;
}

.event-location-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;

    margin: 10px 0;

    color: #cbd1df;
    font-size: 14px;
    line-height: 1.7;
}

.event-location-icon {
    width: 18px;
    flex-shrink: 0;

    color: #00e5f4;
    font-size: 18px;
    text-align: center;
}

/* Ссылки в стиле интерфейса */

.event-link {
    display: inline-flex;
    align-items: center;

    color: #00e5f4;
    font: 10px 'IBM Plex Mono', monospace;
    letter-spacing: .08em;
    text-decoration: none;

    border-bottom: 1px solid rgba(0,229,244,.4);
    padding-bottom: 2px;

    transition:
        color .25s ease,
        border-color .25s ease,
        text-shadow .25s ease;
}

.event-link:hover,
.event-link:focus-visible {
    color: #ffffff;
    border-color: #00e5f4;

    text-shadow: 0 0 10px rgba(0,229,244,.65);
}

/* Нижняя техническая строка */

.event-panel .event-meta {
    margin-top: 24px;
    color: #71809a;
}

/* Мобильная версия */

@media (max-width: 768px) {
    .event-description {
        font-size: 14px;
        line-height: 1.75;
    }

    .event-schedule-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
    }

    .event-schedule-item span {
        font-size: 13px;
    }

    .event-location-row {
        font-size: 13px;
    }
}

/* ==========================================
   GR 2.0 — TALK SPEAKER
   ========================================== */

.talk-speaker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin: 9px 0 12px;
}

.talk-speaker-label {
    color: #71809a;

    font: 10px 'IBM Plex Mono', monospace;
    letter-spacing: .22em;
}

.talk-speaker-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #00e5f4;

    font: 11px 'IBM Plex Mono', monospace;
    letter-spacing: .08em;

    text-decoration: none;

    border-bottom: 1px solid rgba(0, 229, 244, .35);
    padding-bottom: 2px;

    transition:
        color .25s ease,
        border-color .25s ease,
        text-shadow .25s ease;
}

.talk-speaker-link:hover,
.talk-speaker-link:focus-visible {
    color: #ffffff;
    border-color: #00e5f4;

    text-shadow:
        0 0 10px rgba(0, 229, 244, .55);
}

.talk-speaker-link span {
    display: inline-block;
    transition: transform .25s ease;
}

.talk-speaker-link:hover span {
    transform: translate(2px, -2px);
}

/* Мобильная версия */

@media (max-width: 768px) {
    .talk-speaker {
        gap: 6px;
        margin: 8px 0 11px;
    }

    .talk-speaker-label {
        font-size: 9px;
    }

    .talk-speaker-link {
        font-size: 10px;
    }
}


/* ==========================================
   GR 2.0 — EVENT POSTER LAYOUT
   ========================================== */

/* Основная карточка */

#event .event-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    grid-template-areas:
        "heading poster"
        "details poster";

    column-gap: 44px;
    row-gap: 0;
    align-items: start;

    position: relative;
    padding: 32px;

    overflow: hidden;
}

/* Заголовок */

#event .event-heading {
    grid-area: heading;
    min-width: 0;
    position: relative;
    z-index: 1;
}

#event .event-heading h3 {
    margin: 16px 0 0;
}

/* Левая колонка */

#event .event-details {
    grid-area: details;
    min-width: 0;
    position: relative;
    z-index: 1;
}

#event .event-description {
    margin-top: 12px;
}

/* Правая колонка */

#event .event-poster {
    grid-area: poster;
    width: 100%;
    min-width: 0;
    position: relative;
    z-index: 1;
}

/* Рамка афиши */

#event .event-poster-frame {
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(113, 128, 154, .4);
    background-color: #050507;

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        transform .3s ease;
}

#event .event-poster-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: contain;
}

/* Очень лёгкий красный акцент,
   взятый из оформления афиши */

#event .event-poster-frame:hover {
    transform: translateY(-3px);

    border-color: rgba(190, 38, 51, .7);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .3),
        0 0 22px rgba(160, 20, 36, .12);
}

/* Техническая подпись */

#event .event-poster-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;

    margin: 10px 0 18px;

    color: #71809a;
    font: 9px 'IBM Plex Mono', monospace;
    letter-spacing: .12em;
}

#event .event-poster-caption span:last-child {
    color: #a66b79;
}

/* Кнопка под афишей */

#event .event-poster-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 46px;
    box-sizing: border-box;

    text-align: center;
    white-space: normal;
}

/* ==========================================
   ПЛАНШЕТЫ
   ========================================== */

@media (max-width: 1100px) {

    #event .event-panel {
        grid-template-columns:
            minmax(0, 1fr) 260px;

        column-gap: 28px;
        padding: 26px;
    }

}

/* ==========================================
   МОБИЛЬНЫЕ ЭКРАНЫ
   ========================================== */

@media (max-width: 768px) {

    #event .event-panel {
        grid-template-columns: minmax(0, 1fr);

        grid-template-areas:
            "heading"
            "poster"
            "details";

        gap: 0;
        padding: 22px;
    }

    #event .event-heading h3 {
        margin-bottom: 22px;
    }

    #event .event-poster {
        width: 100%;
        max-width: 340px;
        margin: 0 auto 24px;
    }

    #event .event-poster-caption {
        margin-bottom: 14px;
    }

    #event .event-description {
        margin-top: 0;
    }

}

/* ==========================================
   УЗКИЕ ТЕЛЕФОНЫ
   ========================================== */

@media (max-width: 480px) {

    #event .event-panel {
        padding: 16px;
    }

    #event .event-poster {
        max-width: 100%;
    }

    #event .event-poster-caption {
        font-size: 8px;
        letter-spacing: .08em;
    }

    #event .event-poster-button {
        min-height: 44px;
    }

}

/* Уважение к настройкам анимации */

@media (prefers-reduced-motion: reduce) {
    #event .event-poster-frame {
        transition: none;
    }

    #event .event-poster-frame:hover {
        transform: none;
    }
}
