:root {
  --poly-blue: #009fe3;
  --poly-magenta: #e50051;
  --poly-gold: #fcbf00;
  --poly-purple: #340c46;
  --poly-white: #ffffff;
  --poly-cream: #fff9f2;
  --text: #2b004d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(0, 159, 227, 0.16), transparent 28%),
    radial-gradient(circle at bottom, rgba(229, 0, 81, 0.12), transparent 30%),
    var(--poly-cream);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--poly-purple), var(--poly-blue));
  color: #fff;
}

.hero .btn {
  margin-top: 1.5rem;
}

.hero-image {
  display: block;
  margin: 40px auto;
  width: 80%;
  max-width: 900px;
  height: auto;
  border-radius: 12px;
}

.polyfest-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.img-zoom-link img {
  cursor: zoom-in;
}

.linklike {
  background: transparent;
  border: 0;
  color: #e50051;
  cursor: pointer;
  font-weight: 700;
}

/* Merch gallery */
.merch-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  justify-items: center;
  align-items: start;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.merch-item {
  text-align: center;
  color: #222;
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

.merch-item img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: zoom-in;
}

.merch-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.merch-item figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #444;
}

.merch-item figcaption br {
  display: none;
}

@media (max-width: 600px) {
  .merch-item figcaption {
    font-size: 0.85rem;
  }

  .merch-item figcaption br {
    display: inline;
  }
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  cursor: zoom-out;
}

/* Mini calendar */
.mini-cal__wrap {
  --event-orange: #ff7a00;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  padding: 12px;
  max-width: 640px;
}

.mini-cal__header {
  font-weight: 800;
  color: #2b004d;
  text-align: center;
  margin-bottom: 6px;
}

.mini-cal__dow {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 6px;
  font-size: 12px;
  color: #777;
  text-align: center;
}

.mini-cal__grid {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 6px;
  margin-top: 6px;
}

.mini-cal__cell {
  min-height: 56px;
  background: #f8f5ff;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  font-size: 14px;
}

.mini-cal__cell--muted {
  background: #f2f3f7;
  color: #999;
}

.mini-cal__day {
  font-weight: 700;
  font-size: 13px;
  opacity: .9;
}

.mini-cal__cell--event::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 4px;
  background: var(--event-orange);
  border-radius: 2px;
}

.mini-cal__legend {
  margin-top: 8px;
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-cal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--event-orange);
  display: inline-block;
}

/* FAQ */
.faq-section details {
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
}

.faq-section summary,
details summary {
  font-weight: 700;
  cursor: pointer;
  margin: .5rem 0;
}

.text-sm {
  font-size: 0.875rem;
}

/* Contact and forms */
.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.contact-details li {
  margin: 0.5rem 0;
  padding: 0.5rem;
}

.form-group {
  margin: 1rem 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

fieldset {
  border: none;
  padding: 0;
  margin: 1rem 0;
}

.checkbox {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}

.checkbox input {
  margin-right: 0.5rem;
}

#subscribe-success {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0fff4;
  border: 1px solid #38a169;
  color: #38a169;
  border-radius: 4px;
}

.about-section {
  max-width: 750px;
  margin: 3rem auto;
  text-align: center;
}

.about-section h2 {
  font-size: clamp(3.2rem, 6vw, 4rem);
  font-weight: 1000;
  letter-spacing: .04em;
  color: var(--poly-purple);
  margin: 0 0 1.2rem;
}

.about-link {
  font-weight: 600;
  text-decoration: underline;
  color: #2b004d;
  cursor: pointer;
}

.about-link:hover {
  color: var(--poly-magenta);
}

.about-list li {
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 0.35rem;
  color: #2b004d;
}

.about-list li:hover {
  color: var(--poly-magenta);
}

.preparation details {
  margin: 1rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.preparation summary {
  font-weight: 700;
}

.preparation ul,
.calendar ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.calendar li {
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-gold {
  background: var(--poly-gold);
  color: #000;
}

.btn-primary {
  background: var(--poly-blue, #0077ff);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.btn-ig {
  background: #833ab4;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.btn-telegram {
  background: #229ed9;
  color: white;
}

.btn-conduct {
  background: #a6d8ff;
  color: #002b4e;
  font-weight: 700;
}

.btn-conduct:hover {
  background: #8ccbff;
}

.btn-apply {
  background: var(--poly-gold);
  color: #1a1200;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 1rem 1.6rem;
  border-radius: 9999px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.btn-ghost {
  background: #ffffff;
  color: var(--poly-purple);
  border: 2px solid rgba(255,255,255,0.9);
  font-weight: 800;
  padding: 0.9rem 1.4rem;
  border-radius: 9999px;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-1px);
}

.ig-icon,
.icon-telegram {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}

.soldout-btn {
  white-space: nowrap;
}

/* Layout helpers */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

img.placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #eaeaea;
  border: 2px dashed #ccc;
  object-fit: cover;
}

.buttons-row,
.triple-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

/* Add to cart */
.add-to-cart {
  background: var(--poly-magenta, #e50051);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s ease;
}

.add-to-cart:hover {
  background: var(--poly-blue, #0077ff);
}

#cart-count {
  color: var(--poly-magenta, #e50051);
  font-weight: 700;
  margin-left: 4px;
}

/* Nov calendar */
.nov-cal {
  --event: #ff7a00;
  --ink: #2b004d;
  --grid-bg: #f8f5ff;
  --muted: #f2f3f7;
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
}

.nov-cal h2 {
  margin: 0 0 .5rem;
  font-weight: 800;
  color: var(--ink);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(40px, 1fr));
  gap: 6px;
}

.cal-head > div {
  text-align: center;
  font-size: .85rem;
  color: #777;
  font-weight: 600;
}

.cal-body .day,
.cal-body .blank {
  min-height: 72px;
  border-radius: 12px;
  background: var(--grid-bg);
  padding: 8px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.cal-body .blank {
  background: var(--muted);
}

.cal-body .day > span {
  font-weight: 800;
  font-size: .95rem;
  opacity: .9;
}

.cal-body .day.event {
  cursor: pointer;
}

.cal-body .day.event::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 5px;
  background: var(--event);
  border-radius: 3px;
}

.cal-body .day.event i {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 14px;
  font-size: .75rem;
  color: #333;
  opacity: .9;
  font-style: normal;
}

.cal-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: #444;
  margin-top: .5rem;
}

.cal-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--event);
  display: inline-block;
}

/* Workshops */
.workshops-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.workshops-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.workshops-sidebar h2 {
  margin: 0 0 .5rem 0;
  font-size: 1.1rem;
}

.ws-item + .ws-item {
  margin-top: .25rem;
}

.ws-link {
  display: block;
  padding: .65rem .75rem;
  border-radius: 12px;
  text-decoration: none;
  background: #f7f7fb;
  border: 2px solid transparent;
  transition: all 0.15s ease;
}

.ws-link:hover {
  background: #ffffff;
  border-color: var(--poly-blue);
  transform: translateY(-1px);
}

.ws-link.is-active {
  background: var(--poly-magenta);
  color: #ffffff;
  border-color: var(--poly-magenta);
  box-shadow: 0 6px 16px rgba(229,0,81,0.25);
}

.ws-link.is-active .ws-title,
.ws-link.is-active .ws-meta-mini {
  color: #ffffff;
}

.contact-us .ws-link.is-active {
  background: var(--poly-blue);
  border-color: var(--poly-blue);
}

.venues .ws-link.is-active {
  background: var(--poly-gold);
  border-color: var(--poly-gold);
  color: #1a1200;
}

.venues .ws-link.is-active .ws-title,
.venues .ws-link.is-active .ws-meta-mini {
  color: #1a1200;
}

.team .ws-link.is-active {
  background: var(--poly-purple);
  border-color: var(--poly-purple);
}

.ws-title {
  font-weight: 600;
  color: #222;
  line-height: 1.2;
}

.ws-meta-mini,
.ws-meta {
  color: #666;
}

.ws-empty {
  padding: .5rem;
  color: #777;
}

.ws-tip {
  margin-top: .6rem;
  font-size: .85rem;
  color: #888;
}

.ws-detail {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.ws-detail-inner {
  max-width: 820px;
}

.ws-detail-header {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.ws-image,
.workshop-example img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background-color: #f3f3f3;
  max-height: 320px;
}

.workshop-example {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.ws-presenter,
.ws-description {
  margin-top: 1rem;
}

.ws-presenter h4,
.ws-description h4 {
  margin: 0 0 .35rem 0;
}

.ws-presenter-bio {
  color: #444;
}

.ws-presenter .ws-presenter-img {
  float: left;
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 .5rem .25rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  opacity: 0.95;
}

.ws-presenter::after {
  content: "";
  display: block;
  clear: both;
}

.ws-presenter-images {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.ws-presenter-img {
  width: 150px !important;
  min-height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* CSS-only lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
  overflow: hidden;
}

.lightbox:target,
.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  font-size: 1.8rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  z-index: 1001;
}

/* Poly Fest schedule */
.pf-schedule {
  --poly-blue: #0057b7;
  --poly-red: #d52b1e;
  --poly-black: #111111;
  --poly-gold: #f5c542;
  --ink: #1f1f1f;
  --muted: #f7f7f9;
  --row-alt: #fff;
  --row-lunch: #fffce6;
  --row-chill: #f3f8ff;
  --row-coffee: #fff6f2;

  margin: 2rem 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  background: #fff;
}

.pf-schedule__heading {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1fr;
  align-items: stretch;
  color: #fff;
  font-weight: 800;
}

.pf-schedule__heading > div {
  padding: .9rem .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.22);
}

.pf-schedule__heading > div:last-child {
  border-right: 0;
}

.pf-schedule__heading--time {
  background: var(--poly-black);
}

.pf-schedule__heading--room1 {
  background: var(--poly-red);
}

.pf-schedule__heading--room2 {
  background: var(--poly-blue);
}

.pf-schedule__heading--room3 {
  background: linear-gradient(90deg, var(--poly-blue) 0%, var(--poly-red) 100%);
}

.pf-schedule__row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1fr;
  border-top: 1px solid #eee;
}

.pf-schedule__time {
  font-weight: 700;
  padding: .8rem;
  background: #fff;
  border-right: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pf-schedule__cell {
  padding: .85rem .9rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  border-right: 1px solid #eee;
  background: var(--row-alt);
}

.pf-schedule__cell:last-child {
  border-right: 0;
}

.pf-tag {
  display: inline-block;
  font-size: .82rem;
  font-weight: 800;
  padding: .2rem .5rem;
  border-radius: .5rem;
  margin-right: .5rem;
  color: #fff;
}

.pf-tag--chill {
  background: var(--poly-blue);
  color: #fff;
  font-size: .8rem;
  padding: .25rem .6rem;
  border-radius: .5rem;
}

.pf-tag--entry {
  background: var(--poly-black);
}

.pf-tag--coffee {
  background: var(--poly-red);
}

.pf-tag--talk {
  background: var(--poly-gold);
  color: #1d1600;
}

.pf-row--lunch .pf-schedule__cell,
.pf-row--lunch .pf-schedule__time {
  background: var(--row-lunch);
  color: #2b004d;
  font-weight: 700;
}

.pf-row--chill .pf-schedule__cell {
  background: var(--row-chill);
}

.pf-row--coffee .pf-schedule__cell {
  background: var(--row-coffee);
}

.pf-title {
  font-weight: 700;
}

.pf-meta {
  color: #555;
  font-size: .92rem;
}

.poly-party-text {
  font-weight: 400 !important;
}

.poly-party-text b {
  font-weight: 700 !important;
}

.pf-lines > div + div {
  margin-top: .25rem;
}

.pf-row--lunch .pf-title {
  display: inline-block;
  background: #5a189a;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pf-row--lunch .pf-schedule__cell {
  justify-content: center;
}

.pf-row--lunch .pf-schedule__cell:nth-child(3) {
  justify-content: flex-start;
}

.pf-opening {
  text-align: center;
  font-weight: 900;
  font-size: 1.35rem;
  color: #fff8dc;
  text-shadow: 0 0 6px #ffea00, 0 0 12px #ffd000, 0 0 18px #ffc800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #4b0082, #6a1b9a);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

/* PolyFest banner */
.polyfest-image-banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 0 auto 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Schedule note */
.schedule-note {
  font-style: italic;
  font-weight: bold;
  color: orange;
  text-align: right;
  display: block;
  margin-top: 2%;
}

/* Info table */
.pf-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.pf-info-table th {
  background: linear-gradient(90deg, #0057b7, #d52b1e);
  color: #fff;
  padding: 1rem;
  font-size: 1.1rem;
  text-align: left;
  font-weight: 800;
}

.pf-info-table td {
  padding: 1rem 1.2rem;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}

.pf-info-table tr:last-child td {
  border-bottom: none;
}

.pf-info-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.pf-info-table p {
  margin: 0 0 .5rem;
}

#entry-note {
  text-align: left !important;
  display: block;
}

/* Party section */
.party-description {
  margin: 2rem 0;
  position: relative;
  padding-left: 120px;
  min-height: 80px;
}

.party-flag {
  width: 90px;
  position: absolute;
  left: 0;
  top: 10px;
  border-radius: 10px;
}

.party-section {
  margin-bottom: 1.7rem;
}

.party-heading {
  font-weight: 800;
  color: #d52b1e;
  font-size: 1.2rem;
  margin: 0 0 0.3rem 0;
}

.party-section p {
  margin: 0;
  font-weight: 400;
  line-height: 1.45;
  color: #222;
}

/* Parking box */
.pf-parking-box {
  margin: 2rem auto;
  padding: 1.3rem 1.6rem;
  background: #f2f0ff;
  border-left: 6px solid #d52b1e;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 700px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.pf-parking-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.pf-parking-text {
  font-size: 1rem;
  color: #222;
  line-height: 1.45;
}

.pf-parking-text strong {
  color: #0057b7;
}

/* Subscribe form */
.pf-subscribe {
  margin: 3rem 0 2rem;
  display: flex;
  justify-content: center;
}

.pf-subscribe-card {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border: 2px solid rgba(0, 159, 227, 0.18);
  border-radius: 18px;
  padding: 1.6rem 1.6rem 1.2rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

.pf-subscribe-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--poly-blue),
    var(--poly-magenta),
    var(--poly-gold),
    var(--poly-purple)
  );
}

.pf-subscribe-card h2 {
  margin-top: .4rem;
  margin-bottom: .3rem;
  font-size: 1.6rem;
  color: var(--poly-purple);
  font-weight: 900;
  letter-spacing: .2px;
}

.pf-subscribe-sub {
  color: #4a4a4a;
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.pf-form {
  display: grid;
  gap: .9rem;
}

.pf-form-row label {
  display: block;
  font-weight: 800;
  color: #2b004d;
  margin: 0 0 .35rem 0;
}

.pf-form-row input[type="text"],
.pf-form-row input[type="email"] {
  width: 100%;
  padding: .75rem .9rem;
  border-radius: 12px;
  border: 1.5px solid #e6e6ea;
  background: #fafafc;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.pf-form-row input:focus {
  outline: none;
  border-color: var(--poly-blue);
  box-shadow: 0 0 0 3px rgba(0,159,227,.12);
  background: #fff;
}

.pf-fieldset {
  border: 1.5px dashed rgba(52,12,70,0.25);
  padding: .9rem;
  border-radius: 12px;
  background: #fcfbff;
}

.pf-fieldset legend {
  font-weight: 900;
  color: var(--poly-purple);
  padding: 0 .4rem;
}

.pf-checkbox {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .45rem 0;
  font-size: .98rem;
  color: #222;
}

.pf-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--poly-magenta);
}

.pf-consent {
  margin-top: .2rem;
  padding-top: .6rem;
  border-top: 1px solid #eee;
  font-size: .95rem;
}

.pf-form-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: .2rem;
}

.pf-subscribe-btn {
  background: var(--poly-magenta);
  color: #fff;
  font-weight: 900;
}

.pf-subscribe-status {
  font-size: .95rem;
  font-weight: 700;
  color: #2b004d;
}

/* Gallery */
.pf-gallery {
  margin: 2.5rem 0;
}

.pf-gallery-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--poly-purple);
  margin: 0 0 1rem;
  text-align: center;
}

.pf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 10px;
  grid-auto-flow: dense;
  gap: 12px;
}

.pf-gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  cursor: zoom-in;
}

.pf-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  transition: transform 0.25s ease;
}

.pf-gallery-item:hover img {
  transform: scale(1.03);
}

.pf-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 2rem;
}

.pf-lightbox.open {
  display: flex;
}

.pf-lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  cursor: zoom-out;
  touch-action: pan-y;
}

.pf-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
  font-weight: 900;
}

/* Subscribe box */
.subscribe-box {
  max-width: 650px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f8f2ff;
  border-radius: 18px;
  border: 3px solid var(--poly-gold);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.subscribe-box h2 {
  margin-top: 0;
  text-align: center;
}

.subscribe-box p {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #4a2c82;
  font-size: 1.05rem;
  font-weight: 500;
}

.subscribe-box .form-group {
  margin-bottom: 1rem;
}

.subscribe-box label {
  display: block;
  font-weight: 700;
  margin-bottom: .3rem;
}

.subscribe-box input[type="text"],
.subscribe-box input[type="email"] {
  width: 100%;
  padding: .6rem .8rem;
  border-radius: 10px;
  border: 2px solid #c7b8e6;
  background: #fff;
  font-size: 1rem;
}

.subscribe-box input[type="text"]:focus,
.subscribe-box input[type="email"]:focus {
  border-color: var(--poly-magenta);
  outline: none;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}

.subscribe-box button {
  margin-top: 1rem;
  width: 100%;
  font-size: 1.1rem;
  padding: 0.9rem;
  border-radius: 12px;
}

/* Page nav */
.pf-page-nav {
  position: fixed;
  right: 18px;
  top: 120px;
  width: 210px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: .9rem .9rem .7rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  z-index: 900;
  font-size: .95rem;
}

.pf-page-nav__title {
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  font-weight: 800;
  color: #2b004d;
}

.pf-page-nav__list,
.pf-nav-sheet__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.pf-page-nav__list a {
  text-decoration: none;
  color: #333;
  padding: 6px 8px;
  border-radius: 8px;
  display: block;
  line-height: 1.25;
}

.pf-page-nav__list a:hover {
  background: #f7f2ff;
}

.pf-page-nav__list a.is-active {
  font-weight: 800;
  color: var(--poly-magenta);
  background: #fff3f8;
  border-left: 4px solid var(--poly-magenta);
}

.pf-nav-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  border: 0;
  padding: .8rem 1rem;
  border-radius: 9999px;
  font-weight: 800;
  background: var(--poly-gold);
  color: #000;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  display: none;
  cursor: pointer;
}

.pf-nav-sheet {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  z-index: 1100;
}

.pf-nav-sheet.open {
  display: block;
}

.pf-nav-sheet__inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 1rem;
  max-height: 70vh;
  overflow-y: auto;
}

.pf-nav-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
  font-size: 1.05rem;
}

.pf-nav-sheet__close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.pf-nav-sheet__list a {
  display: block;
  padding: .9rem;
  border-radius: 10px;
  background: #f7f7fb;
  color: #111;
  text-decoration: none;
  font-weight: 700;
}

/* February calendar */
.pf-cal {
  margin: 2rem 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  overflow: hidden;
}

.pf-cal__head {
  padding: 1.1rem 1.2rem;
  background: linear-gradient(90deg, var(--poly-purple), var(--poly-blue));
  color: #fff;
}

.pf-cal__head h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: .5px;
}

.pf-cal__sub {
  margin: .25rem 0 0;
  opacity: .9;
}

.pf-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: #fff;
}

.pf-cal__dow {
  text-align: center;
  font-weight: 800;
  font-size: .85rem;
  color: #6b6b6b;
  padding: 6px 0;
}

.pf-cal__cell {
  min-height: 76px;
  border-radius: 14px;
  background: #f8f5ff;
  border: 1px solid #eee;
  padding: 10px;
  position: relative;
  text-align: left;
}

.pf-cal__cell--blank {
  background: #f2f3f7;
  border-style: dashed;
  opacity: .6;
}

.pf-cal__num {
  font-weight: 900;
  color: #2b004d;
  font-size: .95rem;
}

.pf-cal__cell--event {
  cursor: pointer;
  background: linear-gradient(180deg, rgba(229,0,81,.10), rgba(0,159,227,.10));
  border: 2px solid rgba(229,0,81,.35);
  transition: transform .08s ease, box-shadow .2s ease;
  transform: scale(1.05);
  z-index: 2;
}

.pf-cal__cell--event:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.pf-cal__badge {
  position: absolute;
  top: 21px;
  right: 0px;
  background: #e53935;
  color: white;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-block;
}

.pf-cal__badge--deadline {
  background: #ffd166;
  color: #2f2f2f;
}

.pf-cal__label {
  display: block;
  margin-top: 8px;
  font-weight: 800;
  font-size: .8rem;
  color: #3a2a55;
  line-height: 1.15;
}

.pf-eventbox {
  border-top: 1px solid #eee;
  background: #fff;
}

.pf-eventbox__inner {
  padding: 1rem 1.2rem 1.4rem;
}

.pf-eventbox__title {
  margin: .2rem 0 .4rem;
  font-weight: 900;
  color: #2b004d;
}

.pf-eventbox__hint {
  margin: 0 0 1rem;
  color: #444;
}

.pf-details {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: .65rem .8rem;
  background: #fff9f2;
  margin-bottom: .75rem;
}

.pf-details summary {
  cursor: pointer;
  font-weight: 900;
  color: #2b004d;
}

.pf-details__body {
  padding: .7rem .2rem .2rem;
  color: #333;
}

.pf-link-btn {
  display: inline-block;
  background: var(--poly-magenta);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: .55rem .9rem;
  border-radius: 999px;
}

.pf-link-btn:hover {
  filter: brightness(0.95);
}

/* Big points */
.big-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.big-points li {
  position: relative;
  padding: 1rem 1.2rem 1rem 3rem;
  background: #ffffff;
  border: 1px solid rgba(52,12,70,0.12);
  border-radius: 16px;
  font-size: 1.1rem;
  line-height: 1.45;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.big-points li::before {
  content: "●";
  position: absolute;
  left: 1.2rem;
  top: 1.05rem;
  font-size: 1.3rem;
  color: var(--poly-magenta);
}

.big-points b {
  color: var(--poly-purple);
}

.fun-note {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ff7a00;
  background: rgba(0,159,227,0.12);
  border-left: 5px solid var(--poly-blue);
  padding: .85rem 1.1rem;
  border-radius: 10px;
}

.section-title {
  display: inline-block;
  font-size: clamp(3rem, 6vw, 4.2rem);
  font-weight: 1000;
  letter-spacing: 0.04em;
  color: #ff7a00;
  background: linear-gradient(
    90deg,
    rgba(255,122,0,0.18),
    rgba(255,196,0,0.18)
  );
  padding: 0.4rem 1.4rem 0.5rem;
  border-radius: 18px;
  margin: 0 auto 1.6rem;
  text-align: center;
}

/* Venues */
.venues-table {
  width: 100%;
  max-width: 900px;
  margin: 1.5rem auto 0;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.venues-table th,
.venues-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
}

.venues-table thead th {
  background: linear-gradient(90deg, var(--poly-purple), var(--poly-blue));
  color: #ffffff;
  font-weight: 800;
}

.venues-table tbody tr:nth-child(even) {
  background: #f8f6fc;
}

.venues-table a {
  color: var(--poly-magenta);
  font-weight: 700;
  text-decoration: none;
}

.venues-table a:hover {
  text-decoration: underline;
}

/* Team */
.team-detail {
  text-align: center;
}

.team-avatar-round {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.team-role {
  font-weight: 700;
  color: var(--poly-magenta);
  margin-bottom: 0.8rem;
}

/* Linktree page */
.linktree-page {
  min-height: calc(100vh - 160px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 20px 56px;
}

.linktree-card {
  width: 100%;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(52, 12, 70, 0.08);
  border-radius: 32px;
  padding: 32px 22px 28px;
  box-shadow: 0 18px 50px rgba(52, 12, 70, 0.12);
  backdrop-filter: blur(8px);
}

.linktree-top {
  text-align: center;
  margin-bottom: 28px;
}

.linktree-logo {
  width: 440px;
  height: 440px;
  margin: 0 auto;
  padding: 0;
  display: block;
  object-fit: contain;
  border: none;
}

.linktree-top h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
  color: var(--poly-purple);
}

.linktree-intro {
  margin: 0 auto 12px;
  max-width: 560px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--poly-magenta);
}

.linktree-text {
  margin: 0 auto;
  max-width: 600px;
  font-size: 1rem;
  color: rgba(43, 0, 77, 0.88);
}

.linktree-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.linktree-link {
  display: block;
  text-decoration: none;
  background: var(--poly-white);
  border: 2px solid rgba(52, 12, 70, 0.08);
  border-radius: 999px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.linktree-link:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 159, 227, 0.28);
}

.linktree-link__title {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--poly-purple);
}

.linktree-link__meta {
  display: block;
  margin-top: 4px;
  font-size: 0.96rem;
  color: rgba(43, 0, 77, 0.78);
}

.linktree-link__note {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(229, 0, 81, 0.1);
  color: var(--poly-magenta);
  font-size: 0.84rem;
  font-weight: 800;
}

.linktree-link--highlight {
  background: linear-gradient(
    135deg,
    #e0f2fe,
    #bfdbfe
  );
  border-color: rgba(0, 102, 255, 0.3);
}

.linktree-link--placeholder {
  background: linear-gradient(
    135deg,
    rgba(0, 159, 227, 0.08),
    rgba(255, 255, 255, 0.96)
  );
  border-style: dashed;
}

.linktree-footer-note {
  text-align: center;
  margin-top: 24px;
}

.linktree-footer-note p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(43, 0, 77, 0.7);
}

/* Responsive */
@media (max-width: 980px) {
  .workshops-wrap {
    grid-template-columns: 1fr;
  }

  .workshops-sidebar {
    position: static;
  }

  .ws-list {
    max-height: none;
  }

  .ws-detail-header {
    grid-template-columns: 1fr;
  }

  .ws-image {
    height: 200px;
  }

  .pf-page-nav {
    display: none;
  }

  .pf-nav-fab {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .pf-schedule__heading {
    display: none;
  }

  .pf-schedule__row {
    grid-template-columns: 1fr;
    border: 1px solid #eee;
    border-radius: 12px;
    margin: .75rem 1px;
    overflow: hidden;
  }

  .pf-schedule__time {
    justify-content: flex-start;
    background: var(--poly-black);
    color: #fff;
    border-right: 0;
  }

  .pf-schedule__cell {
    border-right: 0;
    border-top: 1px solid #eee;
  }

  .pf-schedule__cell::before {
    content: attr(data-room);
    display: inline-block;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .02em;
    color: #333;
    background: #f2f2f6;
    padding: .18rem .5rem;
    border-radius: .4rem;
    margin-right: .6rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .polyfest-image-banner {
    max-width: 95%;
    margin: 0 auto 1.5rem;
    border-radius: 10px;
  }
}

@media (max-width: 700px) {
  .pf-info-table th,
  .pf-info-table td {
    display: block;
    width: 100%;
  }

  .pf-info-img {
    margin-top: .5rem;
  }

  .party-description {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    min-height: auto;
  }

  .party-flag {
    position: static;
    width: 60%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .linktree-page {
    padding: 28px 14px 34px;
    align-items: flex-start;
  }

  .linktree-card {
    border-radius: 24px;
    padding: 24px 16px 22px;
  }

  .linktree-logo {
    width: 380px;
    height: 380px;
    margin: 0 auto;
    padding: 0;
  }

  .linktree-link {
    padding: 16px 18px;
    border-radius: 28px;
  }

  .linktree-link__title {
    font-size: 1rem;
  }

  .linktree-link__meta {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .buttons-row,
  .triple-buttons,
  .pf-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pf-subscribe-card {
    padding: 1.2rem;
    border-radius: 14px;
  }

  .pf-subscribe-card h2 {
    font-size: 1.4rem;
  }

  .pf-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .pf-parking-box {
    flex-direction: row;
    padding: 1rem;
  }

  .pf-parking-icon {
    font-size: 2rem;
  }
}

@media (max-width: 520px) {
  .ws-presenter .ws-presenter-img {
    float: none;
    display: block;
    margin: 0 auto .4rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .cal-body .day,
  .cal-body .blank {
    min-height: 56px;
  }

  .polyfest-image {
    border-radius: 10px;
  }

  .polyfest-image-banner {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .pf-cal__grid {
    gap: 8px;
  }

  .pf-cal__cell {
    min-height: 64px;
    padding: 8px;
  }

  .pf-cal__label {
    display: none;
  }
}
/* ===== NEW HEADER/FOOTER STYLES (Vanilla HTML) ===== */

/* Header - Site Navigation */
.site-header {
  display: block;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #00AEEF, #E50051, #2B004D);
  color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 62px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  color: #FFF;
  text-decoration: none;
  font-weight: 700;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #FFCC00;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #E50051;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .header-container {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 1rem;
    width: 100%;
  }

  .nav-link {
    font-size: 0.95rem;
  }
}

/* Footer - Site */
.site-footer {
  display: block;
  width: 100%;
  background: var(--poly-purple);
  color: var(--poly-white);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--poly-white);
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.85;
}
