:root {
  --pa-bg: #07090f;
  --pa-surface: #111522;
  --pa-text: #f8fafc;
  --pa-muted: #9aa4b2;
  --pa-line: rgba(255, 255, 255, 0.1);
  --pa-accent: #21d4a7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #fff;
  color: var(--pa-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.playaja-mobile-shell {
  display: none;
}

.pa-stack {
  margin-top: 14px;
}

@media (max-width: 767px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(33, 212, 167, 0.18), transparent 34%),
      linear-gradient(180deg, #07090f 0%, #0c101a 52%, #07090f 100%);
  }

  .playaja-mobile-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 16px 16px 88px;
  }

  .pa-topbar {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .pa-sticky-header {
    align-items: center;
    background: rgba(8, 10, 16, 0.94);
    border-bottom: 1px solid var(--pa-line);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    left: 0;
    min-height: 58px;
    opacity: 0;
    padding: 10px 16px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-100%);
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 40;
  }

  .pa-sticky-header.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .pa-brand {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    min-width: 0;
  }

  .pa-brand-compact .pa-brand-name {
    max-width: calc(100vw - 108px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pa-brand-mark {
    align-items: center;
    background: var(--pa-accent);
    border-radius: 8px;
    color: #04100d;
    display: inline-flex;
    flex: 0 0 36px;
    font-size: 18px;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    width: 36px;
  }

  .pa-brand-logo {
    border-radius: 8px;
    display: block;
    flex: 0 0 36px;
    height: 36px;
    object-fit: contain;
    width: 36px;
  }

  .pa-brand-name {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
  }

  .pa-brand-subtitle {
    color: var(--pa-muted);
    display: block;
    font-size: 11px;
    margin-top: 3px;
  }

  .pa-menu {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--pa-line);
    border-radius: 8px;
    color: var(--pa-text);
    display: inline-flex;
    flex: 0 0 36px;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    padding: 0;
    width: 36px;
  }

  .pa-hero,
  .pa-card,
  .pa-post,
  .pa-empty {
    background: rgba(17, 21, 34, 0.86);
    border: 1px solid var(--pa-line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }

  .pa-hero {
    overflow: hidden;
    padding: 18px;
  }

  .pa-eyebrow {
    color: var(--pa-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
  }

  .pa-title {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.04;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .pa-description {
    color: var(--pa-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 12px 0 0;
  }

  .pa-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
  }

  .pa-button {
    align-items: center;
    background: var(--pa-accent);
    border: 0;
    border-radius: 8px;
    color: #03120e;
    display: inline-flex;
    flex: 1 1 auto;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
  }

  .pa-button-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--pa-text);
  }

  .pa-section-title {
    font-size: 16px;
    font-weight: 850;
    margin: 22px 0 12px;
  }

  .pa-list {
    display: grid;
    gap: 12px;
  }

  .pa-card,
  .pa-post,
  .pa-empty {
    padding: 14px;
  }

  .pa-card-title,
  .pa-post-title {
    font-size: 17px;
    font-weight: 850;
    line-height: 1.25;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .pa-meta {
    color: var(--pa-muted);
    font-size: 12px;
    margin: 8px 0 0;
  }

  .pa-excerpt,
  .pa-content {
    color: #dbe2ea;
    font-size: 14px;
    line-height: 1.65;
  }

  .pa-excerpt {
    margin: 10px 0 0;
  }

  .pa-content {
    margin-top: 16px;
    overflow-wrap: anywhere;
  }

  .pa-content p:first-child {
    margin-top: 0;
  }

  .pa-footer {
    border-top: 1px solid var(--pa-line);
    color: var(--pa-muted);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 24px;
    padding: 18px 0 2px;
    text-align: center;
  }

  .pa-footer p {
    margin: 10px 0 0;
  }

  .pa-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .pa-footer-links a {
    color: var(--pa-text);
    font-size: 12px;
    font-weight: 750;
  }

  .pa-search-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
  }

  .pa-search-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--pa-line);
    border-radius: 8px;
    color: var(--pa-text);
    flex: 1 1 auto;
    font-size: 14px;
    min-height: 42px;
    min-width: 0;
    padding: 0 12px;
  }

  .pa-bottom-nav {
    align-items: center;
    background: rgba(8, 10, 16, 0.94);
    border-top: 1px solid var(--pa-line);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    left: 0;
    padding: 9px 12px 12px;
    position: fixed;
    right: 0;
    z-index: 30;
  }

  .pa-bottom-nav li {
    display: contents;
    list-style: none;
  }

  .pa-bottom-nav a {
    align-items: center;
    color: var(--pa-muted);
    display: flex;
    flex-direction: column;
    font-size: 11px;
    font-weight: 700;
    gap: 4px;
  }

  .pa-bottom-nav a::before {
    background: currentColor;
    border-radius: 3px;
    content: "";
    display: block;
    height: 18px;
    opacity: 0.9;
    width: 18px;
  }
}

@media (min-width: 768px) {
  html,
  body {
    background: #fff !important;
    min-height: 100vh;
  }
}

@media (max-width: 767px) {
  :root {
    --pa-bg-deep: #00182c;
    --pa-bg-soft: #063e55;
    --pa-gold: #ff9f1a;
    --pa-green: #55d870;
  }

  body {
    background:
      linear-gradient(180deg, rgba(0, 16, 32, 0.96), rgba(4, 61, 83, 0.94) 45%, rgba(0, 19, 37, 0.98)),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  }

  .playaja-mobile-shell {
    padding: 10px 10px 84px;
  }

  .pa-topbar {
    margin-bottom: 10px;
    min-height: 52px;
  }

  .pa-brand-logo {
    height: 42px;
    width: auto;
  }

  .pa-brand-mark {
    background: transparent;
    color: var(--pa-gold);
    font-size: 30px;
    height: auto;
    width: auto;
  }

  .pa-brand-name {
    color: var(--pa-gold);
    font-size: 31px;
    font-weight: 950;
    letter-spacing: 0;
  }

  .pa-brand-subtitle {
    display: none;
  }

  .pa-header-actions {
    align-items: center;
    display: flex;
    gap: 7px;
    justify-content: flex-end;
    min-width: 0;
  }

  .pa-header-links {
    align-items: center;
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    max-width: 112px;
    overflow: hidden;
    padding: 0;
  }

  .pa-header-links a,
  .pa-login-link {
    color: #fff;
    display: block;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
  }

  .pa-login-link::before {
    content: "";
    background: currentColor;
    border-radius: 50%;
    display: inline-block;
    height: 9px;
    margin-right: 4px;
    vertical-align: -1px;
    width: 9px;
  }

  .pa-sticky-header {
    background: rgba(0, 17, 32, 0.96);
    min-height: 50px;
  }

  .pa-sticky-header .pa-brand-name {
    font-size: 24px;
  }

  .pa-home-layout {
    display: grid;
    gap: 12px;
  }

  .pa-widget {
    min-width: 0;
  }

  .pa-widget-title {
    color: var(--pa-gold);
    font-size: 13px;
    font-weight: 900;
    margin: 0 0 10px;
    text-transform: uppercase;
  }

  .pa-home-hero {
    background:
      linear-gradient(105deg, rgba(0, 0, 0, 0.95), rgba(1, 16, 32, 0.9) 55%, rgba(8, 37, 63, 0.86)),
      radial-gradient(circle at 88% 20%, rgba(38, 139, 255, 0.35), transparent 28%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
    min-height: 162px;
    overflow: hidden;
    padding: 16px;
    position: relative;
  }

  .pa-home-hero::after {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
      rgba(2, 11, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    content: "";
    height: 122px;
    position: absolute;
    right: 17px;
    top: 24px;
    transform: rotate(12deg);
    width: 58px;
  }

  .pa-mini-brand {
    color: var(--pa-gold);
    font-size: 15px;
    font-weight: 950;
    margin-bottom: 9px;
  }

  .pa-home-hero h1 {
    font-size: 22px;
    font-weight: 950;
    line-height: 1.08;
    margin: 0;
    max-width: 64%;
  }

  .pa-home-hero p {
    color: #d8e4ef;
    font-size: 11px;
    line-height: 1.35;
    margin: 8px 0 0;
    max-width: 62%;
  }

  .pa-hero-points {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 15px;
    max-width: 76%;
  }

  .pa-hero-points span {
    color: #f5f7fb;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.15;
    min-width: 0;
  }

  .pa-subscribe-button,
  .pa-subscribe-strip a {
    align-items: center;
    background: var(--pa-gold);
    border-radius: 999px;
    color: #07111f;
    display: inline-flex;
    font-size: 12px;
    font-weight: 950;
    justify-content: center;
    line-height: 1;
    margin-top: 12px;
    min-height: 30px;
    padding: 0 22px;
    text-transform: uppercase;
  }

  .pa-featured-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pa-feature-tile,
  .pa-artist-card {
    background:
      linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.84)),
      linear-gradient(135deg, #5e737f, #0c1118);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    min-height: 142px;
    overflow: hidden;
    padding: 12px;
    position: relative;
  }

  .pa-feature-tile:nth-child(2),
  .pa-artist-card:nth-child(2n) {
    background:
      linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.86)),
      linear-gradient(135deg, #e9c7ad, #263750);
  }

  .pa-feature-tile span,
  .pa-artist-card span {
    bottom: 12px;
    color: var(--pa-gold);
    font-size: 14px;
    font-weight: 950;
    left: 12px;
    position: absolute;
    text-transform: uppercase;
  }

  .pa-feature-tile:nth-child(2) span {
    color: var(--pa-green);
  }

  .pa-section {
    min-width: 0;
  }

  .pa-section-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 14px 0 10px;
  }

  .pa-section-head h2 {
    color: var(--pa-gold);
    font-size: 13px;
    font-weight: 950;
    margin: 0;
    text-transform: uppercase;
  }

  .pa-section-head a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 700;
  }

  .pa-artist-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pa-artist-card {
    min-height: 182px;
  }

  .pa-artist-card span {
    color: #fff;
    font-size: 13px;
  }

  .pa-subscribe-strip {
    background:
      radial-gradient(circle at 12% 38%, rgba(255, 121, 51, 0.4), transparent 32%),
      linear-gradient(90deg, #111823, #15133c 52%, #071c65);
    margin-left: -10px;
    margin-right: -10px;
    padding: 18px 18px 20px;
    text-align: center;
  }

  .pa-subscribe-strip h2 {
    color: var(--pa-gold);
    font-size: 14px;
    font-weight: 950;
    margin: 0;
  }

  .pa-subscribe-strip p {
    color: #f3f6fb;
    font-size: 11px;
    line-height: 1.38;
    margin: 8px auto 0;
    max-width: 330px;
  }

  .pa-subscribe-strip a {
    background: var(--pa-green);
    margin-top: 11px;
    min-height: 26px;
    padding: 0 14px;
  }

  .pa-track-list {
    display: grid;
    gap: 10px;
  }

  .pa-track-row {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    min-height: 48px;
  }

  .pa-track-cover {
    background: linear-gradient(135deg, #ff6d3a, #007baf);
    border-radius: 4px;
    display: block;
    height: 44px;
    overflow: hidden;
    width: 44px;
  }

  .pa-track-cover img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .pa-track-copy {
    min-width: 0;
  }

  .pa-track-copy strong,
  .pa-video-card strong {
    display: block;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .pa-track-copy small,
  .pa-video-card small {
    color: rgba(255, 255, 255, 0.75);
    display: block;
    font-size: 11px;
    line-height: 1.3;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pa-track-menu {
    color: #fff;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: 1px;
    line-height: 1;
    transform: rotate(90deg);
  }

  .pa-video-rail {
    display: grid;
    gap: 10px;
    grid-auto-columns: minmax(154px, 42vw);
    grid-auto-flow: column;
    margin-right: -10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .pa-video-card {
    min-width: 0;
    scroll-snap-align: start;
  }

  .pa-video-thumb {
    background: linear-gradient(135deg, #0b0f18, #1e5570);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    display: block;
    min-height: 242px;
    overflow: hidden;
    position: relative;
  }

  .pa-video-thumb img {
    height: 242px;
    object-fit: cover;
    width: 100%;
  }

  .pa-play-icon {
    border-bottom: 13px solid transparent;
    border-left: 18px solid #fff;
    border-top: 13px solid transparent;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-40%, -50%);
  }

  .pa-video-card strong {
    margin-top: 8px;
  }

  .pa-footer {
    background: rgba(0, 8, 18, 0.74);
    border-top: 0;
    margin: 18px -10px 0;
    padding: 22px 10px 16px;
  }

  .pa-footer-links {
    justify-content: space-around;
  }

  .pa-footer-links a {
    font-size: 11px;
  }

  .pa-bottom-nav {
    background: rgba(0, 15, 30, 0.98);
    border-top: 2px solid #00c7d9;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 10px 6px 12px;
  }

  .pa-bottom-nav a {
    color: #fff;
    font-size: 10px;
    gap: 5px;
  }

  .pa-bottom-nav a::before {
    border-radius: 50%;
    height: 17px;
    width: 17px;
  }
}
