/*
 * Party Fry 2.0 - public site, sign-in pages, checkout and customer dashboard.
 * Needs brand.css. Overrides Evento's front theme (assets/front/css/style.css).
 */

:root, html[data-theme="dark"] {
  --primary-color: var(--pf-coral);
  --heading-color: var(--pf-ink);
  --base-color: var(--pf-ink-2);
  --light-color: var(--pf-bg-2);
  --base-font: var(--pf-font);
  --heading-font: var(--pf-display);
}

html, body { background: var(--pf-bg); }
body { color: var(--pf-ink-2); font-family: var(--pf-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.page-wrapper { background: var(--pf-bg); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--pf-ink); font-family: var(--pf-display); letter-spacing: -.015em; }
a { color: var(--pf-coral-ink); transition: color .2s; }
a:hover { color: var(--pf-coral-strong); }
p { color: var(--pf-ink-2); }
::selection { background: var(--pf-sun); color: #16213E; }
.text-dark { color: var(--pf-ink) !important; }
.bg-lighter, .bg-light { background: var(--pf-bg-2) !important; }
hr { border-color: var(--pf-line); }

/* ---------- Buttons ---------- */
.theme-btn, .btn-primary, button.theme-btn, a.theme-btn {
  background: var(--pf-coral) !important; border: 0 !important; color: var(--pf-on-coral) !important;
  border-radius: var(--pf-radius-pill) !important; font-family: var(--pf-font); font-weight: 700; letter-spacing: 0;
  text-transform: none; padding: 13px 26px; box-shadow: 0 6px 18px rgba(210, 68, 27, .22);
  transition: transform .2s var(--pf-ease), box-shadow .2s, background .2s;
}
.theme-btn:hover, .btn-primary:hover, a.theme-btn:hover { background: var(--pf-coral-strong) !important; color: var(--pf-on-coral) !important; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(210, 68, 27, .28); }
.theme-btn::before, .theme-btn::after { display: none !important; }
.btn-outline-primary { color: var(--pf-coral-ink); border-color: var(--pf-coral); border-radius: var(--pf-radius-pill); }
.btn-outline-primary:hover { background: var(--pf-coral); color: var(--pf-on-coral); border-color: var(--pf-coral); }
.btn { border-radius: var(--pf-radius-pill); font-weight: 600; }

/* ---------- Forms ---------- */
.form-control, .nice-select, select, input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], textarea {
  background-color: var(--pf-surface); color: var(--pf-ink); border: 1.5px solid var(--pf-line-2); border-radius: var(--pf-radius-sm);
}
.form-control:focus, input:focus, textarea:focus, select:focus { border-color: var(--pf-coral) !important; box-shadow: 0 0 0 4px var(--pf-coral-soft) !important; background-color: var(--pf-surface); color: var(--pf-ink); }
::placeholder { color: var(--pf-ink-2) !important; opacity: .75; }
.nice-select .list { background: var(--pf-surface); border-radius: var(--pf-radius-sm); box-shadow: var(--pf-shadow); }
.nice-select .option { color: var(--pf-ink); }
.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus { background: var(--pf-coral-soft); }
.select2-container--default .select2-selection--single { background: var(--pf-surface); border: 1.5px solid var(--pf-line-2); border-radius: var(--pf-radius-sm); height: 46px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--pf-ink); line-height: 44px; }
.select2-dropdown { background: var(--pf-surface); color: var(--pf-ink); border-color: var(--pf-line-2); }
label { color: var(--pf-ink); }

/* ---------- Preloader ---------- */
.preloader { background-color: var(--pf-bg) !important; }

/* ---------- Header ---------- */
.main-header { position: relative; z-index: 999; }
.main-header .header-upper {
  background: color-mix(in srgb, var(--pf-bg) 88%, transparent) !important;
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--pf-line); padding-top: 12px !important; padding-bottom: 12px !important;
}
.main-header.fixed-header .header-upper { box-shadow: 0 6px 24px rgba(22, 33, 62, .08); }
.main-header .logo img, .main-header .logo-mobile img { max-height: 58px; width: auto; }
.main-menu .navigation > li > a { color: var(--pf-ink) !important; font-family: var(--pf-font); font-weight: 600; font-size: 15px; text-transform: none; position: relative; }
.main-menu .navigation > li > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--pf-coral);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--pf-ease);
}
.main-menu .navigation > li:hover > a::after, .main-menu .navigation > li.current > a::after { transform: scaleX(1); }
.main-menu .navigation > li:hover > a { color: var(--pf-coral-ink) !important; }
.main-menu .navigation li ul, .main-menu .navigation > li > ul {
  background: var(--pf-surface) !important; border-radius: var(--pf-radius-sm); box-shadow: var(--pf-shadow); border: 1px solid var(--pf-line); padding: 6px;
}
.main-menu .navigation li ul li { border: 0 !important; }
.main-menu .navigation li ul li a { color: var(--pf-ink) !important; border-radius: 8px; }
.main-menu .navigation li ul li a:hover { background: var(--pf-coral-soft) !important; color: var(--pf-coral-ink) !important; }
.menu-right { gap: 8px; align-items: center; }
.menu-right .form-control, .menu-right select {
  height: 40px; padding: 0 30px 0 12px; border-radius: var(--pf-radius-pill); font-size: 14px; font-weight: 600; width: auto;
}
.menu-btn {
  background: var(--pf-surface) !important; color: var(--pf-ink) !important; border: 1.5px solid var(--pf-line-2) !important;
  border-radius: var(--pf-radius-pill) !important; padding: 8px 16px !important; font-weight: 700; font-size: 14px; transition: all .2s;
}
.menu-btn:hover { border-color: var(--pf-coral) !important; color: var(--pf-coral-ink) !important; }
.menu-right .dropdown:last-of-type .menu-btn { background: var(--pf-coral) !important; color: var(--pf-on-coral) !important; border-color: var(--pf-coral) !important; }
.menu-right .dropdown-menu, .dropdown-menu { background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-sm); box-shadow: var(--pf-shadow); padding: 6px; }
.dropdown-item { color: var(--pf-ink); border-radius: 8px; font-weight: 500; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--pf-coral-soft); color: var(--pf-coral-ink); }
.navbar-toggle .icon-bar { background: var(--pf-ink) !important; }
.main-menu .navbar-toggle { border: 1.5px solid var(--pf-line-2); border-radius: 12px; }

@media (max-width: 1199px) {
  .main-menu .navbar-collapse { background: var(--pf-surface); border-radius: var(--pf-radius); box-shadow: var(--pf-shadow); margin-top: 10px; padding: 8px 14px 14px; }
  .main-menu .navbar-collapse > ul > li { border-color: var(--pf-line) !important; }
  .main-menu .navigation > li > a::after { display: none; }
  .menu-right { flex-wrap: wrap; padding-top: 10px; }
  .main-menu .navigation li ul { box-shadow: none; border: 0; }
  .main-menu .navigation li.dropdown .dropdown-btn { color: var(--pf-ink); }
}

/* ---------- Hero (home) ---------- */
.pf-hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, var(--pf-sun-soft), transparent 60%), var(--pf-bg); }
.pf-hero::before { /* a soft sun behind the photo */
  content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 61, .45), rgba(255, 197, 61, 0) 65%); pointer-events: none;
}
.pf-hero .container { position: relative; }
.pf-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pf-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pf-radius-pill);
  background: var(--pf-surface); border: 1px solid var(--pf-line); color: var(--pf-ink); font-weight: 600; font-size: 14px; box-shadow: var(--pf-shadow);
}
.pf-hero__eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--pf-coral); box-shadow: 0 0 0 4px var(--pf-coral-soft); display: inline-block; animation: pf-pulse 2.4s infinite; }
@keyframes pf-pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.pf-hero h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin: 20px 0 18px; color: var(--pf-ink); }
.pf-hero h1 .pf-underline { position: relative; white-space: nowrap; z-index: 0; }
.pf-hero h1 .pf-underline::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; background: var(--pf-sun); border-radius: 6px; z-index: -1; transform: rotate(-1.5deg); }
.pf-hero__lead { font-size: 18px; max-width: 520px; color: var(--pf-ink-2); margin-bottom: 28px; }
.pf-search {
  display: flex; align-items: stretch; gap: 6px; background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 20px;
  padding: 8px; box-shadow: var(--pf-shadow); max-width: 600px;
}
.pf-search .pf-search__field { display: flex; align-items: center; gap: 10px; padding: 0 12px; flex: 1 1 auto; min-width: 0; }
.pf-search .pf-search__field + .pf-search__field { border-left: 1px solid var(--pf-line); }
.pf-search .pf-search__field i { color: var(--pf-coral-ink); }
.pf-search input, .pf-search select { border: 0 !important; background: transparent !important; box-shadow: none !important; height: 48px; width: 100%; color: var(--pf-ink); font-weight: 500; padding: 0; }
.pf-search .nice-select { border: 0; background: transparent; height: 48px; line-height: 48px; padding-left: 0; width: 100%; }
.pf-search .theme-btn { white-space: nowrap; padding: 0 24px; box-shadow: none; }
.pf-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pf-hero__chips a {
  padding: 7px 14px; border-radius: var(--pf-radius-pill); background: var(--pf-surface); border: 1px solid var(--pf-line);
  color: var(--pf-ink); font-weight: 600; font-size: 14px; transition: all .2s var(--pf-ease);
}
.pf-hero__chips a:hover { border-color: var(--pf-coral); color: var(--pf-coral-ink); transform: translateY(-2px); }
.pf-hero__art { position: relative; }
.pf-hero__photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--pf-shadow-lift); transform: rotate(1.5deg); }
.pf-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; display: block; }
.pf-hero__ticket {
  position: absolute; left: -36px; bottom: 36px; background: var(--pf-surface); border-radius: 18px; padding: 14px 18px 14px 14px;
  box-shadow: var(--pf-shadow-lift); display: flex; gap: 12px; align-items: center; min-width: 250px; border: 1px solid var(--pf-line);
  animation: pf-float 6s ease-in-out infinite;
}
.pf-hero__ticket img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.pf-hero__ticket b { display: block; color: var(--pf-ink); font-family: var(--pf-display); font-size: 16px; line-height: 1.2; }
.pf-hero__ticket span { font-size: 13px; color: var(--pf-ink-2); }
.pf-hero__ticket .pf-ok { color: var(--pf-ok); font-weight: 700; }
.pf-hero__badge {
  position: absolute; right: -10px; top: 26px; background: var(--pf-sun); color: #16213E; font-weight: 800; font-family: var(--pf-display);
  border-radius: 999px; padding: 10px 16px; box-shadow: var(--pf-shadow); transform: rotate(6deg); font-size: 15px;
}
@keyframes pf-float { 50% { transform: translateY(-8px); } }
@media (max-width: 991px) {
  .pf-hero { padding: 28px 0 48px; }
  .pf-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .pf-hero__photo { aspect-ratio: 16 / 11; transform: none; }
  .pf-hero__ticket { left: 12px; bottom: -22px; }
  .pf-hero__badge { right: 12px; }
}
@media (max-width: 575px) {
  .pf-search { flex-direction: column; border-radius: 18px; }
  .pf-search .pf-search__field + .pf-search__field { border-left: 0; border-top: 1px solid var(--pf-line); }
  .pf-search .theme-btn { height: 48px; justify-content: center; }
  .pf-hero__ticket { min-width: 0; right: 12px; }
}

/* ---------- Section titles ---------- */
.section-title h2, .section-title .h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--pf-ink); }
.section-title p { color: var(--pf-ink-2); font-size: 17px; }
.section-title h2::after, .section-title h2::before { display: none; }

/* ---------- Event cards ---------- */
.event-item {
  background: var(--pf-surface) !important; border: 1px solid var(--pf-line); border-radius: 22px !important; overflow: hidden;
  box-shadow: var(--pf-shadow); transition: transform .3s var(--pf-ease), box-shadow .3s; margin-bottom: 30px;
}
.event-item:hover { transform: translateY(-6px); box-shadow: var(--pf-shadow-lift); }
.event-item .event-image { position: relative; overflow: hidden; border-radius: 0 !important; aspect-ratio: 16 / 10; background: var(--pf-bg-2); }
.event-item .event-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pf-ease); border-radius: 0 !important; }
.event-item:hover .event-image img { transform: scale(1.06); }
.event-item .event-content { padding: 20px 22px 22px !important; background: transparent !important; }
.event-item .time-info { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 !important; margin: 0 0 12px !important; border: 0 !important; background: none !important; }
.event-item .time-info li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pf-radius-pill);
  background: var(--pf-bg-2); color: var(--pf-ink); font-size: 13px; font-weight: 600; margin: 0 !important; border: 0 !important;
}
.event-item .time-info li:first-child { background: var(--pf-coral-soft); color: var(--pf-coral-ink); }
.event-item .time-info li i { color: inherit; }
.event-item .organizer { color: var(--pf-teal-ink) !important; font-weight: 600; font-size: 14px; }
.event-item h5, .event-item h5 a { font-family: var(--pf-display); font-size: 21px; line-height: 1.25; color: var(--pf-ink) !important; font-weight: 700; margin: 6px 0 8px; }
.event-item h5 a:hover { color: var(--pf-coral-ink) !important; }
.event-item .event-description { font-size: 15px; color: var(--pf-ink-2); }
.event-item .price-remain { border-top: 1px dashed var(--pf-line-2) !important; padding-top: 14px; margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.event-item .price-remain .location { color: var(--pf-ink-2); font-size: 14px; }
.event-item .price-remain .location i { color: var(--pf-coral-ink); }
.event-item .price-remain > span, .event-item .price { font-family: var(--pf-display); font-weight: 800; color: var(--pf-ink); font-size: 18px; }
.event-item .wishlist-btn { background: var(--pf-surface) !important; color: var(--pf-coral-ink) !important; border-radius: 50% !important; box-shadow: var(--pf-shadow); }
.event-item .syotimer__body, .event-item .syotimer-cell { background: var(--pf-surface) !important; }
.event-item .syotimer-cell__value { color: var(--pf-ink) !important; }

/* Category filter tabs */
.events-tabs { border: 0 !important; gap: 8px; justify-content: center; flex-wrap: wrap; }
.events-tabs .nav-link {
  border: 1.5px solid var(--pf-line-2) !important; border-radius: var(--pf-radius-pill) !important; background: var(--pf-surface) !important;
  color: var(--pf-ink) !important; font-weight: 600; padding: 8px 18px !important; margin: 0 !important; transition: all .2s;
}
.events-tabs .nav-link:hover { border-color: var(--pf-coral) !important; }
.events-tabs .nav-link.active { background: var(--pf-ink) !important; color: var(--pf-bg) !important; border-color: var(--pf-ink) !important; }

/* Categories */
.category-wrap { gap: 16px; }
.category-item { border-radius: 20px !important; overflow: hidden; position: relative; transition: transform .3s var(--pf-ease); box-shadow: var(--pf-shadow); background: var(--pf-bg-2); min-height: 150px; }
.category-item:hover { transform: translateY(-4px) rotate(-.5deg); }
.category-item img { transition: transform .6s var(--pf-ease); }
.category-item:hover img { transform: scale(1.08); }
.category-item .category-content { background: linear-gradient(transparent, rgba(22, 33, 62, .78)) !important; }
.category-item .category-content h5 { color: #fff !important; font-size: 19px; }

/* About / features / how it works / testimonials */
.about-image-part img { border-radius: 28px; box-shadow: var(--pf-shadow-lift); width: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.about-content h2 { color: var(--pf-ink); }
.about-content h4, .about-content h5, .about-content strong { color: var(--pf-ink); }
.feature-item {
  background: var(--pf-surface) !important; border: 1px solid var(--pf-line) !important; border-radius: 20px !important; padding: 26px !important;
  box-shadow: var(--pf-shadow); transition: transform .3s var(--pf-ease), box-shadow .3s; height: calc(100% - 30px); margin-bottom: 30px;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--pf-shadow-lift); }
.feature-item > i { width: 54px; height: 54px; border-radius: 16px; display: inline-flex !important; align-items: center; justify-content: center; background: var(--pf-coral-soft); color: var(--pf-coral-ink) !important; font-size: 24px !important; margin-bottom: 16px; }
.feature-item h5 { color: var(--pf-ink); font-size: 19px; }
.work-process-inner { background: var(--pf-surface) !important; border-radius: 28px !important; border: 1px solid var(--pf-line); box-shadow: var(--pf-shadow); }
.work-process-item .icon { background: var(--pf-sun-soft) !important; color: var(--pf-coral-ink) !important; border: 0 !important; }
.work-process-item .icon i { color: var(--pf-coral-ink) !important; }
.work-process-item .icon .number { background: var(--pf-coral) !important; color: var(--pf-on-coral) !important; }
.work-process-item h4 { color: var(--pf-ink); font-size: 19px; }
.testimonial-item, .testimonial-content { background: var(--pf-surface) !important; border-radius: 20px !important; color: var(--pf-ink-2); }
.client-logo-item, .client-logo-wrap a { background: var(--pf-surface) !important; border: 1px solid var(--pf-line) !important; border-radius: 16px !important; }

/* ---------- Page banners (inner pages) ---------- */
.page-banner {
  background-color: var(--pf-ink) !important; background-size: cover; background-position: center; border-radius: 0 0 32px 32px;
  margin: 0 12px; padding-top: 80px !important; padding-bottom: 84px !important; overflow: hidden;
}
.page-banner.overlay::before { background: linear-gradient(120deg, rgba(22, 33, 62, .88), rgba(210, 68, 27, .55)) !important; opacity: 1 !important; }
.page-banner .page-title { color: #fff !important; font-weight: 800; letter-spacing: -.03em; font-size: clamp(30px, 4vw, 50px); }
.page-banner .breadcrumb { background: rgba(255, 255, 255, .12); border-radius: var(--pf-radius-pill); padding: 6px 16px; display: inline-flex; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a, .page-banner .breadcrumb-item::before { color: #fff !important; font-weight: 600; }
.page-banner .breadcrumb-item.active { color: var(--pf-sun) !important; }

/* ---------- Event details / sidebar / checkout ---------- */
.event-details-section, .event-page-section, .checkout-area, .user-dashbord, .shop-area, .blog-page-area, .contact-page, .faq-page-area { background: var(--pf-bg); }
.event-details-information, .event-sidebar .widget, .widget, .sidebar-widget, .event-filter, .shop-sidebar .widget,
.checkout-area .card, .order-summary, .payment-method, .billing-details, .checkout-wrap, .contact-form-wrap, .single-faq, .accordion .card {
  background: var(--pf-surface) !important; border: 1px solid var(--pf-line) !important; border-radius: 20px !important; box-shadow: var(--pf-shadow);
}
.event-sidebar .widget, .widget { padding: 24px !important; margin-bottom: 20px; }
.widget-title, .widget h4, .widget h5 { color: var(--pf-ink); }
.event-details-content img { border-radius: 16px; }
.event-details-header h1, .event-details-header h2, .event-details-header h3 { color: var(--pf-ink); font-weight: 800; letter-spacing: -.025em; }
.event-details-header ul li, .event-details-header .event-info li { color: var(--pf-ink-2); }
.event-details-header i, .event-details-content i { color: var(--pf-coral-ink); }
.ticket-card, .ticket-item, .single-ticket, .tickets-wrap .ticket { background: var(--pf-surface) !important; border: 1.5px dashed var(--pf-line-2) !important; border-radius: 16px !important; }
.price-filter .ui-slider-range, .ui-slider .ui-slider-range { background: var(--pf-coral) !important; }
.ui-slider .ui-slider-handle { background: var(--pf-coral) !important; border-color: var(--pf-coral) !important; }
.table { color: var(--pf-ink); }
.table td, .table th { border-color: var(--pf-line) !important; }
.table thead th { color: var(--pf-ink); border-bottom-width: 1px; }
.pagination .page-link { color: var(--pf-ink); background: var(--pf-surface); border-color: var(--pf-line); border-radius: 10px; margin: 0 3px; }
.pagination .page-item.active .page-link { background: var(--pf-coral); border-color: var(--pf-coral); color: var(--pf-on-coral); }

/* ---------- Sign in / sign up ---------- */
.login-area, .signup-area, .authentication-area { background: var(--pf-bg); }
.login-form, .signup-form, .login-area form, .authentication-form {
  background: var(--pf-surface) !important; border: 1px solid var(--pf-line) !important; border-radius: 24px !important; box-shadow: var(--pf-shadow) !important; padding: 32px !important;
}
.login-form .theme-btn, .signup-form .theme-btn { width: 100%; justify-content: center; }

/* ---------- Customer dashboard ---------- */
.user-dashbord { padding-top: 60px; padding-bottom: 80px; }
.user-sidebar { background: var(--pf-surface) !important; border: 1px solid var(--pf-line) !important; border-radius: 20px !important; box-shadow: var(--pf-shadow); padding: 12px !important; }
.user-sidebar .links li { border: 0 !important; margin: 2px 0; }
.user-sidebar .links li a { display: block; padding: 10px 14px !important; border-radius: 12px; color: var(--pf-ink) !important; font-weight: 600; border: 0 !important; transition: background .2s; }
.user-sidebar .links li a:hover { background: var(--pf-bg-2); }
.user-sidebar .links li a.active { background: var(--pf-coral-soft) !important; color: var(--pf-coral-ink) !important; }
.user-profile-details, .account-info { background: var(--pf-surface) !important; border: 1px solid var(--pf-line) !important; border-radius: 20px !important; box-shadow: var(--pf-shadow); }
.account-info .title { border-bottom: 1px solid var(--pf-line) !important; }
.account-info .title h4 { color: var(--pf-ink); font-weight: 800; }
.user-profile-details .account-info { border: 0 !important; box-shadow: none; }
.main-info .list li, .main-info h5 { color: var(--pf-ink); }
.dataTables_wrapper, table.dataTable tbody tr { background: transparent !important; color: var(--pf-ink); }
table.dataTable.table-striped tbody tr:nth-of-type(odd) { background: var(--pf-bg-2) !important; }

/* ---------- Footer ---------- */
.footer-section {
  background: var(--pf-ink) !important; color: rgba(255, 255, 255, .78); border-radius: 32px 32px 0 0; margin-top: 40px; position: relative; overflow: hidden;
}
html[data-theme="dark"] .footer-section { background: #0F0C16 !important; border-top: 1px solid var(--pf-line); }
.footer-section::before { content: ''; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 61, .22), transparent 65%); pointer-events: none; }
.footer-section p, .footer-section li, .footer-section span, .footer-section .ip { color: rgba(255, 255, 255, .78) !important; }
.footer-section a { color: #fff !important; }
.footer-section a:hover { color: var(--pf-sun) !important; }
.footer-section .footer-title { color: #fff !important; font-family: var(--pf-display); }
.footer-section i { color: var(--pf-sun) !important; }
.footer-section .social-style-one a { background: rgba(255, 255, 255, .1) !important; border: 0 !important; }
.footer-section .social-style-one a:hover { background: var(--pf-coral) !important; }
.footer-section .social-style-one a i { color: #fff !important; }
.copyright-area, .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12) !important; background: transparent !important; }

/* ---------- Cookie bar, toasts, misc ---------- */
.cookie-consent, .js-cookie-consent {
  background: var(--pf-surface) !important; color: var(--pf-ink) !important; border: 1px solid var(--pf-line); border-radius: 18px !important;
  box-shadow: var(--pf-shadow-lift); left: 16px !important; right: 16px !important; bottom: 16px !important; width: auto !important; max-width: 760px; margin: 0 auto;
}
.cookie-consent p, .js-cookie-consent p, .cookie-consent__message { color: var(--pf-ink) !important; }
.cookie-consent__agree, .js-cookie-consent-agree { background: var(--pf-coral) !important; color: var(--pf-on-coral) !important; border-radius: 999px !important; border: 0 !important; }
.scroll-top { background: var(--pf-coral) !important; color: var(--pf-on-coral) !important; }
.badge-warning { background: var(--pf-sun); color: #16213E; }

/* ---------- Dark mode fixes for Evento's hard-coded colours ---------- */
html[data-theme="dark"] body,
html[data-theme="dark"] .page-wrapper,
html[data-theme="dark"] section { background-color: transparent; }
html[data-theme="dark"] .bg-white, html[data-theme="dark"] .card, html[data-theme="dark"] .modal-content { background: var(--pf-surface) !important; color: var(--pf-ink); }
html[data-theme="dark"] .text-dark, html[data-theme="dark"] .text-black { color: var(--pf-ink) !important; }
html[data-theme="dark"] .border, html[data-theme="dark"] .border-top, html[data-theme="dark"] .border-bottom { border-color: var(--pf-line) !important; }
html[data-theme="dark"] .close { color: var(--pf-ink); }
html[data-theme="dark"] .main-header .logo img, html[data-theme="dark"] .footer-logo img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .25)); }
html[data-theme="dark"] .event-item .event-image { background: var(--pf-bg-2); }
html[data-theme="dark"] .page-banner { background-color: #0F0C16 !important; }
html[data-theme="dark"] .daterangepicker { background: var(--pf-surface); color: var(--pf-ink); border-color: var(--pf-line); }
html[data-theme="dark"] .daterangepicker .calendar-table { background: var(--pf-surface); border-color: var(--pf-line); }
html[data-theme="dark"] .daterangepicker td.off { background: transparent; color: var(--pf-ink-2); }
html[data-theme="dark"] .daterangepicker td.available:hover { background: var(--pf-coral-soft); }
html[data-theme="dark"] .daterangepicker td.active { background: var(--pf-coral); color: var(--pf-on-coral); }

/* ---------- Refinements after first review ---------- */
.main-header .logo img, .main-header .logo-mobile img { height: 76px !important; max-height: none !important; margin: -8px 0; width: auto !important; max-width: none !important; }
@media (min-width: 1200px) {
  .main-menu .navigation > li > a { margin-left: 22px !important; padding: 18px 0 !important; }
  .main-menu .navigation { display: flex; flex-wrap: nowrap; }
}
.menu-right .ui-selectmenu-button.ui-button {
  margin-right: 0 !important; height: 40px; padding: 0 14px !important; border: 1.5px solid var(--pf-line-2) !important;
  border-radius: var(--pf-radius-pill) !important; background: var(--pf-surface) !important; display: inline-flex; align-items: center;
}
.menu-right .ui-selectmenu-text { font-size: 14px; font-weight: 700; color: var(--pf-ink) !important; padding: 0 0 0 22px !important; }
.menu-right .ui-selectmenu-text::before { font-size: 15px !important; color: var(--pf-coral-ink) !important; }
.ui-widget.ui-widget-content { background: var(--pf-surface) !important; color: var(--pf-ink); border: 1px solid var(--pf-line) !important; border-radius: 12px !important; box-shadow: var(--pf-shadow); }
.ui-menu .ui-menu-item-wrapper { padding: 6px 10px !important; border-radius: 8px !important; }
.ui-state-active, .ui-widget-content .ui-state-active { background: var(--pf-coral-soft) !important; border-color: transparent !important; color: var(--pf-coral-ink) !important; }
.event-content .time-info { position: static !important; width: auto !important; margin: 0 0 12px !important; justify-content: flex-start !important; box-shadow: none !important; }

/* ---------- Event page ---------- */
.event-details-information { padding: 24px !important; }
.event-top-date { background: var(--pf-surface) !important; border: 1px solid var(--pf-line); border-radius: 14px !important; overflow: hidden; box-shadow: var(--pf-shadow); }
.event-top-date .event-month { background: var(--pf-coral) !important; color: var(--pf-on-coral) !important; }
.event-top-date .event-date { color: var(--pf-ink) !important; font-family: var(--pf-display); font-weight: 800; }
.event-details-top .title { font-weight: 800; letter-spacing: -.03em; }
.event-details-images, .event-details-image .swiper { border-radius: 24px; overflow: hidden; }
.event-details-images .swiper-slide { aspect-ratio: 16 / 9; height: auto !important; background: var(--pf-bg-2); }
.event-details-images .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.event-details-slide-prev, .event-details-slide-next { background: var(--pf-surface) !important; color: var(--pf-ink) !important; box-shadow: var(--pf-shadow); }
.event-details-slide-prev:hover, .event-details-slide-next:hover { background: var(--pf-coral) !important; color: var(--pf-on-coral) !important; }
.event-details-image .buttons a, .event-details-image .buttons button { background: var(--pf-surface) !important; color: var(--pf-coral-ink) !important; border-radius: 12px !important; }
.event-details-content-inner h3, .event-details-content-inner h4 { color: var(--pf-ink); }
.event-details-information h5, .event-details-information h6, .event-details-information b, .event-details-information strong { color: var(--pf-ink) !important; }
.event-details-information .quantity-input button, .quantity-input button, .quantity-down, .quantity-up { background: var(--pf-bg-2) !important; color: var(--pf-ink) !important; border-color: var(--pf-line-2) !important; border-radius: 8px; }
.event-details-information input[type="number"], .quantity-input input { background: var(--pf-surface) !important; color: var(--pf-ink) !important; }
.map-h { border-radius: 20px; }

/* Remaining light surfaces from Evento, in both modes */
.gallery-item, .slick-arrow, .slide-btn, .revenue-item i, .sidebar, .contact-info-item > i, .organizer-content, .organizer-details-top,
.blog-sidebar-widgets, .blog-txt, .checkout-success, .confirmation-message, .gateway-instruction, .single-message, .control, .items, .ticket,
.popup-three .popup_main-content, .popup-four .popup_main-content, .popup-six .popup_main-content, .event-search .search-item {
  background-color: var(--pf-surface) !important; color: var(--pf-ink);
}
.organizer-content .social-style-two a { background: var(--pf-bg-2) !important; color: var(--pf-ink) !important; }
.checkout-area .table .cart-table .cart-header { background: var(--pf-bg-2) !important; }
html[data-theme="dark"] .event-details-information *, html[data-theme="dark"] .sidebar * { border-color: var(--pf-line) !important; }
html[data-theme="dark"] .event-details-information, html[data-theme="dark"] .event-details-information span, html[data-theme="dark"] .event-details-information p,
html[data-theme="dark"] .event-details-information a:not(.theme-btn), html[data-theme="dark"] .event-details-information label { color: var(--pf-ink) !important; }
html[data-theme="dark"] .event-details-information a.text-primary, html[data-theme="dark"] .event-details-information .view-profile, html[data-theme="dark"] .event-details-information i { color: var(--pf-coral-ink) !important; }
.page-banner .banner-inner, .page-banner nav { text-align: center; }
@media (max-width: 1199px) { .main-header .logo img, .main-header .logo-mobile img { height: 60px !important; margin: -4px 0; } }
.dataTables_wrapper .dataTables_paginate .paginate_button, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter { color: var(--pf-ink-2) !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled { opacity: .55; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--pf-coral) !important; color: var(--pf-on-coral) !important; border: 0 !important; border-radius: 8px; }

/* ---------- What Party Fry does (home) ---------- */
.pf-what { padding: 84px 0 72px; background: var(--pf-bg); }
.pf-kicker { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-coral-ink); margin-bottom: 10px; }
.pf-what__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.pf-what__head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 14px; }
.pf-what__head p { font-size: 18px; color: var(--pf-ink-2); }
.pf-what__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pf-what__card { border-radius: 28px; padding: 32px; border: 1px solid var(--pf-line); background: var(--pf-surface); box-shadow: var(--pf-shadow); display: flex; flex-direction: column; transition: transform .3s var(--pf-ease), box-shadow .3s; }
.pf-what__card:hover { transform: translateY(-4px); box-shadow: var(--pf-shadow-lift); }
.pf-what__card--guests { background: linear-gradient(160deg, var(--pf-sun-soft), var(--pf-surface) 55%); }
.pf-what__card--hosts { background: #16213E; border-color: #16213E; }
html[data-theme="dark"] .pf-what__card--hosts { background: #0F0C16; border-color: var(--pf-line); }
.pf-what__card--hosts h3, .pf-what__card--hosts b { color: #fff !important; }
.pf-what__card--hosts span:not(.pf-what__badge) { color: rgba(255, 255, 255, .78) !important; }
.pf-what__card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pf-what__card-head h3 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0; order: -1; }
.pf-what__badge { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--pf-coral-soft); color: var(--pf-coral-ink); }
.pf-what__card--hosts .pf-what__badge { background: rgba(255, 197, 61, .18); color: #FFD166; }
.pf-what__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.pf-what__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.pf-what__list i { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; background: var(--pf-surface); color: var(--pf-coral-ink); box-shadow: var(--pf-shadow); }
.pf-what__card--hosts .pf-what__list i { background: rgba(255, 255, 255, .08); color: #FFD166; box-shadow: none; }
.pf-what__list b { display: block; color: var(--pf-ink); font-size: 17px; line-height: 1.3; margin-bottom: 2px; }
.pf-what__list span { color: var(--pf-ink-2); font-size: 15px; line-height: 1.5; }
.pf-what__cta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pf-link-btn { font-weight: 700; color: var(--pf-coral-ink); border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.pf-what__card--hosts .pf-link-btn { color: #FFD166; }
.pf-what__card--hosts .theme-btn { background: #FF8A5C !important; color: #1A1220 !important; }
.pf-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: none; }
.pf-steps li { display: flex; align-items: center; gap: 12px; background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 18px; padding: 14px 16px; position: relative; }
.pf-steps li span { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--pf-sun); color: #16213E; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-family: var(--pf-display); }
.pf-steps li b { color: var(--pf-ink); font-size: 15px; line-height: 1.3; }
@media (max-width: 991px) { .pf-what__grid { grid-template-columns: 1fr; } .pf-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .pf-what { padding: 56px 0 48px; } .pf-what__card { padding: 24px 20px; border-radius: 22px; } .pf-steps { grid-template-columns: 1fr; } }

/* Category tiles: 5 across on desktop */
.category-wrap { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-wrap .category-item { width: auto !important; margin: 0 !important; aspect-ratio: 1 / 1; min-height: 0; display: block; }
.category-wrap .category-item img { width: 100%; height: 100%; object-fit: cover; }
.category-wrap .category-item .category-content { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px !important; }
@media (max-width: 991px) { .category-wrap { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .category-wrap { grid-template-columns: repeat(2, 1fr); gap: 12px; } .category-item .category-content h5 { font-size: 16px; } }

/* ---------- Closing call to action (home) ---------- */
.pf-cta { padding: 24px 0 64px; }
.pf-cta__inner {
  position: relative; overflow: hidden; border-radius: 32px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: radial-gradient(500px 260px at 100% 0%, rgba(255, 197, 61, .55), transparent 70%), linear-gradient(120deg, #D2441B, #B53A15);
  box-shadow: 0 20px 50px rgba(210, 68, 27, .25);
}
.pf-cta__inner h2 { color: #fff !important; font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; }
.pf-cta__inner p { color: rgba(255, 255, 255, .9) !important; font-size: 18px; margin: 0; }
.pf-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pf-cta .theme-btn { background: #fff !important; color: #B53A15 !important; box-shadow: none; }
.pf-cta .theme-btn:hover { background: #FFF2CC !important; color: #B53A15 !important; }
.pf-cta__ghost { display: inline-flex; align-items: center; padding: 13px 26px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .8); color: #fff !important; font-weight: 700; transition: background .2s; }
.pf-cta__ghost:hover { background: rgba(255, 255, 255, .14); color: #fff !important; }
@media (max-width: 575px) { .pf-cta__inner { padding: 32px 22px; border-radius: 24px; } .pf-cta__actions, .pf-cta__actions a { width: 100%; justify-content: center; } }

/* ---------- Policy and custom pages: readable long text ---------- */
.custom-page-area .container > .row > [class*="col"], .custom-page-area .summernote-content, .custom-page-area .custom-page-content { max-width: 860px; margin-left: auto; margin-right: auto; }
.custom-page-area, .custom-page-area p, .custom-page-area li { font-family: var(--pf-font) !important; font-size: 17px !important; line-height: 1.75 !important; color: var(--pf-ink-2) !important; }
.custom-page-area h4 { font-family: var(--pf-display) !important; color: var(--pf-ink) !important; font-size: 22px !important; font-weight: 800; letter-spacing: -.015em; margin: 34px 0 10px !important; }
.custom-page-area strong, .custom-page-area b { color: var(--pf-ink) !important; }
.custom-page-area ul { padding-left: 22px; margin-bottom: 16px; }
.custom-page-area li { margin-bottom: 6px; }
.custom-page-area a { color: var(--pf-coral-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
.custom-page-area em { display: inline-block; font-style: normal; font-size: 14px; font-weight: 600; color: var(--pf-ink-2); background: var(--pf-bg-2); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 575px) { .custom-page-area p, .custom-page-area li { font-size: 16px !important; } .custom-page-area h4 { font-size: 20px !important; } }

/* ======================================================================
   Private & secret events
   ====================================================================== */
.pf-priv { padding: 64px 0 80px; }
.pf-muted-sm { font-size: 14px; color: var(--pf-ink-2); margin-top: 8px; }

/* Wax seal */
.pf-seal { display: inline-block; filter: drop-shadow(0 6px 14px rgba(120, 30, 8, .35)); }
.pf-seal svg { width: 100%; height: 100%; display: block; }
.pf-seal__wax { fill: #D2441B; }
.pf-seal__ring { fill: none; stroke: #FFB394; stroke-width: 2; opacity: .8; }
.pf-seal__hole { fill: #6B1D08; }
.pf-seal--sm { width: 40px; height: 40px; }
.pf-seal--md { width: 74px; height: 74px; }
.pf-seal--lg { width: 112px; height: 112px; }

/* Code box */
.pf-code { display: flex; gap: 8px; background: var(--pf-surface); border: 1.5px solid var(--pf-line-2); border-radius: 18px; padding: 6px; box-shadow: var(--pf-shadow); max-width: 520px; }
.pf-code input { flex: 1 1 auto; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-ink); padding: 0 12px; height: 50px; }
.pf-code input::placeholder { letter-spacing: 0; text-transform: none; font-weight: 500; }
.pf-code .theme-btn { white-space: nowrap; }
.pf-code__error { color: var(--pf-bad); font-weight: 600; margin-top: 10px; }
@media (max-width: 575px) { .pf-code { flex-direction: column; } .pf-code .theme-btn { justify-content: center; } }

/* Landing */
.pf-priv__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pf-priv__intro h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 8px 0 16px; }
.pf-priv__lead { font-size: 18px; max-width: 560px; }
.pf-priv__unlock { margin-top: 26px; }
.pf-priv__unlock > b { display: block; color: var(--pf-ink); margin-bottom: 10px; font-size: 17px; }
.pf-envelope { position: relative; height: 400px; max-width: 460px; margin: 0 auto; width: 100%; perspective: 900px; }
.pf-envelope__body { position: absolute; inset: 110px 0 0 0; border-radius: 22px; background: linear-gradient(160deg, #FFF8EF, #F4E4CC); border: 2px solid #E6BE78; box-shadow: var(--pf-shadow-lift); }
.pf-envelope__flap { position: absolute; left: 0; right: 0; top: 110px; height: 140px; background: linear-gradient(180deg, #F1DDBD, #EBD2AA); clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 22px 22px 0 0; transform-origin: top; transition: transform .8s var(--pf-ease); z-index: 3; }
.pf-envelope__card { position: absolute; left: 30px; right: 30px; top: 90px; bottom: 26px; background: #16213E; border: 2px solid #E6BE78; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; z-index: 2; transition: transform .8s var(--pf-ease); }
.pf-envelope:hover .pf-envelope__flap { transform: rotateX(180deg); z-index: 1; }
.pf-envelope:hover .pf-envelope__card { transform: translateY(-100px); }
.pf-envelope .pf-seal { position: absolute; left: 50%; top: 200px; transform: translate(-50%, -50%); z-index: 4; transition: opacity .4s; }
.pf-envelope:hover .pf-seal { opacity: 0; }
.pf-envelope__kicker, .pf-invite .pf-envelope__kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #E6BE78; }
.pf-envelope__title { font-family: var(--pf-display); font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.pf-envelope__line { font-size: 14px; color: rgba(255, 255, 255, .75); }
.pf-priv__kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 72px; }
.pf-priv__kind { border-radius: 24px; padding: 28px; background: var(--pf-surface); border: 1px solid var(--pf-line); box-shadow: var(--pf-shadow); }
.pf-priv__kind--secret { background: #16213E; border-color: #16213E; }
.pf-priv__kind--secret h3, .pf-priv__kind--secret p { color: #fff !important; }
.pf-priv__kind--secret p { opacity: .8; }
.pf-priv__tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--pf-coral-soft); color: var(--pf-coral-ink); margin-bottom: 12px; }
.pf-priv__kind--secret .pf-priv__tag { background: rgba(230, 190, 120, .18); color: #E6BE78; }
.pf-priv__kind h3 { font-size: 24px; font-weight: 800; }
.pf-priv__steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pf-priv__steps li { display: flex; gap: 14px; align-items: flex-start; }
.pf-priv__steps span { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--pf-sun); color: #16213E; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-family: var(--pf-display); }
.pf-priv__steps b { color: var(--pf-ink); display: block; margin-bottom: 2px; }
.pf-priv__steps p { font-size: 15px; margin: 0; }
.pf-priv__anon { display: flex; gap: 20px; align-items: flex-start; margin-top: 44px; padding: 28px; border-radius: 24px; background: var(--pf-bg-2); border: 1px dashed var(--pf-line-2); }
.pf-priv__anon > i { font-size: 34px; color: var(--pf-coral-ink); }
.pf-priv__anon h3 { font-size: 22px; font-weight: 800; }
.pf-priv__host { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 32px; border-radius: 24px; background: linear-gradient(120deg, #D2441B, #B53A15); }
.pf-priv__host h3, .pf-priv__host p { color: #fff !important; margin: 0; }
.pf-priv__host p { opacity: .9; max-width: 640px; margin-top: 6px; }
.pf-priv__host .theme-btn { background: #fff !important; color: #B53A15 !important; box-shadow: none; }
@media (max-width: 991px) { .pf-priv__grid, .pf-priv__kinds { grid-template-columns: 1fr; } .pf-priv__steps { grid-template-columns: 1fr 1fr; } .pf-envelope { margin-top: 10px; } }
@media (max-width: 575px) { .pf-priv__steps { grid-template-columns: 1fr; } .pf-priv__anon { flex-direction: column; } }

/* Invitation / RSVP / sealed page */
.pf-invite { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--pf-shadow-lift); border: 1px solid var(--pf-line); background: var(--pf-surface); }
.pf-invite__cover { position: relative; min-height: 420px; background: #16213E; overflow: hidden; }
.pf-invite__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 1.2s var(--pf-ease), transform 1.2s var(--pf-ease); }
.pf-invite:not(.is-open) .pf-invite__cover img { filter: blur(22px) saturate(1.2) brightness(.8); transform: scale(1.15); }
.pf-invite__frost { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(22, 33, 62, .35), rgba(210, 68, 27, .25)); }
.pf-invite__cover .pf-seal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pf-invite__card { padding: 36px; background: #16213E; color: rgba(255, 255, 255, .85); border-left: 2px solid #E6BE78; }
.pf-invite__card h1 { color: #fff !important; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; margin: 8px 0 12px; }
.pf-invite__card p { color: rgba(255, 255, 255, .82); }
.pf-invite__card label, .pf-invite__card b { color: #fff !important; }
.pf-invite__meta { line-height: 1.9; }
.pf-invite__meta i { color: #E6BE78; width: 18px; }
.pf-invite__teaser { font-family: var(--pf-display); font-size: 19px; color: #FFE7C2 !important; border-left: 3px solid #E6BE78; padding-left: 14px; }
.pf-invite__for { font-size: 15px; }
.pf-invite__form { margin-top: 18px; }
.pf-invite__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.pf-btn-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; border-radius: 999px; padding: 12px 22px; font-weight: 700; cursor: pointer; }
.pf-btn-ghost:hover { border-color: #fff; }
.pf-invite__state { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.pf-invite__state i { font-size: 22px; color: #E6BE78; margin-top: 2px; }
.pf-invite__state.is-ok i { color: #7EE283; }
.pf-invite__state span { display: block; font-size: 14px; color: rgba(255, 255, 255, .75); }
.pf-invite__state code, .pf-evbanner code { background: rgba(230, 190, 120, .16); color: #FFD9A0; padding: 2px 8px; border-radius: 6px; font-weight: 700; letter-spacing: .06em; }
.pf-invite .pf-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.pf-invite .pf-check input { margin-top: 5px; accent-color: #D2441B; }
.pf-invite .pf-field label { font-size: 14px; font-weight: 600; margin-bottom: 4px; display: block; }
.pf-invite .pf-field input, .pf-invite .pf-field select { width: 100%; height: 46px; border-radius: 12px !important; background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .25) !important; color: #fff !important; padding: 0 12px; }
.pf-invite .pf-field select option { color: #16213E; }
.pf-field { margin-bottom: 12px; }
.pf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-invite .pf-muted-sm { color: rgba(255, 255, 255, .6); }
.pf-sealed__block { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.pf-sealed__block > b { display: block; margin-bottom: 10px; }
.pf-sealed__block summary { cursor: pointer; font-weight: 700; color: #FFD9A0; }
.pf-invite .pf-code { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); box-shadow: none; }
.pf-invite .pf-code input { color: #fff; }
.pf-invite .pf-code__error, .pf-invite .pfr-alert.err { color: #FFB4B4; }
.pfr-alert.err { border-radius: 12px; padding: 10px 14px; margin: 10px 0; background: rgba(242, 89, 97, .12); border: 1px solid rgba(242, 89, 97, .35); }
@media (max-width: 991px) { .pf-invite { grid-template-columns: 1fr; } .pf-invite__cover { min-height: 260px; } .pf-invite__card { border-left: 0; border-top: 2px solid #E6BE78; } }
@media (max-width: 575px) { .pf-invite__card { padding: 24px 20px; } .pf-field-row { grid-template-columns: 1fr; } }

/* Package */
.pf-package { margin: 18px 0; border-radius: 20px; border: 2px solid #E6BE78; background: linear-gradient(160deg, var(--pf-sun-soft), var(--pf-surface) 60%); overflow: hidden; }
.pf-package__head { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px dashed #E6BE78; }
.pf-package__head i { font-size: 24px; color: var(--pf-coral-ink); }
.pf-package__head b { display: block; color: var(--pf-ink); font-family: var(--pf-display); font-size: 18px; }
.pf-package__head span { font-size: 14px; color: var(--pf-ink-2); }
.pf-package__body { padding: 16px 20px; color: var(--pf-ink); line-height: 1.75; }
.pf-package.is-locked { background: var(--pf-bg-2); border-style: dashed; }
.pf-package.is-locked .pf-package__head { border-bottom: 0; }
.pf-invite .pf-package__body, .pf-invite .pf-package__head b { color: #16213E !important; }
.pf-invite .pf-package__head span { color: #5A6378 !important; }

/* Banner on a private event's page */
.pf-evbanner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px; border-radius: 18px; background: #16213E; border: 1.5px solid #E6BE78; }
.pf-evbanner__text { flex: 1 1 240px; }
.pf-evbanner b { color: #fff !important; display: block; font-family: var(--pf-display); font-size: 17px; }
.pf-evbanner span { color: rgba(255, 255, 255, .78); font-size: 14px; }
.pf-evbanner .pf-link-btn { color: #FFD166; }

/* The unsealing moment, once, after a guest accepts */
.pf-unseal { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: rgba(22, 33, 62, .92); pointer-events: none; animation: pf-unseal-bg 1.9s var(--pf-ease) forwards; }
.pf-unseal .pf-seal { animation: pf-unseal-seal 1.4s var(--pf-ease) forwards; }
.pf-unseal span { color: #FFE7C2; font-family: var(--pf-display); font-size: 30px; font-weight: 800; animation: pf-unseal-text 1.6s var(--pf-ease) forwards; }
@keyframes pf-unseal-seal { 0% { transform: scale(.6) rotate(-20deg); opacity: 0; } 30% { transform: scale(1.1) rotate(0); opacity: 1; } 60% { transform: scale(1); } 100% { transform: scale(2.2) rotate(25deg); opacity: 0; } }
@keyframes pf-unseal-text { 0%, 30% { opacity: 0; transform: translateY(10px); } 55% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pf-unseal-bg { 0%, 70% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .pf-unseal { display: none; } }

/* Event cards in listings: frosted cover + seal */
.event-image .pf-card-seal { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(160deg, rgba(22, 33, 62, .35), rgba(210, 68, 27, .28)); pointer-events: none; }
.event-image:has(.pf-card-seal) img { filter: blur(14px) saturate(1.2) brightness(.85); transform: scale(1.12); }
.event-item:hover .event-image:has(.pf-card-seal) img { transform: scale(1.16); }
.pf-card-seal__label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #FFE7C2; background: rgba(22, 33, 62, .6); padding: 5px 12px; border-radius: 999px; }

/* Category tiles for private and secret events */
.pf-cat-sealed { background: linear-gradient(160deg, #16213E, #302250) !important; display: flex !important; align-items: center; justify-content: center; }
.pf-cat-sealed--secret { background: linear-gradient(160deg, #0C0A16, #20162E) !important; }
.pf-cat-sealed__flap { position: absolute; left: 14%; right: 14%; top: 26%; height: 34%; border: 2px solid rgba(230, 190, 120, .55); border-bottom: 0; border-radius: 12px 12px 0 0; }
.pf-cat-sealed__flap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom right, transparent 49%, rgba(230, 190, 120, .55) 50%, transparent 51%), linear-gradient(to bottom left, transparent 49%, rgba(230, 190, 120, .55) 50%, transparent 51%); }
.pf-cat-sealed .pf-seal { position: relative; z-index: 1; margin-top: -18%; transition: transform .4s var(--pf-ease); }
.pf-cat-sealed:hover .pf-seal { transform: rotate(-12deg) scale(1.08); }
.pf-cat-sealed .category-content { background: none !important; }
.pf-cat-sealed__hint { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E6BE78; margin-top: 2px; }

/* Ticket lookup */
.pf-lookup { max-width: 720px; margin: 0 auto; text-align: center; }
.pf-lookup h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; }
.pf-lookup .pf-code { margin: 22px auto 0; }
.pf-lookup__result { margin-top: 28px; text-align: left; background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 24px; padding: 22px; box-shadow: var(--pf-shadow); }
.pf-lookup__head { display: flex; gap: 14px; align-items: center; }
.pf-lookup__head img { width: 120px; height: 80px; object-fit: cover; border-radius: 12px; }
.pf-lookup__head b { display: block; color: var(--pf-ink); font-family: var(--pf-display); font-size: 19px; }
.pf-lookup__head span { display: block; font-size: 14px; color: var(--pf-ink-2); }
.pf-lookup__tickets { list-style: none; padding: 0; margin: 16px 0; }
.pf-lookup__tickets li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--pf-line); color: var(--pf-ink); }
.pf-pill { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--pf-bg-2); }
.pf-pill--inside { background: rgba(49, 206, 54, .15); color: var(--pf-ok); }
.pf-pill--outside { background: rgba(255, 173, 70, .2); color: var(--pf-warn); }
.pf-pill--cancelled, .pf-pill--refunded, .pf-pill--expired { background: rgba(242, 89, 97, .15); color: var(--pf-bad); }
.pf-check--box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1.5px dashed var(--pf-coral); background: var(--pf-coral-soft); margin: 18px 0 6px; font-weight: 400; color: var(--pf-ink); }
.pf-check--box input { margin-top: 5px; accent-color: #D2441B; }

/* Home: private & secret events band */
.pf-homepriv { padding: 20px 0 70px; }
.pf-homepriv__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; padding: 44px; border-radius: 32px; background: #16213E; position: relative; overflow: hidden; }
.pf-homepriv__inner::before { content: ''; position: absolute; width: 380px; height: 380px; left: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(230, 190, 120, .25), transparent 65%); }
html[data-theme="dark"] .pf-homepriv__inner { background: #0F0C16; border: 1px solid var(--pf-line); }
.pf-homepriv__copy h2 { color: #fff !important; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 16px; }
.pf-homepriv__copy .pf-kicker { color: #E6BE78; }
.pf-homepriv__points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.pf-homepriv__points li { color: rgba(255, 255, 255, .82); padding-left: 22px; position: relative; }
.pf-homepriv__points li::before { content: ''; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: #D2441B; box-shadow: 0 0 0 3px rgba(210, 68, 27, .3); }
.pf-homepriv__points b { color: #FFE7C2; }
.pf-homepriv .pf-code { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); box-shadow: none; }
.pf-homepriv .pf-code input { color: #fff; }
.pf-homepriv .pf-link-btn { color: #FFD166; }
.pf-envelope--mini { height: 300px; max-width: 360px; }
.pf-envelope--mini .pf-envelope__body { inset: 80px 0 0 0; }
.pf-envelope--mini .pf-envelope__flap { top: 80px; height: 130px; }
.pf-envelope--mini .pf-envelope__card { top: 60px; }
.pf-envelope--mini .pf-seal { top: 170px; }
@media (max-width: 991px) { .pf-homepriv__inner { grid-template-columns: 1fr; padding: 32px 22px; gap: 20px; } .pf-envelope--mini { height: 260px; } }
@media (max-width: 575px) { .pf-envelope:not(.pf-envelope--mini) { height: 450px; } .pf-envelope--mini { height: 330px; } }

/* ======================================================================
   Venue marketplace
   ====================================================================== */
.pf-venues { padding: 56px 0 80px; }
.pf-venues__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.pf-venues__head h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 8px; }
.pf-venues__head p { max-width: 620px; margin: 0; }
.pf-vfilter { display: grid; grid-template-columns: 2fr 1fr 1fr .8fr auto; gap: 8px; padding: 8px; background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 18px; box-shadow: var(--pf-shadow); margin-bottom: 28px; }
.pf-vfilter input, .pf-vfilter select { height: 48px; border: 1.5px solid var(--pf-line); border-radius: 12px; padding: 0 12px; background: var(--pf-surface); color: var(--pf-ink); }
@media (max-width: 991px) { .pf-vfilter { grid-template-columns: 1fr 1fr; } .pf-vfilter input:first-child { grid-column: 1 / -1; } }
.pf-vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .pf-vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .pf-vgrid { grid-template-columns: 1fr; } }
.pf-vcard { display: block; background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 22px; overflow: hidden; box-shadow: var(--pf-shadow); transition: transform .3s var(--pf-ease), box-shadow .3s; color: var(--pf-ink); }
.pf-vcard:hover { transform: translateY(-6px); box-shadow: var(--pf-shadow-lift); color: var(--pf-ink); }
.pf-vcard__img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pf-bg-2); }
.pf-vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pf-ease); }
.pf-vcard:hover .pf-vcard__img img { transform: scale(1.06); }
.pf-vcard__type { position: absolute; left: 12px; top: 12px; background: rgba(22, 33, 62, .78); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.pf-vcard__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.pf-vcard__body > b { font-family: var(--pf-display); font-size: 20px; color: var(--pf-ink); }
.pf-vcard__where { color: var(--pf-ink-2); font-size: 14px; }
.pf-vcard__where i { color: var(--pf-coral-ink); }
.pf-vcard__facts { display: flex; gap: 14px; font-size: 14px; color: var(--pf-ink-2); }
.pf-vcard__price { margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--pf-line-2); font-size: 14px; color: var(--pf-ink-2); }
.pf-vcard__price b { color: var(--pf-ink); font-size: 17px; }
.pf-vgallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; height: 440px; margin-bottom: 32px; }
.pf-vgallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.pf-vgallery__side { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
@media (max-width: 767px) { .pf-vgallery { grid-template-columns: 1fr; height: auto; } .pf-vgallery__main { height: 260px; } .pf-vgallery__side { grid-template-columns: repeat(4, 1fr); height: 80px; } .pf-vgallery__side img { border-radius: 12px; } }
.pf-vshow { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 991px) { .pf-vshow { grid-template-columns: 1fr; } }
.pf-vshow__main h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 6px; }
.pf-vshow__main h3 { font-size: 20px; font-weight: 800; margin: 28px 0 10px; }
.pf-vshow__tagline { font-size: 18px; }
.pf-vfacts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.pf-vfacts div { padding: 12px 16px; border-radius: 16px; background: var(--pf-surface); border: 1px solid var(--pf-line); min-width: 120px; }
.pf-vfacts b { display: block; font-family: var(--pf-display); font-size: 22px; color: var(--pf-ink); }
.pf-vfacts span { font-size: 13px; color: var(--pf-ink-2); }
.pf-amen { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pf-amen li { display: flex; align-items: center; gap: 10px; color: var(--pf-ink); }
.pf-amen i { width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--pf-coral-soft); color: var(--pf-coral-ink); }
.pf-vupcoming { list-style: none; padding: 0; }
.pf-vupcoming li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--pf-line); }
.pf-vbook { position: sticky; top: 110px; background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 24px; padding: 24px; box-shadow: var(--pf-shadow-lift); }
.pf-vbook__title { display: block; font-family: var(--pf-display); font-size: 22px; color: var(--pf-ink); }
.pf-vbook__owner { display: block; font-size: 14px; color: var(--pf-ink-2); margin-bottom: 14px; }
.pf-vbook__form label { display: block; font-size: 14px; font-weight: 600; color: var(--pf-ink); margin-bottom: 10px; }
.pf-vbook__form input, .pf-vbook__form select, .pf-vbook__form textarea { display: block; width: 100%; margin-top: 4px; border: 1.5px solid var(--pf-line-2); border-radius: 12px; padding: 9px 12px; background: var(--pf-surface); color: var(--pf-ink); font-weight: 400; }
.pf-vbook__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-vbook__done { padding: 12px 14px; border-radius: 14px; background: rgba(49, 206, 54, .1); border: 1px solid rgba(49, 206, 54, .35); color: var(--pf-ink); margin-bottom: 12px; }
.pf-atvenue { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 14px; border-radius: 999px; background: var(--pf-surface); border: 1px solid var(--pf-line); color: var(--pf-ink) !important; margin-bottom: 14px; box-shadow: var(--pf-shadow); }
.pf-atvenue i { color: var(--pf-coral-ink); }
.pf-atvenue span { color: var(--pf-coral-ink); font-weight: 700; font-size: 14px; }

/* Phone tickets (QR wallet) */
.pf-wallet { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 18px 0; }
.pf-pass { position: relative; background: #16213E; color: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--pf-shadow-lift); overflow: hidden; }
.pf-pass::before, .pf-pass::after { content: ''; position: absolute; top: 46px; width: 22px; height: 22px; border-radius: 50%; background: var(--pf-bg); }
.pf-pass::before { left: -11px; } .pf-pass::after { right: -11px; }
.pf-pass__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 2px dashed rgba(230, 190, 120, .5); }
.pf-pass__type { font-family: var(--pf-display); font-weight: 800; font-size: 18px; color: #FFE7C2; }
.pf-pass__qr { background: #fff; border-radius: 14px; margin: 16px auto 12px; padding: 10px; width: fit-content; min-height: 120px; display: flex; align-items: center; justify-content: center; }
.pf-pass__qr svg { display: block; width: 170px; height: 170px; }
.pf-pass__qr span { color: #16213E; font-size: 14px; max-width: 170px; text-align: center; }
.pf-pass__ref { text-align: center; font-size: 13px; letter-spacing: .06em; color: rgba(255, 255, 255, .75); }
.pf-pass.is-pending { opacity: .8; }

/* ======================================================================
   Demo page
   ====================================================================== */
.pf-demo { padding: 56px 0 80px; }
.pf-demo__hero { max-width: 820px; }
.pf-demo__hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; margin: 8px 0 14px; }
.pf-demo__hero p { font-size: 18px; }
.pf-demo__badges { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-demo__badges li { padding: 7px 14px; border-radius: 999px; background: var(--pf-surface); border: 1px solid var(--pf-line); color: var(--pf-ink); font-weight: 600; font-size: 14px; }
.pf-demo__badges i { color: var(--pf-coral-ink); margin-right: 4px; }
.pf-demo__soon { margin-top: 16px; font-weight: 700; color: var(--pf-coral-ink); }
.pf-demo__h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; margin: 56px 0 18px; }
.pf-demo__sub { margin-top: -8px; }
.pf-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.pf-role { display: flex; flex-direction: column; background: var(--pf-surface); border: 1px solid var(--pf-line); border-radius: 22px; padding: 22px; box-shadow: var(--pf-shadow); transition: transform .3s var(--pf-ease), box-shadow .3s; }
.pf-role:hover { transform: translateY(-5px); box-shadow: var(--pf-shadow-lift); }
.pf-role__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.pf-role__avatar { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.pf-role--coral .pf-role__avatar { background: var(--pf-coral-soft); color: var(--pf-coral-ink); }
.pf-role--navy .pf-role__avatar { background: #16213E; color: #FFE7C2; }
.pf-role--teal .pf-role__avatar { background: var(--pf-teal-soft); color: var(--pf-teal-ink); }
.pf-role--sun .pf-role__avatar { background: var(--pf-sun-soft); color: #8A5A00; }
.pf-role__head b { display: block; font-family: var(--pf-display); font-size: 20px; color: var(--pf-ink); }
.pf-role__head span { font-size: 14px; color: var(--pf-ink-2); }
.pf-role ul { padding-left: 18px; margin: 4px 0 18px; font-size: 15px; color: var(--pf-ink-2); }
.pf-role ul li { margin-bottom: 4px; }
.pf-role .theme-btn { margin-top: auto; justify-content: center; }
.pf-peek { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 991px) { .pf-peek { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .pf-peek { grid-template-columns: 1fr; } }
.pf-peek__card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; background: var(--pf-surface); border: 1px solid var(--pf-line); color: var(--pf-ink) !important; transition: transform .3s var(--pf-ease); }
.pf-peek__card:hover { transform: translateY(-4px); }
.pf-peek__card i { font-size: 22px; color: var(--pf-coral-ink); }
.pf-peek__card b { font-family: var(--pf-display); font-size: 18px; }
.pf-peek__card span { font-size: 14px; color: var(--pf-ink-2); }
.pf-peek__card--dark { background: #16213E; border-color: #16213E; }
.pf-peek__card--dark b { color: #fff; } .pf-peek__card--dark span { color: rgba(255, 255, 255, .78); } .pf-peek__card--dark i { color: #E6BE78; }
.pf-peek__card code { background: rgba(230, 190, 120, .2); color: #FFD9A0; padding: 2px 8px; border-radius: 6px; font-weight: 800; letter-spacing: .06em; }
.pf-demo__cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 991px) { .pf-demo__cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .pf-demo__cats { grid-template-columns: repeat(2, 1fr); } }
.pf-demo__cat { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.pf-demo__cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--pf-ease); }
.pf-demo__cat:hover img { transform: scale(1.08); }
.pf-demo__cat span { position: absolute; inset: auto 0 0 0; padding: 26px 10px 8px; color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(transparent, rgba(22, 33, 62, .85)); }
.pf-phones { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.pf-phone { margin: 0; text-align: center; }
.pf-phone__frame { width: 300px; height: 610px; border-radius: 42px; padding: 12px; background: #16213E; box-shadow: var(--pf-shadow-lift), inset 0 0 0 2px #2c3a5e; position: relative; }
.pf-phone__frame::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 12px; background: #0b1124; z-index: 2; }
.pf-phone__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 32px; background: #fff; }
.pf-phone figcaption { margin-top: 12px; font-weight: 700; color: var(--pf-ink); }
.pf-demo__fine { margin-top: 48px; font-size: 14px; color: var(--pf-ink-2); text-align: center; }

/* Home: live demo band + header pill */
.pf-demoband { padding: 10px 0 30px; }
.pf-demoband__inner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding: 44px; border-radius: 32px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 197, 61, .5), transparent 65%), radial-gradient(500px 300px at 0% 100%, rgba(15, 138, 135, .45), transparent 65%), linear-gradient(120deg, #D2441B, #8E2C0E 70%, #16213E); }
.pf-demoband__copy h2 { color: #fff !important; font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 12px 0 12px; }
.pf-demoband__copy p { color: rgba(255, 255, 255, .9) !important; font-size: 17px; max-width: 560px; }
.pf-demoband .theme-btn { background: #FFC53D !important; color: #16213E !important; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); font-size: 17px; padding: 15px 30px; }
.pf-demoband .theme-btn:hover { background: #fff !important; }
.pf-demoband__live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .25); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pf-demoband__live span, .pf-demo-pill span { width: 9px; height: 9px; border-radius: 50%; background: #7EE283; box-shadow: 0 0 0 4px rgba(126, 226, 131, .3); animation: pf-pulse 2s infinite; display: inline-block; }
.pf-demoband__roles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pf-demoband__roles li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 700;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: pf-rise .6s var(--pf-ease) both; animation-delay: calc(var(--i) * 70ms); transition: transform .25s var(--pf-ease), background .25s; }
.pf-demoband__roles li:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .2); }
.pf-demoband__roles i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .9); color: #B53A15; }
@keyframes pf-rise { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 991px) { .pf-demoband__inner { grid-template-columns: 1fr; padding: 30px 22px; gap: 22px; } }
.pf-demo-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: #16213E; color: #fff !important; font-weight: 800; font-size: 14px; white-space: nowrap; }
.pf-demo-pill:hover { background: #D2441B; }
html[data-theme="dark"] .pf-demo-pill { background: #FFC53D; color: #16213E !important; }
.pf-framed .cookie-consent, .pf-framed .js-cookie-consent, .pf-framed .pf-demobar { display: none !important; }
