@import url("https://fonts.googleapis.com/css2?family=Limelight&family=Nunito+Sans:wght@400;600;700;800;900&display=swap");

:root {
  --black: #050505;
  --black-2: #0d0d10;
  --panel: #141419;
  --text: #f7f2e8;
  --muted: rgba(247, 242, 232, 0.72);
  --line: rgba(247, 242, 232, 0.14);
  --pink: #E84598;
  --green: #81C241;
  --yellow: #F2EE8C;
  --max: 1180px;
  --top: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(232, 69, 152, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 20%, rgba(129, 194, 65, 0.12), transparent 28rem),
    linear-gradient(180deg, #020202 0%, #09090b 48%, #050505 100%);
  color: var(--text);
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, .brand, .side-menu-links a, .lang-btn, .menu-button, .filter-btn, .card-title, .modal-title, .modal-section-title, .simple-section h1, .exhibitor-card h2 {
  font-family: "Limelight", "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
}
body.menu-open, body.modal-open { overflow: hidden; }

.top-bar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}
.top-bar.scrolled {
  background: rgba(5, 5, 5, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.brand-logo {
  width: 178px;
  max-height: 78px;
  object-fit: contain;
}
.brand-logo[src=""], .brand-logo:not([src]) { display: none; }
.side-menu-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.side-menu-links a:hover { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 0.75rem; }
.language-switch { display: flex; gap: 0.3rem; padding: 0.25rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.04); }
.lang-btn {
  min-height: 36px;
  min-width: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}
.lang-btn.active { background: var(--yellow); color: #111; }
.menu-button, .filter-btn, .modal-close, .side-menu-close {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}
.menu-button {
  width: 46px;
  min-width: 46px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  display: block;
}
.menu-button:hover, .filter-btn:hover { border-color: rgba(242,238,140,0.45); }

.side-menu { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity 180ms ease; }
.side-menu.open { pointer-events: auto; opacity: 1; }
.side-menu-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.62); }
.side-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100%;
  padding: 1.25rem;
  background: #0b0b0f;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
}
.side-menu.open .side-menu-panel { transform: translateX(0); }
.side-menu-close { width: 46px; height: 46px; float: right; font-size: 1.8rem; }
.side-menu-links { clear: both; display: grid; gap: 1rem; padding-top: 3rem; font-size: clamp(1.6rem, 6vw, 3rem); }

.side-menu-socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.2rem;
}
.side-menu-socials a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
}
.side-menu-socials a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 105%, #fdf497 0%, #fdf497 22%, #fd5949 44%, #d6249f 68%, #285AEB 100%);
}
.side-menu-socials a[aria-label="Facebook"] {
  background: #1877F2;
}
.side-menu-socials a:hover {
  border-color: rgba(255,255,255,0.42);
  transform: translateY(-1px) scale(1.04);
}
.side-menu-socials svg {
  width: 23px;
  height: 23px;
  display: block;
}

.side-menu-boots {
  width: min(300px, 62vw);
  height: auto;
  object-fit: contain;
  margin: auto auto 1.2rem;
  align-self: center;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,0.5));
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(232,69,152,0.25), transparent 35rem),
    radial-gradient(circle at 22% 80%, rgba(129,194,65,0.16), transparent 28rem),
    #050505;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  background: #050505;
  transform: none;
  will-change: auto;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.26) 0%, rgba(0,0,0,0.32) 58%, rgba(5,5,5,0.82) 88%, #050505 100%),
    rgba(0,0,0,0.2);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: calc(var(--top) + 2rem) 0 2rem;
  text-align: center;
  transform: translateY(-8vh);
}
.hero-logo { width: min(680px, 82vw); margin: 0 auto; object-fit: contain; filter: drop-shadow(0 22px 46px rgba(0,0,0,0.75)); }
.hero-date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 0.65rem 1.9rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 5.8vw, 3.15rem);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow);
}

.program-section, .simple-section { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.program-section { padding: clamp(3.2rem, 6vw, 5.4rem) 0 clamp(4rem, 8vw, 7rem); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-heading h2, .simple-section h1 { margin: 0 0 0.8rem; font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 0.98; letter-spacing: -0.02em; }
.section-heading p { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; }
.filters { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 2rem 0 2.4rem; }
.filter-btn { padding: 0 1rem; color: var(--muted); font-weight: 900; }
.filter-btn.active { background: var(--pink); border-color: var(--pink); color: white; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.program-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.program-card:hover { transform: translateY(-4px); border-color: rgba(242,238,140,0.45); background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045)); }
.card-image-wrap { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, rgba(232,69,152,0.2), rgba(129,194,65,0.14)); }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.program-card:hover .card-image { transform: scale(1.04); }
.card-body { padding: 1rem; }
.card-title { margin: 0 0 0.8rem; font-size: 1.35rem; line-height: 1.05; letter-spacing: -0.015em; }
.card-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.85rem; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 0.65rem; border-radius: 999px; background: rgba(242,238,140,0.12); border: 1px solid rgba(242,238,140,0.18); color: var(--yellow); font-size: 0.78rem; font-weight: 900; }
.card-summary { margin: 0; color: var(--muted); line-height: 1.48; }
.empty-state { color: var(--muted); font-size: 1.1rem; }
.day-flyer {
  margin: 0 0 1.35rem;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
}
.day-flyer-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}


.playful-logo-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 8vw, 5rem);
  display: flex;
  justify-content: center;
}
.playful-logo {
  width: min(420px, 70vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,0.55));
}


.program-modal { position: fixed; inset: 0; z-index: 80; display: none; }
.program-modal.open { display: block; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.72); }
.modal-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background:
    radial-gradient(circle at 80% 10%, rgba(232,69,152,0.18), transparent 34rem),
    radial-gradient(circle at 20% 65%, rgba(129,194,65,0.11), transparent 30rem),
    #070708;
}
.modal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(12px);
}
.modal-image-wrap { width: 100%; min-height: 42vh; max-height: 68vh; background: #111; overflow: hidden; }
.modal-image { width: 100%; height: min(68vh, 720px); object-fit: cover; }
.modal-content { width: min(960px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem) 0 5rem; }
.modal-type { display: inline-flex; margin: 0 0 0.8rem; padding: 0.4rem 0.75rem; border-radius: 999px; background: var(--green); color: #071007; font-weight: 950; }
.modal-content h2 { margin: 0; font-size: clamp(2.7rem, 8vw, 7rem); line-height: 0.92; letter-spacing: -0.07em; }
.modal-meta { color: var(--yellow); font-weight: 900; font-size: 1.1rem; }
.modal-description, #modalExtra { color: rgba(247,242,232,0.84); white-space: pre-line; line-height: 1.7; font-size: 1.05rem; }
.modal-description { margin-top: 2rem; }
.modal-block { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.modal-block h3 { margin: 0 0 0.9rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.modal-events-block {
  border-top: 0;
  padding-top: 0;
}
#modalOccurrences {
  display: grid;
  gap: 0.75rem;
}
.occurrence {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(242,238,140,0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242,238,140,0.105), rgba(255,255,255,0.045));
}
.occurrence span { color: rgba(247,242,232,0.82); }
.modal-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.modal-links a { padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 900; color: var(--yellow); }

.simple-page { min-height: 100vh; padding: calc(var(--top) + 4rem) 0 5rem; }
.simple-section { max-width: 900px; }
.plain-text {
  color: rgba(247,242,232,0.86);
  line-height: 1.75;
  font-size: 1.06rem;
}
.plain-text p:first-child { margin-top: 0; }
.plain-text a { color: var(--yellow); font-weight: 900; }
.exhibitor {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.055);
  padding: clamp(1.2rem, 4vw, 2.2rem);
  color: rgba(247,242,232,0.86);
  line-height: 1.65;
}
.exhibitor a { color: var(--yellow); font-weight: 900; }
.exhibitor-list { display: grid; gap: 1rem; }
.exhibitor h2 { margin: 0 0 0.4rem; font-size: 1.35rem; }
.exhibitor p { margin: 0.2rem 0 0.7rem; color: var(--muted); }

@media (max-width: 900px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  :root { --top: 68px; }
  .brand-logo { width: 122px; max-height: 58px; }
  .top-bar { padding-inline: 0.8rem; }
  .top-actions { gap: 0.45rem; }
  .lang-btn { min-width: 38px; }
  .hero { height: 100vh; min-height: 100svh; }
  .hero-content { min-height: 100%; padding-bottom: 2rem; transform: translateY(-5vh); }
  .hero-logo { width: min(540px, 88vw); }
  .hero-date-pill { min-height: 54px; }
  .program-grid { grid-template-columns: 1fr; }
  .occurrence { grid-template-columns: 1fr; gap: 0.2rem; }
  .modal-image-wrap { min-height: 32vh; }
  .modal-image { height: 42vh; }
}
