/* OnStream block + WP layout fixes */

body.wp-theme-onstream,
body.home,
.wp-site-blocks {
  background-color: #0a0d0a !important;
  color: #f4f5f0 !important;
}

.wp-site-blocks {
  padding: 0 !important;
}

.wp-site-blocks > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.wp-block-group.alignfull,
main.wp-block-group {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wp-site-blocks .is-layout-constrained > .section,
.wp-site-blocks .is-layout-constrained > .hero,
.wp-site-blocks .is-layout-constrained > .benefits,
.wp-site-blocks .is-layout-constrained > .site-header,
.wp-site-blocks .is-layout-constrained > .site-footer,
main.wp-block-group > .section,
main.wp-block-group > .hero,
main.wp-block-group > .benefits {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wp-block-template-part {
  max-width: none !important;
  width: 100%;
}

.os-container--narrow .container,
.os-container--narrow.container {
  max-width: 720px;
}

.os-container--wide .container,
.os-container--wide.container {
  max-width: 1400px;
}

.os-container--full .container,
.os-container--full.container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.os-pt--none { padding-top: 0 !important; }
.os-pt--small { padding-top: 48px !important; }
.os-pt--medium { padding-top: 80px !important; }
.os-pt--large { padding-top: 140px !important; }

.os-pb--none { padding-bottom: 0 !important; }
.os-pb--small { padding-bottom: 48px !important; }
.os-pb--medium { padding-bottom: 80px !important; }
.os-pb--large { padding-bottom: 140px !important; }

.os-section--surface {
  background: var(--surface, #161a16);
}

.os-section--alt,
.section.alt {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(22, 26, 22, 0.6);
}

.hero-phone,
.phone-shot,
.showcase-phone {
  max-width: 100%;
  height: auto !important;
}

@media (min-width: 768px) {
  .hero-phone {
    height: 620px !important;
    width: auto !important;
    max-width: none;
  }

  .phone-shot,
  .showcase-phone {
    height: 560px !important;
    width: auto !important;
    max-width: none;
  }
}

.logo-image {
  display: block;
  border-radius: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border-radius: 10px;
  border: 1px solid var(--hairline, rgba(255, 255, 255, 0.08));
  background: var(--surface, #161a16);
  color: var(--muted-foreground, #a8b0a0);
}

.nav-icon-wrap .nav-icon,
.nav-icon-wrap svg {
  width: 100%;
  height: 100%;
}

/* ===== Download APK block ===== */
.os-download {
  background: #000;
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.os-download__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.os-download.os-container--narrow .os-download__inner {
  max-width: 560px;
}

.os-download__logo-wrap {
  display: flex;
  justify-content: center;
}

.os-download__logo {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 4px #d4ff00,
    0 0 40px 8px rgba(212, 255, 0, 0.35),
    0 0 80px 16px rgba(255, 255, 255, 0.12);
}

.os-download__logo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  border: 4px solid #d4ff00;
  box-shadow:
    0 0 40px 8px rgba(212, 255, 0, 0.35),
    0 0 80px 16px rgba(255, 255, 255, 0.12);
}

.os-download__table-wrap {
  width: 100%;
}

.os-download__table {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid #d4ff00;
  border-radius: 6px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.os-download__table td {
  width: 50%;
  padding: 14px 16px;
  text-align: center;
  border: 1px solid #d4ff00;
  vertical-align: middle;
  font-weight: 500;
}

.os-download__buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.os-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 9999px;
  background: #d4ff00;
  color: #000 !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 24px -8px rgba(212, 255, 0, 0.7);
}

.os-download-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 0 32px -6px rgba(212, 255, 0, 0.9);
}

.os-download-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #000;
}

.os-download-btn__icon img,
.os-download-btn__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.os-download__previous {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 12px;
}

.os-download__prev-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
}

.os-download-accent {
  color: #d4ff00;
}

@media (max-width: 640px) {
  .os-download {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .os-download__table {
    font-size: 13px;
  }

  .os-download__table td {
    padding: 11px 10px;
  }

  .os-download-btn {
    font-size: 13px;
    padding: 12px 18px;
    min-height: 48px;
  }
}

/* ===== iOS page blocks ===== */
.os-ios {
  background: #000;
  padding-top: 48px;
  padding-bottom: 48px;
  color: #fff;
}

.os-ios-panel {
  background: #0a0a0a;
  border: 1px solid rgba(212, 255, 0, 0.18);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.os-ios-pill-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.os-ios-pill {
  display: inline-block;
  background: #d4ff00;
  color: #000;
  font-weight: 800;
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.25;
  padding: 12px 28px;
  border-radius: 999px;
  text-align: center;
  max-width: 100%;
}

.os-ios-accent {
  color: #d4ff00;
}

.os-ios-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.os-ios-text--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.os-ios-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.os-ios-split__content {
  min-width: 0;
}

.os-ios-checklist {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.os-ios-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.os-ios-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d4ff00;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.os-ios-bullets {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
}

.os-ios-bullets li::marker {
  color: #d4ff00;
}

.os-ios-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.os-ios-icon__img,
.os-ios-icon__fallback {
  display: block;
  filter: drop-shadow(0 0 24px rgba(212, 255, 0, 0.35));
}

.os-ios-icon__fallback {
  width: 100%;
}

.os-ios-icon__svg {
  width: 100%;
  height: auto;
  display: block;
}

.os-ios-hero__panel {
  text-align: left;
}

.os-ios-hero__title {
  margin: 0 0 16px;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.os-ios-hero__desc {
  margin: 0 0 28px;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.os-ios-hero__media {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.os-ios-hero__image {
  max-width: 100%;
  height: auto;
  display: block;
}

.os-ios-step-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.os-ios-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.os-ios-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d4ff00;
  color: #000;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.os-ios-step__body {
  flex: 1;
  min-width: 0;
}

.os-ios-step__title {
  display: block;
  color: #d4ff00;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.os-ios-step__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.os-ios-note {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1.5px solid #d4ff00;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.os-ios-note__label {
  flex-shrink: 0;
  background: #d4ff00;
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1.2;
}

.os-ios-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.os-ios-method + .os-ios-method {
  margin-top: 24px;
}

.os-ios-method__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 768px) {
  .os-ios-split {
    grid-template-columns: 1fr;
  }

  .os-ios-icon {
    margin: 0 auto;
    max-width: 160px !important;
  }

  .os-ios {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

/* ===== PC page blocks ===== */
.os-pc {
  background: #000;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #fff;
}

.os-pc + .os-pc {
  padding-top: 8px;
}

.os-pc-pill-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.os-pc-pill {
  display: inline-block;
  margin: 0;
  background: #d4ff00;
  color: #000;
  font-weight: 800;
  font-size: clamp(15px, 2.2vw, 20px);
  line-height: 1.3;
  padding: 10px 28px;
  border-radius: 8px;
  text-align: center;
  max-width: 100%;
}

.os-pc-copy {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.os-pc-copy p {
  margin: 0 0 16px;
}

.os-pc-copy p:last-child {
  margin-bottom: 0;
}

.os-pc-copy a {
  color: #4ea1ff;
  text-decoration: underline;
}

.os-pc-hero__title {
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.os-pc-hero__desc {
  margin-bottom: 28px;
}

.os-pc-shot {
  margin: 28px auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.os-pc-shot img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.os-pc-shot figcaption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.os-pc-feat-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.os-pc-feat__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #d4ff00;
}

.os-pc-feat p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.os-pc-table-wrap {
  width: 100%;
}

.os-pc-table {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid #d4ff00;
  color: #fff;
  font-size: 15px;
}

.os-pc-table td {
  width: 50%;
  padding: 14px 16px;
  text-align: left;
  border: 1px solid #d4ff00;
  vertical-align: middle;
}

.os-pc-table td:first-child {
  font-weight: 600;
}

.os-pc-bullets,
.os-pc-steps {
  margin: 18px 0 0;
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.os-pc-bullets li::marker,
.os-pc-steps li::marker {
  color: #d4ff00;
}

.os-pc-steps li strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
}

.os-pc-install__footer {
  margin-top: 24px;
}

.os-pc-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.os-pc-faq__item {
  border-bottom: 1px solid rgba(212, 255, 0, 0.28);
}

.os-pc-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.os-pc-faq__chevron {
  flex-shrink: 0;
  color: #d4ff00;
  transition: transform 0.2s ease;
}

.os-pc-faq__item.is-open .os-pc-faq__chevron {
  transform: rotate(180deg);
}

.os-pc-faq__answer {
  display: none;
  padding: 0 28px 16px 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.os-pc-faq__item.is-open .os-pc-faq__answer {
  display: block;
}

@media (max-width: 768px) {
  .os-pc {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .os-pc-faq__grid {
    grid-template-columns: 1fr;
  }

  .os-pc-table {
    font-size: 13px;
  }

  .os-pc-table td {
    padding: 11px 10px;
  }

  .os-pc-pill {
    font-size: 14px;
    padding: 9px 16px;
  }
}

/* ===== FireStick guide blocks ===== */
.os-fire {
  background: #000;
  padding-top: 28px;
  padding-bottom: 8px;
  color: #fff;
}

.os-fire-banner {
  padding-top: 40px;
  padding-bottom: 12px;
}

.os-fire-pill-wrap {
  display: flex;
  justify-content: center;
}

.os-fire-pill {
  display: inline-block;
  margin: 0;
  background: #d4ff00;
  color: #000;
  font-weight: 800;
  font-size: clamp(16px, 2.4vw, 22px);
  line-height: 1.3;
  padding: 12px 32px;
  border-radius: 999px;
  text-align: center;
  max-width: 100%;
}

.os-fire-underline {
  margin: 0 0 18px;
  padding-bottom: 10px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid #d4ff00;
}

.os-fire-copy {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.os-fire-copy p {
  margin: 0 0 14px;
}

.os-fire-copy p:last-child {
  margin-bottom: 0;
}

.os-fire-copy a {
  color: #4ea1ff;
  text-decoration: underline;
}

.os-fire-bullets {
  margin: 14px 0 0;
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.os-fire-bullets li::marker {
  color: #d4ff00;
}

.os-fire-shot {
  margin: 22px auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.os-fire-shot img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.os-fire-shot figcaption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.os-fire-group {
  margin-top: 22px;
}

.os-fire-group__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.os-fire-link__label {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.os-fire-link__label a {
  color: #fff;
  text-decoration: none;
}

.os-fire-link__label a:hover {
  color: #d4ff00;
}

@media (max-width: 768px) {
  .os-fire {
    padding-top: 20px;
  }

  .os-fire-pill {
    font-size: 14px;
    padding: 10px 18px;
  }
}
