:root {
  --bg-dark: #1c1526;
  --bg-banner: #100b17;
  --bg-card: #261d33;
  --border-gold: rgba(212, 175, 55, 0.24);
  --accent-gold: #d4af37;
  --accent-purple: #9b5de5;
  --text-main: #dfd7e6;
  --text-muted: #a89db3;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 95% 60% at 50% 0%, rgba(155, 93, 229, 0.28) 0%, transparent 72%),
    radial-gradient(ellipse 75% 50% at 15% 45%, rgba(212, 175, 55, 0.09) 0%, transparent 70%),
    radial-gradient(ellipse 85% 60% at 85% 75%, rgba(155, 93, 229, 0.18) 0%, transparent 75%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Banner & Endless Fog Transition */
.pm-banner-wrap {
  width: 100%;
  padding: 0 1rem;
  background: transparent;
}

.pm-banner {
  position: relative;
  width: 100%;
  max-width: 818px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  background: url('banner.jpg') center center / contain no-repeat;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 76% 68% at 50% 26%, #000 64%, transparent 94%);
  mask-image: radial-gradient(ellipse 76% 68% at 50% 26%, #000 64%, transparent 94%);
}

/* Main Layout */
main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

section {
  margin-bottom: 3.5rem;
}

h2 {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding-bottom: 0.45rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ebe4f2;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-main);
}

p.muted {
  color: var(--text-muted);
}

/* Cards & Lists */
.pm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 1.75rem;
}

.pm-list {
  list-style: none;
  margin-top: 1rem;
}

.pm-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.pm-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 0.85rem;
  top: 0.12rem;
}

.pm-list li strong {
  color: var(--accent-gold);
}

/* Blockquote */
blockquote {
  border-left: 3px solid var(--accent-gold);
  padding: 0.85rem 1.25rem;
  margin: 1.25rem 0;
  background: rgba(212, 175, 55, 0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #e6dfed;
}

/* Video Wrapper */
.pm-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0d0a12;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.pm-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pm-credits {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pm-credits strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Showteam BKK Highlight Box */
.pm-bkk-box {
  background: linear-gradient(145deg, rgba(155, 93, 229, 0.14), rgba(212, 175, 55, 0.09));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 1.85rem;
}

.pm-roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.pm-slot {
  background: rgba(28, 21, 38, 0.8);
  border: 1px dashed rgba(212, 175, 55, 0.42);
  border-radius: 8px;
  padding: 1rem 1.2rem;
}

.pm-slot-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.25rem;
}

.pm-slot-status {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pm-thai-note {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Media & Heritage Grids */
.pm-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.pm-gallery-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  align-items: stretch;
}

.pm-gallery-3 figure {
  background: rgba(16, 11, 23, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pm-gallery-3 a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 310px;
}

.pm-gallery-3 img {
  width: 100%;
  max-height: 330px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.pm-gallery-3 a:hover img {
  transform: scale(1.03);
}

.pm-gallery-3 figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Footer */
footer {
  text-align: center;
  padding: 1.75rem 1.5rem 2.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-human-legal {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 4px;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}