/* =====================================================================
   BELLYDANCER – EGYPTIAN RELEASE SECTION (front page only)
   Linked from index.html inside the "BELLYDANCER" block.
   Night teal, antique gold and amethyst, taken from the cover art, and it
   fades smoothly into the cyber-blue site underneath so the rest of the
   page stays blue.

   TO REMOVE IT LATER: delete the <link> to this file in index.html and the
   block between the "BELLYDANCER SECTION START / END" comments.
   ===================================================================== */

/* Lets the dark band sit behind the logo/navigation at the very top of the page
   without covering them (this file is only loaded on the front page). */
header { position: relative; z-index: 5; }

.bd-stage {
  --bd-gold: #dcb766;
  --bd-gold-hi: #f6e3ae;
  --bd-gold-deep: #a97c2f;
  --bd-violet: #8a74c4;
  --bd-lilac: #d3c7f2;
  --bd-crimson: #c3202e;
  --bd-sand: #ecdcbc;
  --bd-ink: 7, 17, 20;            /* r,g,b of the night-teal used for the background */

  position: relative;
  isolation: isolate;
  padding: 0 0 clamp(4.5rem, 8vw, 6rem);
  text-align: left;
}

/* ---------- Background: night teal on top, fading smoothly into the blue site ---------- */
.bd-stage {
  background: linear-gradient(to bottom,
    rgba(var(--bd-ink), 0.95) 0%,
    rgba(var(--bd-ink), 0.91) 22%,
    rgba(20, 17, 42, 0.80) 44%,
    rgba(26, 20, 58, 0.52) 63%,
    rgba(12, 22, 52, 0.24) 83%,
    rgba(3, 8, 13, 0) 100%);
}
/* Just a short fade above the section, behind the nav: the background photo stays
   visible behind the logo and menu, then darkens smoothly into the section below. */
.bd-stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 170px;                  /* anything above the top of the page is clipped */
  background: linear-gradient(to bottom,
    rgba(var(--bd-ink), 0) 0%,
    rgba(var(--bd-ink), 0.14) 28%,
    rgba(var(--bd-ink), 0.42) 55%,
    rgba(var(--bd-ink), 0.78) 82%,
    rgba(var(--bd-ink), 0.95) 100%);
}
/* warm gold glow behind the cover, amethyst glow behind the text, a hint of crimson low down */
.bd-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 58% at 22% 42%, rgba(220, 183, 102, 0.22), transparent 70%),
    radial-gradient(ellipse 46% 55% at 82% 32%, rgba(138, 116, 196, 0.26), transparent 70%),
    radial-gradient(ellipse 36% 40% at 70% 78%, rgba(195, 32, 46, 0.13), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 52%, transparent 95%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 52%, transparent 95%);
}

/* ---------- Gold zig-zag band along the top (like the border on the cover) ---------- */
.bd-zigzag {
  height: 16px;
  margin-bottom: 0.8rem;
  opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='16' viewBox='0 0 28 16'%3E%3Cpath d='M0 1.5H28M0 14.5H28' stroke='%23dcb766' stroke-width='1'/%3E%3Cpath d='M0 3L7 13L14 3L21 13L28 3' fill='none' stroke='%23dcb766' stroke-width='1.5'/%3E%3Cpath d='M-7 3L0 13L7 3M7 3L14 13L21 3M21 3L28 13L35 3' fill='none' stroke='%23dcb766' stroke-opacity='.45' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}

/* ---------- Hieroglyph frieze under the zig-zag ---------- */
.bd-frieze {
  width: 95%;
  max-width: 1020px;
  margin: 0 auto clamp(1.2rem, 3vw, 2.2rem);
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bd-gold);
  opacity: 0.55;
}
.bd-frieze li { display: block; line-height: 0; }
.bd-g {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Scenery: sun disc, pyramids, moon, stars, big faint glyphs ---------- */
.bd-scenery {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 96%);
          mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 96%);
}
.bd-sun {
  position: absolute;
  right: -110px;
  top: 30px;
  width: min(640px, 82vw);
  height: auto;
  color: var(--bd-gold);
  opacity: 0.2;
}
.bd-pyramids {
  position: absolute;
  right: -3%;
  bottom: 3%;
  width: min(820px, 66vw);
  height: auto;
  opacity: 0.85;
}
.bd-moon {
  position: absolute;
  left: 7%;
  top: 74px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #f3f1e6, #b9c3c6 70%);
  box-shadow: 0 0 22px 6px rgba(215, 225, 235, 0.28);
  opacity: 0.8;
}
.bd-bigglyph {
  position: absolute;
  width: clamp(90px, 14vw, 170px);
  height: auto;
  color: var(--bd-gold);
  opacity: 0.09;
  stroke-width: 1.3;
}
.bd-bigglyph--a { left: 2%;  top: 52%; transform: rotate(-8deg); }
.bd-bigglyph--b { right: 3%; top: 58%; transform: rotate(7deg); }

.bd-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 12px);
  height: var(--s, 12px);
  background: var(--bd-gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 4px rgba(220, 183, 102, 0.8));
  opacity: 0.55;
  animation: bdTwinkle 4.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

/* ---------- Layout ---------- */
.bd-inner {
  width: 95%;
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4.5vw, 3.5rem);
  align-items: center;
}
.bd-cover, .bd-copy { min-width: 0; }

/* ---------- Cover with a double gold frame ---------- */
.bd-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(220, 183, 102, 0.8);
  border-radius: 4px;
  background: rgba(var(--bd-ink), 0.6);
  box-shadow:
    0 0 0 5px rgba(var(--bd-ink), 0.6),
    0 0 0 6px rgba(220, 183, 102, 0.55),
    0 26px 70px -18px rgba(220, 183, 102, 0.4),
    0 0 60px rgba(138, 116, 196, 0.22);
  animation: bdShimmer 6s ease-in-out infinite;
}
.bd-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}
/* little diamonds on the frame corners */
.bd-frame i {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--bd-gold);
  box-shadow: 0 0 10px rgba(220, 183, 102, 0.9);
  transform: rotate(45deg);
}
.bd-frame i:nth-of-type(1) { top: -6px;    left: -6px; }
.bd-frame i:nth-of-type(2) { top: -6px;    right: -6px; }
.bd-frame i:nth-of-type(3) { bottom: -6px; left: -6px; }
.bd-frame i:nth-of-type(4) { bottom: -6px; right: -6px; }

/* ---------- Text ---------- */
.bd-stage .bd-kicker {
  margin: 0 0 0.5rem;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bd-sand);
}

.bd-stage .bd-title {
  margin: 0;
  font-family: 'Cinzel Decorative', 'Cinzel', 'Times New Roman', serif;
  font-weight: 900;
  font-size: clamp(2.35rem, 6.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: left;
  background: linear-gradient(180deg, var(--bd-gold-hi) 8%, var(--bd-gold) 52%, var(--bd-gold-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  filter: drop-shadow(0 0 16px rgba(220, 183, 102, 0.45)) drop-shadow(0 0 40px rgba(138, 116, 196, 0.35));
}

.bd-stage .bd-credit {
  margin: 0.75rem 0 0;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  letter-spacing: 0.06em;
  color: var(--bd-lilac);
}
.bd-stage .bd-credit em {
  font-style: normal;
  font-size: 0.62em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bd-gold);
  margin: 0 0.3em;
}

/* line with a little sun disc in the middle */
.bd-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.3rem 0 1.4rem;
  max-width: 30rem;
}
.bd-divider::before,
.bd-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(220, 183, 102, 0.95), rgba(220, 183, 102, 0.15));
}
.bd-divider::after { transform: scaleX(-1); }
.bd-divider i {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--bd-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(220, 183, 102, 0.7);
}
.bd-divider i::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bd-gold);
}

/* ---------- Countdown: four small stone tablets (stelae) ---------- */
.bd-clock {
  display: flex;
  gap: clamp(0.4rem, 1.4vw, 0.8rem);
  max-width: 30rem;
}
.bd-unit {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 1.7rem) 0.2rem 1.15rem;
  border: 1px solid rgba(220, 183, 102, 0.65);
  border-radius: 999px 999px 8px 8px;       /* round-topped tablet */
  background:
    radial-gradient(ellipse 85% 60% at 50% 12%, rgba(220, 183, 102, 0.22), transparent 75%),
    rgba(var(--bd-ink), 0.78);
  box-shadow: inset 0 0 22px rgba(138, 116, 196, 0.2), 0 8px 24px rgba(0, 0, 0, 0.45);
}
/* little zig-zag along the foot of each tablet */
.bd-unit::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 6px;
  height: 6px;
  opacity: 0.7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' viewBox='0 0 12 6'%3E%3Cpath d='M0 5L3 1L6 5L9 1L12 5' fill='none' stroke='%23dcb766' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}
.bd-num {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 5.6vw, 3rem);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  background: linear-gradient(180deg, var(--bd-gold-hi), var(--bd-gold) 70%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  filter: drop-shadow(0 0 8px rgba(220, 183, 102, 0.5));
}
.bd-lbl {
  margin-top: 0.5rem;
  margin-bottom: 0.45rem;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: clamp(0.62rem, 1.8vw, 0.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bd-lilac);
  opacity: 0.9;
}

.bd-arrived {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--bd-gold-hi) 8%, var(--bd-gold) 55%, var(--bd-gold-deep));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  filter: drop-shadow(0 0 16px rgba(220, 183, 102, 0.55));
}

/* ---------- Button ---------- */
.bd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 1.6rem;
}
.bd-stage .bd-cta {
  display: inline-block;
  margin-top: 0;
  padding: 1rem 2.4rem;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  color: #1c1206;
  background: linear-gradient(100deg, var(--bd-gold-hi), var(--bd-gold) 48%, var(--bd-gold-deep));
  border: 1px solid rgba(255, 240, 200, 0.6);
  border-radius: 3px;
  box-shadow: 0 0 26px rgba(220, 183, 102, 0.42), 0 0 40px rgba(138, 116, 196, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.bd-stage .bd-cta:hover {
  color: #1c1206;
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(220, 183, 102, 0.7), 0 0 56px rgba(138, 116, 196, 0.35);
}
.bd-stage .bd-note {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--bd-sand);
  opacity: 0.8;
}

.bd-stage a:focus-visible { outline: 2px solid var(--bd-gold-hi); outline-offset: 3px; }

/* ---------- Soon / live switching ---------- */
.bd-stage[data-state="soon"] .bd-only-live,
.bd-stage[data-state="live"] .bd-only-soon { display: none !important; }

.bd-stage.bd-just-live .bd-frame { animation: bdArrive 1.8s ease-out; }

@keyframes bdShimmer {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.08); }
}
@keyframes bdTwinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50%      { opacity: 0.8;  transform: scale(1.1); }
}
@keyframes bdArrive {
  0%   { box-shadow: 0 0 0 6px rgba(220, 183, 102, 0.9), 0 0 0 0 rgba(220, 183, 102, 0.9); }
  35%  { box-shadow: 0 0 0 6px rgba(220, 183, 102, 0.9), 0 0 90px 24px rgba(220, 183, 102, 0.8); }
  100% { box-shadow: 0 0 0 6px rgba(220, 183, 102, 0.55), 0 26px 70px -18px rgba(220, 183, 102, 0.4); }
}

@media (prefers-reduced-motion: reduce) {
  .bd-frame, .bd-star, .bd-stage.bd-just-live .bd-frame { animation: none; }
  .bd-stage .bd-cta { transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .bd-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .bd-stage .bd-title { text-align: center; }
  .bd-cover { width: min(70%, 340px); margin: 0 auto; }
  .bd-divider, .bd-clock { margin-left: auto; margin-right: auto; }
  .bd-actions { justify-content: center; flex-direction: column; }
  .bd-sun { right: -150px; top: 150px; opacity: 0.14; }
  .bd-pyramids { width: 150vw; right: -45%; bottom: 2%; opacity: 0.7; }
  .bd-bigglyph { opacity: 0.07; }
  .bd-g { width: 22px; height: 22px; }
}
@media (max-width: 520px) {
  /* fewer glyphs in the frieze on small phones */
  .bd-frieze li:nth-child(even) { display: none; }
}
