/* =========================================================
   BNS Airmax — Innovative Premium Video Layout v2
   Equal 50/50 split, contained, cinematic
   ========================================================= */

/* ── SECTION WRAPPER ── */
.premium-story {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  isolation: isolate;
  background: linear-gradient(160deg, #f0f5ff 0%, #ffffff 50%, #f7f2ff 100%);
}
.premium-profile-section {
  background: linear-gradient(160deg, #fff8f0 0%, #ffffff 50%, #f0f7ff 100%);
}
.premium-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 8% 30%, rgba(20,59,107,.07), transparent),
    radial-gradient(ellipse 500px 400px at 92% 70%, rgba(227,6,19,.05), transparent);
  pointer-events: none;
  z-index: 0;
}

/* ── BLOB ACCENTS ── */
.premium-blob { display: none; } /* replaced by CSS bg above */

/* ── MAIN GRID — equal 50/50 ── */
.premium-story-grid,
.about-layout,
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.profile-layout .premium-video-shell { order: 2; }
.profile-layout .premium-copy        { order: 1; }

/* ══════════════════════════════════════════════
   LEFT SIDE — VIDEO BLOCK
   ══════════════════════════════════════════════ */
.premium-video-shell {
  position: relative;
  padding: 0;
  display: flex;
  align-items: stretch;
}

/* Glow halo behind card */
.premium-video-shell::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 40px;
  background: radial-gradient(ellipse at center,
    rgba(20,59,107,.12) 0%,
    rgba(227,6,19,.06) 55%,
    transparent 80%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* Orbit rings */
.video-orbit { display: none; } /* replaced by cleaner approach */

/* THE CARD */
.premium-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: #0a2540;
  box-shadow:
    0 2px 0 1px rgba(255,255,255,.6) inset,
    0 0 0 1px rgba(20,59,107,.18),
    0 20px 60px rgba(10,37,64,.18),
    0 4px 16px rgba(10,37,64,.12);
  animation: cardFloat 7s ease-in-out infinite;
  z-index: 1;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-8px) rotate(.3deg); }
  66%       { transform: translateY(-4px) rotate(-.2deg); }
}

/* Video fill */
.premium-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.02);
  transition: filter .4s ease;
}
.premium-video-card:hover video {
  filter: brightness(1.06) saturate(1.1);
}

/* Glass top sheen */
.video-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,.22) 0%,
    rgba(255,255,255,.06) 30%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

/* LIVE dot + label — top-left */
.video-corner-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #0a2540;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 99px;
  padding: 7px 13px 7px 10px;
  box-shadow: 0 4px 18px rgba(10,37,64,.14);
  white-space: nowrap;
}
.video-corner-badge i {
  font-size: .82rem;
  color: #e30613;
  flex-shrink: 0;
}
/* Live pulse on badge-tl */
.badge-tl {
  top: 18px;
  left: 18px;
  animation: none;
}
.badge-tl::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e30613;
  box-shadow: 0 0 0 0 rgba(227,6,19,.4);
  animation: livePulse 2s ease-out infinite;
  flex-shrink: 0;
  order: -1;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(227,6,19,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(227,6,19,.0); }
  100% { box-shadow: 0 0 0 0 rgba(227,6,19,.0); }
}

/* Bottom-right certified badge */
.badge-br {
  bottom: 18px;
  right: 18px;
  background: linear-gradient(135deg, #0a2540, #143b6b);
  color: #fff;
  border-color: rgba(255,255,255,.15);
}
.badge-br i { color: #f5b301; }
.badge-br::before { display: none; }

/* Play button — center */
.play-overlay {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(10,37,64,.55);
  border: 2px solid rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px rgba(10,37,64,.3),
    0 0 0 0 rgba(255,255,255,.25);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
  cursor: pointer;
  z-index: 4;
  animation: playPulse 3s ease-in-out infinite;
}
@keyframes playPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(10,37,64,.3), 0 0 0 0 rgba(255,255,255,.3); }
  50%       { box-shadow: 0 8px 32px rgba(10,37,64,.3), 0 0 0 12px rgba(255,255,255,.0); }
}
.play-overlay i { margin-left: 4px; font-size: 1.25rem; }
.premium-video-card:hover .play-overlay {
  transform: translate(-50%,-50%) scale(1.12);
  background: rgba(227,6,19,.82);
  animation: none;
}

/* Progress bar */
.video-quality-bar { display: none; }

/* Decorative corner frame lines */
.premium-video-shell::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 38px;
  border: 1.5px dashed rgba(20,59,107,.10);
  pointer-events: none;
  z-index: 0;
  animation: dashRotate 20s linear infinite;
}
@keyframes dashRotate {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════
   RIGHT SIDE — COPY PANEL
   ══════════════════════════════════════════════ */
.premium-copy {
  position: relative;
  padding: 48px 44px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(20,59,107,.09);
  box-shadow:
    0 2px 0 rgba(255,255,255,.9) inset,
    0 1px 3px rgba(10,37,64,.06),
    0 16px 48px rgba(10,37,64,.09);
}
.premium-copy::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, #0a2540, #e30613 60%, #f5b301);
}
.premium-copy::after { display: none; }
.premium-copy > * { position: relative; z-index: 1; }

/* Badge pill */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 99px;
  background: rgba(10,37,64,.06);
  color: #0a2540;
  border: 1px solid rgba(10,37,64,.10);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.premium-badge i { color: #e30613; font-size: .8rem; }

/* Heading */
.premium-copy h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  line-height: 1.22;
  color: #0a2540;
  margin-bottom: 18px;
  font-family: "Playfair Display", Georgia, serif;
}
.premium-copy h2 em {
  font-style: italic;
  color: #e30613;
}

/* Body text */
.premium-copy p {
  font-size: .97rem;
  line-height: 1.78;
  color: #4c5c72;
  margin-bottom: 18px;
}

/* ── STRENGTH CARDS — 2x2 grid ── */
.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 28px;
}

.strength-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 15px;
  border-radius: 18px;
  background: #f6f9ff;
  border: 1px solid rgba(20,59,107,.08);
  box-shadow: 0 2px 8px rgba(10,37,64,.05);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: default;
}
.strength-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10,37,64,.10);
  background: #fff;
  border-color: rgba(20,59,107,.14);
}

/* Icon box */
.strength-card i {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, #143b6b, #0a2540);
  box-shadow: 0 6px 16px rgba(10,37,64,.22);
}
.strength-card:nth-child(even) i {
  background: linear-gradient(135deg, #e30613, #b40510);
  box-shadow: 0 6px 16px rgba(227,6,19,.25);
}

.strength-card span {
  font-weight: 600;
  color: #1a2e45;
  font-size: .875rem;
  line-height: 1.45;
  padding-top: 2px;
}

/* CTA Button */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a2540, #143b6b);
  color: #fff;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(10,37,64,.24), 0 2px 0 rgba(255,255,255,.1) inset;
  transition: transform .25s ease, box-shadow .25s ease;
  letter-spacing: .02em;
}
.btn-premium i { transition: transform .25s ease; }
.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(10,37,64,.30);
}
.btn-premium:hover i { transform: translateX(4px); }

/* ── TIMELINE (profile page) ── */
.premium-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0;
}
.premium-tl-item {
  position: relative;
  padding: 15px 16px 15px 48px;
  border-radius: 16px;
  background: #f6f9ff;
  border: 1px solid rgba(20,59,107,.08);
  box-shadow: 0 2px 8px rgba(10,37,64,.05);
  transition: transform .22s ease, box-shadow .22s ease;
}
.premium-tl-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 24px rgba(10,37,64,.09);
  background: #fff;
}
.premium-tl-item::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #e30613;
  box-shadow: 0 0 0 5px rgba(227,6,19,.12);
}
.premium-tl-item span {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #e30613;
  font-weight: 800;
}
.premium-tl-item h4 { font-size: .98rem; margin: 3px 0 5px; color: #0a2540; font-weight: 700; }
.premium-tl-item p  { font-size: .86rem; line-height: 1.52; margin: 0; color: #5b6880; }

/* ── Compact stats (profile) ── */
.premium-stats-grid,
.compact-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.premium-stat-card {
  padding: 16px 10px;
  border-radius: 16px;
  text-align: center;
  background: #f6f9ff;
  border: 1px solid rgba(20,59,107,.08);
  box-shadow: 0 2px 8px rgba(10,37,64,.05);
  transition: transform .22s ease;
}
.premium-stat-card:hover { transform: translateY(-3px); }
.premium-stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0a2540;
  line-height: 1;
}
.premium-stat-card span {
  font-size: .75rem;
  color: #5b6880;
  font-weight: 600;
  margin-top: 5px;
  display: block;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .premium-story { padding: 80px 0; }
  .premium-story-grid,
  .about-layout,
  .profile-layout { gap: 44px; }
  .premium-copy { padding: 38px 32px; }
}

@media (max-width: 900px) {
  .premium-story { padding: 64px 0; }
  .premium-story-grid,
  .about-layout,
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* About: video top, copy bottom */
  .about-layout .premium-video-shell { order: 1; }
  .about-layout .premium-copy        { order: 2; }
  /* Profile: video top, copy bottom */
  .profile-layout .premium-video-shell { order: 1; }
  .profile-layout .premium-copy        { order: 2; }
  /* Normal grid same order */
  .premium-story-grid .premium-video-shell { order: 1; }
  .premium-story-grid .premium-copy        { order: 2; }

  .premium-video-card { aspect-ratio: 16 / 9; }
  .premium-copy { padding: 32px 26px; }
  .premium-stats-grid,
  .compact-stats { grid-template-columns: repeat(2, 1fr); }
  .premium-copy::before { border-radius: 28px 28px 0 0; }
}

@media (max-width: 640px) {
  .premium-story { padding: 52px 0; }
  .premium-copy { padding: 26px 20px; border-radius: 22px; }
  .premium-copy::before { border-radius: 22px 22px 0 0; }
  .premium-copy h2 { font-size: 1.7rem; }
  .premium-video-card { aspect-ratio: 4 / 3; border-radius: 22px; }
  .strength-grid { grid-template-columns: 1fr; gap: 10px; }
  .strength-card { min-height: auto; }
  .premium-stats-grid,
  .compact-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .play-overlay { width: 56px; height: 56px; }
  .play-overlay i { font-size: 1.1rem; }
  .video-corner-badge { font-size: .7rem; padding: 6px 10px; }
  .badge-tl { top: 12px; left: 12px; }
  .badge-br { bottom: 12px; right: 12px; }
  .btn-premium { padding: 13px 22px; font-size: .88rem; }
  .premium-video-shell::after { display: none; }
}

@media (max-width: 400px) {
  .premium-video-card { aspect-ratio: 1/1; border-radius: 18px; }
  .video-corner-badge { display: none; }
  .premium-copy { padding: 22px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-video-card,
  .premium-video-shell::after,
  .play-overlay,
  .badge-tl::before { animation: none !important; }
}
