:root {
    --theme-midnight: #06164a;
    --theme-cobalt: #12368f;
    --theme-electric: #4b6dff;
    --theme-violet: #7f3cff;
    --theme-fuchsia: #d94cff;
    --theme-magenta: #ff4b8b;
    --theme-crimson: #d61f4e;
    --theme-copper: #f28b4b;
    --theme-gold: #ffc857;
    --theme-ice: #e9f4ff;
    --theme-cobalt-soft: rgba(18, 54, 143, 0.12);
    --theme-cobalt-soft-2: rgba(75, 109, 255, 0.16);
    --theme-violet-soft: rgba(127, 60, 255, 0.12);
    --theme-violet-soft-2: rgba(217, 76, 255, 0.16);
    --theme-crimson-soft: rgba(214, 31, 78, 0.12);
    --theme-crimson-soft-2: rgba(255, 75, 139, 0.16);
    --theme-gold-soft: rgba(255, 200, 87, 0.18);
    --theme-gold-soft-2: rgba(242, 139, 75, 0.18);
    --theme-cobalt-ink: #17397b;
    --theme-violet-ink: #5c22b8;
    --theme-crimson-ink: #8e1c43;
    --theme-gold-ink: #935d10;
    --page-bg: #f3f6ff;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: rgba(255, 255, 255, 0.95);
    --ink: #101a3e;
    --muted: #5a678f;
    --line: rgba(16, 26, 62, 0.12);
    --brand: var(--theme-cobalt);
    --brand-2: var(--theme-electric);
    --brand-soft: var(--theme-cobalt-soft);
    --card: #ffffff;
    --shadow: 0 24px 60px rgba(6, 22, 74, 0.12);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(75, 109, 255, 0.18), transparent 28%),
        radial-gradient(circle at 15% 85%, rgba(217, 76, 255, 0.1), transparent 24%),
        linear-gradient(180deg, #f8f9ff 0%, var(--page-bg) 100%);
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: end;
    overflow: hidden;
    background:
        url("img/banner.jpg") center/cover no-repeat;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: 8rem 0 4rem;
    color: #fff;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    z-index: 3;
    display: none;
}

.hero-scroll-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-scroll-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    animation: hero-bounce 1.8s ease-in-out infinite;
}

.hero-scroll-icon .bi {
    font-size: 1.1rem;
}

@keyframes hero-bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.9;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

.page-lang {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1000;
}

.lang-switch {
    display: inline-flex;
    gap: 0.3rem;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    padding: 0.3rem 0.5rem;
    font-weight: 600;
}

.lang-btn img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.lang-label-mobile {
    display: none;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.18);
}

.countdown-card {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 1.25rem;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.35rem 1.4rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.countdown-copy span {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.countdown-copy strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.15rem;
    font-weight: 700;
}

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

.countdown-item {
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
}

.countdown-item span {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
}

.countdown-item small {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.agenda-shell {
    margin-top: -72px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.site-footer {
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 100%;
}

.footer-copy,
.footer-info,
.footer-map {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.58);
}

.footer-info {
    border-right: 0;
}

.footer-map {
    border-right: 0;
}

.footer-copy,
.footer-info {
    padding: 1.8rem;
}

.footer-copy h3,
.footer-label {
    margin: 0 0 0.65rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-name {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
}

.footer-theme {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.footer-theme strong {
    color: var(--ink);
}

.footer-block + .footer-block {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}

.footer-block p {
    margin: 0.25rem 0 0;
    color: var(--ink);
    line-height: 1.6;
}

.footer-block a {
    color: var(--brand);
    text-decoration: none;
}

.footer-map {
    overflow: hidden;
    min-height: 100%;
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

.copyright-line {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(217, 226, 236, 0.8);
    background: rgba(255, 255, 255, 0.94);
}

.copyright-line p {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.copyright-line img {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.agenda-card {
    background: var(--surface);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.agenda-head {
    padding: 2rem;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(236, 242, 255, 0.96));
}

.agenda-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.agenda-head p {
    margin: 0.75rem 0 0;
    color: var(--muted);
    max-width: 760px;
}

.vsearch-wrap {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
}

.vsearch-inner {
    position: relative;
}

.vsearch-inner .bi {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1rem;
}

#vsi {
    width: 100%;
    height: 56px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-strong);
    padding: 0 1rem 0 2.85rem;
    font-size: 1rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#vsi:focus {
    border-color: var(--brand-2);
    box-shadow: 0 0 0 4px rgba(30, 136, 216, 0.12);
}

.vsearch-count {
    color: var(--muted);
    font-size: 0.95rem;
    white-space: nowrap;
}

.vsearch-clr {
    height: 56px;
    padding: 0 1.2rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-strong);
    color: var(--ink);
    font-weight: 600;
}

.vsearch-results {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
    min-height: 1.5rem;
}

.agenda-body {
    padding: 2rem;
}

.vday-tabs,
.vhall-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.vday-tabs {
    margin-bottom: 1.5rem;
}

.vday-tab,
.vhall-tab {
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.85rem 1.15rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.vday-tab.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 12px 24px rgba(30, 136, 216, 0.22);
}

.vhall-tab {
    position: relative;
    overflow: hidden;
}

.vhall-tab.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--hall-accent), var(--hall-accent-2));
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(6, 22, 74, 0.18);
}

.vday-content,
.vhall-panel {
    display: none;
}

.vday-content.active,
.vhall-panel.active {
    display: block;
}

.vhall-card {
    --hall-accent: var(--theme-cobalt);
    --hall-accent-2: var(--theme-electric);
    --hall-soft: var(--theme-cobalt-soft);
    --hall-soft-2: var(--theme-cobalt-soft-2);
    --hall-ink: var(--theme-cobalt-ink);
    margin-top: 1.25rem;
    border: 1px solid color-mix(in srgb, var(--hall-accent) 24%, white 76%);
    border-radius: 24px;
    overflow: hidden;
    background: var(--surface-strong);
}

.vhall-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--hall-accent), var(--hall-accent-2));
}

.vhall-hd span {
    font-weight: 500;
    opacity: 0.85;
    font-size: 0.92rem;
}

.vhall-body {
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 246, 255, 0.98) 100%);
}

.vtp {
    border: 1px solid color-mix(in srgb, var(--hall-accent) 18%, white 82%);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    margin-bottom: 1rem;
}

.vtp:last-child {
    margin-bottom: 0;
}

.vtp-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid transparent;
    font-weight: 700;
    background: linear-gradient(180deg, var(--hall-soft) 0%, var(--hall-soft-2) 100%);
    color: var(--hall-ink);
}

.vtp-hd small {
    font-weight: 500;
}

.vtp-hd-chev {
    transition: transform 0.2s ease;
}

.vtp-hd-chev.open {
    transform: rotate(90deg);
}

.vtp-body {
    padding: 0.6rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.98) 100%);
}

.vpaper {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 0.95rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    margin-bottom: 0.55rem;
    border: 1px solid rgba(16, 26, 62, 0.05);
    box-shadow: 0 8px 20px rgba(6, 22, 74, 0.04);
}

.vpaper:last-child {
    margin-bottom: 0;
}

.vpaper.vpaper-current {
    border-color: color-mix(in srgb, var(--hall-accent) 58%, white 42%);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--hall-soft) 92%, white 8%) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--hall-accent) 24%, white 76%),
        0 18px 34px rgba(6, 22, 74, 0.12);
}

.vpaper.vpaper-current .vtitle {
    color: var(--hall-ink);
}

.vpaper.vpaper-current .vtime {
    color: var(--hall-accent-2);
}

.hall-day1-hall-3 .vpaper.vpaper-current,
.hall-day2-hall-3 .vpaper.vpaper-current,
.hall-day3-hall-3 .vpaper.vpaper-current {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--hall-accent) 20%, rgba(255, 255, 255, 0.98) 80%) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--hall-accent) 34%, white 66%),
        0 20px 36px rgba(6, 22, 74, 0.16);
}

.vpaper.vpaper-past {
    opacity: 0.78;
    background: linear-gradient(180deg, rgba(242, 245, 252, 0.96) 0%, rgba(235, 239, 247, 0.94) 100%);
    border-color: rgba(16, 26, 62, 0.08);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        0 10px 20px rgba(16, 26, 62, 0.05);
}

.vpaper.vpaper-past .vtitle,
.vpaper.vpaper-past .vtime,
.vpaper.vpaper-past .vspk,
.vpaper.vpaper-past .vcnt {
    color: color-mix(in srgb, var(--muted) 88%, white 12%);
}

.vtime {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hall-accent);
}

.vtitle {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.vspk,
.vcnt {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.vcnt img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    object-fit: cover;
}

.vempty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed #cdd8e5;
    border-radius: 18px;
    background: #fff;
}

mark {
    padding: 0 0.2em;
    border-radius: 0.25em;
    background: rgba(255, 200, 87, 0.42);
}

@media (max-width: 991.98px) {
    .agenda-shell {
        margin-top: 0;
    }

    .hero {
        min-height: 78vh;
    }

    .countdown-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .page-lang {
        top: 0.9rem;
        right: 0.9rem;
        left: auto;
    }

    .hero-inner {
        padding: 7rem 0 3rem;
    }

    .lang-switch {
        width: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.25rem;
    }

    .lang-btn {
        flex: none;
        width: auto;
        min-width: 0;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.42rem 0.5rem;
        font-size: 0.74rem;
    }

    .lang-btn img {
        width: 16px;
        height: 11px;
    }

    .lang-label-full {
        display: none;
    }

    .lang-label-mobile {
        display: inline;
    }

    .lang-btn span {
        white-space: nowrap;
    }

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

    .agenda-head,
    .agenda-body,
    .footer-copy,
    .footer-info {
        padding: 1rem;
    }

    .vsearch-wrap {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .vsearch-count {
        order: 2;
        font-size: 0.84rem;
    }

    .vsearch-clr {
        order: 3;
        width: 100%;
        height: 46px;
        padding: 0 0.9rem;
        border-radius: 12px;
        font-size: 0.84rem;
    }

    #vsi {
        height: 46px;
        padding: 0 0.9rem 0 2.45rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .vsearch-inner .bi {
        left: 0.85rem;
        font-size: 0.9rem;
    }

    .vsearch-results {
        margin-top: 0.7rem;
        font-size: 0.84rem;
        min-height: 1.2rem;
    }

    .vday-tabs,
    .vhall-tabs {
        gap: 0.45rem;
    }

    .vday-tabs {
        margin-bottom: 1rem;
    }

    .vday-tab,
    .vhall-tab {
        padding: 0.62rem 0.85rem;
        font-size: 0.8rem;
        border-radius: 999px;
    }

    .vhall-card {
        margin-top: 0.85rem;
        border-radius: 18px;
    }

    .vhall-hd {
        padding: 0.9rem 1rem;
        gap: 0.45rem;
    }

    .vhall-hd strong {
        font-size: 0.98rem;
    }

    .vhall-hd span {
        font-size: 0.8rem;
    }

    .vhall-body {
        padding: 0.7rem;
    }

    .vtp {
        margin-bottom: 0.7rem;
        border-radius: 14px;
    }

    .vtp-hd {
        padding: 0.8rem 0.9rem;
        gap: 0.7rem;
        font-size: 0.88rem;
    }

    .vtp-hd small {
        font-size: 0.72rem;
    }

    .vtp-body {
        padding: 0.45rem;
    }

    .vpaper {
        grid-template-columns: 1fr;
        gap: 0.38rem;
        padding: 0.75rem 0.72rem;
        border-radius: 12px;
        margin-bottom: 0.45rem;
    }

    .vtime {
        font-size: 0.78rem;
    }

    .vtitle {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .vspk,
    .vcnt {
        gap: 0.35rem;
        margin-top: 0.35rem;
        font-size: 0.8rem;
    }

    .vcnt img {
        width: 16px;
        height: 11px;
    }

    .vhall-hd {
        flex-direction: column;
        align-items: start;
    }
}

@media (orientation: portrait) and (max-width: 991.98px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        background-image: url("img/mobile.jpg");
        background-position: center center;
    }

    .hero-inner {
        min-height: 100vh;
        min-height: 100svh;
        padding: 0 1rem;
    }

    .countdown-card {
        position: absolute;
        top: 50%;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: 360px;
        margin: 0 auto;
        transform: translateY(-50%);
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding: 0.8rem 0.75rem;
        border-radius: 18px;
    }

    .countdown-copy span {
        font-size: 0.66rem;
    }

    .countdown-copy strong {
        font-size: 0.88rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .countdown-item {
        padding: 0.65rem 0.2rem;
        border-radius: 12px;
    }

    .countdown-item span {
        font-size: clamp(1.05rem, 4vw, 1.35rem);
    }

    .countdown-item small {
        margin-top: 0.25rem;
        font-size: 0.56rem;
        letter-spacing: 0.03em;
    }

    .hero-scroll {
        display: inline-flex;
        bottom: calc(1.15rem + env(safe-area-inset-bottom));
    }

    .hero-scroll-text {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .hero-scroll-icon {
        width: 40px;
        height: 40px;
    }
}
