:root {
  --play-bg: #07080d;
  --play-bg-elev: #11131d;
  --play-panel: #141725;
  --play-text: #f2f5ff;
  --play-muted: #a7adbf;
  --play-accent: #ff2f75;
  --play-accent-2: #39d5ff;
  --play-border: rgba(255, 255, 255, 0.14);
  --play-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 15% 0, rgba(255, 47, 117, 0.15), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(57, 213, 255, 0.12), transparent 40%),
    var(--play-bg);
  color: var(--play-text);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: inherit;
}

.play-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(8px);
  background: rgba(10, 11, 18, 0.88);
  border-bottom: 1px solid var(--play-border);
}

.play-header-inner {
  width: min(1240px, calc(100% - 1.6rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.play-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.play-brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--play-accent), var(--play-accent-2));
  box-shadow: 0 0 14px rgba(255, 47, 117, 0.65);
}

.play-menu-toggle {
  display: none;
  border: 1px solid var(--play-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--play-text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

.play-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.play-nav a {
  text-decoration: none;
  color: var(--play-muted);
  font-size: 0.85rem;
  padding: 0.45rem 0.68rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.play-nav a:hover,
.play-nav a.is-active {
  color: var(--play-text);
  border-color: var(--play-border);
  background: rgba(255, 255, 255, 0.06);
}

.play-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--play-border);
  background: rgba(0, 0, 0, 0.28);
}

.play-footer-inner {
  width: min(1240px, calc(100% - 1.6rem));
  margin: 0 auto;
  padding: 1.2rem 0 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.play-footer-inner p {
  margin: 0;
  color: var(--play-muted);
  font-size: 0.88rem;
}

.play-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.play-footer-links a {
  color: var(--play-muted);
  text-decoration: none;
  font-size: 0.82rem;
}

.play-footer-links a:hover {
  color: var(--play-text);
}

.lab-tests {
  width: min(1220px, calc(100% - 1.8rem));
  margin: 0 auto;
  padding: 1.1rem 0 2.2rem;
}

.lab-tests .hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--play-border);
  box-shadow: var(--play-shadow);
  min-height: 360px;
}

.lab-tests .hero video,
.lab-tests .hero img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.lab-tests .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.82));
}

.lab-tests .hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 0.45rem;
  padding: clamp(1.1rem, 2vw, 1.9rem);
}

.lab-tests .eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd6e7;
  font-weight: 700;
  font-size: 0.74rem;
}

.lab-tests .title-main {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
}

.lab-tests .subtitle {
  color: #e7ebff;
  max-width: 760px;
}

.lab-tests .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.lab-tests .pill {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.lab-tests .grid {
  margin-top: 1.1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.lab-tests .card {
  background: linear-gradient(160deg, var(--play-bg-elev), var(--play-panel));
  border: 1px solid var(--play-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--play-shadow);
}

.lab-tests .card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.lab-tests .card-body {
  padding: 0.9rem;
}

.lab-tests .tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--play-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.lab-tests .card h3 {
  margin: 0.35rem 0;
}

.lab-tests .card p {
  color: var(--play-muted);
  margin: 0;
  line-height: 1.6;
}

.lab-tests .actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
}

.lab-tests .actions a {
  text-decoration: none;
  padding: 0.44rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--play-border);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.82rem;
}

.lab-tests .external-note {
  color: var(--play-muted);
  font-size: 0.75rem;
}

.howto {
  margin-top: 1rem;
}

.how-card {
  border: 1px solid var(--play-border);
  border-radius: 14px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  color: #e5e8f7;
  min-height: 90px;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.55);
}

.swiper-pagination-bullet-active {
  background: var(--play-accent);
}

@media (max-width: 1024px) {
  .play-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .play-nav {
    position: fixed;
    top: 64px;
    right: 0.7rem;
    width: min(340px, calc(100% - 1.4rem));
    background: rgba(10, 11, 18, 0.97);
    border: 1px solid var(--play-border);
    border-radius: 12px;
    box-shadow: var(--play-shadow);
    padding: 0.65rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 250;
  }

  .play-nav.is-open {
    display: flex;
  }

  .play-nav a {
    padding: 0.65rem 0.7rem;
  }
}

@media (max-width: 740px) {
  .play-header-inner {
    min-height: 58px;
  }

  .lab-tests {
    width: calc(100% - 1rem);
    padding-top: 0.75rem;
  }

  .lab-tests .hero,
  .lab-tests .hero video,
  .lab-tests .hero img {
    min-height: 300px;
  }

  .play-footer-inner {
    padding-top: 1rem;
  }
}
