:root {
  color-scheme: light;
  --navy: #111a35;
  --navy-deep: #0a1024;
  --red: #db263b;
  --red-bright: #f34352;
  --ink: #19213a;
  --muted: #68718a;
  --paper: #fff;
  --wash: #f4f5f8;
  --line: #e2e5ec;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Figtree", "Segoe UI", sans-serif; line-height: 1.6; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; }

.skip-link { position: fixed; z-index: 50; top: 1rem; left: 1rem; padding: .7rem 1rem; color: var(--navy); background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; color: white; border-bottom: 1px solid rgba(255,255,255,.14); transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(12, 19, 41, .96); box-shadow: 0 8px 24px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: clamp(132px, 16vw, 170px); height: auto; }
.nav-menu { display: flex; align-items: center; gap: clamp(.65rem, 2vw, 1.8rem); }
.nav-menu a { padding: .6rem 0; color: rgba(255,255,255,.86); font-size: .91rem; font-weight: 600; transition: color .2s ease; }
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a[aria-current="location"] { color: white; text-decoration: underline; text-decoration-color: var(--red-bright); text-underline-offset: .55rem; }
.nav-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: flex; min-height: 720px; min-height: 100svh; align-items: center; overflow: hidden; color: white; background: var(--navy-deep) url("assets/venue.jpg") center 44% / cover no-repeat; }
.hero-video, .hero-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; object-position: center; }
.hero-shade { z-index: 0; background: linear-gradient(90deg, rgba(8,14,32,.9) 0%, rgba(8,14,32,.72) 48%, rgba(8,14,32,.25) 100%), linear-gradient(0deg, rgba(8,14,32,.7), transparent 38%); }
.hero-content { position: relative; z-index: 1; padding-top: 105px; padding-bottom: 76px; }
.eyebrow { margin: 0 0 .8rem; color: #ffb2b9; font-size: .78rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.hero h1, .section-heading h2, .kpop-copy h2, .draw-content h2 { margin: 0; font-family: "Unbounded", "Segoe UI", sans-serif; font-weight: 700; letter-spacing: -.065em; line-height: 1.05; }
.hero h1 { max-width: 850px; font-size: clamp(3.2rem, 8.4vw, 7.3rem); }
.hero h1 span { color: #fff; }
.hero-korean { margin: .6rem 0 1.4rem; color: rgba(255,255,255,.79); font-family: "Noto Sans KR", sans-serif; font-size: 1rem; letter-spacing: .08em; }
.hero-details { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: 0 0 1.4rem; font-size: 1rem; font-weight: 600; }
.hero-details strong { color: #fff; }
.hero-details span { color: #ff7f8a; }
.hero-description { max-width: 640px; margin: 0; color: rgba(255,255,255,.83); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-tagline { max-width: 700px; margin: 1.25rem 0 .75rem; color: white; font-size: .98rem; font-weight: 700; }
.hero-highlight { margin: 0 0 1.6rem; color: #ff8a95; font-size: clamp(.83rem, 1.6vw, 1.08rem); font-weight: 800; letter-spacing: .035em; }
.hero-highlight span { color: white; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: .7rem; padding: .8rem 1.45rem; border: 1px solid transparent; border-radius: 4px; font-weight: 800; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: white; background: var(--red); box-shadow: 0 9px 24px rgba(219,38,59,.24); }
.button-primary:hover, .button-primary:focus-visible { background: var(--red-bright); }

.section { padding: clamp(4.5rem, 8vw, 7.3rem) 0; }
.overview { background: #f3f4f7; }
.section-heading { margin-bottom: 2.6rem; }
.eyebrow-dark { margin-bottom: .65rem; color: var(--red); }
.section-heading h2 { color: var(--navy); font-size: clamp(2.2rem, 5vw, 3.7rem); }
.overview-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.overview-image { display: grid; align-self: center; place-items: center; overflow: hidden; background: #0754b9; }
.overview-image img { width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.event-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.event-details > div { padding: 1.1rem 1.15rem 1.25rem 0; border-bottom: 1px solid var(--line); }
.event-details > div:nth-child(even) { padding-left: 1.15rem; border-left: 1px solid var(--line); }
.event-details dt { margin-bottom: .35rem; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.event-details dd { margin: 0; color: var(--navy); font-size: 1rem; font-weight: 700; line-height: 1.45; }
.event-details > div:last-child { grid-column: 1 / -1; padding-right: 0; }

.programs { background: white; }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.program-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 20px rgba(17,26,53,.045); transition: transform .22s ease, box-shadow .22s ease; }
.program-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(17,26,53,.15); }
.program-card > img { width: 100%; height: 250px; object-fit: cover; background: var(--wash); }
.program-copy { flex: 1; padding: 1.25rem 1.15rem 1.5rem; }
.program-copy h3 { margin: 0 0 .6rem; color: var(--navy); font-family: "Unbounded", sans-serif; font-size: .98rem; letter-spacing: -.04em; line-height: 1.4; text-transform: uppercase; }
.program-copy p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

.kpop { color: white; background: var(--navy); }
.kpop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.kpop-video { position: relative; width: 100%; overflow: hidden; border-radius: 12px; background: #070b18; box-shadow: 0 20px 48px rgba(0,0,0,.24); aspect-ratio: 16 / 9; }
.kpop-video iframe, .kpop-video img { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.kpop-file-note { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; margin: 0; padding: .85rem 1rem; border-radius: 8px; color: white; background: rgba(0,0,0,.72); font-size: .95rem; line-height: 1.45; }
.video-link { justify-self: start; color: white; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.video-link:hover, .video-link:focus-visible { color: #ff8d98; }
.kpop-copy .eyebrow { color: #ff8d98; }
.kpop-copy h2 { margin-bottom: 1.25rem; color: white; font-size: clamp(2.6rem, 5.8vw, 5rem); text-transform: uppercase; }
.kpop-copy h2 span { display: block; color: #ff6674; }
.kpop-copy > p:last-child { max-width: 42rem; margin: 0; color: rgba(255,255,255,.79); font-size: clamp(1.05rem, 1.7vw, 1.2rem); }

.lucky-draw { position: relative; isolation: isolate; display: grid; min-height: 610px; align-items: center; overflow: hidden; color: white; background: var(--navy-deep); }
.draw-image, .draw-shade { position: absolute; z-index: -1; inset: 0; }
.draw-image { background: url("assets/lucky-draw-mobile-bg.png") center / cover no-repeat; }
.draw-shade { background: linear-gradient(90deg, rgba(8,14,32,.78), rgba(8,14,32,.58)); }
.draw-content { padding-top: 5rem; padding-bottom: 5rem; }
.draw-content .eyebrow { color: #ff929c; }
.draw-content h2 { max-width: 780px; font-size: clamp(2.3rem, 5.8vw, 4.8rem); }
.draw-content h2 span { display: block; color: #ff727e; }
.draw-description { max-width: 760px; margin: 1.35rem 0 1.5rem; color: rgba(255,255,255,.82); font-size: 1.02rem; }
.registration-link, .registration-link * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v18M3 12h18' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M12 3v18M3 12h18' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, crosshair !important;
  user-select: none;
}
.registration-link[aria-disabled="true"] { color: rgba(255,255,255,.75); background: #60677b; box-shadow: none; }
.registration-link[aria-disabled="true"]:hover,
.registration-link[aria-disabled="true"]:focus-visible { color: white; background: #737c94; box-shadow: 0 9px 24px rgba(0,0,0,.22); transform: translateY(-2px); }

.site-footer { padding-top: 3.5rem; color: white; background: #090f21; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr 1.3fr; gap: 3rem; padding-bottom: 2.75rem; }
.footer-brand { align-self: start; }
.footer-links, .footer-event { display: flex; align-items: flex-start; flex-direction: column; gap: .65rem; }
.footer-links h2, .footer-event h2 { margin: 0 0 .4rem; color: white; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a, .footer-bottom a { color: rgba(255,255,255,.72); font-size: .9rem; transition: color .2s ease; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-bottom a:hover, .footer-bottom a:focus-visible { color: #ff929c; }
.footer-event p { display: grid; grid-template-columns: 4rem 1fr; gap: .75rem; margin: 0; color: rgba(255,255,255,.75); font-size: .9rem; }
.footer-event strong { color: white; }
.footer-bottom { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.58); font-size: .82rem; }

@media (max-width: 1200px) {
  .lucky-draw {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
  }
  .lucky-draw .draw-image {
    display: block;
    background-position: center;
    background-size: cover;
  }
  .lucky-draw .draw-shade {
    display: block;
    background: linear-gradient(90deg, rgba(8,14,32,.94), rgba(8,14,32,.72));
  }
  .lucky-draw .draw-content {
    position: relative;
    inset: auto;
    width: min(calc(100% - 3rem), var(--content));
    max-width: var(--content);
    min-width: 0;
    margin-inline: auto;
    padding-block: 4rem;
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav { min-height: 72px; }
  .nav-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; color: white; background: rgba(255,255,255,.08); cursor: pointer; }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .site-header.is-open .nav-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu { position: absolute; inset: 72px 0 auto; display: none; align-items: stretch; gap: 0; padding: .5rem 1.5rem 1rem; background: rgba(12,19,41,.98); box-shadow: 0 14px 20px rgba(0,0,0,.2); }
  .site-header.is-open .nav-menu { display: flex; flex-direction: column; }
  .nav-menu a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-menu a:last-child { border: 0; }
  .overview-layout { grid-template-columns: 1fr; }
  .overview-image img { max-height: 620px; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpop-layout { gap: 2rem; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 2rem), var(--content)); }
  .lucky-draw .draw-content { width: min(calc(100% - 2rem), var(--content)); padding-block: 3.5rem; }
  .lucky-draw .draw-image { background-position: center; background-size: cover; }
  .lucky-draw .draw-shade { background: linear-gradient(90deg, rgba(8,14,32,.78), rgba(8,14,32,.58)); }
  .hero { min-height: 800px; min-height: 100svh; }
  .hero-content { padding-top: 100px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .hero-details { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .hero-details span { display: none; }
  .hero-highlight span { display: block; margin-top: .25rem; }
  .hero-content .button { width: 100%; }
  .section-heading { margin-bottom: 1.8rem; }
  .overview-image img { max-height: 520px; }
  .event-details { grid-template-columns: 1fr; }
  .event-details > div, .event-details > div:nth-child(even), .event-details > div:last-child { grid-column: auto; padding: .85rem 0; border-left: 0; }
  .program-grid { grid-template-columns: 1fr; gap: 1rem; }
  .program-card { display: grid; grid-template-columns: minmax(110px, .8fr) 1.2fr; align-items: stretch; }
  .program-card > img { height: 100%; min-height: 210px; }
  .program-copy { padding: 1rem; }
  .program-copy h3 { font-size: .88rem; }
  .program-copy p { font-size: .86rem; }
  .draw-content h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .draw-content .button { width: 100%; }
  .site-footer { padding-top: 2.5rem; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-bottom: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-links, .footer-event { width: 100%; }
  .footer-event p { width: 100%; grid-template-columns: 4.25rem minmax(0, 1fr); }
  .footer-bottom { min-height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
