/* Approved party design with the supplied airplane-window photograph. */
:root {
  --blue: #1E90FF;
  --navy: #0A1628;
  --navy-dark: #050D1A;
  --purple: #7B68EE;
  --white: #FFFFFF;
  --secondary: rgba(255, 255, 255, 0.7);
  --muted: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.1);
  --font: 'Outfit', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100svh;
  background: var(--navy-dark);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.5;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.event-atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky {
  position: absolute;
  inset: 30px 0 0;
  background: url('/events/2/assets/constellation-sky.svg') center 50px / max(1440px, 100%) auto no-repeat,
    radial-gradient(ellipse at 20% 55%, rgba(123, 104, 238, 0.1), transparent 43%),
    radial-gradient(ellipse at 80% 45%, rgba(30, 144, 255, 0.1), transparent 43%);
}
.horizon { position: absolute; inset: 0; height: 100%; opacity: .76; }
.horizon img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.horizon-shade {
  position: absolute;
  inset: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(5, 13, 26, .3), rgba(5, 13, 26, .24) 60%, rgba(5, 13, 26, .2));
}
.site-header { position: relative; z-index: 2; }
.header-inner {
  max-width: 1200px;
  min-height: 96px;
  padding: 20px 24px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 20px; font-weight: 600; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.breadcrumb { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--secondary); margin-left: auto; margin-right: 20px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-separator { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--white); }
.language-toggle { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid var(--line); border-radius: 999px; }
.language-toggle button { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--secondary); font-size: 14px; font-weight: 500; }
.language-toggle button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--white); }
.language-toggle button:hover { color: var(--white); }
.party-stage {
  min-height: calc(100svh - 96px);
  max-width: 1248px;
  overflow: hidden;
  margin: 0 auto;
  padding: 42px 24px 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.occasion { display: flex; align-items: center; gap: 18px; }
.occasion p { margin: 0; font-size: 14px; font-weight: 400; color: var(--secondary); }
.occasion-line { width: 40px; height: 1px; background: var(--blue); opacity: .5; }
h1 { margin: 18px 0 20px; display: flex; gap: 12px; font-size: 44px; font-weight: 500; line-height: 1.4; letter-spacing: -1.6px; }
.counter-scene { position: relative; width: min(100%, 960px); padding: 26px 0 38px; }
.travel-orbit { position: absolute; left: 50%; top: 50%; width: 100%; transform: translate(-50%, -50%); z-index: -1; }
.count-block { position: relative; z-index: 1; }
.counter-heading { margin: 0 0 8px; font-size: 16px; color: var(--white); text-shadow: 0 1px 4px var(--navy-dark); }
.count { margin: 0; font-size: 300px; line-height: 1; font-weight: 600; letter-spacing: -12px; font-variant-numeric: tabular-nums; text-shadow: 0 6px 42px rgba(30, 144, 255, .14); }
.member-label { margin: 8px 0 0; font-size: 18px; color: var(--white); text-shadow: 0 1px 4px var(--navy-dark); }
.doceny { position: absolute; right: 4px; bottom: 8px; width: 194px; height: 194px; object-fit: contain; transform: rotate(9deg); }
.update-area { display: flex; align-items: center; gap: 32px; margin-top: 24px; }
.update-details { text-align: left; }
.update-cadence { margin: 0; font-size: 14px; color: var(--white); text-shadow: 0 1px 4px var(--navy-dark); }
.updated-at { margin: 4px 0 0; font-size: 14px; color: var(--white); text-shadow: 0 1px 4px var(--navy-dark); }
.refresh-button { min-height: 48px; min-width: 132px; padding: 12px 24px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: var(--white); background: rgba(5, 13, 26, .6); font-size: 16px; font-weight: 500; }
.refresh-button:hover { border-color: var(--blue); background: rgba(30, 144, 255, .1); }
.refresh-button:active { background: rgba(30, 144, 255, .2); }
.refresh-button:disabled { cursor: wait; opacity: .65; }
.load-status { margin: 20px 0 0; font-size: 14px; color: var(--secondary); }
.load-status[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .header-inner { min-height: 80px; padding: 12px 20px; gap: 16px; }
  .brand { gap: 8px; font-size: 18px; }
  .brand img { width: 36px; height: 36px; }
  .breadcrumb { display: none; }
  .party-stage { min-height: calc(100svh - 80px); padding: 38px 20px 144px; }
  .occasion { gap: 10px; }
  .occasion p { font-size: 12px; }
  .occasion-line { width: 16px; }
  h1 { display: block; margin: 22px 0 32px; font-size: 36px; line-height: 1.32; letter-spacing: -1px; }
  h1 span { display: block; }
  .counter-scene { padding: 14px 0 24px; }
  .counter-heading { font-size: 14px; margin-bottom: 12px; }
  .count { font-size: 180px; letter-spacing: -6px; }
  .member-label { font-size: 16px; margin-top: 14px; }
  .travel-orbit { width: 580px; opacity: .8; }
  .doceny { width: 112px; height: 112px; right: -10px; bottom: -32px; transform: rotate(9deg); }
  .update-area { flex-direction: column; gap: 18px; margin-top: 40px; }
  .update-details { text-align: center; }
  .update-cadence, .updated-at { font-size: 12px; }
  .refresh-button { min-height: 48px; min-width: 124px; font-size: 14px; }
  .horizon { height: 100%; opacity: .76; }
  .horizon img { object-position: right center; }
  .horizon-shade { height: 100%; background: linear-gradient(180deg, rgba(5, 13, 26, .2), rgba(5, 13, 26, .3) 48%, rgba(5, 13, 26, .24)); }
  .sky { background-size: 740px auto, auto, auto; background-position: center 50px, center, center; }
}
@media (max-width: 340px) {
  .brand span { font-size: 16px; }
  .brand img { width: 28px; height: 28px; }
  .language-toggle { padding: 2px; }
  .language-toggle button { padding: 8px; }
  .occasion-line { display: none; }
  h1 { font-size: 32px; }
  .count { font-size: 152px; }
  .doceny { right: -8px; width: 96px; height: 96px; }
}
@media (max-height: 780px) and (min-width: 761px) {
  .party-stage { padding-top: 24px; padding-bottom: 72px; }
  h1 { font-size: 36px; margin-bottom: 12px; }
  .count { font-size: 240px; }
  .counter-scene { padding-top: 16px; padding-bottom: 20px; }
  .doceny { width: 160px; height: 160px; }
  .update-area { margin-top: 16px; }
}
