/* ============================================================
   Brussels Textiles Forum — Landing Page Styles
   Typography: Urbanist (body 16px), Bebas Neue (headlines 49px)
   ============================================================ */

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2d2d2d;
  background: #f6f6f6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----- SCROLL ANIMATIONS ----- */
/* Base classes: elements visible by default. JS hides them then reveals on scroll. */
.animate-on-scroll {
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.animate-on-scroll.animated {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.animate-fade-in {
  transition: opacity 0.5s ease;
}

.animate-fade-in.animated {
  opacity: 1 !important;
}

.animate-slide-up {
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.animate-slide-up.animated {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.animate-slide-left {
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.animate-slide-left.animated {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.animate-slide-right {
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.animate-slide-right.animated {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.animate-slide-down {
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.animate-slide-down.animated {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.animate-scale {
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.animate-scale.animated {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Initial hidden states — applied only when JS is active */
.js-ready .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.js-ready .animate-fade-in {
  opacity: 0;
}

.js-ready .animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
}

.js-ready .animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
}

.js-ready .animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
}

.js-ready .animate-slide-down {
  opacity: 0;
  transform: translateY(-30px);
}

.js-ready .animate-scale {
  opacity: 0;
  transform: scale(0.9);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-size: 16px;
  font-weight: 400;
  font-family: "Urbanist", sans-serif;
  letter-spacing: 0;
  border: none;
  padding: 8px 32px;
  text-transform: capitalize;
  border-radius: 30px;
  background: #fff;
  color: #2b296c;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.25s;
}

ul {
  list-style: none;
}
@media (max-width: 1120px) {
  .xl-only {
    display: none;
  }
}

/* ----- CONTAINER ----- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- SECTION DEFAULTS ----- */
.section {
  padding: 50px 0;
}

.section-gray {
  background: #f5f5f5;
}

.section-light {
  background: #fafafa;
}

.section-bordered {
  /* deprecated — replaced by card wrappers */
}

.section-title {
  font-family: "Bebas Neue", cursive;
  font-size: 49px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-align: center;
  color: #2b296c;
}

.section-title-left {
  text-align: left;
}

.section-intro {
  margin: 0 auto 48px;
  color: #555;
  line-height: 1.4;
  max-width: 720px;
}

.section-intro-left {
  text-align: left;
  margin-left: 0;
}

/* ========================================
   HEADER (sticky)
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.header-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 90px;
}

.header-build {
  margin-right: auto;
  font-family: "Urbanist", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.5px;
}

.header-links {
  display: flex;
  gap: 32px;
}

.header-link {
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #333;
  transition: color 0.25s;
}

.header-link:hover,
.header-link.active {
  color: #7b2fa0;
}

/* Hamburger button — hidden on desktop */
.header-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  z-index: 1101;
  flex-direction: column;
  gap: 6px;
}

.header-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.header-burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header-burger.open span:nth-child(2) {
  opacity: 0;
}
.header-burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Overlay behind mobile menu */
.header-overlay {
  display: none;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

/* Shared layer base */
.hero-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Layer 1: plain background — visible immediately */
.hero-layer-bg {
  z-index: 0;
  background: url("../assets/hero-bg.jpg") center center / cover no-repeat;
}

/* Layer 2: lines — reveal from edges inward */
.hero-layer-lines {
  z-index: 1;
  background: url("../assets/hero-bg-withlines.jpg") center center / cover no-repeat;
  transition: clip-path 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-ready .hero-layer-lines {
  clip-path: inset(50%);
}

.hero-layer-lines.animated {
  clip-path: inset(0%);
}

/* Layer 3: circle element — shifted left, smaller */
.hero-layer-circle {
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 32%;
}

.hero-circle-img {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
}

.js-ready .hero-circle-img {
  opacity: 0;
  transform: rotate(-20deg) scale(2.8) translate(-200px, 50px);
}

.hero-layer-circle.animated .hero-circle-img {
  opacity: 1;
  transform: rotate(-20deg) scale(1) translate(0, 0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.hero-layer-circle.spinning .hero-circle-img {
  animation: heroSpin 80s linear alternate infinite;
}

@keyframes heroSpin {
  from {
    transform: rotate(-20deg);
  }
  to {
    transform: rotate(40deg);
  }
}

/* Layer 4: badge image — top right, drops in */
.hero-layer-badge {
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(30px, 4vw, 60px) clamp(20px, 6vw, 90px) 0 0;
  right: 0;
  top: 150px;
  transition: clip-path 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-ready .hero-layer-badge {
  clip-path: inset(50%);
}

.hero-layer-badge.animated {
  clip-path: inset(0%);
}

.hero-badge-img {
  max-height: 94%;
  width: auto;
  object-fit: contain;
}

.hero-layer-badge.drifting .hero-badge-img {
  animation: badgeDrift 60s ease-in-out alternate infinite;
}

@keyframes badgeDrift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-50px, 35px);
  }
}

/* Hero content — fades in last */
.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js-ready .hero-content {
  opacity: 0;
  transform: translateY(20px);
}

.hero-content.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   ABOUT
   ======================================== */
.about-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 21px rgba(21, 21, 21, 0.15);
  padding: 48px 56px;
}

.about-wrapper p {
  color: #555;
  line-height: 1.4;
  font-size: 19px;
  margin-bottom: 20px;
}

.about-wrapper p:last-child {
  margin-bottom: 0;
}

/* ========================================
   PROGRAMME
   ======================================== */
.programme-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0;
}

.programme-v2-link {
  font-size: 14px;
  font-weight: 600;
  color: #7b2fa0;
  white-space: nowrap;
}

.programme-v2-link:hover {
  text-decoration: underline;
}

/* ----- TIMELINE ----- */
.timeline {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 97px; /* space for time badges */
}

/* Vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: #2b296c;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Time badge on the line (replaces dot + separate time) */
.timeline-badge {
  position: absolute;
  left: -139px;
  top: 10px;
  width: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #444;
  background: #f6f6f6;
  padding: 10px;
  line-height: 1;
  z-index: 2;
}

/* Card (right side) */
.timeline-card {
  flex: 0 0 auto;
  background: #b9b8cd;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 35px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-left: 2px solid #2b296c;
}

.timeline-item-highlight .timeline-card {
  flex: 1;
  background: #b9b8cd;
  border-color: #d8c8f0;
  border-left: 2px solid #2b296c;
}

.timeline-item-divider {
  width: 100%;
}

.timeline-item-divider .timeline-card {
  flex: 1;
  width: 100%;
}

.timeline-card strong {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.timeline-card p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

/* Divider card */
.timeline-card-divider {
  background: #b9b8cd;
  border: none;
  box-shadow: none;
  text-align: center;
  padding: 12px 0;
  border-left: 2px solid #2b296c;
}

.timeline-card span {
  font-family: "Bebas Neue", cursive;
  font-size: 23px;
  text-transform: uppercase;
}

/* 3-column cards inside timeline */
.timeline-card-columns {
  display: grid;
  grid-template-columns: repeat(3, 303px);
  gap: 12px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.timeline-col {
  background: #b9b8cd;
  border-radius: 8px;
  padding: 20px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}
.timeline-card .timeline-col:first-child {
  border-left: 2px solid #2b296c;
}
.timeline-col-upper {
  color: #888;
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 6px;
}

.timeline-col .timeline-title {
  font-family: "Bebas Neue", sans-serif;
  color: #000;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.timeline-col .timeline-col-info {
  font-family: "Urbanist", sans-serif;
  color: #000;
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 2px 0;
}

.timeline-col-info strong {
  font-weight: 600;
}

.timeline-col-room {
  color: #888;
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 400;
  margin-top: auto;
  padding-top: 12px;
}

/* ========================================
   SPEAKERS
   ======================================== */
.speakers .container {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.speakers .section-intro {
  text-align: left;
  max-width: none;
  margin-bottom: 20px;
}
.speakers .section-title {
  text-align: left;
}
.speakers-slider {
  position: relative;
  overflow: hidden;
}

.speakers-slider-track {
  display: flex;
  gap: 15px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.speakers-card {
  position: relative;
  flex: 0 0 140px;
  min-width: 0;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border-radius: 14px;
}

.speakers-card:hover {
  flex: 0 0 470px;
}

.speakers-photo {
  width: 100%;
  height: 526px;
  overflow: hidden;
  border-radius: 14px;
}

.speakers-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(100%);
  transition:
    transform 0.5s,
    filter 0.5s;
  display: block;
}

.speakers-card:hover .speakers-photo img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.speakers-info {
  position: absolute;
  top: 40px;
  left: 40px;
  color: #fff;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}

.speakers-card:hover .speakers-info {
  opacity: 1;
  transform: translateY(0);
}

.speakers-role {
  font-family: "Urbanist", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.speakers-name {
  font-family: "Urbanist", sans-serif;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 0;
}

.speakers-bio {
  display: none;
}

.speakers-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.speakers-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #ccc;
  display: inline-block;
  cursor: pointer;
  transition:
    background 0.2s,
    width 0.2s;
}

.speakers-dot-active {
  background: #2b296c;
  width: 35px;
}

/* ========================================
   REGISTRATION / PRICING
   ======================================== */
.registration-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.registration-card {
  width: 385px;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.registration-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.registration-card-member,
.registration-card-freelancer {
  background: #2b296c;
  border: none;
}

.registration-card-inner {
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.registration-price {
  font-family: "Bebas Neue", cursive;
  font-size: 90px;
  line-height: 1;
  color: #fff;
  margin-bottom: 16px;
  text-align: left;
}

.registration-title {
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 15px;
  text-align: center;
  width: 100%;
}

.registration-subtitle {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  width: 100%;
}

.registration-btn {
  display: block;
  width: 100%;
}

.registration-btn:hover {
  opacity: 0.88;
}

/* ========================================
   PAYMENT POPUP
   ======================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.popup {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  background: #fff;
  border-radius: 25px;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  transform: scale(0.92);
  transition: transform 0.3s;
}

.popup-overlay.is-open .popup {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  line-height: 1;
  z-index: 2;
}

.popup-close:hover {
  color: #333;
}

.popup-layout {
  display: flex;
  padding: 20px;
  max-height: 90vh;
}

.popup-image {
  width: 380px;
  min-width: 380px;
  height: 100%;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-form {
  color: red;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 40px 28px 48px;
  overflow-y: auto;
}

.popup-label {
  font-size: 11px;
  font-weight: 600;
  color: #777;
  margin: 0 0 4px;
}

.popup-label:first-of-type {
  margin-top: 0;
}

.popup-card-number-wrap {
  position: relative;
}

.popup-card-number-wrap input {
  width: 100%;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 50px 8px 14px;
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.popup-mc-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: auto;
  pointer-events: none;
}

.popup-fields-row {
  display: flex;
  gap: 15px;
}

.popup-fields-row > div {
  flex: 1;
  min-width: 0;
}

[data-card-brand="visa"]::after {
  margin-top: -8px;
}
.has-card-brand::after {
  transform: translateY(-100%) !important;
}

.popup-field input,
.popup-field select {
  width: 100%;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: "Urbanist", sans-serif;
  font-size: 18px;
  transition: border-color 0.2s;
  box-sizing: border-box;
  background: #fff;
}

.popup-field input::placeholder,
.popup-field input::-webkit-input-placeholder,
.popup-field input::-moz-placeholder,
.popup-field input:-ms-input-placeholder {
  font-size: 17px;
  color: #555;
  opacity: 1;
}

.popup-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  color: #777;
}

.popup-field select:invalid,
.popup-field select option[value=""][disabled] {
  color: #555;
}

.popup-field input:focus,
.popup-field select:focus,
.popup-card-number-wrap input:focus {
  outline: none;
  border-color: #7b2fa0;
}

/* Mollie Components — embedded secure iframes */
.mollie-component-field {
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 14px;
  transition: border-color 0.2s;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
}

/* Mollie injects a wrapper div — it must stretch to fill */
.mollie-component-field > div {
  flex: 1;
  min-width: 0;
}

.mollie-component-field iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  margin-top: 12px;
}

.mollie-component-field.is-focused {
  border-color: #7b2fa0;
}

.mollie-component-field.has-error {
  border-color: #c00;
}

/* Fake placeholder overlay for Mollie fields that lack native placeholders */
.mollie-field-wrap {
  position: relative;
  margin-bottom: 16px;
}

.mollie-fake-placeholder {
  position: absolute;
  top: 24px;
  left: 14px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #555;
  pointer-events: none;
  font-family: "Urbanist", sans-serif;
  z-index: 1;
  transition: opacity 0.15s;
}

.mollie-field-wrap.is-active .mollie-fake-placeholder {
  display: none;
}

.popup-submit {
  align-self: stretch;
  padding: 12px 40px;
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 30px;
  background: #2b296c;
  color: #fff;
  cursor: pointer;
  transition:
    opacity 0.25s,
    transform 0.2s;
  margin-top: 16px;
  flex-shrink: 0;
}

.popup-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Success check-mark draw animation */
.popup-success-check {
  display: inline-block;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.popup-check-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 0.5s ease 0.45s forwards;
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

/* Spinner for pending state */
.popup-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #e0e0e0;
  border-top-color: #2b296c;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Popup flip card — must override base .popup transform/overflow to preserve 3D */
.popup--flip {
  perspective: 1200px;
  background: none;
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
  transform: none;
}

.popup-overlay.is-open .popup--flip {
  transform: none;
}

.popup-flipper {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotateY(0deg);
}

.popup-flipper.is-flipped {
  transform: rotateY(180deg);
}

.popup-front {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.popup-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Popup back close button */
.popup-back .popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
}

/* Form title */
.popup-form-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
  color: #2b296c;
  margin: 0 0 8px;
  flex-shrink: 0;
  display: block;
  text-align: center;
  font-weight: 300;
}

/* Card information section title */
.popup-card-title {
  font-family: "Urbanist", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #2b296c;
  margin: 6px 0 0;
}

/* Form error banner */
.popup-error {
  background: #fee;
  color: #c00;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 4px;
}

/* Field validation error */
.popup-field-error {
  color: #c00;
  font-size: 11px;
  display: block;
  position: absolute;
  bottom: -14px;
  left: 0;
  white-space: nowrap;
}

/* Submit button disabled state */
.popup-submit:disabled {
  opacity: 0.7;
}

/* Disclaimer text */
.popup-disclaimer {
  font-size: 11px;
  color: #777;
  font-style: italic;
  line-height: 1.5;
  margin-top: 22px;
  flex-shrink: 0;
}

.popup-disclaimer a {
  color: #777;
  text-decoration: underline;
}

/* Result view panels */
.popup-result {
  text-align: center;
  padding: 48px;
}

.popup-result--success {
  max-width: 440px;
}

.popup-result--failed {
  max-width: 440px;
}

.popup-result-spinner {
  font-size: 40px;
  margin-bottom: 16px;
}

.popup-result-text {
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  color: #666;
}

.popup-result-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  color: #2b296c;
  margin: 20px 0 12px;
}

.popup-result-title--failed {
  font-size: 32px;
  color: #dc2626;
  margin: 12px 0;
}

.popup-result-body {
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 8px;
}

.popup-result-sub {
  font-family: "Urbanist", sans-serif;
  font-size: 14px;
  color: #888;
  line-height: 1.5;
}

.popup-result-btn {
  margin-top: 28px;
  padding: 12px 40px;
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 30px;
  background: #2b296c;
  color: #fff;
  cursor: pointer;
}

.popup-failed-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Purchased label on registration cards */
.registration-purchased-label {
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 0.5px;
  margin-top: 6px;
  text-align: center;
  width: 100%;
}

/* ========================================
   PRACTICAL INFORMATION
   ======================================== */
.practical-wrapper {
  max-width: 1124px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 21px rgba(21, 21, 21, 0.15);
  padding: 40px 40px;
}

.practical-title {
  font-family: "Bebas Neue", cursive;
  font-size: 49px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  color: #2b296c;
  margin-bottom: 18px;
}

.practical-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.practical-col p {
  line-height: 1.3;
  margin-bottom: 20px;
}

.practical-col p:last-child {
  margin-bottom: 0;
}

.practical-subheading {
  font-family: "Bebas Neue", cursive;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #2b296c;
}

.practical-transport {
  font-family: "Bebas Neue", cursive;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #2b296c;
  margin-top: 16px;
}

.practical-note {
  padding-top: 24px;
}

.practical-note p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.practical-map {
  margin-top: 30px;
  position: relative;
}

.practical-map::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.practical-map iframe {
  border-radius: 12px;
  display: block;
}

/* ========================================
   SPONSORS
   ======================================== */
.sponsors .container {
  max-width: 1200px;
}

.sponsors .section-title {
  text-align: left;
}
.sponsors .section-intro {
  text-align: left;
  margin-left: 0;
  max-width: none;
}

/* Tier cards */
.sponsors-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.sponsors-tier {
  border-radius: 16px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  color: #fff;
  min-height: 160px;
}

.sponsors-tier-bronze {
  background: linear-gradient(135deg, #2b296c 0%, #7e4e2d 100%);
}

.sponsors-tier-silver {
  background: linear-gradient(135deg, #15147a 0%, #2b296c 35%, #c9950d 100%);
}

.sponsors-tier-golden {
  background: linear-gradient(135deg, #0c3350 0%, #1c3070 50%, #d9d9d9 100%);
}

.sponsors-tier-platinum {
  background: linear-gradient(135deg, #1a1a2e 0%, #4a3f6b 40%, #e5e4e2 100%);
}

.sponsors-tier-label {
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
  margin-bottom: 8px;
}

.sponsors-tier-price {
  font-family: "Bebas Neue", cursive;
  font-size: 64px;
  line-height: 1;
  margin-bottom: 10px;
  flex: 1;
}

.sponsors-tier-btn {
  background: #fff;
  color: #2b296c;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s;
  width: 100%;
}

.sponsors-tier-btn:hover {
  opacity: 0.88;
}

.sponsors-tier-btn strong {
  font-weight: 700;
}

/* Showcase */
.sponsors-showcase {
  position: relative;
  overflow: hidden;
}

.sponsors-showcase-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sponsors-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
}

.sponsors-card {
  border-radius: 14px 14px 0 0;
  box-sizing: border-box;
  overflow: hidden;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 52px rgba(0, 0, 0, 0.08);
}

.sponsors-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.sponsors-logo-img {
  width: 100%;
  height: 140px;
  background: #c8c8c8;
  overflow: hidden;
}

.sponsors-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sponsors-card-body {
  padding: 20px 24px 24px;
  background-color: white;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sponsors-name {
  font-family: "Bebas Neue", cursive;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.sponsors-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

.sponsors-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 55px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

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

.sponsors-link-popup {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.sponsors-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.sponsors-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #ccc;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s;
}

.sponsors-dot-active {
  background: #2b296c;
  width: 35px;
}

/* ========================================
   PAST EDITIONS
   ======================================== */
.editions-card {
  max-width: 1124px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.editions-card .section-title {
  text-align: left;
  margin-bottom: 12px;
}

.editions-card .section-intro {
  text-align: left;
  margin-left: 0;
  margin-bottom: 32px;
  max-width: none;
}

/* Editions accordion slider */
.editions-slider {
  position: relative;
  width: 100%;
  max-width: 975px;
  height: 0;
  padding-bottom: 51.28%; /* 500/975 aspect ratio */
  overflow: hidden;
  margin: 0 auto;
  border-radius: 14px;
}

.editions-slide {
  position: absolute;
  top: 0;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  opacity: 0;
  transition:
    left 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reveal slides once JS has positioned them */
.editions-slider.slider-ready .editions-slide {
  opacity: 1;
  transition:
    opacity 0.4s ease,
    left 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.editions-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editions-slide[data-pos="left"],
.editions-slide[data-pos="right"],
.editions-slide[data-pos="center"] {
  cursor: pointer;
}

/* placeholder-2 kept for old reference only */
.editions-placeholder-2 span {
  font-family: "Urbanist", sans-serif;
  font-size: 20px;
  text-align: center;
  font-weight: 600;
}

.editions-placeholder-2 em {
  font-style: italic;
  font-weight: 300;
}

.editions-placeholder-3 {
  background: linear-gradient(135deg, #2ab5c8, #48d1cc);
}

/* ========================================
   30TH ANNIVERSARY
   ======================================== */
.anniversary-wrapper {
  max-width: 1024px;
  margin: 0 auto;
}

.anniversary-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.anniversary-content {
  flex: 1;
}

.anniversary-image {
  flex-shrink: 0;
  width: 200px;
}

.anniversary-image img {
  width: 100%;
  height: auto;
  display: block;
}

.anniversary-title {
  font-family: "Bebas Neue", cursive;
  font-size: 49px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2b296c;
  margin-bottom: 16px;
}

.anniversary-wrapper p {
  font-size: 16px;
  color: #555;
  line-height: 1.4;
}

/* ========================================
   MEDIA / FOLLOW-UP
   ======================================== */
.media {
  text-align: center;
}

.media .container {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ========================================
   CONTACT / GET IN TOUCH
   ======================================== */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-height: 420px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 56px 56px;
}

.contact-title {
  font-family: "Bebas Neue", cursive;
  font-size: 49px;
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #2b296c;
  margin-bottom: 5px;
}

.contact-intro {
  font-size: 16px;
  color: #777;
  line-height: 1.4;
  margin-bottom: 5px;
  max-width: 370px;
}

.contact-email {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-email a {
  color: #323232;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-desc {
  font-size: 17px;
  color: #777;
  line-height: 1.3;
  max-width: 400px;
}

.contact-right {
  overflow: hidden;
}

.contact-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #fff;
  border-top: 1px solid #e6e6e6;
  padding: 48px 0 32px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-nav a {
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #2b296c;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
}

.footer-social a {
  color: #888;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #2b296c;
}

.footer-bottom {
  text-align: center;
  color: #777;
  font-size: 14px;
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 1120px) {
  .timeline-card-columns {
    grid-template-columns: repeat(3, 280px);
  }

  .anniversary-wrapper {
    padding: 0 16px;
  }
}
@media (max-width: 1000px) {
  .section-title {
    font-size: 38px;
  }

  .hero-title-line-main {
    font-size: 52px;
  }

  .hero-title-line-cursive {
    font-size: 38px;
  }

  .programme-columns {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 64px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-badge {
    left: -64px;
    width: 64px;
    font-size: 12px;
    padding: 4px 6px;
  }
  .timeline-card {
    max-width: calc(100% - 10px);
  }

  .timeline-card-columns {
    grid-template-columns: 1fr;
    max-width: calc(100% - 10px);
  }
  .registration-card {
    max-width: 100%;
  }

  .about-wrapper,
  .practical-wrapper,
  .editions-card {
    padding: 32px 20px;
  }

  .practical-map {
    margin: 50px 20px;
  }

  .practical-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sponsors-tiers {
    grid-template-columns: 1fr 1fr;
  }

  .sponsors-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .editions-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .editions-item-wide {
    grid-column: span 2;
  }

  .about-wrapper,
  .practical-wrapper,
  .editions-card {
    padding: 24px 16px;
  }

  .practical-map {
    margin: 40px 0;
  }

  .practical-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-right {
    height: 260px;
  }

  .speakers-photo {
    height: 400px;
  }

  .popup {
    max-width: 95vw;
    max-height: 90vh;
  }

  .popup--flip {
    transform: none;
  }

  .popup-layout {
    flex-direction: column;
    height: auto;
    max-height: 90vh;
  }

  .popup-image {
    width: 100%;
    min-width: unset;
    height: 200px;
  }

  .popup-form {
    padding: 16px 12px;
  }

  .popup-fields-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .anniversary-wrapper {
    text-align: center;
  }

  .anniversary-row {
    flex-direction: column;
  }

  .anniversary-image {
    width: 180px;
  }

  .section-title {
    font-size: 32px;
  }

  .header-links {
    gap: 16px;
  }

  .header-link {
    font-size: 11px;
    letter-spacing: 1px;
  }

  /* ---- Mobile burger menu ---- */
  .header-burger {
    display: flex;
  }

  .header-nav {
    height: 70px;
  }

  .header-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1099;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .header-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 100px 32px 40px;
    z-index: 1100;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .header-links--open {
    transform: translateX(0);
  }

  .header-links li {
    opacity: 0;
    transform: translateX(30px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .header-links--open li {
    opacity: 1;
    transform: translateX(0);
  }

  .header-links--open li:nth-child(1) {
    transition-delay: 0.08s;
  }
  .header-links--open li:nth-child(2) {
    transition-delay: 0.16s;
  }
  .header-links--open li:nth-child(3) {
    transition-delay: 0.24s;
  }
  .header-links--open li:nth-child(4) {
    transition-delay: 0.32s;
  }
  .header-links--open li:nth-child(5) {
    transition-delay: 0.4s;
  }
  .header-links--open li:nth-child(6) {
    transition-delay: 0.48s;
  }

  .header-link {
    display: block;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
  }

  .header-link:hover,
  .header-link.active {
    color: #7b2fa0;
  }

  .hero-circle-img {
    max-width: 95%;
    max-height: 95%;
  }
  .hero-layer-circle {
    padding-right: 10%;
    top: 28%;
  }
  .hero-layer-badge {
    top: 100px;
    right: 0;
  }

  .hero {
    height: calc(100vh - 340px);
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .hero-title-line-cursive {
    font-size: 30px;
  }

  .hero-title-line-main {
    font-size: 40px;
  }
  .hero-badge-img {
    max-height: 74%;
    max-width: 80%;
  }

  .about-wrapper p {
    font-size: 16px;
  }
  .speakers-slider-track {
    flex-direction: column;
  }

  .speakers-card {
    flex: none;
  }

  .speakers-card:hover {
    flex: none;
  }

  .speakers-photo {
    height: 300px;
  }

  .speakers-info {
    opacity: 1;
    transform: translateY(0);
  }

  .speakers-dots {
    display: none;
  }

  .registration-cards {
    flex-direction: column;
    align-items: center;
  }

  .sponsors-tiers {
    grid-template-columns: 1fr;
  }

  .sponsors-card {
    flex: 0 0 100%;
  }

  .editions-gallery {
    grid-template-columns: 1fr;
  }

  .editions-item-wide {
    grid-column: span 1;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .popup-row {
    flex-direction: column;
    gap: 12px;
  }

  .programme-row {
    flex-direction: column;
    gap: 6px;
  }

  .programme-time {
    width: auto;
  }

  .timeline {
    padding-left: 56px;
  }

  .timeline::before {
    left: 26px;
  }

  .timeline-badge {
    left: -56px;
    width: 56px;
    font-size: 11px;
    padding: 3px 4px;
  }
  .timeline-card .timeline-col {
    border-left: 2px solid #2b296c;
  }
  .timeline-card span {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: calc(100vh - 200px);
  }
  .registration-card {
    width: 290px;
  }
  .registration-card .registration-price {
    font-size: 72px;
  }
}

/* ========================================
   DETAIL POPUP (Sponsors & Editions)
   ======================================== */
.detail-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.detail-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.detail-popup {
  position: relative;
  width: 100%;
  max-width: 1060px;
  max-height: 75vh;
  background: #fff;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  transform: scale(0.92);
  transition: transform 0.3s;
  margin: 20px;
}
@media (max-width: 780px) {
  .detail-popup {
    max-height: 80vh;
  }
}

.detail-popup-overlay.is-open .detail-popup {
  transform: scale(1);
}

.detail-popup .popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  line-height: 1;
  z-index: 2;
}

.detail-popup .popup-close:hover {
  color: #333;
}

.detail-popup-content {
  padding: 40px 48px;
}

.detail-popup-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
}

.detail-popup-title {
  font-family: "Bebas Neue", cursive;
  font-size: 42px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  font-weight: 400;
  color: #2b296c;
}

.detail-popup-tier {
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #c9950d;
}

.detail-popup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.detail-popup-text {
  font-size: 14px;
  line-height: 1.75;
  color: #444;
}

.detail-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #1a1a2e;
}

.detail-popup-link:hover {
  text-decoration: underline;
}

.detail-popup-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

.detail-popup-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

.detail-popup-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-popup-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-popup-thumbs {
  display: flex;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.detail-popup-thumb {
  width: 56px;
  height: 42px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  flex-shrink: 0;
  transition:
    border-color 0.2s,
    opacity 0.2s;
  opacity: 0.7;
}

.detail-popup-thumb:hover {
  opacity: 1;
}

.detail-popup-thumb.active {
  border-color: #2b296c;
  opacity: 1;
}

.detail-popup-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-popup-thumbs-arrow {
  width: 28px;
  height: 42px;
  border: none;
  background: #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.2s;
  flex-shrink: 0;
}

.detail-popup-thumbs-arrow:hover {
  background: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .detail-popup-content {
    padding: 28px 24px;
  }

  .detail-popup-body {
    grid-template-columns: 1fr;
  }

  .detail-popup-title {
    font-size: 32px;
  }

  .detail-popup-header {
    flex-direction: column;
    gap: 4px;
  }
}

/* ========================================
   ADMIN: GALLERY UPLOAD
   ======================================== */
.admin-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.admin-gallery-item {
  position: relative;
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-gallery-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.admin-gallery-actions {
  display: flex;
  gap: 2px;
  justify-content: center;
}

.admin-gallery-actions button {
  width: 28px;
  height: 24px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-gallery-actions button:hover {
  background: #eee;
}

.admin-gallery-remove:hover {
  background: #fee !important;
  color: #c00;
}

.admin-btn-secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
}

.admin-btn-secondary:hover {
  background: #e0e0e0;
}
