/* OTT App hero — from Corewave OTT App Page (01 Hero) */

@keyframes cw-ott-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cw-ott-pop {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  12% {
    opacity: 1;
    transform: none;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes cw-ott-live {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.cw-ott-app-hero {
  background: radial-gradient(760px 540px at 74% 45%, rgba(183, 166, 245, 0.28), transparent 70%), #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-ott-app-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px) 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.cw-ott-app-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.cw-ott-app-hero__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-ott-app-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(50px, 6.6vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.cw-ott-app-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #b7a6f5;
  letter-spacing: -0.02em;
}

.cw-ott-app-hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(243, 239, 231, 0.78);
}

.cw-ott-app-hero__lead-brand {
  color: #b7a6f5;
}

.cw-ott-app-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-ott-app-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cw-ott-app-hero__btn--primary {
  background: #d4f53c;
  color: #141210;
  font-weight: 700;
}

.cw-ott-app-hero__btn--primary:hover,
.cw-ott-app-hero__btn--primary:focus-visible {
  background: #fff;
  color: #141210;
}

.cw-ott-app-hero__btn--secondary {
  border: 1px solid rgba(243, 239, 231, 0.25);
  color: #f3efe7;
}

.cw-ott-app-hero__btn--secondary:hover,
.cw-ott-app-hero__btn--secondary:focus-visible {
  border-color: #d4f53c;
  color: #d4f53c;
}

.cw-ott-app-hero__platforms {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-ott-app-hero__platforms-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(243, 239, 231, 0.5);
}

.cw-ott-app-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-ott-app-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(243, 239, 231, 0.18);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.cw-ott-app-hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cw-ott-app-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  perspective: 1100px;
}

.cw-ott-app-hero__stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 340px;
  width: 100%;
}

.cw-ott-app-hero__device {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  transition: width 0.5s cubic-bezier(0.3, 1.2, 0.4, 1), transform 0.25s ease-out;
  transform-style: preserve-3d;
  transform-origin: center bottom;
}

.cw-ott-app-hero__toast {
  position: absolute;
  right: -8px;
  top: -22px;
  z-index: 3;
  background: rgba(243, 239, 231, 0.96);
  color: #141210;
  border-radius: 14px;
  padding: 9px 12px;
  display: flex;
  gap: 9px;
  align-items: center;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  animation: cw-ott-pop 3.4s ease both;
  max-width: 260px;
}

.cw-ott-app-hero__toast-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #141210;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  flex: none;
}

.cw-ott-app-hero__toast-title {
  font-weight: 700;
  font-size: 12px;
}

.cw-ott-app-hero__toast-desc {
  font-size: 11px;
  color: #5a534a;
}

.cw-ott-app-hero__frame {
  width: 100%;
  background: #0b0908;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(243, 239, 231, 0.12);
}

.cw-ott-app-hero__screen {
  width: 100%;
  overflow: hidden;
  background: #0f0d1a;
  display: flex;
  flex-direction: column;
  animation: cw-ott-in 0.4s ease both;
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.cw-ott-app-hero__poster {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(10px, 2vw, 20px);
  gap: 6px;
  transition: filter 0.5s;
  min-height: 0;
  overflow: hidden;
}

.cw-ott-app-hero__badges {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-ott-app-hero__badge {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.cw-ott-app-hero__badge--live {
  background: #ff5527;
  animation: cw-ott-live 1.2s infinite;
}

.cw-ott-app-hero__badge--live::before {
  content: '● ';
}

.cw-ott-app-hero__show-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(18px, 2.6vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.cw-ott-app-hero__show-sub {
  font-size: clamp(10px, 1vw, 12.5px);
  color: rgba(243, 239, 231, 0.8);
}

.cw-ott-app-hero__controls {
  flex: none;
  background: #0f0d1a;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cw-ott-app-hero__play {
  font-size: 13px;
}

.cw-ott-app-hero__progress {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(243, 239, 231, 0.15);
  position: relative;
  overflow: hidden;
}

.cw-ott-app-hero__progress-buf,
.cw-ott-app-hero__progress-play {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 2px;
  transition: width 0.12s linear;
}

.cw-ott-app-hero__progress-buf {
  background: rgba(243, 239, 231, 0.3);
}

.cw-ott-app-hero__quality {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #141210;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
}

.cw-ott-app-hero__tv-stand {
  width: 18%;
  height: 14px;
  margin: 0 auto;
  background: #0b0908;
  border-radius: 0 0 8px 8px;
}

.cw-ott-app-hero__devices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.cw-ott-app-hero__dev-btn {
  border: 1px solid rgba(243, 239, 231, 0.2);
  background: transparent;
  color: #f3efe7;
  border-radius: 12px;
  padding: 9px 4px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cw-ott-app-hero__dev-btn.is-active {
  border-color: #b7a6f5;
  background: #b7a6f5;
  color: #141210;
}

.cw-ott-app-hero__speed {
  border: 1px solid rgba(243, 239, 231, 0.12);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-ott-app-hero__speed-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  flex-wrap: wrap;
}

.cw-ott-app-hero__speed-label {
  display: block;
}

.cw-ott-app-hero__speed input[type='range'] {
  width: 100%;
  accent-color: #b7a6f5;
}

.cw-ott-app-hero__speed-note {
  margin: 0;
  font-size: 12px;
  color: rgba(243, 239, 231, 0.55);
  line-height: 1.5;
}

.cw-ott-app-hero .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .cw-ott-app-hero__devices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
