/* Homepage — cinematic Instagram reels showcase */

.home-reels-cinema {
  position: relative;
  padding: clamp(48px, 7vw, 80px) var(--layout-gutter, 20px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(171, 119, 67, 0.14), transparent 65%),
    linear-gradient(180deg, var(--bg, #4C2B08) 0%, var(--sf, #5A3512) 100%);
  border-top: 1px solid var(--brd, rgba(255, 255, 255, 0.06));
  border-bottom: 1px solid var(--brd);
  overflow: hidden;
}
.home-reels-cinema::before {
  display: none;
}
.home-reels-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}
.home-reels-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.home-reels-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #AB7743);
  margin-bottom: 10px;
}
.home-reels-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 5vw, 44px);
  color: var(--tx, #f5f5f7);
  margin: 0 0 10px;
  line-height: 1.15;
}
.home-reels-lead {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--tx2, #a1a1a6);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.65;
}
.home-reels-stage-wrap {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
}

/* Stage column: reel with side arrows, dots below */
.home-reels-stage-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.home-reels-stage-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

.home-reels-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--brd2, rgba(255, 255, 255, 0.12));
  background: var(--s2, rgba(255, 255, 255, 0.06));
  color: var(--tx);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  z-index: 2;
}
.home-reels-arrow:hover {
  border-color: var(--gbrd, rgba(171, 119, 67, 0.55));
  background: var(--gbg, rgba(171, 119, 67, 0.14));
  transform: scale(1.05);
}
.home-reels-arrow:active {
  transform: scale(0.97);
}

.home-reels-stage-col .reels-indicator-label {
  margin: 0;
  text-align: center;
}
.home-reels-stage-col .reels-dots {
  margin: 0;
  width: 100%;
  max-width: 326px;
}
.home-reels-stage {
  position: relative;
  isolation: isolate;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(171, 119, 67, 0.28);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
  /* Match Instagram's native embed width so the reel fills edge-to-edge */
  width: min(100%, 326px);
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  flex: 0 1 auto;
}
.home-reels-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 3;
}
.reels-ig-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
  /* Slight overscale crops IG letterboxing / side bars inside the embed */
  transform: scale(1.14);
  transform-origin: center center;
}
.reels-open-ig {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.reels-open-ig:hover {
  background: rgba(0, 0, 0, 0.75);
}
.reels-ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(24px, 4vw, 36px);
}
.reels-ig-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--brd);
  background: #000;
}
.reels-ig-frame--mini {
  min-height: 360px;
  aspect-ratio: 9 / 16;
}
.reels-ig-card-link {
  display: block;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--glt);
  text-decoration: none;
  text-align: center;
  background: var(--sf);
}
.reels-ig-card-link:hover {
  text-decoration: underline;
}
.home-reels-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.home-reels-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--glt, #d4965a);
  background: rgba(201, 137, 58, 0.12);
  border: 1px solid rgba(201, 137, 58, 0.28);
  padding: 6px 12px;
  border-radius: 980px;
}
.home-reels-live-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e74c3c;
  animation: reels-pulse 1.4s ease-in-out infinite;
}
@keyframes reels-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
#reelsCinemaTitle {
  font-family: 'Amiri', serif;
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--tx);
  margin: 0;
  line-height: 1.35;
}
#reelsCinemaCaption {
  font-size: 15px;
  color: var(--tx2);
  line-height: 1.7;
  margin: 0;
}
.reels-khatm {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(171, 119, 67, 0.28);
  background: linear-gradient(160deg, rgba(15, 17, 23, 0.72), rgba(171, 119, 67, 0.14));
}
.reels-khatm-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reels-khatm-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #AB7743);
}
.reels-khatm-ar {
  font-family: 'Amiri', serif;
  font-size: clamp(18px, 2.8vw, 24px);
  color: var(--tx, #f5f5f7);
  line-height: 1.55;
  margin: 0;
}
.reels-khatm-desc {
  font-size: 13px;
  color: var(--tx2, #a1a1a6);
  line-height: 1.7;
  margin: 0;
}
.reels-khatm-desc strong {
  color: var(--tx);
  font-weight: 700;
}
.reels-khatm-ar-sm {
  font-family: 'Amiri', serif;
  font-size: 12px;
  color: var(--gold, #AB7743);
}
.reels-khatm-player {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  aspect-ratio: 16 / 9;
}
.reels-yt-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.reels-khatm-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--glt, #d4965a);
  text-decoration: none;
  width: fit-content;
}
.reels-khatm-link:hover {
  text-decoration: underline;
}
.home-reels-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.home-reels-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 980px;
  background: var(--gold, #AB7743);
  color: #4C2B08;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s;
}
.home-reels-shop:hover {
  transform: scale(1.02);
}
.home-reels-note {
  font-size: 12px;
  color: var(--tx2);
  line-height: 1.5;
}
.reels-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.reels-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--brd2);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.reels-dot[aria-current="true"],
.reels-dot.on {
  background: var(--gold);
  transform: scale(1.2);
}

html[data-theme="light"] .home-reels-cinema {
  background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
}
html[data-theme="light"] .home-reels-title,
html[data-theme="light"] #reelsCinemaTitle {
  color: #1d1d1f;
}
html[data-theme="light"] .home-reels-lead,
html[data-theme="light"] #reelsCinemaCaption {
  color: #6e6e73;
}
html[data-theme="light"] .reels-khatm {
  background: linear-gradient(160deg, #fff, rgba(171, 119, 67, 0.06));
  border-color: rgba(184, 134, 11, 0.22);
}
html[data-theme="light"] .reels-khatm-ar,
html[data-theme="light"] .reels-khatm-desc strong {
  color: #1d1d1f;
}
html[data-theme="light"] .reels-khatm-desc {
  color: #6e6e73;
}

@media (max-width: 860px) {
  .home-reels-stage-wrap {
    grid-template-columns: 1fr;
  }
  .home-reels-copy {
    text-align: center;
    align-items: center;
  }
  .reels-ig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .home-reels-stage-shell {
    gap: 6px;
    max-width: 100%;
  }
  .home-reels-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .home-reels-stage {
    width: min(100%, 280px);
  }
  .reels-ig-frame {
    transform: scale(1.18);
  }
  .reels-ig-grid {
    grid-template-columns: 1fr;
  }
  .reels-ig-frame--mini {
    min-height: 420px;
  }
}
