/* Phuket Yacht Party – PARTY LAYER (loaded after pages.css; inlined with the rest). Night club on the water:
   poster headings, neon glow, light sweeps, equalizer, ticket cards, wristband chips, marquee ticker, Party Builder.
   Logical properties = RTL ready. Motion stops with prefers-reduced-motion. @author Mohammed Zaki */

/* ---------------------------------------------------------------- type & base */
.pyp-site h1, .pyp-site h2, .pyp-site h3 { font-family: var(--pyp-serif); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
html[lang^="ar"] .pyp-site h1, html[lang^="ar"] .pyp-site h2, html[lang^="ar"] .pyp-site h3,
html[lang^="th"] .pyp-site h1, html[lang^="th"] .pyp-site h2, html[lang^="th"] .pyp-site h3 { font-weight: 800; line-height: 1.25; text-transform: none; }
.pyp-head h2 em, .pyp-hero h1 em { font-style: normal; color: var(--pyp-coral); text-shadow: var(--pyp-neon); }
.pyp-site .pyp-head h2 { font-size: clamp(32px, 4.6vw, 58px); }
.pyp-head { text-align: start; margin-inline: 0; max-width: 820px; }
.pyp-kicker { color: var(--pyp-sea-t); letter-spacing: .3em; }
.pyp-kicker::before { width: 26px; height: 10px; border-radius: 0; background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px); }
.pyp-dark .pyp-kicker, .pyp-phero .pyp-kicker, .pyp-hero .pyp-kicker, .pyp-fcta .pyp-kicker { color: var(--pyp-sea); }
.pyp-dark { background: radial-gradient(120% 90% at 0% 0%, rgba(255, 45, 149, .22), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(25, 227, 255, .18), transparent 55%), #0b0614; }
.pyp-shell { background: linear-gradient(180deg, var(--pyp-shell-bg), var(--pyp-bg)); }
.pyp-sec.pyp-tilt { clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); margin-block: -3vw; padding-block: calc(clamp(56px, 8vw, 96px) + 3vw); }
.pyp-ticks li::before { background: var(--pyp-coral); box-shadow: var(--pyp-neon); -webkit-mask: none; border-radius: 3px; width: 14px; height: 14px; top: .45em; transform: rotate(45deg); }

/* buttons */
.pyp-site .pyp-btn { border-radius: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.pyp-site .pyp-btn-coral { background: linear-gradient(90deg, #ff2d95, #ff5f6d); color: #fff !important; border: 0; box-shadow: var(--pyp-neon); }
.pyp-site .pyp-btn-coral:hover { background: linear-gradient(90deg, #ff4aa6, #ff7a85); transform: translateY(-1px); }
.pyp-site .pyp-btn-line { background: transparent; border: 2px solid var(--pyp-sea); color: var(--pyp-sea-t) !important; box-shadow: inset 0 0 12px rgba(25, 227, 255, .15); }
.pyp-site .pyp-btn-line:hover { background: rgba(25, 227, 255, .1); }
.pyp-site .pyp-btn-glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; }

/* ---------------------------------------------------------------- hero: poster + lights + equalizer */
.pyp-hero { align-items: center; padding: 140px 0 120px; }
.pyp-hero::after { background: linear-gradient(180deg, rgba(11, 6, 20, .35) 0%, rgba(11, 6, 20, .12) 38%, rgba(11, 6, 20, .85) 100%), linear-gradient(90deg, rgba(11, 6, 20, .7), rgba(11, 6, 20, 0) 65%), radial-gradient(60% 50% at 15% 35%, rgba(255, 45, 149, .22), transparent 70%); }
html[dir="rtl"] .pyp-hero::after { background: linear-gradient(180deg, rgba(11, 6, 20, .35) 0%, rgba(11, 6, 20, .12) 38%, rgba(11, 6, 20, .85) 100%), linear-gradient(270deg, rgba(11, 6, 20, .7), rgba(11, 6, 20, 0) 65%), radial-gradient(60% 50% at 85% 35%, rgba(255, 45, 149, .22), transparent 70%); }
.pyp-hero-in > div { max-width: 820px; }
.pyp-site .pyp-hero h1 { font-size: clamp(48px, 9vw, 118px); line-height: .92; margin: 12px 0 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }
.pyp-hero h1 em { display: block; }
.pyp-price-chip { border-radius: 8px; background: rgba(11, 6, 20, .55); border: 1px solid rgba(25, 227, 255, .45); box-shadow: var(--pyp-neon-c); }
.pyp-price-chip b { color: var(--pyp-gold); }
.pyp-hero-chips a { border-radius: 6px; background: rgba(11, 6, 20, .5); border-color: rgba(255, 45, 149, .5); text-transform: uppercase; font-size: 12.5px; letter-spacing: .06em; }
.pyp-hero-chips a:hover { background: var(--pyp-coral); color: #fff !important; box-shadow: var(--pyp-neon); }
.pyp-hero-chips .pyp-i { background: transparent; color: var(--pyp-sea); padding: 3px; }
/* light sweeps */
.pyp-lights { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.pyp-lights .lb { position: absolute; top: -30%; width: 14vw; min-width: 100px; height: 160%; opacity: .2; filter: blur(14px); transform-origin: 50% 0; mix-blend-mode: screen; }
.pyp-lights .lb1 { inset-inline-start: 10%; background: linear-gradient(180deg, #ff2d95, transparent 70%); animation: pyp-sweep 7s ease-in-out infinite; }
.pyp-lights .lb2 { inset-inline-start: 48%; background: linear-gradient(180deg, #19e3ff, transparent 70%); animation: pyp-sweep 9s ease-in-out -3s infinite reverse; }
.pyp-lights .lb3 { inset-inline-start: 78%; background: linear-gradient(180deg, #ffc83d, transparent 70%); animation: pyp-sweep 8s ease-in-out -5s infinite; opacity: .2; }
@keyframes pyp-sweep { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(22deg); } }
/* equalizer along the bottom edge */
.pyp-eq { position: absolute; inset-inline: 0; bottom: 0; height: 64px; display: flex; align-items: flex-end; gap: 6px; padding-inline: 12px; opacity: .55; }
.pyp-eq i { flex: 1; height: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(0deg, #ff2d95, #19e3ff); transform-origin: 50% 100%; animation: pyp-eqa 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1); }
@keyframes pyp-eqa { 0% { transform: scaleY(.12); } 100% { transform: scaleY(1); } }
.pyp-phero .pyp-lights .lb { opacity: .22; }
.pyp-phero .pyp-eq { height: 40px; opacity: .4; }

/* ---------------------------------------------------------------- ticker (marquee of vibes) */
.pyp-ticker { position: relative; overflow: hidden; background: var(--pyp-coral); color: #fff; transform: rotate(-1.2deg); margin: -14px -2vw 0; z-index: 4; box-shadow: var(--pyp-neon); }
.pyp-ticker-in { display: flex; width: max-content; animation: pyp-marquee 32s linear infinite; }
.pyp-ticker span { display: inline-flex; align-items: center; gap: 18px; padding: 12px 18px; font: 400 clamp(18px, 2.2vw, 26px)/1 var(--pyp-serif); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.pyp-ticker span::after { content: "✦"; color: var(--pyp-gold); font-size: .8em; }
html[dir="rtl"] .pyp-ticker-in { animation-direction: reverse; }
@keyframes pyp-marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- ticket cards */
.pyp-card { border-radius: 16px; background: linear-gradient(180deg, var(--pyp-surface), var(--pyp-surface)); border: 1px solid var(--pyp-line); overflow: visible; }
.pyp-card::before { content: ""; position: absolute; inset: -1px; border-radius: 16px; padding: 1px; background: linear-gradient(135deg, rgba(255, 45, 149, .7), rgba(25, 227, 255, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.pyp-card:hover::before { opacity: 1; }
.pyp-card:hover { box-shadow: var(--pyp-neon); }
.pyp-card-media { border-radius: 16px 16px 0 0; }
.pyp-card-body { position: relative; border-top: 2px dashed var(--pyp-line); padding-top: 22px; }
.pyp-card-body::before, .pyp-card-body::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--pyp-bg); border: 1px solid var(--pyp-line); }
.pyp-card-body::before { inset-inline-start: -13px; }
.pyp-card-body::after { inset-inline-end: -13px; }
.pyp-shell .pyp-card-body::before, .pyp-shell .pyp-card-body::after { background: var(--pyp-shell-bg); }
.pyp-site .pyp-card-title { font-size: 30px; }
.pyp-card-type { border-radius: 4px; background: var(--pyp-coral); color: #fff; text-transform: uppercase; letter-spacing: .08em; box-shadow: var(--pyp-neon); }
.pyp-chips li { border-radius: 4px; background: transparent; border: 1px solid var(--pyp-sea); color: var(--pyp-sea-t); text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
:where(:root[data-theme="dark"]) .pyp-chips li { color: var(--pyp-sea-t); }
.pyp-from b { font-family: var(--pyp-serif); font-weight: 400; font-size: 30px; color: var(--pyp-gold-t); }
:where(:root[data-theme="dark"]) .pyp-from b { color: var(--pyp-gold); }
.pyp-cg-count { background: rgba(11, 6, 20, .8); }
.pyp-ph { background: linear-gradient(135deg, #24133f, #0b0614); }
.pyp-ph-b { color: var(--pyp-coral); opacity: .8; }

/* ---------------------------------------------------------------- vibe tiles ([pyp_occasions] / [pyp_vibes]) */
.pyp-occ-card { border-radius: 14px; background: var(--pyp-surface); border: 1px solid var(--pyp-line); position: relative; overflow: hidden; }
.pyp-occ-card::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #ff2d95, #19e3ff, #ffc83d); transform: scaleX(.2); transform-origin: 0 50%; transition: transform .4s; }
.pyp-occ-card:hover::after { transform: scaleX(1); }
.pyp-occ-card b { font: 400 26px/1.05 var(--pyp-serif); text-transform: uppercase; }
.pyp-occ-ic .pyp-i { color: var(--pyp-coral); }

/* ---------------------------------------------------------------- Party Builder */
.pyp-builder { position: relative; border-radius: 22px; padding: clamp(18px, 3vw, 34px); background: rgba(22, 12, 39, .92); border: 1px solid rgba(255, 45, 149, .45); box-shadow: var(--pyp-neon), var(--pyp-shadow); color: #ece6ff; }
:root[data-theme="light"] .pyp-builder { background: #fff; color: var(--pyp-text); }
.pyp-builder h2, .pyp-builder h3 { color: inherit; }
.pyp-bld-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pyp-bld-head h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); }
.pyp-bld-steps { display: flex; gap: 6px; }
.pyp-bld-steps i { width: 34px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); transition: background .3s; }
.pyp-bld-steps i.on { background: linear-gradient(90deg, #ff2d95, #19e3ff); }
.pyp-bld-q { margin: 18px 0 10px; font: 700 13px/1.2 var(--pyp-sans); text-transform: uppercase; letter-spacing: .2em; color: var(--pyp-sea-t); }
.pyp-bld-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pyp-bld-opt { position: relative; }
.pyp-bld-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pyp-bld-opt span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(180, 168, 212, .35); cursor: pointer; transition: .2s; }
.pyp-bld-opt span b { font: 400 19px/1.05 var(--pyp-serif); text-transform: uppercase; }
.pyp-bld-opt span small { font-size: 12.5px; opacity: .75; }
.pyp-bld-opt input:focus-visible + span { outline: 2px solid var(--pyp-sea); outline-offset: 2px; }
.pyp-bld-opt input:checked + span { border-color: transparent; background: linear-gradient(135deg, rgba(255, 45, 149, .9), rgba(255, 95, 109, .9)); color: #fff; box-shadow: var(--pyp-neon); }
.pyp-bld-opts.is-small { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.pyp-bld-out { margin-top: 22px; padding-top: 18px; border-top: 2px dashed rgba(180, 168, 212, .35); }
.pyp-bld-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.pyp-bld-sum p { margin: 0; font-weight: 700; }
.pyp-bld-sum p b { color: var(--pyp-gold); font: 400 26px/1 var(--pyp-serif); }
.pyp-bld-line { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 14px 0; padding: 0; list-style: none; }
.pyp-bld-line li { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(180, 168, 212, .25); }
.pyp-bld-line li[hidden] { display: none; }
.pyp-bld-line img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.pyp-bld-line b { display: block; font: 400 18px/1.05 var(--pyp-serif); text-transform: uppercase; }
.pyp-bld-line small { opacity: .8; font-size: 12.5px; }
.pyp-bld-none { margin: 10px 0 0; opacity: .85; }

/* ---------------------------------------------------------------- footer CTA, stats */
.pyp-fcta-box { border-radius: 22px; background: radial-gradient(90% 120% at 0% 0%, rgba(255, 45, 149, .45), transparent 60%), radial-gradient(80% 120% at 100% 100%, rgba(25, 227, 255, .35), transparent 60%), #140b24; box-shadow: var(--pyp-neon); }
.pyp-stats .pyp-i { color: var(--pyp-sea); }
.pyp-stat-v { font: 400 clamp(34px, 4vw, 48px)/1 var(--pyp-serif); color: #fff; text-shadow: var(--pyp-neon); }

/* ---------------------------------------------------------------- motion off */
@media (prefers-reduced-motion: reduce) {
	.pyp-lights .lb, .pyp-eq i, .pyp-ticker-in { animation: none; }
	.pyp-eq i { transform: scaleY(.5); }
}
@media (max-width: 760px) {
	.pyp-site .pyp-hero h1 { font-size: clamp(44px, 14vw, 72px); }
	.pyp-bld-opts { grid-template-columns: 1fr 1fr; }
	.pyp-eq { height: 42px; gap: 4px; }
	.pyp-sec.pyp-tilt { clip-path: none; margin-block: 0; padding-block: clamp(56px, 8vw, 96px); }
}
