:root {
  --bg-dark: #0a0c10;
  --bg-card: #14171f;
  --bg-card-hover: #1b202c;
  --border-color: rgba(255, 106, 0, 0.2);
  --border-glow: rgba(255, 120, 0, 0.5);
  --primary-orange: #ff6a00;
  --primary-amber: #ffaa00;
  --primary-red: #e63946;
  --text-main: #ffffff;
  --text-muted: #9ba1b0;
  --font-main: 'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-bebas: 'Bebas Neue', cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-dark);
  font-family: var(--font-main);
  color: var(--text-main);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 106, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 170, 0, 0.06) 0%, transparent 45%);
}

/* ===================================================
   SCREEN LAYERS
   =================================================== */
.tv-screen-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  display: flex;
  flex-direction: column;
}

.tv-screen-layer.active {
  opacity: 1;
  visibility: visible;
}

/* ===================================================
   1. PAIRING SCREEN (First launch on TV)
   =================================================== */
.pairing-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: #ff5722;
  top: -100px;
  left: -100px;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: #ffaa00;
  bottom: -150px;
  right: -150px;
  animation: orbFloat 12s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

.pairing-container {
  position: relative;
  z-index: 10;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  text-align: center;
  padding: 40px;
}

.brand-badge-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.brand-logo-fire {
  font-size: 3.5rem;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.2), rgba(255, 170, 0, 0.1));
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 10px 18px;
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.4);
}

.brand-title-wrap {
  text-align: left;
}

.brand-main-title {
  font-family: var(--font-bebas);
  font-size: 4rem;
  letter-spacing: 4px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, #ffaa00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-orange);
  margin-top: 4px;
}

.pairing-card {
  background: rgba(20, 23, 31, 0.85);
  border: 2px solid rgba(255, 106, 0, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 106, 0, 0.15);
  border-radius: 28px;
  padding: 36px 48px;
  backdrop-filter: blur(20px);
  width: 100%;
}

.pairing-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-amber);
  background: rgba(255, 170, 0, 0.12);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 170, 0, 0.3);
  margin-bottom: 20px;
}

.status-ping-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary-amber);
  border-radius: 50%;
}

.status-ping-dot.pulse {
  animation: pingPulse 1.5s infinite;
}

@keyframes pingPulse {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(255, 170, 0, 0.6); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 10px rgba(255, 170, 0, 0); }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(255, 170, 0, 0); }
}

.pairing-instruction {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 26px;
}

.pairing-instruction b {
  color: #ffffff;
}

.pin-code-display {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
}

.pin-digit {
  font-family: var(--font-bebas);
  font-size: 5rem;
  line-height: 1;
  width: 90px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f121a;
  border: 2px solid var(--border-glow);
  border-radius: 18px;
  color: #ffaa00;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.8), 0 0 20px rgba(255, 170, 0, 0.2);
  text-shadow: 0 0 15px rgba(255, 170, 0, 0.6);
}

.pairing-ip-box {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
}

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

.ip-value {
  color: #ffffff;
  font-weight: 700;
  font-family: monospace;
}

.pairing-hint {
  font-size: 0.95rem;
  color: #7b8293;
}

.pairing-footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.85rem;
  color: #616878;
}

/* ===================================================
   2. TV HEADER
   =================================================== */
.tv-header {
  height: 80px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 17, 24, 0.95);
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 100;
  flex-shrink: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 10px var(--primary-orange));
}

.header-title-block {
  display: flex;
  flex-direction: column;
}

.header-brand-title {
  font-family: var(--font-bebas);
  font-size: 2.2rem;
  letter-spacing: 2px;
  line-height: 1;
  background: linear-gradient(90deg, #ffffff, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-category-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary-orange);
  text-transform: uppercase;
}

.header-center {
  display: flex;
  align-items: center;
}

.halal-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 196, 182, 0.12);
  border: 1px solid rgba(46, 196, 182, 0.3);
  padding: 6px 18px;
  border-radius: 30px;
}

.seal-icon {
  font-size: 1.1rem;
}

.seal-text {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #2ec4b6;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.time-block {
  text-align: right;
}

.digital-clock {
  font-family: var(--font-bebas);
  font-size: 2rem;
  letter-spacing: 2px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.digital-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: capitalize;
}

.network-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.net-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ec4b6;
  box-shadow: 0 0 8px #2ec4b6;
}

.net-dot.offline {
  background: #e63946;
  box-shadow: 0 0 8px #e63946;
}

.net-text {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

/* ===================================================
   3. MENU GRID
   =================================================== */
.tv-main-content {
  flex: 1;
  padding: 24px 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  height: 100%;
}

.menu-card {
  position: relative;
  background: var(--bg-card);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 35px rgba(255, 106, 0, 0.2);
}

.card-image-box {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.menu-card:hover .card-image {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #ff5722, #ff9f1c);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

.card-badge.badge-hit { background: linear-gradient(135deg, #e63946, #ff6a00); }
.card-badge.badge-new { background: linear-gradient(135deg, #2ec4b6, #20a39e); }
.card-badge.badge-spicy { background: linear-gradient(135deg, #d90429, #ef233c); }
.card-badge.badge-halal { background: linear-gradient(135deg, #1b9aaa, #06d6a0); }

.card-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  justify-content: space-between;
  height: 100%;
}

.card-top {
  display: flex;
  flex-direction: column;
}

.card-category-tiny {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 8px;
}

.card-weight {
  font-size: 0.8rem;
  color: #727a8c;
  font-weight: 600;
}

.card-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.15), rgba(255, 170, 0, 0.08));
  border: 1px solid rgba(255, 170, 0, 0.4);
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}

.price-val {
  font-family: var(--font-bebas);
  font-size: 1.8rem;
  line-height: 1;
  color: #ffaa00;
  letter-spacing: 1px;
}

.price-currency {
  font-family: var(--font-bebas);
  font-size: 1.2rem;
  color: #ffaa00;
}

/* Pulsing highlight when price is updated live */
.price-pulse {
  animation: priceGlow 1s ease 3;
}

@keyframes priceGlow {
  0% { transform: scale(1); box-shadow: 0 0 10px #ffaa00; }
  50% { transform: scale(1.15); box-shadow: 0 0 30px #ffaa00; border-color: #ffffff; }
  100% { transform: scale(1); box-shadow: 0 0 10px #ffaa00; }
}

/* ===================================================
   STOP-LIST (OUT OF STOCK) OVERLAY
   =================================================== */
.menu-card.out-of-stock {
  opacity: 0.45;
  filter: grayscale(0.8);
  pointer-events: none;
}

.menu-card.out-of-stock::after {
  content: "СТОП-ЛИСТ • SOLD OUT";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  background: rgba(230, 57, 70, 0.95);
  color: #ffffff;
  font-family: var(--font-bebas);
  font-size: 1.6rem;
  letter-spacing: 3px;
  padding: 8px 24px;
  border-radius: 8px;
  border: 2px dashed #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
  z-index: 20;
  white-space: nowrap;
}

/* ===================================================
   4. BOTTOM TICKER
   =================================================== */
.tv-footer {
  height: 60px;
  background: #0d1017;
  border-top: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 24px;
  overflow: hidden;
  position: relative;
  z-index: 90;
  flex-shrink: 0;
}

.ticker-badge {
  background: var(--primary-red);
  color: #ffffff;
  font-family: var(--font-bebas);
  font-size: 1.1rem;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 8px;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.5);
}

.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #e0e6ed;
  letter-spacing: 1px;
  animation: tickerMove 28s linear infinite;
}

@keyframes tickerMove {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.footer-contacts {
  margin-left: 20px;
  flex-shrink: 0;
}

.contact-qr-badge {
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid rgba(255, 170, 0, 0.4);
  color: var(--primary-amber);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
}

/* ===================================================
   5. EMERGENCY OVERLAY BANNER
   =================================================== */
.emergency-layer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.emergency-layer.active {
  opacity: 1;
  visibility: visible;
}

.emergency-modal {
  background: #141720;
  border: 3px solid var(--primary-red);
  box-shadow: 0 0 80px rgba(230, 57, 70, 0.6);
  border-radius: 28px;
  padding: 50px 70px;
  max-width: 800px;
  text-align: center;
  animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.emergency-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.emergency-title {
  font-family: var(--font-bebas);
  font-size: 3.5rem;
  letter-spacing: 3px;
  color: var(--primary-red);
  margin-bottom: 16px;
}

.emergency-text {
  font-size: 1.6rem;
  color: #ffffff;
  line-height: 1.4;
}

/* 4K Video Player Layer */
.tv-video-container {
  position: absolute;
  top: 86px;
  left: 0;
  width: 100%;
  height: calc(100% - 86px - 64px);
  z-index: 5;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-4k-player,
.tv-4k-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Fullscreen cinema mode when video is playing - Ultra smooth 60 FPS edge-to-edge */
.cinema-mode .tv-header,
.cinema-mode .tv-footer {
  display: none !important;
}

.cinema-mode .tv-main-content {
  padding: 0 !important;
  margin: 0 !important;
  height: 100vh !important;
}

.cinema-mode .tv-video-container {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  background: #000000 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease, filter 1.2s ease;
  will-change: transform, opacity, filter;
}

/* Physical Screen-to-Screen Cinema Sliding Transitions (1.8s Majestic) */
.cinema-mode .tv-video-container.video-slide-out-right {
  animation: videoSlideOutRight 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.cinema-mode .tv-video-container.video-slide-in-left {
  animation: videoSlideInLeft 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.cinema-mode .tv-video-container.video-slide-out-left {
  animation: videoSlideOutLeft 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.cinema-mode .tv-video-container.video-slide-in-right {
  animation: videoSlideInRight 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes videoSlideOutRight {
  0% {
    transform: perspective(1400px) translateX(0) scale(1) rotateY(0deg);
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 184, 0, 0));
    opacity: 1;
  }
  35% {
    transform: perspective(1400px) translateX(18vw) scale(0.97) rotateY(-2.5deg);
    filter: brightness(1.15) drop-shadow(0 0 45px rgba(255, 184, 0, 0.55));
    opacity: 0.95;
  }
  100% {
    transform: perspective(1400px) translateX(105vw) scale(0.92) rotateY(-5deg);
    filter: brightness(1.25) drop-shadow(0 0 80px rgba(255, 184, 0, 0.8));
    opacity: 0;
  }
}

@keyframes videoSlideInLeft {
  0% {
    transform: perspective(1400px) translateX(-105vw) scale(0.92) rotateY(5deg);
    filter: brightness(1.25) drop-shadow(0 0 80px rgba(255, 184, 0, 0.8));
    opacity: 0;
  }
  40% {
    transform: perspective(1400px) translateX(-16vw) scale(0.97) rotateY(2deg);
    filter: brightness(1.15) drop-shadow(0 0 45px rgba(255, 184, 0, 0.55));
    opacity: 0.95;
  }
  100% {
    transform: perspective(1400px) translateX(0) scale(1) rotateY(0deg);
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 184, 0, 0));
    opacity: 1;
  }
}

@keyframes videoSlideOutLeft {
  0% {
    transform: perspective(1400px) translateX(0) scale(1) rotateY(0deg);
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 184, 0, 0));
    opacity: 1;
  }
  35% {
    transform: perspective(1400px) translateX(-18vw) scale(0.97) rotateY(2.5deg);
    filter: brightness(1.15) drop-shadow(0 0 45px rgba(255, 184, 0, 0.55));
    opacity: 0.95;
  }
  100% {
    transform: perspective(1400px) translateX(-105vw) scale(0.92) rotateY(5deg);
    filter: brightness(1.25) drop-shadow(0 0 80px rgba(255, 184, 0, 0.8));
    opacity: 0;
  }
}

@keyframes videoSlideInRight {
  0% {
    transform: perspective(1400px) translateX(105vw) scale(0.92) rotateY(-5deg);
    filter: brightness(1.25) drop-shadow(0 0 80px rgba(255, 184, 0, 0.8));
    opacity: 0;
  }
  40% {
    transform: perspective(1400px) translateX(16vw) scale(0.97) rotateY(-2deg);
    filter: brightness(1.15) drop-shadow(0 0 45px rgba(255, 184, 0, 0.55));
    opacity: 0.95;
  }
  100% {
    transform: perspective(1400px) translateX(0) scale(1) rotateY(0deg);
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 184, 0, 0));
    opacity: 1;
  }
}

.cinema-mode .tv-4k-player,
.cinema-mode .tv-4k-photo {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  background: #000 !important;
  transform: translateZ(0);
}

.tv-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  background: #000;
  transform: translateZ(0);
  will-change: transform, filter, opacity;
}

.tv-slide-current {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  animation: cleanLivingZoom 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes cleanLivingZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.04);
  }
}

.tv-slide-next {
  z-index: 3;
  opacity: 1;
  transform: translateX(-100vw);
}

.slide-conveyor-out-right {
  animation: cleanConveyorOutRight 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

.slide-conveyor-in-left {
  animation: cleanConveyorInLeft 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

@keyframes cleanConveyorOutRight {
  0% {
    transform: translateX(0) scale(1.04);
  }
  100% {
    transform: translateX(100vw) scale(1);
  }
}

@keyframes cleanConveyorInLeft {
  0% {
    transform: translateX(-100vw) scale(1);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

/* Responsive tweaks for 4K / Large Screens */
@media (min-width: 2500px) {
  .brand-main-title { font-size: 6rem; }
  .pairing-instruction { font-size: 1.8rem; }
  .pin-digit { font-size: 8rem; width: 140px; height: 170px; }
  .header-brand-title { font-size: 3.5rem; }
  .header-category-label { font-size: 1.2rem; }
  .digital-clock { font-size: 3.2rem; }
  .tv-header { height: 120px; }
  .card-image-box { width: 200px; height: 200px; }
  .card-title { font-size: 2rem; }
  .card-description { font-size: 1.2rem; }
  .price-val { font-size: 2.8rem; }
  .price-currency { font-size: 1.8rem; }
  .tv-footer { height: 90px; }
  .ticker-track { font-size: 1.8rem; }
  .tv-video-container { top: 120px; height: calc(100% - 120px - 90px); }
}

.cascade-overlay {
  display: none;
}

/* On-screen Remote Feedback HUD Toast */
.tv-hud-toast {
  position: fixed;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 18, 25, 0.95);
  border: 2.5px solid #ff7700;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 119, 0, 0.5);
  border-radius: 999px;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 999999;
  backdrop-filter: blur(20px);
  animation: hudSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.tv-hud-toast .hud-icon {
  font-size: 2rem;
}

.tv-hud-toast .hud-text {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
}

@keyframes hudSlideDown {
  from { transform: translate(-50%, -50px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}


