/* =============================================================================
   V-Broadband — Cinematic lifestyle visuals (homepage)
   ============================================================================= */

/* --- Premium logo in navbar ---------------------------------------------- */

.premium-brand__logo-wrap {
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 8px 28px rgba(11, 96, 176, 0.35),
    0 0 24px rgba(30, 136, 229, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-brand:hover .premium-brand__logo-wrap {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 12px 32px rgba(11, 96, 176, 0.45),
    0 0 32px rgba(255, 122, 0, 0.15);
}

.premium-brand__logo {
  display: block;
  width: 38px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
  border-radius: 10px;
}

.premium-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.1;
}

.premium-brand__tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 246, 252, 0.55);
}

@media (max-width: 480px) {
  .premium-brand__tag {
    display: none;
  }
  .premium-brand__name {
    font-size: 1rem;
  }
}

/* --- Shared cinematic frame ---------------------------------------------- */

.cinema-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
  box-shadow:
    0 28px 64px rgba(2, 21, 38, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cinema-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.12) contrast(1.05);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cinema-frame:hover .cinema-frame__img {
  transform: scale(1.08);
}

.cinema-frame__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(2, 21, 38, 0.15) 0%,
    rgba(2, 21, 38, 0.55) 45%,
    rgba(2, 21, 38, 0.92) 100%
  );
  pointer-events: none;
}

.cinema-frame__gradient--sports {
  background: linear-gradient(
    165deg,
    rgba(11, 96, 176, 0.2) 0%,
    rgba(2, 21, 38, 0.5) 40%,
    rgba(2, 21, 38, 0.95) 100%
  );
}

.cinema-frame__glow {
  position: absolute;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.7;
}

.cinema-frame__glow--tv {
  width: 55%;
  height: 40%;
  top: 18%;
  left: 22%;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.65), transparent 70%);
  animation: tv-glow-pulse 4s ease-in-out infinite;
}

.cinema-frame__glow--blue {
  width: 70%;
  height: 50%;
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(11, 96, 176, 0.5), transparent 70%);
}

.cinema-frame__glow--sports {
  width: 60%;
  height: 45%;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.35), transparent 70%);
}

.cinema-frame__glow--neon {
  width: 50%;
  height: 40%;
  bottom: 5%;
  left: 5%;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.55), rgba(124, 58, 237, 0.25), transparent 70%);
}

@keyframes tv-glow-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

.cinema-frame__edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.cinema-frame--tile {
  aspect-ratio: 4/5;
  border-radius: 18px;
}

.cinema-frame--tile .cinema-frame__img {
  min-height: 100%;
}

/* --- Hero scene ------------------------------------------------------------ */

.hero-scene .hero-visual {
  min-height: 420px;
}

@media (min-width: 960px) {
  .hero-scene.hero-visual,
  .hero-visual.hero-scene {
    min-height: 560px;
  }
}

.hero-scene__stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 4/5;
}

@media (min-width: 960px) {
  .hero-scene__stage {
    max-width: none;
    aspect-ratio: auto;
    min-height: 500px;
  }
}

.cinema-frame--hero {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  z-index: 1;
}

.cinema-frame--hero .cinema-frame__img {
  min-height: 420px;
  object-position: center 35%;
}

@media (min-width: 960px) {
  .cinema-frame--hero .cinema-frame__img {
    min-height: 500px;
  }
}

.hero-tv-shell {
  position: absolute;
  z-index: 4;
  left: 8%;
  right: 8%;
  bottom: 14%;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(2, 21, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.hero-tv-shell__title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(240, 246, 252, 0.75);
}

.hero-tv-shell__row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.hero-tv-thumb {
  flex: 1;
  min-width: 4.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(240, 246, 252, 0.9);
}

.hero-tv-thumb--live {
  background: linear-gradient(135deg, #e50914, #b20710);
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.45);
}

.hero-tv-shell__badge {
  position: absolute;
  top: -0.65rem;
  right: 1rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-electric), #1e88e5);
  color: #fff;
  box-shadow: 0 4px 16px rgba(11, 96, 176, 0.5);
}

.cinema-inset--gaming {
  position: absolute;
  z-index: 3;
  right: -4%;
  top: 8%;
  width: 42%;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(125, 211, 252, 0.25);
  transform: rotate(3deg);
  animation: inset-float 6s ease-in-out infinite;
}

.cinema-inset--gaming img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.cinema-inset__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2, 21, 38, 0.85));
}

.cinema-inset__label {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.45rem;
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@keyframes inset-float {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(2deg) translateY(-8px);
  }
}

.hero-connect-chip {
  position: absolute;
  z-index: 5;
  left: 6%;
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  color: var(--text-muted-dark);
}

.hero-connect-chip strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
}

.hero-connect-chip img {
  width: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.hero-connect-chip__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  flex-shrink: 0;
}

.hero-scene .hero-visual__glow {
  inset: 0;
  opacity: 0.85;
}

.hero-scene .glass-widget {
  z-index: 6;
}

@media (max-width: 640px) {
  .cinema-inset--gaming {
    width: 38%;
    top: 4%;
  }
  .hero-connect-chip span:not(.hero-connect-chip__pulse) {
    display: none;
  }
  .hero-connect-chip strong {
    font-size: 0.72rem;
  }
}

/* --- Visual story bands ---------------------------------------------------- */

.visual-story {
  display: grid;
  gap: 1.75rem;
  margin: 2rem 0 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .visual-story {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
  .visual-story--stream {
    direction: rtl;
  }
  .visual-story--stream > * {
    direction: ltr;
  }
}

.cinema-frame--wide {
  aspect-ratio: 16/10;
  border-radius: 24px;
}

.cinema-frame--wide .cinema-frame__img {
  min-height: 280px;
}

.visual-story__panel {
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 244, 255, 0.85));
  border: 1px solid rgba(11, 96, 176, 0.12);
  box-shadow: 0 20px 48px rgba(2, 21, 38, 0.1);
}

.visual-story__copy {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
}

.speed-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.speed-pill {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(2, 21, 38, 0.06);
  color: var(--navy-deep);
  border: 1px solid rgba(11, 96, 176, 0.15);
}

.speed-pill strong {
  font-family: var(--font-display);
  color: var(--blue-electric);
}

.speed-pill--accent {
  background: linear-gradient(135deg, rgba(11, 96, 176, 0.12), rgba(255, 122, 0, 0.12));
  border-color: rgba(255, 122, 0, 0.25);
}

/* --- IPL / stream showcase ------------------------------------------------- */

.stream-showcase--visual {
  align-items: stretch;
  gap: 2rem;
}

.stream-showcase__media {
  position: relative;
  min-height: 380px;
}

.cinema-frame--tall {
  height: 100%;
  min-height: 360px;
  border-radius: 24px;
}

.cinema-frame--tall .cinema-frame__img {
  min-height: 360px;
  object-position: center;
}

.stream-ui-mock--float {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 6%;
  z-index: 2;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(2, 21, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.stream-ui-mock__title {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.85;
  color: #fff;
}

.stream-ui-mock__thumb--photo {
  background-size: cover !important;
  background-position: center !important;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stream-ui-mock__thumb--photo .stream-ui-mock__label {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* --- Lifestyle mosaic ------------------------------------------------------ */

.lifestyle-mosaic {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .lifestyle-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(160px, auto));
    gap: 1rem;
  }
  .lifestyle-mosaic__cell--hero {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
}

.lifestyle-mosaic__cell {
  margin: 0;
  position: relative;
}

.lifestyle-mosaic__cell figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.lifestyle-mosaic__cell--hero .cinema-frame--tile {
  aspect-ratio: auto;
  min-height: 320px;
}

@media (min-width: 768px) {
  .lifestyle-mosaic__cell--hero .cinema-frame--tile {
    min-height: 100%;
    height: 100%;
  }
}

/* --- Process visual split -------------------------------------------------- */

.process-visual {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .process-visual {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
  }
}

.cinema-frame--process {
  aspect-ratio: 4/5;
  max-height: 520px;
  border-radius: 24px;
}

.cinema-frame--process .cinema-frame__img {
  min-height: 360px;
  object-position: center 30%;
}

/* --- Section atmosphere ---------------------------------------------------- */

.trust-premium--visual {
  position: relative;
  padding-block: 0.5rem 2.5rem;
}

.trust-premium--visual::before {
  content: "";
  position: absolute;
  inset: -40% 0 0;
  background: url("../assets/home/bg-trust.jpg") center/cover no-repeat;
  opacity: 0.08;
  filter: blur(2px) saturate(0.8);
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.section-premium--plans-visual {
  position: relative;
  overflow: hidden;
}

.section-premium--plans-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/home/bg-plans.jpg") center/cover;
  opacity: 0.07;
  filter: blur(4px);
  pointer-events: none;
}

.section-premium--plans-visual .section-premium__wrap {
  position: relative;
  z-index: 1;
}

.section-premium--coverage-visual {
  position: relative;
  overflow: hidden;
}

.section-premium--coverage-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(11, 96, 176, 0.25), transparent),
    url("../assets/home/bg-coverage.jpg") center/cover;
  opacity: 0.12;
  pointer-events: none;
}

.section-premium--coverage-visual .section-premium__wrap {
  position: relative;
  z-index: 1;
}

.cta-premium--visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("../assets/home/bg-cta.jpg") center/cover;
  opacity: 0.14;
  filter: saturate(1.2);
  pointer-events: none;
}

.cta-premium--visual > * {
  position: relative;
  z-index: 1;
}

/* --- Entertainment cards: stronger cinematic treatment ------------------- */

.page-home .ent-card__bg {
  filter: saturate(1.15) contrast(1.08);
}

.page-home .ent-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(2, 21, 38, 0.05) 0%,
    rgba(2, 21, 38, 0.55) 50%,
    rgba(2, 21, 38, 0.95) 100%
  ) !important;
}

.page-home .ent-card::after {
  content: "";
  position: absolute;
  inset: auto 10% 35% 10%;
  height: 30%;
  background: radial-gradient(ellipse, rgba(30, 136, 229, 0.35), transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.page-home .ent-card:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cinema-frame__img,
  .cinema-inset--gaming,
  .hero-blob,
  .tv-glow-pulse {
    animation: none !important;
    transition: none !important;
  }
}
