:root {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #f8f5ff;
  background: #101024;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: radial-gradient(circle at 55% 0, #302850 0, #19162f 36rem, #101024 72rem); }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.page[hidden] { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #ffffff1f; background: #101024eb; backdrop-filter: blur(18px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #f5c348; font-weight: 900; font-size: 1.12rem; letter-spacing: .04em; line-height: 1.1; }
.brand small { display: block; margin-top: 3px; color: #c6bbd0; font-size: .63rem; font-weight: 650; letter-spacing: .15em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 3px solid #f5c348; border-radius: 50%; background: #1c182c; color: #f5c348; font-size: 1.25rem; box-shadow: inset 0 0 0 2px #101024; }
.top-nav { display: flex; align-items: center; gap: 25px; font-size: .91rem; font-weight: 700; white-space: nowrap; }
.top-nav a { padding: 10px 0; color: #d8d1e4; border-bottom: 2px solid transparent; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: #f5c348; border-bottom-color: #f5c348; }
:where(button, a):focus-visible { outline: 3px solid #f5c348; outline-offset: 3px; }

main { min-height: calc(100dvh - 72px); padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.home-page { padding-top: 54px; }
.hero-layout { min-height: 390px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 36px; padding: 30px 0 50px; }
.eyebrow { margin: 0 0 15px; color: #f5c348; font-size: .74rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero-copy h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.3rem); line-height: 1.17; font-weight: 950; letter-spacing: .015em; }
.hero-copy h1 span { color: #f5c348; }
.hero-lead { max-width: 36rem; margin: 22px 0 30px; color: #d8d1e4; font-size: clamp(1rem, 1.7vw, 1.17rem); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 850; cursor: pointer; text-align: center; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: #f5c348; color: #211425; box-shadow: 0 8px 22px #0004; }
.button-gold:hover { background: #ffdc69; }
.button-outline { background: #ffffff0d; color: #fff; border-color: #ffffff55; }
.button-outline:hover { border-color: #f5c348; }
.button-full { width: 100%; margin-top: 12px; }

.hero-visual { min-height: 320px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid #c8a66d54; border-radius: 28px; background: radial-gradient(circle at 35% 24%, #63456b 0, #35244c 38%, #17162f 85%); box-shadow: 0 30px 70px #0005; }
.hero-cover { display: block; }
.hero-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #10102400 45%, #101024d9 100%); }
.hero-cover-cta { position: absolute; z-index: 1; right: 28px; bottom: 24px; left: 28px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.hero-cover-cta strong { font-size: 1.15rem; }
.hero-cover-cta small { color: #f5c348; font-size: .82rem; font-weight: 850; white-space: nowrap; }
.hero-cover:hover img { transform: scale(1.03); }
.hero-cover img { transition: transform .25s; }

.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 4px; }
.quick-card { min-width: 0; min-height: 138px; display: flex; align-items: flex-start; gap: 12px; padding: 20px; border: 1px solid #ffffff27; border-radius: 18px; background: #ffffff0c; color: inherit; cursor: pointer; text-align: left; transition: border-color .2s, transform .2s, background .2s; }
.quick-card:hover { border-color: #f5c348; background: #ffffff14; transform: translateY(-3px); }
.quick-number { color: #f5c348; font-size: .75rem; font-weight: 900; }
.quick-card strong { display: block; margin: 12px 0 7px; font-size: 1.15rem; }
.quick-card small { display: block; color: #bcb3cb; font-size: .78rem; line-height: 1.5; }
.quick-arrow { margin-left: auto; color: #f5c348; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 70px 0 22px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.text-link { flex: none; color: #f5c348; font-weight: 750; font-size: .91rem; }
.text-link:hover { text-decoration: underline; }
.feature-card { min-height: 350px; display: grid; grid-template-columns: 38% 1fr; overflow: hidden; border: 1px solid #ffffff2b; border-radius: 22px; background: linear-gradient(125deg, #35244d, #1a1932); box-shadow: 0 18px 40px #0003; }
.feature-card > img { width: 100%; height: 350px; object-fit: cover; object-position: center 18%; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 36px 44px; }
.tag { display: inline-block; width: fit-content; padding: 6px 11px; border: 1px solid #f5c34878; border-radius: 999px; color: #f5c348; font-size: .72rem; font-weight: 850; letter-spacing: .04em; }
.feature-copy > strong { display: block; margin: 22px 0 13px; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.35; }
.feature-copy > small { color: #c9bfda; font-size: .95rem; }
.feature-cta { margin-top: 32px; color: #f5c348; font-weight: 800; }
.feature-card:hover .feature-cta { text-decoration: underline; }
.current-event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.current-event-card { min-width: 0; overflow: hidden; border: 1px solid #ffffff2b; border-radius: 22px; background: linear-gradient(145deg, #302444, #1a1932); box-shadow: 0 18px 40px #0003; transition: transform .2s, border-color .2s; }
.current-event-card:hover { transform: translateY(-3px); border-color: #f5c348; }
.current-event-card img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: center 18%; }
.current-event-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; min-height: 150px; padding: 22px; }
.current-event-copy strong { font-size: clamp(1.2rem, 2.3vw, 1.65rem); line-height: 1.35; }
.current-event-copy small { margin-top: auto; color: #f5c348; font-size: .85rem; font-weight: 800; }

.page-wrap { padding-top: 40px; }
.back-link { display: inline-block; margin-bottom: 28px; color: #d4c9e0; font-weight: 700; }
.back-link:hover { color: #f5c348; }
.page-heading { max-width: 760px; margin-bottom: 34px; }
.page-heading h1 { margin: 0 0 14px; font-size: clamp(2.1rem, 4.7vw, 3.6rem); line-height: 1.18; }
.page-heading > p:last-child { margin: 0; color: #cfc5dc; font-size: 1rem; line-height: 1.8; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: 28px; }
.poster { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid #ffffff2c; border-radius: 16px; background: #201a3c; box-shadow: 0 14px 34px #0004; cursor: zoom-in; transition: transform .2s, border-color .2s; }
.poster:hover, .poster:focus-visible { transform: translateY(-3px); border-color: #f5c348; }
.poster img { display: block; width: 100%; height: auto; }
.main-poster img { max-height: 700px; object-fit: cover; object-position: top; }
.cover-poster img { max-height: none; }
.event-side { padding: 30px; border: 1px solid #ffffff28; border-radius: 20px; background: linear-gradient(145deg, #302444, #1c1a34); }
.event-side h2 { margin: 18px 0 8px; font-size: 1.9rem; }
.event-side > p { color: #cfc5dc; line-height: 1.8; }
.info-list { margin: 25px 0; border-top: 1px solid #ffffff23; }
.info-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #ffffff23; font-size: .89rem; }
.info-list span { color: #bdb3cc; }
.info-list strong { text-align: right; }
.poster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.poster-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.archive-links { display: grid; grid-template-columns: minmax(0, 400px); gap: 14px; }
.archive-links a { min-height: 168px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid #ffffff2b; border-radius: 18px; background: #ffffff0c; transition: border-color .2s, transform .2s; }
.archive-links a:hover { border-color: #f5c348; transform: translateY(-3px); }
.archive-links strong { margin-top: 18px; font-size: 1.2rem; }
.archive-links a > span:last-child { margin-top: auto; align-self: flex-end; color: #f5c348; }
.notice-panel { min-height: 320px; display: flex; align-items: center; gap: 44px; padding: 45px; border: 1px solid #c8a66d60; border-radius: 24px; background: linear-gradient(125deg, #35254c, #1b1934); }
.notice-icon { width: 190px; height: 190px; flex: none; display: grid; place-items: center; border: 4px solid #f5c348; border-radius: 50%; color: #f5c348; font-size: 6rem; font-weight: 950; box-shadow: inset 0 0 0 10px #ffffff08, 0 15px 30px #0005; }
.notice-panel h2 { margin: 0 0 12px; font-size: 2rem; }
.notice-panel p { max-width: 34rem; margin: 0 0 25px; color: #d0c5dd; line-height: 1.75; }
.champion-panel .notice-icon { font-size: 5rem; }
.contact-card { display: grid; grid-template-columns: minmax(0, 400px) 1fr; align-items: center; gap: 48px; padding: 30px; border: 1px solid #ffffff2b; border-radius: 24px; background: #ffffff0d; }
.contact-card img { display: block; width: 100%; height: auto; border-radius: 14px; background: #fff; }
.contact-card h2 { margin: 20px 0 10px; font-size: 2rem; }
.contact-card p { margin: 0 0 25px; color: #cec4da; line-height: 1.8; }

.signup-dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); background: linear-gradient(180deg, #10102400, #101024e8 30%, #101024f5); }
.action { width: min(100%, 440px); min-height: 54px; padding: 14px 24px; border: 0; border-radius: 999px; background: #f5c348; color: #211425; box-shadow: 0 8px 24px #0008; font-weight: 900; cursor: pointer; transform-origin: center; animation: signup-pulse 2.8s ease-in-out infinite; }
.action:hover, .action:focus-visible { background: #ffdc69; outline: 3px solid #ffffffa0; outline-offset: 3px; }
@keyframes signup-pulse { 0%, 12%, 26%, 40%, 100% { transform: scale(1); } 7%, 20%, 33% { transform: scale(1.035); } }

dialog { max-height: calc(100dvh - 24px); padding: 0; overflow: auto; border: 1px solid #f5c34866; border-radius: 20px; background: #fff; color: #211425; box-shadow: 0 30px 90px #000a; }
dialog::backdrop { background: #060510df; backdrop-filter: blur(5px); }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 22px 10px; background: #fff; }
.dialog-head .eyebrow { margin-bottom: 2px; color: #976a0d; }
.dialog-head h2 { margin: 0; font-size: 1.35rem; }
.close { width: 42px; height: 42px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #f3eff5; color: #211425; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.close:hover { background: #e8dfe9; }
#registration-dialog { width: min(94vw, 860px); }
.dialog-intro { margin: 0; padding: 0 22px 12px; color: #665d6d; font-size: .9rem; line-height: 1.6; }
.payment-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 18px 10px; }
.payment-switch button { display: grid; gap: 3px; min-width: 0; padding: 12px; border: 2px solid #e5dbe9; border-radius: 12px; background: #fff; color: #211425; text-align: left; cursor: pointer; }
.payment-switch button[aria-pressed="true"] { border-color: #bd8a1f; background: #fff7e5; }
.payment-switch button:focus-visible { outline: 3px solid #875caf; outline-offset: 2px; }
.payment-switch strong { font-size: .96rem; }
.payment-switch small { color: #665d6d; font-size: .78rem; }
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 8px 18px 18px; }
.qr-card { min-width: 0; margin: 0; padding: 10px; border: 1px solid #e5dbe9; border-radius: 14px; background: #f8f6fa; }
.qr-card figcaption { margin: 2px 0 10px; font-size: 1rem; font-weight: 850; text-align: center; }
.qr-card img { display: block; width: 100%; height: auto; border-radius: 8px; }
.viewer { width: min(94vw, 900px); background: #101024; border-color: #ffffff45; }
.viewer .dialog-head { background: #101024; color: #fff; }
.viewer .close { background: #ffffff22; color: #fff; }
.viewer img { display: block; width: 100%; height: auto; }
.message-dialog { width: min(90vw, 420px); padding-bottom: 22px; }
.message-dialog > p { margin: 4px 22px 22px; color: #665d6d; line-height: 1.7; }
.message-dialog > .button { margin-left: 22px; }

@media (max-width: 900px) {
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-layout { grid-template-columns: 1fr .78fr; gap: 20px; }
  .poster-grid { gap: 12px; }
  .archive-links { grid-template-columns: 1fr; }
  .archive-links a { min-height: 106px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { display: block; padding-top: 10px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 32px; height: 32px; font-size: 1rem; }
  .top-nav { gap: 22px; margin-top: 4px; overflow-x: auto; scrollbar-width: none; font-size: .78rem; }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav a { padding: 10px 0; }
  .home-page { padding-top: 18px; }
  .hero-layout { min-height: 0; grid-template-columns: 1fr; gap: 24px; padding: 20px 0 30px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 9vw, 3.1rem); }
  .hero-lead { margin: 15px 0 22px; }
  .hero-actions .button { flex: 1 1 130px; padding-inline: 13px; }
  .hero-visual { min-height: 235px; }
  .hero-cover-cta { right: 18px; bottom: 16px; left: 18px; }
  .hero-cover-cta strong { font-size: 1rem; }
  .hero-cover-cta small { font-size: .75rem; }
  .quick-grid { gap: 10px; }
  .quick-card { min-height: 115px; gap: 6px; padding: 14px; }
  .quick-card strong { margin-top: 10px; font-size: .99rem; }
  .quick-card small { font-size: .72rem; }
  .quick-arrow { display: none; }
  .section-heading { margin-top: 45px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card > img { height: 210px; }
  .current-event-grid { grid-template-columns: 1fr; gap: 14px; }
  .current-event-card img { height: 195px; }
  .current-event-copy { min-height: 0; padding: 18px; }
  .feature-copy { padding: 24px; }
  .feature-copy > strong { margin: 14px 0 8px; }
  .feature-cta { margin-top: 20px; }
  .page-wrap { padding-top: 24px; }
  .page-heading { margin-bottom: 25px; }
  .event-layout { grid-template-columns: 1fr; gap: 18px; }
  .main-poster img { max-height: 570px; }
  .event-side { padding: 23px; }
  .poster-grid { grid-template-columns: 1fr; }
  .poster-grid-two { grid-template-columns: 1fr; }
  .notice-panel { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px; }
  .notice-icon { width: 118px; height: 118px; font-size: 4rem; }
  .notice-panel h2 { font-size: 1.6rem; }
  .contact-card { grid-template-columns: 1fr; gap: 25px; padding: 18px; }
  .contact-card img { max-width: 340px; margin: auto; }
  .contact-card > div { padding: 0 5px 8px; }
  .contact-card h2 { font-size: 1.6rem; }
  .dialog-head { padding: 12px 14px 8px; }
  .dialog-head h2 { font-size: 1.14rem; }
  .dialog-intro { padding-inline: 14px; }
  .payment-switch { gap: 8px; padding-inline: 12px; }
  .payment-switch button { padding: 9px; }
  .payment-switch strong { font-size: .82rem; }
  .qr-grid { grid-template-columns: 1fr; gap: 14px; padding: 8px 12px 12px; }
}

@media (max-width: 350px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .quick-card { padding: 11px; }
  .quick-number { font-size: .66rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button, .quick-card, .poster, .archive-links a, .hero-cover img { transition: none; }
  .action { animation: none; }
}
