/* BroyApps TitipTiket — playful consumer redesign layer
   Presentation-only overrides. Functional selectors/data hooks remain untouched. */

:root {
  --brand-primary: #FF7780;
  --brand-primary-hover: #E9616B;
  --soft-pink: #FFE8EA;
  --pink-tint: #FFF2F3;
  --promo-yellow: #FFD12A;
  --yellow-hover: #E7B900;
  --soft-yellow: #FFE99A;
  --yellow-tint: #FFF7D6;
  --canvas: #FFF9F7;
  --surface: #FFFFFF;
  --text-primary: #2B2224;
  --text-secondary: #76696B;
  --text-muted: #A6989A;
  --border: #E9DFE0;
  --border-strong: #D7CACC;

  --bg: var(--canvas);
  --surface-solid: var(--surface);
  --surface-soft: var(--pink-tint);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --line: var(--border);
  --brand: var(--brand-primary);
  --brand-strong: var(--brand-primary-hover);
  --brand-soft: var(--soft-pink);
  --accent: var(--promo-yellow);
  --success: #16835F;
  --warning: #9D6900;
  --danger: #C94251;
  --shadow: 7px 7px 0 #2B2224;
  --shadow-soft: 4px 4px 0 rgba(43,34,36,.92);
  --radius-xl: 28px 22px 30px 24px;
  --radius-lg: 22px 18px 24px 19px;
  --radius-md: 15px 12px 16px 13px;
  --container: 1180px;
}

html[data-theme="dark"] {
  --dark-deep: #070708;
  --dark-canvas: #0B0B0D;
  --dark-surface: #151518;
  --dark-surface-soft: #1B1B1F;
  --dark-surface-raised: #222228;
  --dark-surface-hover: #292930;
  --dark-outline: #111114;
  --dark-text-primary: #FBFAFF;
  --dark-text-secondary: #CFC8CC;
  --dark-text-muted: #968E92;

  --bg: var(--dark-canvas);
  --surface: var(--dark-surface);
  --surface-solid: var(--dark-surface);
  --surface-soft: var(--dark-surface-soft);
  --text: var(--dark-text-primary);
  --muted: var(--dark-text-secondary);
  --line: rgba(255,255,255,.10);
  --brand: #FF7780;
  --brand-strong: #FF929A;
  --brand-soft: rgba(255,119,128,.16);
  --accent: #FFD12A;
  --success: #65D6AD;
  --warning: #FFD666;
  --danger: #FF7886;
  --shadow: 7px 7px 0 #050506;
  --shadow-soft: 4px 4px 0 #050506;
}

html { background: var(--bg); }
body {
  min-width: 320px;
  background: var(--bg);
  font-family: "Excon", system-ui, sans-serif;
  color: var(--text);
  letter-spacing: -.005em;
}

::selection { background: var(--soft-yellow); color: #2B2224; }
:focus-visible { outline: 3px solid var(--promo-yellow); outline-offset: 3px; }

/* Base rhythm */
.section { padding: 88px 0; }
.section-sm { padding: 54px 0; }
.section-title,
.hero h1,
.event-panel h1,
.cta-box h2,
.terms-title,
.registration-terms-header h2 { font-weight: 900; }
.section-title { max-width: 900px; letter-spacing: -.04em; }
.section-copy { font-weight: 400; line-height: 1.72; }
.eyebrow {
  min-height: 30px;
  margin-bottom: 16px;
  padding: 5px 10px;
  border: 1.5px solid var(--text-primary);
  border-radius: 9px 12px 8px 11px;
  background: var(--promo-yellow);
  color: #2B2224;
  box-shadow: 2px 2px 0 var(--text-primary);
  letter-spacing: .08em;
  transform: rotate(-1deg);
}
html[data-theme="dark"] .eyebrow { border-color: #111114; box-shadow: 2px 2px 0 #050506; }
.eyebrow::before { width: 8px; height: 8px; background: var(--brand-primary); }

/* Navigation */
.site-header { height: var(--header-h); }
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-color: var(--line);
  box-shadow: 0 5px 0 rgba(43,34,36,.06);
}
html[data-theme="dark"] .site-header.scrolled { box-shadow: 0 5px 0 rgba(0,0,0,.24); }
.brand { font-size: 1.03rem; }
.brand-mark {
  border: 2px solid #2B2224;
  border-radius: 12px 8px 13px 9px;
  background: var(--brand-primary);
  box-shadow: 3px 3px 0 var(--promo-yellow);
  transform: rotate(-3deg);
}
html[data-theme="dark"] .brand-mark { border-color: #111114; box-shadow: 3px 3px 0 #FFD12A; }
.brand-mark::before,.brand-mark::after { background:#2B2224; }
.brand span { color: var(--brand-primary); }
.nav-links a { border: 1px solid transparent; border-radius: 10px 8px 11px 9px; }
.nav-links a:hover,
.nav-links a.active { background: var(--soft-pink); color:#2B2224; border-color: rgba(43,34,36,.12); }
html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a.active { background: var(--dark-surface-raised); color: var(--dark-text-primary); border-color: rgba(255,255,255,.12); }
.icon-btn {
  border: 1.5px solid var(--line);
  background: var(--surface-solid);
  border-radius: 12px 9px 13px 10px;
  box-shadow: 2px 2px 0 color-mix(in srgb,var(--text) 18%,transparent);
}
.icon-btn:hover { transform: translateY(-3px) rotate(2deg); box-shadow: 3px 4px 0 color-mix(in srgb,var(--text) 22%,transparent); }

/* Buttons */
.btn {
  min-height: 47px;
  border-radius: 13px 10px 14px 11px;
  border-width: 1.5px;
  font-weight: 900;
  letter-spacing: -.01em;
  box-shadow: 3px 3px 0 color-mix(in srgb,var(--text) 28%,transparent);
  transform: translateZ(0);
}
.btn:hover { transform: translateY(-4px) rotate(-.5deg); }
.btn-primary {
  background: var(--brand-primary);
  color: #2B2224;
  border-color: #2B2224;
  box-shadow: 4px 4px 0 #2B2224;
}
.btn-primary:hover { background: var(--brand-primary-hover); }
html[data-theme="dark"] .btn-primary { border-color:#111114; box-shadow:4px 4px 0 #050506; }
.btn-secondary {
  background: var(--surface-solid);
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--brand-primary); }
.btn-dark { background:#111114; color:#FBFAFF; border-color:#111114; }
html[data-theme="dark"] .btn-dark { background:var(--promo-yellow); color:#2B2224; border-color:#111114; }

/* Homepage hero */
.hero { padding: 70px 0 90px; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 56px 56px; background-position:center -1px; }
.hero::before {
  content:"TITIP · WAR · TINGGAL TUNGGU KABAR";
  position:absolute;
  right:max(18px,calc((100vw - var(--container))/2));
  top:28px;
  color:var(--text-muted);
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.12em;
  transform:rotate(1deg);
}
html[data-theme="dark"] .hero { background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); }
.hero h1 { letter-spacing: -.055em; }
.hero h1 .gradient {
  display:inline;
  background:none;
  color:var(--brand-primary);
  text-decoration: underline;
  text-decoration-color: var(--promo-yellow);
  text-decoration-thickness: .12em;
  text-underline-offset: .08em;
}
.hero .lead { color:var(--muted); line-height:1.7; }
.hero-trust span {
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface-solid);
}
.visual-wrap { min-height: 520px; }
.orb {
  width: 390px;
  height: 390px;
  border-radius: 36px 26px 34px 24px;
  border: 2px dashed color-mix(in srgb,var(--brand-primary) 56%,transparent);
  background: repeating-linear-gradient(-45deg,var(--yellow-tint) 0 16px,var(--pink-tint) 16px 32px);
  opacity:.75;
  filter:none;
  transform:rotate(7deg);
  animation:ticketHalo 6s ease-in-out infinite;
}
html[data-theme="dark"] .orb {
  border-color:rgba(255,119,128,.55);
  background:repeating-linear-gradient(-45deg,#19191D 0 16px,#222228 16px 32px);
}
.ticket-stack { transform:rotate(-3deg); transition:transform .26s ease; }
.visual-wrap:hover .ticket-stack { transform:rotate(0) translateY(-7px); }
.ticket-card {
  border:2px solid #2B2224;
  background:#FFFFFF;
  color:#2B2224;
  border-radius:28px 20px 30px 22px;
  box-shadow:8px 8px 0 #2B2224;
  backdrop-filter:none;
}
html[data-theme="dark"] .ticket-card {
  background:#151518;
  color:#FBFAFF;
  border-color:#050506;
  box-shadow:8px 8px 0 #050506;
}
.ticket-card::before,.ticket-card::after { background:var(--bg); border:2px solid #2B2224; }
html[data-theme="dark"] .ticket-card::before,
html[data-theme="dark"] .ticket-card::after { border-color:#050506; }
.ticket-type { color:var(--brand-primary-hover); }
.ticket-title { font-size:2.25rem; font-weight:900; }
.ticket-dot { background:var(--promo-yellow); color:#2B2224; border:2px solid #2B2224; box-shadow:3px 3px 0 var(--brand-primary); transform:rotate(3deg); }
.ticket-divider { border-color:color-mix(in srgb,var(--text) 28%,transparent); }
.floating-card {
  border:1.5px solid #2B2224;
  background:var(--soft-yellow);
  color:#2B2224;
  backdrop-filter:none;
  box-shadow:4px 4px 0 #2B2224;
  border-radius:14px 10px 16px 11px;
}
.floating-card.two { background:var(--soft-pink); transform:rotate(-2deg); }
html[data-theme="dark"] .floating-card { border-color:#111114; box-shadow:4px 4px 0 #050506; }
.floating-card small { color:#5F5355; }
@keyframes ticketHalo { 0%,100%{transform:rotate(7deg) translateY(0)} 50%{transform:rotate(5deg) translateY(-10px)} }

/* Promo ticker */
.marquee { border-block:2px solid #2B2224; background:var(--promo-yellow); transform:rotate(-.25deg); }
html[data-theme="dark"] .marquee { border-color:#050506; }
.marquee-item { color:#2B2224; font-weight:900; letter-spacing:.04em; }
.marquee-item::after { color:var(--brand-primary-hover); }

/* Common playful grouped surfaces */
.customer-trust-strip,
.process,
.security-box,
.event-panel,
.table-wrap,
.coming-soon-panel,
.terms-accept-card,
.testimonial-stage {
  border:1.5px solid var(--border-strong);
  box-shadow:var(--shadow-soft);
}
html[data-theme="dark"] .customer-trust-strip,
html[data-theme="dark"] .process,
html[data-theme="dark"] .security-box,
html[data-theme="dark"] .event-panel,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .coming-soon-panel,
html[data-theme="dark"] .terms-accept-card,
html[data-theme="dark"] .testimonial-stage {
  border-color:rgba(255,255,255,.11);
}
.customer-trust-strip { border-radius:26px 19px 28px 21px; overflow:visible; }
.customer-trust-item { background:var(--surface-solid); }
.customer-trust-item:first-child { border-radius:24px 0 0 19px; }
.customer-trust-item:last-child { border-radius:0 18px 26px 0; }
.customer-trust-icon {
  background:var(--promo-yellow);
  color:#2B2224;
  border:1.5px solid #2B2224;
  box-shadow:2px 2px 0 #2B2224;
  transform:rotate(-3deg);
}

/* Event cards */
.event-grid { gap:24px; }
.event-card {
  border:2px solid #2B2224;
  border-radius:26px 18px 28px 20px;
  box-shadow:6px 6px 0 #2B2224;
  transform:rotate(-.65deg);
}
.event-card:nth-child(even) { transform:rotate(.65deg); }
.event-card:nth-child(3n) { transform:rotate(-.35deg); }
.event-card:hover { transform:translateY(-7px) rotate(0); box-shadow:8px 9px 0 #2B2224; }
html[data-theme="dark"] .event-card { border-color:#050506; box-shadow:6px 6px 0 #050506; }
html[data-theme="dark"] .event-card:hover { box-shadow:8px 9px 0 #050506; }
.event-art { background:linear-gradient(145deg,#171719,#2A2426 58%,#FF7780); }
.event-card.green .event-art { background:linear-gradient(145deg,#171719 0 45%,#FFD12A 45% 100%); }
.event-card.green .event-card-content { background:linear-gradient(180deg,transparent 0%,rgba(8,8,10,.12) 12%,rgba(8,8,10,.94) 58%,rgba(8,8,10,.99) 100%); }
.event-card.fan .event-art { background:linear-gradient(145deg,#171719,#222228 55%,#FF7780); }
.badge {
  border-radius:9px 11px 8px 10px;
  background:rgba(255,255,255,.92);
  color:#2B2224;
  border-color:rgba(255,255,255,.8);
  text-shadow:none;
  transform:rotate(-1deg);
}
.badge.live { background:#D8F8EA; }
.badge.coming { background:var(--soft-yellow); }
.event-card h3 { font-weight:900; }
.event-card .link { color:var(--promo-yellow); }

.category-card {
  border:1.5px solid #2B2224;
  background:var(--surface-solid);
  border-radius:20px 15px 22px 16px;
  box-shadow:4px 4px 0 #2B2224;
}
.category-card:nth-child(2) { background:var(--pink-tint); transform:rotate(.4deg); }
.category-card:nth-child(3) { background:var(--yellow-tint); transform:rotate(-.4deg); }
.category-card:hover { transform:translateY(-5px) rotate(0); border-color:#2B2224; box-shadow:6px 6px 0 #2B2224; }
.category-card::after { background:var(--brand-primary); color:#2B2224; border:1px solid #2B2224; }
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .category-card:nth-child(2),
html[data-theme="dark"] .category-card:nth-child(3) { background:var(--dark-surface); border-color:#050506; box-shadow:4px 4px 0 #050506; }
html[data-theme="dark"] .category-card::after { border-color:#050506; }

/* Process / security / FAQ */
.process { border-radius:25px 18px 27px 20px; overflow:hidden; }
.process-step { background:var(--surface-solid); }
.step-no {
  display:inline-flex;
  padding:5px 8px;
  background:var(--soft-pink);
  color:#2B2224;
  border:1px solid color-mix(in srgb,#2B2224 35%,transparent);
  border-radius:8px 11px 7px 10px;
  transform:rotate(-1deg);
}
html[data-theme="dark"] .step-no { background:rgba(255,119,128,.16); color:#FBFAFF; border-color:rgba(255,255,255,.12); }
.security-box { background:var(--surface-solid); border-radius:30px 22px 32px 24px; }
.security-lock { background:var(--yellow-tint); border:2px dashed var(--promo-yellow); }
html[data-theme="dark"] .security-lock { background:var(--dark-surface-soft); }
.lock-shape { background:var(--brand-primary); border:2px solid #2B2224; box-shadow:5px 5px 0 var(--promo-yellow); }
.lock-shape::before { border-color:#2B2224; border-bottom:0; }
.lock-shape::after { background:#2B2224; }
.check { background:var(--promo-yellow); color:#2B2224; border:1px solid #2B2224; }
.faq-item {
  border:1.5px solid var(--line);
  border-radius:15px 11px 17px 12px;
  background:var(--surface-solid);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.faq-item:hover { transform:translateX(3px); border-color:var(--brand-primary); }
.faq-item.open { border-color:var(--brand-primary); box-shadow:3px 3px 0 var(--brand-soft); }

/* CTA */
.cta-box {
  border:2px solid #111114;
  border-radius:30px 22px 32px 24px;
  background:#111114;
  box-shadow:8px 8px 0 var(--promo-yellow);
}
.cta-box::after {
  width:190px;
  height:92px;
  right:28px;
  top:30px;
  border-radius:14px 9px 16px 10px;
  background:var(--brand-primary);
  opacity:.16;
  transform:rotate(8deg);
}

/* Event detail */
.breadcrumb a { text-decoration:underline; text-decoration-color:var(--brand-soft); text-decoration-thickness:3px; }
.event-panel { background:var(--surface-solid); border-radius:30px 21px 32px 23px; }
.event-panel:first-child { transform:rotate(-.2deg); }
.soft-badge {
  border-radius:9px 11px 8px 10px;
  background:var(--soft-pink);
  color:#2B2224;
  border:1px solid rgba(43,34,36,.12);
}
.soft-badge.success { background:#D8F8EA; color:#125F48; }
html[data-theme="dark"] .soft-badge { background:rgba(255,119,128,.15); color:var(--dark-text-primary); border-color:rgba(255,255,255,.1); }
html[data-theme="dark"] .soft-badge.success { background:rgba(101,214,173,.13); color:#8BE4C3; }
.fact {
  border:1.5px solid var(--line);
  border-radius:15px 11px 16px 12px;
  background:var(--surface-solid);
}
.fact:nth-child(2) { transform:translateY(-3px); }
.notice { background:var(--yellow-tint); color:#2B2224; border-color:var(--promo-yellow); }
.notice strong { color:#6C3D00; }
html[data-theme="dark"] .notice { background:#1B1B1F; color:#FBFAFF; border-color:rgba(255,209,42,.42); }
html[data-theme="dark"] .notice strong { color:#FFE06E; }
.status-panel {
  position:relative;
  overflow:hidden;
  background:#111114;
  color:#FBFAFF;
  border-color:#050506;
  box-shadow:7px 7px 0 var(--brand-primary);
  transform:rotate(.55deg);
}
.status-panel::after {
  content:"QUEUE";
  position:absolute;
  right:-9px;
  top:22px;
  padding:5px 9px;
  background:var(--promo-yellow);
  color:#2B2224;
  border:1px solid #050506;
  border-radius:7px 10px 7px 9px;
  font-size:.65rem;
  font-weight:900;
  letter-spacing:.12em;
  transform:rotate(4deg);
}
.count-item { border-radius:11px 8px 12px 9px; }
.tabs {
  border:1.5px solid var(--line);
  border-radius:15px 11px 17px 12px;
  background:color-mix(in srgb,var(--bg) 95%,transparent);
  box-shadow:3px 3px 0 color-mix(in srgb,var(--text) 12%,transparent);
}
.tabs a { border-radius:9px 7px 10px 8px; }
.tabs a:hover { background:var(--soft-pink); color:#2B2224; }
html[data-theme="dark"] .tabs a:hover { background:var(--dark-surface-hover); color:var(--dark-text-primary); }
.schedule-card,
.rule-card,
.admin-card,
.map-note,
.verification-card,
.terms-rule-card {
  border:1.5px solid var(--line);
  background:var(--surface-solid);
  border-radius:18px 13px 20px 14px;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.schedule-card:hover,
.rule-card:hover,
.admin-card:hover,
.map-note:hover,
.verification-card:hover,
.terms-rule-card:hover { transform:translateY(-4px); border-color:var(--brand-primary); box-shadow:3px 3px 0 var(--brand-soft); }
.schedule-card:nth-child(even) { transform:translateY(5px); }
.schedule-card:nth-child(even):hover { transform:translateY(0); }
.table-wrap { border-radius:20px 14px 22px 16px; background:var(--surface-solid); }
th { background:var(--yellow-tint); color:#2B2224; }
html[data-theme="dark"] th { background:var(--dark-surface-raised); color:var(--dark-text-secondary); }
.price,.service-fee { font-weight:900; }
.service-fee { color:var(--brand-primary-hover); }
.alert-box {
  border:1.5px solid var(--promo-yellow);
  border-left:6px solid var(--promo-yellow);
  border-radius:13px 17px 15px 12px;
  background:var(--yellow-tint);
}
.alert-box,.alert-box p { color:#2B2224; }
html[data-theme="dark"] .alert-box { background:#1B1B1F; }
html[data-theme="dark"] .alert-box,
html[data-theme="dark"] .alert-box p { color:var(--dark-text-secondary); }
.sticky-register {
  border:1.5px solid var(--line);
  background:color-mix(in srgb,var(--bg) 96%,transparent);
  border-radius:17px 12px 19px 13px;
  box-shadow:5px 5px 0 color-mix(in srgb,var(--text) 25%,transparent);
}
.empty-state { border:2px dashed var(--border-strong); background:var(--yellow-tint); color:#2B2224; }
.empty-state p { color:#665A4B; }
html[data-theme="dark"] .empty-state { background:var(--dark-surface); color:var(--dark-text-primary); border-color:rgba(255,255,255,.16); }
html[data-theme="dark"] .empty-state p { color:var(--dark-text-secondary); }
.toast { background:#111114; color:#FBFAFF; border:1px solid rgba(255,255,255,.12); box-shadow:5px 5px 0 var(--brand-primary); }

/* Seat map / verification */
.seatmap-card { border:2px solid #111114; border-radius:22px 16px 24px 18px; box-shadow:6px 6px 0 var(--promo-yellow); }
.seatmap-caption { background:var(--surface-solid); }
.verification-card::after { width:84px; height:28px; right:-10px; top:18px; border-radius:8px; background:var(--promo-yellow); opacity:.55; transform:rotate(8deg); }
.verification-label { border:1px solid rgba(43,34,36,.14); }
.policy-banner { border-width:1.5px; border-radius:17px 12px 19px 13px; }
.policy-banner .policy-icon { border:1px solid currentColor; transform:rotate(-3deg); }
.coming-soon-panel::after { color:var(--brand-primary); opacity:.06; }
.coming-soon-poster { border:2px solid #111114; box-shadow:6px 6px 0 var(--brand-primary); border-radius:22px 16px 24px 18px; }

/* Terms */
.terms-hero::before { display:none; }
.terms-event-chip,
.legal-box,
.terms-check {
  border-width:1.5px;
  background:var(--surface-solid);
}
.terms-section-head>span {
  background:var(--promo-yellow);
  color:#2B2224;
  border:1.5px solid #2B2224;
  box-shadow:2px 2px 0 #2B2224;
  transform:rotate(-2deg);
}
html[data-theme="dark"] .terms-section-head>span { border-color:#050506; box-shadow:2px 2px 0 #050506; }
.custom-check,
.registration-modal-checkmark { border-radius:7px 5px 8px 6px; }
.terms-check input:checked + .custom-check,
.registration-modal-check input:checked + .registration-modal-checkmark { background:var(--promo-yellow); border-color:#2B2224; box-shadow:3px 3px 0 var(--brand-primary); }
.terms-check input:checked + .custom-check::after,
.registration-modal-check input:checked + .registration-modal-checkmark::after { color:#2B2224; }
.registration-terms-dialog {
  border:1.5px solid rgba(255,119,128,.38);
  border-radius:28px 20px 30px 22px;
  background:var(--bg);
  box-shadow:8px 8px 0 rgba(0,0,0,.38);
}
.registration-terms-header { background:var(--surface-solid); }
.registration-terms-progress span { background:var(--promo-yellow); }
.registration-terms-intro { background:var(--yellow-tint); color:#2B2224; border-color:var(--promo-yellow); }
.registration-terms-intro p { color:#665A4B; }
.registration-terms-badge { background:var(--brand-primary); color:#2B2224; border:1px solid #2B2224; }
html[data-theme="dark"] .registration-terms-intro { background:#1B1B1F; color:var(--dark-text-primary); }
html[data-theme="dark"] .registration-terms-intro p { color:var(--dark-text-secondary); }
.registration-terms-rules article { border-radius:16px 12px 18px 13px; background:var(--surface-solid); }
.registration-terms-rules article>span { background:var(--soft-pink); color:#2B2224; }
html[data-theme="dark"] .registration-terms-rules article>span { background:rgba(255,119,128,.15); color:var(--dark-text-primary); }

/* Testimonial */
.testimonial-section::before { display:none; }
.social-proof-link {
  border:1.5px solid var(--line);
  border-radius:15px 11px 17px 12px;
  background:var(--surface-solid);
  box-shadow:3px 3px 0 color-mix(in srgb,var(--text) 17%,transparent);
}
.social-proof-link:hover { transform:translateY(-4px) rotate(-.5deg); border-color:var(--brand-primary); }
.testimonial-stage { background:var(--surface-solid); border-radius:28px 20px 30px 22px; }
.testimonial-control { border:1.5px solid var(--line); border-radius:11px 8px 12px 9px; }
.testimonial-card { border:1.5px solid var(--line); border-radius:20px 14px 22px 16px; transform:rotate(-.35deg); }
.testimonial-card:nth-child(even) { transform:rotate(.35deg); }
.testimonial-card:hover { transform:translateY(-4px) rotate(0); }
.testimonial-note { border-width:1.5px; border-radius:18px 13px 20px 14px; background:var(--surface-solid); }
.testimonial-note-icon { background:var(--promo-yellow); color:#2B2224; border:1px solid #2B2224; }
.testimonial-note a { background:var(--soft-pink); color:#2B2224; }
html[data-theme="dark"] .testimonial-note a { background:var(--dark-surface-raised); color:var(--dark-text-primary); }

/* Footer */
.footer { background:color-mix(in srgb,var(--surface-solid) 66%,var(--bg)); }
.footer a:hover { color:var(--brand-primary); }

/* Keep light/pastel surfaces readable in dark mode */
html[data-theme="dark"] .customer-trust-icon,
html[data-theme="dark"] .category-card::after,
html[data-theme="dark"] .badge,
html[data-theme="dark"] .badge.live,
html[data-theme="dark"] .badge.coming,
html[data-theme="dark"] .check,
html[data-theme="dark"] .testimonial-note-icon,
html[data-theme="dark"] .registration-terms-badge { color:#2B2224; }

/* Responsive safety */
@media (max-width: 980px) {
  .nav-links { background:var(--surface-solid); border-width:1.5px; box-shadow:5px 5px 0 color-mix(in srgb,var(--text) 18%,transparent); }
  .event-card,.event-card:nth-child(even),.event-card:nth-child(3n) { transform:rotate(0); }
  .customer-trust-item:first-child,.customer-trust-item:last-child { border-radius:0; }
}

@media (max-width: 650px) {
  .section { padding:64px 0; }
  .section-sm { padding:42px 0; }
  .hero { padding:42px 0 64px; background-size:42px 42px; }
  .hero::before { display:none; }
  .hero h1 { letter-spacing:-.045em; }
  .eyebrow { transform:none; }
  .visual-wrap { min-height:360px; }
  .orb { width:260px; height:280px; transform:rotate(3deg); }
  .ticket-stack { transform:rotate(-1.5deg); width:min(360px,88vw); }
  .ticket-card { padding:21px; box-shadow:5px 5px 0 #2B2224; }
  html[data-theme="dark"] .ticket-card { box-shadow:5px 5px 0 #050506; }
  .ticket-title { font-size:1.72rem; }
  .floating-card { padding:11px 12px; }
  .event-card { min-height:350px; box-shadow:4px 4px 0 #2B2224; }
  html[data-theme="dark"] .event-card { box-shadow:4px 4px 0 #050506; }
  .category-card,.category-card:nth-child(2),.category-card:nth-child(3) { transform:none; }
  .schedule-card:nth-child(even) { transform:none; }
  .status-panel { transform:none; box-shadow:5px 5px 0 var(--brand-primary); }
  .status-panel::after { right:10px; top:10px; }
  .cta-box { box-shadow:5px 5px 0 var(--promo-yellow); }
  .registration-terms-dialog { border-radius:24px 24px 0 0; box-shadow:none; }
  .marquee { transform:none; }
}

@media (max-width: 390px) {
  .container { width:min(calc(100% - 18px),var(--container)); }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .btn { width:100%; }
  .ticket-meta { grid-template-columns:1fr; }
  .ticket-meta>div { display:flex; justify-content:space-between; gap:12px; padding-top:7px; border-top:1px dashed rgba(43,34,36,.18); }
  html[data-theme="dark"] .ticket-meta>div { border-color:rgba(255,255,255,.12); }
  .testimonial-socials { grid-template-columns:1fr; }
  .status-panel::after { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  .event-card,.category-card,.status-panel,.eyebrow,.ticket-stack,.testimonial-card { transform:none !important; }
}

/* Long customer-facing URLs must never force mobile horizontal scroll. */
.security-box > *,
.security-item > *,
.status-row > *,
.footer-grid > *,
.admin-card > * { min-width: 0; }
.security-item span:last-child,
.status-row b,
.footer a,
.admin-card b,
.section-copy { overflow-wrap: anywhere; word-break: normal; }
