/* Estilos complementarios para el Visor de la Ruleta */
.slot-item {
  width: 110px;
  min-width: 110px;
  max-width: 110px;
  height: calc(100% - 16px);
  margin: 8px 6px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  user-select: none;
}

/* Suavizado en aceleración por GPU */
#slotTrack {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Source+Sans+3:wght@700&display=swap');

:root {
  --cream: #fff1d9;
  --paper: #fffaf1;
  --ink: #183b4a;
  --muted: #59747c;
  --line: #d8e3df;
  --aqua: #71d6dc;
  --coral: #f53a45;
  --gold: #f4c94d;
  --deep: #2c5c6e;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 "Nunito", "Trebuchet MS", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--coral); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: "Source Sans 3", "Trebuchet MS", sans-serif; font-weight: 700; }
h1 { font-size: clamp(2.75rem, 10vw, 4.4rem); line-height: .98; letter-spacing: -.045em; }
h1 em { color: var(--coral); font-style: normal; }
h2 { font-size: clamp(1.8rem, 6vw, 2.25rem); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: 1.3rem; line-height: 1.15; }
p { margin: 0; }
.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.section { padding-block: 2.2rem; }
.section-heading { display: flex; flex-direction: column; gap: .45rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.section-label, .eyebrow {
  margin: 0 0 .4rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-description { max-width: 36rem; color: var(--muted); font-size: .95rem; }
.body-copy { color: var(--muted); line-height: 1.75; }
.jp-copy { margin-top: .9rem; padding-left: .8rem; border-left: 2px solid var(--aqua); color: var(--muted); font-size: .9rem; line-height: 1.8; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .65rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  color: var(--cream);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
  transition: background-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); background: var(--coral); color: white; }
.button--light { background: var(--paper); color: var(--deep); }
.button--light:hover { background: var(--gold); color: var(--deep); }
.button-row { display: flex; flex-direction: column; align-items: stretch; gap: .65rem; margin-top: 1.3rem; }
.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; flex-direction: column; flex: 0 0 auto; color: var(--deep); }
.brand-name { font-size: 1.45rem; font-weight: 800; letter-spacing: -.07em; line-height: 1; white-space: nowrap; }
.brand-star { color: var(--coral); }
.brand-tag { margin-top: .3rem; color: var(--muted); font-size: .55rem; font-weight: 800; letter-spacing: .14em; }
.desktop-nav { display: none; }
.mobile-nav { position: relative; }
.mobile-nav summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--deep);
  font-size: .85rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.menu-icon { width: 15px; height: 11px; display: inline-block; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-icon::after { content: ""; position: absolute; inset: 4px 0 auto; border-top: 2px solid currentColor; }
.mobile-nav[open] .menu-icon { border: 0; }
.mobile-nav[open] .menu-icon::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; transform: rotate(45deg); }
.mobile-nav[open] .menu-icon::after { top: 4px; transform: rotate(-45deg); }
.mobile-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + .5rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  display: grid;
  padding: .45rem .75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(24,59,74,.12);
}
.mobile-menu a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: var(--deep); font-weight: 800; }
.mobile-menu a:last-child { border-bottom: 0; }
.hero { display: grid; gap: 1.2rem; padding-block: 1.7rem 1.2rem; }
.hero-copy { padding-block: .8rem; }
.hero-copy .eyebrow { color: var(--deep); }
.hero-copy .body-copy { margin-top: 1rem; }
.hero-art {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  isolation: isolate;
  background: var(--deep);
  color: var(--cream);
}
.hero-art::before, .hero-art::after { content: ""; position: absolute; z-index: -1; border: 1px solid currentColor; border-radius: 50%; }
.hero-art::before { width: 230px; height: 230px; top: -95px; right: -30px; box-shadow: 0 0 0 17px rgba(113,214,220,.16), 0 0 0 36px rgba(113,214,220,.09); }
.hero-art::after { width: 120px; height: 120px; bottom: -70px; left: -36px; background: rgba(255,255,255,.13); }
.hero-art--singapore { background: var(--aqua); color: var(--deep); }
.hero-art--tokyo { background: var(--gold); color: var(--deep); }
.art-kicker { position: absolute; top: 1rem; left: 1rem; font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.art-symbol { position: absolute; top: 2.7rem; right: 20%; color: var(--coral); font-size: 2rem; }
.art-city { position: absolute; right: 1rem; bottom: 1rem; color: rgba(44,92,110,.17); font-size: clamp(7rem, 32vw, 11rem); font-weight: 800; letter-spacing: -.12em; line-height: .8; }
.art-caption { position: relative; z-index: 1; padding: .7rem .85rem; background: rgba(255,250,241,.9); color: var(--deep); }
.art-caption span { display: block; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.art-caption strong { display: block; margin-top: .15rem; font-family: "Source Sans 3", sans-serif; font-size: 1.45rem; line-height: 1.05; }
.event-grid, .past-grid, .event-info-grid { display: grid; grid-template-columns: 1fr; gap: .85rem; margin-top: 1rem; }
.event-card { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: .8rem; align-items: center; padding: .65rem; background: var(--paper); }
.event-card__art { min-height: 92px; display: grid; place-items: center; background: var(--aqua); color: var(--deep); font-family: "Source Sans 3", sans-serif; font-size: 1.05rem; font-weight: 700; text-align: center; }
.event-card:nth-child(2) .event-card__art { background: var(--gold); }
.event-card__meta { margin-bottom: .25rem; color: var(--coral); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-card h3 { font-size: 1.25rem; }
.event-card p:not(.event-card__meta) { margin-top: .3rem; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; color: var(--deep); font-size: .82rem; font-weight: 800; }
.past-item { padding: .95rem; background: var(--paper); }
.past-item__year { margin-bottom: .35rem; color: var(--coral); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.past-item p { margin-top: .35rem; color: var(--muted); font-size: .86rem; }
.quick-facts { display: grid; gap: 0; margin-top: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: .75rem .1rem; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact-label { display: block; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.fact strong { display: block; margin-top: .2rem; font-size: .95rem; }
.event-info-grid { margin-top: 1rem; }
.info-card { min-height: 130px; padding: 1rem; background: var(--paper); }
.info-card__number { display: block; margin-bottom: .55rem; color: var(--coral); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.info-card p { margin-top: .5rem; color: var(--muted); font-size: .88rem; }
.venue-panel { display: grid; gap: 1rem; padding: 1.1rem; background: var(--deep); color: var(--cream); }
.venue-panel h2 { color: var(--cream); }
.venue-panel .section-label { color: var(--aqua); }
.venue-panel p:last-child { margin-top: .5rem; color: rgba(255,241,217,.84); font-size: .9rem; }
.venue-map { min-height: 120px; display: grid; place-content: center; gap: .2rem; border: 1px solid rgba(255,241,217,.35); text-align: center; }
.venue-map strong { font-size: 1rem; }
.venue-map span { color: rgba(255,241,217,.78); font-size: .8rem; }
.partner-carousel { margin-top: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--deep) var(--line); }
.partner-track { min-width: 100%; display: flex; gap: .65rem; padding-bottom: .5rem; }
.partner-logo { min-height: 64px; flex: 0 0 46%; display: grid; place-items: center; scroll-snap-align: start; border: 1px dashed var(--line); background: var(--paper); color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.contact-layout { display: grid; gap: 1rem; margin-top: 1rem; }
.contact-intro { color: var(--muted); }
.contact-intro strong { display: block; margin-bottom: .3rem; color: var(--deep); }
.contact-form { display: grid; gap: .8rem; }
.form-field { display: grid; gap: .3rem; }
.form-field label { color: var(--deep); font-size: .85rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .75rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field--full { grid-column: 1 / -1; }
.contact-form .button { justify-self: stretch; }
.site-footer { display: flex; flex-direction: column; gap: .35rem; padding-block: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.site-footer__brand { color: var(--deep); font-weight: 800; }
.event-page .section { padding-block: 1.8rem; }
.event-page .hero { padding-top: 1.2rem; }
.event-page .hero-art { min-height: 210px; }
.event-page .venue-panel { margin-top: .2rem; }
.status-note { color: var(--muted); font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (min-width: 600px) {
  .container { width: min(calc(100% - 3rem), var(--content)); }
  .button-row { flex-direction: row; align-items: center; }
  .event-grid, .past-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact { padding: .55rem .7rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .fact:first-child { padding-left: 0; }
  .fact:last-child { border-right: 0; }
  .partner-logo { flex-basis: 30%; }
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form .button { justify-self: start; }
  .venue-panel { grid-template-columns: 1fr .8fr; align-items: center; }
}

@media (min-width: 760px) {
  .container { width: min(calc(100% - 4rem), var(--content)); }
  .site-header { min-height: 82px; }
  .brand-name { font-size: 1.6rem; }
  .desktop-nav { display: flex; align-items: center; gap: 1.4rem; color: var(--muted); font-size: .85rem; font-weight: 800; }
  .mobile-nav { display: none; }
  .hero { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2.2rem; padding-block: 3rem 2.2rem; }
  .hero-art { min-height: 300px; padding: 1.5rem; }
  .hero-copy .body-copy { max-width: 34rem; }
  .event-page .hero-art { min-height: 330px; }
  .event-card { grid-template-columns: 32% minmax(0, 1fr); }
  .event-card__art { min-height: 150px; }
  .partner-logo { flex-basis: 22%; }
  .contact-layout { grid-template-columns: .7fr 1.3fr; gap: 2rem; }
  .site-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .section { padding-block: 2.8rem; }
  .hero { gap: 3rem; }
  .event-info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .info-card { min-height: 170px; }
  .partner-logo { flex-basis: 18%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
