:root {
  --bg: #1e0a3c;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --text: #111827;
  --muted: #606060;
  --border: #808080;
  --grayed-text: #ebebeb;
  --brand: #ff4444;
  --brand-2: #ff6666;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --primary: #f4bf68;
  --secondary: #1e0a3c;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  padding-top: 72px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 18px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
  width: 100%;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand-logo {
  width: 140px;
  height: 44px;
  display: block;
  border-radius: 4px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}
.nav-toggle-icon {
  width: 100%;
  height: 3px;
  background: #000000;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-toggle-active .nav-toggle-icon:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.nav-toggle-active .nav-toggle-icon:nth-child(2) {
  opacity: 0;
}
.nav-toggle-active .nav-toggle-icon:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}
.nav {
  display: flex;
  gap: 14px;
}
.nav-link {
  color: #000000;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #ff6600;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover {
  color: #ff6600;
  background: transparent;
}
.nav-link:hover::after {
  transform: scaleX(1);
}
.nav-link-login {
  background: #ff6600 !important;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 8px 16px !important;
  margin-left: 8px;
  text-decoration: none !important;
  transition: background-color 0.3s ease;
}
.nav-link-login::after {
  display: none;
}
.nav-link-login:hover {
  background: #000000 !important;
  color: #ffffff !important;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex !important;
  }
  .nav {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    display: flex !important;
    flex-direction: column !important;
    padding: 20px 18px !important;
    gap: 0 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid var(--border) !important;
    max-height: calc(100vh - 72px) !important;
    overflow-y: auto !important;
    z-index: 1000 !important;
    width: 100% !important;
  }
  .nav.nav-open {
    transform: translateX(0) !important;
  }
  .nav-link {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    display: block;
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link-login {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
  }
}

/* Typography */
.h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  margin: 0 0 10px;
}
.h2 {
  font-size: 20px;
  margin: 0 0 12px;
}
.h3 {
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 800;
}
.h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 800;
}
.h5 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 800;
}
.lead {
  color: var(--grayed-text);
  margin: 0;
}
.muted {
  color: var(--muted);
}
.muted.note {
  color: var(--grayed-text);
}

/* Hero */
.hero {
  padding: 28px 0 18px;
}

/* Search */
.search-section {
  padding: 0 0 20px;
}
.search-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
  box-shadow: var(--shadow);
}
.search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: end;
}
@media (min-width: 640px) {
  .search-row {
    grid-template-columns: 1.5fr 2.2fr 1.2fr auto;
    gap: 10px;
  }
}
.search-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f9fafb;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
}
.search-input[type='date']:not(:focus):not(:valid) {
  color: var(--border);
}
.search-input[type='date']:not(:focus):valid {
  color: var(--text);
}
.search-input:focus {
  outline: none;
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.2);
}
.search-input::placeholder {
  color: var(--border);
  opacity: 0.7;
}
.search-actions {
  display: flex;
  gap: 8px;
}
.btn-search {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #ff6600 !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .search-actions .btn-search {
    width: 100%;
  }
}
.btn-search:hover {
  background: #ff6600 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}
.btn-clear {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #ff6600 !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-clear:hover {
  background: #ff6600 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

/* Date Picker */
.date-picker-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  gap: 8px;
}
.date-picker-wrapper .date-picker-input {
  flex: 1;
  cursor: pointer;
}
.date-picker-input {
  cursor: pointer;
}
.date-picker-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  width: 100%;
  max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
.date-picker-calendar.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.calendar-nav {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.calendar-nav:hover:not(.is-disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand);
}
.calendar-nav.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.calendar-month-year {
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.calendar-weekday {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  padding: 4px 0;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar-day:hover:not(.is-disabled) {
  background: rgba(255, 68, 68, 0.15);
  border-color: var(--brand);
}
.calendar-day.other-month {
  color: var(--muted);
  opacity: 0.4;
}
.calendar-day.today {
  border-color: var(--brand);
  background: rgba(255, 68, 68, 0.1);
}
.calendar-day.selected {
  background: var(--brand);
  color: #0b0c10;
  border-color: var(--brand);
  font-weight: 900;
}
.calendar-day.in-range {
  background: rgba(255, 68, 68, 0.15);
  color: var(--text);
}
.calendar-day.range-start {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  font-weight: 900;
  border-radius: 8px 0 0 8px;
}
.calendar-day.range-end {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  font-weight: 900;
  border-radius: 0 8px 8px 0;
}
.calendar-day.range-start.range-end {
  border-radius: 8px;
}
.calendar-day.is-disabled {
  color: var(--muted);
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.calendar-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.calendar-clear {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.calendar-clear:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding: 10px 0 18px;
}
.card {
  grid-column: span 12;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .card {
    grid-column: span 6;
  }
}
@media (min-width: 980px) {
  .card {
    grid-column: span 4;
  }
}
.card-link {
  display: block;
}
.card-media {
  aspect-ratio: 16 / 9;
  background: var(--surface);
  position: relative;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}
.card-img-ended {
  filter: grayscale(100%);
}
.card-body {
  padding: 14px 14px 16px;
}
.card-title {
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 10px;
}
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--grayed-text);
  opacity: 0.8;
}
.meta-item {
  color: var(--muted);
}
.meta-sep {
  opacity: 0.7;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--grayed-text);
  font-size: 13px;
  padding-top: 8px;
}
.crumb {
  color: var(--grayed-text);
}
.crumb:hover {
  color: #ffffff;
}
.crumb-current {
  color: #ffffff;
  opacity: 0.85;
}

/* Event detail */
.event-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 14px 0 8px;
}
@media (min-width: 900px) {
  .event-hero {
    grid-template-columns: 3fr 2fr;
    align-items: stretch;
  }
}
.event-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.event-hero-img-btn {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  transition: opacity 0.2s;
}
.event-hero-img-btn:hover {
  opacity: 0.9;
}
.event-hero-img-btn:active {
  opacity: 0.8;
}
.event-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
  display: block;
}
.event-hero-content {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}
.event-hero-content h1 {
  color: var(--text);
}

@media (min-width: 640px) {
  .event-hero-content .cta-row a.btn.primary {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .event-hero-content .cta-row a.btn.primary {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: auto;
    z-index: 9;
  }
}
.event-facts {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.fact {
  grid-column: span 12;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.03);
}
@media (min-width: 640px) {
  .fact {
    grid-column: span 6;
  }
}
.fact-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fact-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.fact-value {
  font-weight: 700;
}
.fact-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  white-space: pre-line;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}
.badge.ended {
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.35);
  background: rgba(107, 114, 128, 0.1);
  font-size: 16px;
  padding: 8px 14px;
}
.badge-ended-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.35);
  background: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(107, 114, 128, 0.35);
  margin: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.section {
  padding: 18px 0;
}
section h1,
section h2,
section h3 {
  color: var(--grayed-text);
}
.section h2,
.section h3, 
.section h5 {
  color: var(--brand-2);
}
.prose {
  color: #000000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 16px;
  word-break: break-word;
}

.prose p {
  margin: 0 0 10px;
}
.prose p:last-child {
  margin: 0;
}
.prose h2,
.prose h3 {
  margin: 12px 0 10px;
  line-height: 1.2;
  color: var(--bg);
}
.prose ul,
.prose ol {
  margin: 8px 0 8px 18px;
  padding: 0;
}
.prose li {
  margin: 4px 0;
}
.prose blockquote {
  margin: 10px 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(255, 68, 68, 0.55);
  background: rgba(255, 68, 68, 0.08);
  border-radius: 12px;
}

/* Draft.js inline style helpers */
.djs-bold {
  font-weight: 900;
}
.djs-italic {
  font-style: italic;
}
.djs-underline {
  text-decoration: underline;
}
.djs-strikethrough {
  text-decoration: line-through;
}

/* Tickets */
.tickets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ticket {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}
.ticket-title {
  font-weight: 800;
}
.ticket-desc {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.ticket-price {
  font-weight: 900;
  white-space: nowrap;
}

/* Buttons */
.cta-row {
  margin-top: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}
.btn.primary:hover {
  filter: brightness(1.05);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-icon {
  gap: 8px;
}
.btn-icon .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.calendar-actions .btn {
  background: #ffffff !important;
  border: 2px solid #ff6600 !important;
  color: #000000 !important;
  font-weight: 400 !important;
}
.calendar-actions .btn:hover {
  background: #fff5f0 !important;
  border-color: #ff7700 !important;
  color: #000000 !important;
}
.calendar-actions .btn .icon {
  stroke: currentColor;
}
.calendar-actions .note {
  margin-top: 10px;
  color: var(--grayed-text);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0 22px;
}
.page-btn {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  color: var(--grayed-text);
}
.page-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.page-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.page-info {
  color: var(--grayed-text);
  font-weight: 700;
}

/* Footer */
.site-footer {
  border-top: none;
  background: #1f0b3b;
  margin-top: 22px;
  padding: 40px 0;
  width: 100%;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 18px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5%;
  }
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}
@media (min-width: 768px) {
  .footer-main {
    width: 30%;
    flex: 0 0 30%;
  }
}
.footer-links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
@media (min-width: 768px) {
  .footer-links-wrapper {
    align-items: flex-start;
    width: 60%;
    flex: 0 0 60%;
    padding-right: 0;
  }
}
.footer-tagline {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}
.footer-cta {
  display: inline-block;
  padding: 12px 24px;
  background: #ff6600;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.footer-cta:hover {
  background: #000000;
  color: #ffffff;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
@media (min-width: 640px) {
  .footer-links {
    flex-direction: row;
    gap: 30px;
  }
}
@media (min-width: 768px) {
  .footer-links {
    gap: 40px;
    align-items: flex-start;
  }
}
.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-links-column {
  align-items: flex-start;
}
.footer-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-link:hover {
  color: #ff6600;
  text-decoration: underline;
}
.footer-link-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-info-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}
.footer-info-text a {
  color: #ff6600;
  text-decoration: underline;
}
.footer-info-text a:hover {
  color: #ff7700;
}
.footer-payment {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-payment-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.partners-section {
  padding: 50px 0 10px 0;
  width: 100%;
}
.partners-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--grayed-text);
  text-align: left;
  margin: 0 0 30px;
}
.partners-carousel {
  position: relative;
}
.partners-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}
.partners-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 40px;
}
.partners-carousel-slide {
  flex: 0 0 calc(33.333% - 27px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  min-height: 120px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
@media (max-width: 980px) {
  .partners-carousel-slide {
    flex: 0 0 calc(50% - 20px);
  }
}
@media (max-width: 640px) {
  .partners-carousel-slide {
    flex: 0 0 100%;
  }
}
.partner-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.partner-logo:hover {
  opacity: 1;
}
.partners-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(165, 164, 164, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.carousel-indicator:hover {
  background: rgba(165, 164, 164, 0.8);
}
.carousel-indicator.active {
  background: #ff6600;
  width: 24px;
  border-radius: 5px;
}

.footer-badges {
  background: #ffffff;
  padding: 5px 0 15px 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 15px;
  min-height: 50px;
  display: flex;
  align-items: center;
}
.footer-badges-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
  width: 100%;
}
.footer-badge-img {
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}
.footer-badge-img:hover {
  opacity: 1;
}

/* Error page */
.error-wrap {
  padding-top: 34px;
}
.error-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}
.error-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.error-badge {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #ffffff;
  background: var(--brand);
}
.error-title-wrap .h1 {
  margin: 0 0 8px;
}
.error-actions {
  margin-top: 14px;
}

/* For Organizers Page */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.feature-card .h5 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #000000;
  font-weight: 800;
}
.feature-card p {
  margin: 0 0 10px;
  color: #000000;
  line-height: 1.6;
}
.feature-card p:last-child {
  margin: 0;
}

.pricing-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
  margin-top: 18px;
}
.pricing-card .h4 {
  font-size: 22px;
  margin: 0 0 8px;
  color: #000000;
  font-weight: 800;
}
.pricing-card .note {
  color: #666666;
  font-size: 13px;
  margin: 0 0 12px;
  font-style: italic;
}
.pricing-card p {
  margin: 0;
  color: #000000;
  line-height: 1.6;
}

.features-list {
  margin-top: 24px;
  color: var(--grayed-text);
  border-bottom: 1px solid var(--border);
}
.features-list:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.features-list h5 {
  color: var(--grayed-text);
}
.feature-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  color: var(--grayed-text);
}
.feature-item .h5 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--brand-2);
  font-weight: 800;
}
.feature-item p {
  margin: 0 0 12px;
  color: var(--grayed-text);
  line-height: 1.6;
}
.feature-item p:last-child {
  margin: 0;
}
.feature-item a {
  color: #ff6600;
  text-decoration: underline;
}
.feature-item a:hover {
  color: #ff7700;
}

.sub-feature {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 3px solid rgba(255, 102, 0, 0.4);
}
.sub-feature strong {
  display: block;
  margin-bottom: 8px;
  color: var(--grayed-text);
  font-size: 15px;
  font-weight: 800;
}
.sub-feature p {
  margin: 0 0 10px;
  color: var(--grayed-text);
  line-height: 1.6;
}
.sub-feature p:last-child {
  margin: 0;
}

.conclusion {
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  color: #000000;
  font-weight: 700;
  text-align: center;
}

.prose a {
  color: #ff6600;
  text-decoration: underline;
}
.prose a:hover {
  color: #ff7700;
}

.organizers-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.organizers-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: top;
  max-height: 50vh;
}

.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  gap: 24px;
  flex-direction: column;
}
.btn-register {
  background: #ff6600 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-register:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.image-modal.active {
  opacity: 1;
  visibility: visible;
}
.image-modal-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-modal-img {
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease-out;
}
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.image-modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 1001;
  backdrop-filter: blur(4px);
}
.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: scale(1.1);
}
.image-modal-close svg {
  stroke: #ffffff;
}
.image-modal-close:active {
  transform: scale(0.95);
}
@media (max-width: 640px) {
  .image-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  display: block;
  padding: 20px 0;
  width: 100%;
  opacity: 0.95;
  pointer-events: auto;
}
.cookie-consent * {
  pointer-events: auto;
}
.cookie-consent.hidden {
  display: none;
}
.cookie-consent-content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-consent-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}
.cookie-consent-text p {
  margin: 0;
}
.cookie-consent-link {
  color: #ff6600;
  text-decoration: underline;
  transition: color 0.2s;
}
.cookie-consent-link:hover {
  color: #ff4400;
}
.cookie-consent-actions {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
}
.cookie-consent-btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cookie-consent-accept {
  background: #ff6600;
  color: #ffffff;
}
.cookie-consent-accept:hover {
  background: #ff4400;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}
.cookie-consent-accept:active {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cookie-consent-actions {
    width: 100%;
  }
  .cookie-consent-btn {
    width: 100%;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ff6600;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top.show:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.scroll-to-top.show:active {
  transform: translateY(-2px);
}
.scroll-to-top svg {
  width: 28px;
  height: 28px;
}
@media (max-width: 640px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .scroll-to-top svg {
    width: 24px;
    height: 24px;
  }
}

.qa-page .organizers-image img {
  width: 350px;
}

img.seating-map {
  max-width: 600px;
  max-height: unset;
}
