/* Scoped Moonlight section panels to prevent affecting dashboard sections.
   Other existing selectors (including shared countdown/lightbox) unchanged. */
/* =========================================================
   BNG MOONLIGHT FESTIVAL GUIDE
   ========================================================= */

.bng-moonlight-guide{
  --bng-bg:#0b0b10;
  --bng-panel:#180d13;
  --bng-panel-2:#24121a;
  --bng-panel-3:#2b171f;
  --bng-line:rgba(255,255,255,.10);
  --bng-text:#f8f3ed;
  --bng-muted:#d8cdc3;
  --bng-gold:#f4c978;
  --bng-gold-2:#e7a93b;
  --bng-red:#6b0b10;
  --bng-red-2:#8d2b12;
  --bng-purple:#7a5de3;
  --bng-green:#8fd18e;
  --bng-shadow:0 16px 40px rgba(0,0,0,.28);

  color:var(--bng-text);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  max-width:1180px;
  margin:32px auto 48px;
  line-height:1.6;
}


.bng-moonlight-guide *,
.bng-moonlight-guide *::before,
.bng-moonlight-guide *::after{
  box-sizing:border-box;
}


.bng-moonlight-guide img{
  display:block;
  max-width:100%;
  height:auto;
}


.bng-moonlight-guide a{
  color:var(--bng-gold);
  text-decoration:none;
}


.bng-moonlight-guide h1,
.bng-moonlight-guide h2,
.bng-moonlight-guide h3{
  color:#fff6eb;
  margin:0;
  line-height:1.15;
}


.bng-moonlight-guide p{
  margin:0;
}


/* =========================================================
   GUIDE INTRO
   ========================================================= */

.bng-guide-intro{
  background:
    radial-gradient(
      circle at top right,
      rgba(244,201,120,.18),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #2c0308 0%,
      #19070d 100%
    );

  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:28px 26px;
  box-shadow:var(--bng-shadow);
  margin-bottom:24px;
}


.bng-guide-intro__eyebrow{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:var(--bng-gold);
  font-weight:800;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:14px;
}


.bng-guide-intro h1{
  font-size:clamp(2rem,4vw,3.35rem);
  letter-spacing:-.03em;
  margin-bottom:12px;
}


.bng-guide-intro__text{
  color:var(--bng-muted);
  max-width:860px;
  font-size:1.02rem;
}


.bng-guide-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}


.bng-chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  color:#fff1d8;
  font-size:.9rem;
  font-weight:700;
}


.bng-guide-jump{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}


.bng-guide-jump a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#fff2dd;
  font-weight:700;
  font-size:.92rem;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
}


.bng-guide-jump a:hover{
  background:rgba(244,201,120,.12);
  border-color:rgba(244,201,120,.35);
  color:var(--bng-gold);
}


/* =========================================================
   GUIDE SECTIONS
   ========================================================= */

.bng-moonlight-guide .bng-section{
  background:
    linear-gradient(
      180deg,
      var(--bng-panel-2) 0%,
      var(--bng-panel) 100%
    );

  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--bng-shadow);
  margin-bottom:24px;
  scroll-margin-top:30px;
}


.bng-section__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;

  padding:24px 24px 18px;
  border-bottom:1px solid var(--bng-line);

  background:
    linear-gradient(
      90deg,
      rgba(141,43,18,.22) 0%,
      rgba(141,43,18,0) 100%
    );
}


.bng-section__kicker{
  color:var(--bng-gold);
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:.08em;
  font-size:.78rem;
  margin-bottom:6px;
}


.bng-section__head h2{
  font-size:clamp(1.6rem,3vw,2.3rem);
  letter-spacing:-.02em;
}


.bng-section__subtext{
  color:var(--bng-muted);
  font-size:.92rem;
}


.bng-section__body{
  padding:24px;
}


/* =========================================================
   OVERVIEW
   ========================================================= */

.bng-overview-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}


.bng-overview-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:20px;
}


.bng-step{
  width:38px;
  height:38px;
  border-radius:50%;

  display:grid;
  place-items:center;

  background:
    linear-gradient(
      135deg,
      var(--bng-red-2),
      var(--bng-red)
    );

  color:#fff;
  font-weight:900;
  margin-bottom:14px;
}


.bng-overview-card h3{
  font-size:1.18rem;
  margin-bottom:8px;
}


.bng-overview-card p{
  color:var(--bng-muted);
}


.bng-callout{
  margin-top:18px;
  padding:16px 18px;
  border-left:4px solid var(--bng-gold-2);
  background:rgba(244,201,120,.08);
  border-radius:0 16px 16px 0;
  color:#fff0d7;
}


/* =========================================================
   CURRENCIES
   ========================================================= */

.bng-currency-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}


.bng-currency-card{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:18px;
  align-items:center;

  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:20px;
}


.bng-currency-card__icon{
  width:96px;
  height:96px;
  border-radius:18px;
  padding:12px;

  display:grid;
  place-items:center;

  background:
    linear-gradient(
      145deg,
      rgba(244,201,120,.16),
      rgba(255,255,255,.04)
    );

  border:1px solid rgba(244,201,120,.24);
}


.bng-currency-card__icon--purple{
  background:
    linear-gradient(
      145deg,
      rgba(122,93,227,.22),
      rgba(255,255,255,.04)
    );

  border-color:rgba(122,93,227,.35);
}


.bng-currency-card__content h3{
  font-size:1.35rem;
  margin-bottom:8px;
}


.bng-currency-card__content p{
  color:var(--bng-muted);
}


.bng-pill-note{
  margin-top:10px;
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;

  background:rgba(244,201,120,.10);
  border:1px solid rgba(244,201,120,.18);

  color:#ffe8b8;
  font-size:.86rem;
  font-weight:700;
}


/* =========================================================
   EVENTS
   ========================================================= */

.bng-events-wrap{
  display:grid;
  gap:24px;
}


.bng-event-card{
  display:grid;
  grid-template-columns:minmax(320px,460px) 1fr;
  gap:24px;
  align-items:start;

  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:20px;
}


.bng-event-card--reverse{
  grid-template-columns:1fr minmax(320px,460px);
}


.bng-event-card--reverse .bng-event-card__media{
  order:2;
}


.bng-event-card__media{
  min-width:0;
}


.bng-shot-link{
  display:block;
  border-radius:18px;
  overflow:hidden;

  border:1px solid rgba(255,255,255,.10);
  background:#0c0d12;

  box-shadow:0 12px 28px rgba(0,0,0,.24);

  cursor:zoom-in;
}


.bng-shot-link img{
  width:100%;
  height:auto;
  max-height:780px;
  object-fit:contain;
  background:#0c0d12;
}


.bng-shot-caption{
  margin-top:8px;
  color:#cbbfae;
  font-size:.86rem;
}


.bng-shot-pair{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}


.bng-shot-pair__item{
  min-width:0;
}


.bng-event-number{
  color:var(--bng-gold);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.8rem;
  font-weight:900;
  margin-bottom:6px;
}


.bng-event-card__content h3{
  font-size:clamp(1.55rem,2.5vw,2.1rem);
  margin-bottom:12px;
}


.bng-event-card__content p{
  color:var(--bng-muted);
  margin-bottom:14px;
}


.bng-event-card__content ul{
  margin:0;
  padding-left:1.2rem;

  display:grid;
  gap:8px;

  color:#f4ede3;
}


.bng-event-card__content li::marker{
  color:var(--bng-gold-2);
}


.bng-tip-box{
  margin-top:16px;
  padding:14px 16px;

  background:rgba(244,201,120,.08);
  border-left:4px solid var(--bng-gold-2);
  border-radius:0 14px 14px 0;

  color:#ffe9c5;
}


/* =========================================================
   OTHER FEATURES
   ========================================================= */

.bng-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}


.bng-feature-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:20px;
}


.bng-feature-card__tag{
  color:var(--bng-gold);
  text-transform:uppercase;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  margin-bottom:8px;
}


.bng-feature-card h3{
  font-size:1.25rem;
  margin-bottom:8px;
}


.bng-feature-card p{
  color:var(--bng-muted);
}


.bng-feature-card__foot{
  margin-top:14px;
  font-size:.88rem;
  font-weight:700;
  color:#ffe7b2;
}


/* =========================================================
   REMINDERS / TIMELINE
   ========================================================= */

.bng-reminders-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:20px;
}


.bng-reminder-box,
.bng-timeline-box{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:20px;
}


.bng-checklist{
  margin:0;
  padding-left:1.2rem;

  display:grid;
  gap:10px;
}


.bng-checklist li{
  color:#f2eadf;
}


.bng-checklist li::marker{
  color:var(--bng-green);
}


.bng-timeline-row{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:14px;

  padding:12px 0;

  border-bottom:1px solid rgba(255,255,255,.08);
}


.bng-timeline-row:last-child{
  border-bottom:none;
}


.bng-localized-time{
  color:#fff6e6;
  font-weight:700;
  line-height:1.4;
}


.bng-timeline-row span{
  color:var(--bng-muted);
}


/* =========================================================
   IMAGE LIGHTBOX
   ========================================================= */

.bng-lightbox{
  position:fixed;
  inset:0;
  display:none;
  z-index:99999;
}


.bng-lightbox.is-open{
  display:block;
}


.bng-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.84);
  cursor:zoom-out;
}


.bng-lightbox__dialog{
  position:relative;
  z-index:2;

  width:min(
    1200px,
    calc(100vw - 32px)
  );

  max-height:calc(100vh - 32px);

  margin:16px auto;
  padding:16px;

  background:#111;

  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;

  box-shadow:0 24px 80px rgba(0,0,0,.45);
}


.bng-lightbox__close{
  appearance:none;
  -webkit-appearance:none;

  border:none;
  background:rgba(0,0,0,.70);
  color:#fff;

  width:44px;
  height:44px;

  border-radius:50%;

  font-size:1.8rem;
  line-height:1;

  cursor:pointer;

  position:absolute;
  top:10px;
  right:10px;

  z-index:3;
}


.bng-lightbox__close:hover{
  background:rgba(141,43,18,.95);
}


.bng-lightbox__image{
  display:block;

  width:auto;
  max-width:100%;
  max-height:calc(100vh - 120px);

  margin:0 auto;
}


.bng-lightbox__caption{
  margin-top:10px;
  text-align:center;
  color:#ddd;
  font-size:.92rem;
}


body.bng-lightbox-open{
  overflow:hidden;
}


/* =========================================================
   SHARED BNG EVENT COUNTDOWN
   ---------------------------------------------------------
   This section is intentionally NOT scoped only to the
   Moonlight guide so the same component can be used
   on announcement pages.
   ========================================================= */

.bng-event-countdown{
  --bng-event-bg:#170c12;
  --bng-event-line:rgba(255,255,255,.10);
  --bng-event-text:#fff6ea;
  --bng-event-muted:#d5c8bd;
  --bng-event-gold:#f4c978;
  --bng-event-warning:#ffc766;
  --bng-event-warning-bg:rgba(211,117,21,.14);
  --bng-event-warning-line:rgba(255,199,102,.38);

  margin-top:20px;
  padding:18px 20px;

  border:1px solid var(--bng-event-line);
  border-radius:20px;

  background:
    radial-gradient(
      circle at top right,
      rgba(244,201,120,.11),
      transparent 38%
    ),
    var(--bng-event-bg);
}


.bng-event-countdown *,
.bng-event-countdown *::before,
.bng-event-countdown *::after{
  box-sizing:border-box;
}


.bng-event-countdown__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}


.bng-event-countdown__phase{
  color:var(--bng-event-gold);
  text-transform:uppercase;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.08em;
}


.bng-timezone-toggle{
  display:inline-flex;

  padding:3px;

  border-radius:999px;

  background:rgba(255,255,255,.06);
  border:1px solid var(--bng-event-line);
}


.bng-timezone-toggle__button{
  appearance:none;
  -webkit-appearance:none;

  border:0;

  margin:0;
  padding:7px 11px;

  border-radius:999px;

  background:transparent;
  color:var(--bng-event-muted);

  font:inherit;
  font-size:.82rem;
  font-weight:700;
  line-height:1;

  cursor:pointer;

  transition:
    background .2s ease,
    color .2s ease;
}


.bng-timezone-toggle__button:hover{
  color:#fff;
}


.bng-timezone-toggle__button.is-active{
  background:var(--bng-event-gold);
  color:#28170c;
}


.bng-event-countdown__time{
  margin-top:10px;

  color:var(--bng-event-text);

  font-size:clamp(1.8rem,4vw,3rem);
  line-height:1.1;

  font-weight:900;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.025em;
}


.bng-event-countdown__target{
  display:block;

  margin-top:7px;

  color:var(--bng-event-muted);

  font-size:.9rem;
  line-height:1.4;
}


.bng-event-countdown__warning{
  margin-top:14px;
  padding:11px 13px;

  border-radius:12px;

  border:1px solid var(--bng-event-warning-line);
  background:var(--bng-event-warning-bg);

  color:#ffe7ba;

  font-size:.9rem;
  font-weight:700;
  line-height:1.45;
}


.bng-event-countdown__warning[hidden]{
  display:none;
}


.bng-event-countdown.is-warning{
  border-color:rgba(255,199,102,.28);
}


.bng-event-countdown.is-complete
.bng-event-countdown__time{
  font-size:1.3rem;
  color:var(--bng-event-muted);
  letter-spacing:0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1024px){

  .bng-event-card,
  .bng-event-card--reverse{
    grid-template-columns:1fr;
  }


  .bng-event-card--reverse
  .bng-event-card__media{
    order:0;
  }


  .bng-reminders-grid,
  .bng-feature-grid,
  .bng-overview-grid,
  .bng-currency-grid{
    grid-template-columns:1fr;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:680px){

  .bng-moonlight-guide{
    margin:20px auto 36px;
  }


  .bng-guide-intro{
    padding:20px 18px;
    border-radius:22px;
  }


  .bng-guide-intro h1{
    font-size:2rem;
  }


  .bng-moonlight-guide .bng-section{
    border-radius:22px;
  }


  .bng-section__body{
    padding:18px;
  }


  .bng-section__head{
    display:block;
    padding:18px 18px 14px;
  }


  .bng-section__subtext{
    margin-top:8px;
  }


  .bng-currency-card{
    grid-template-columns:72px 1fr;
    gap:14px;
    padding:16px;
  }


  .bng-currency-card__icon{
    width:72px;
    height:72px;
    border-radius:14px;
  }


  .bng-event-card{
    padding:14px;
    gap:16px;
    border-radius:18px;
  }


  .bng-shot-pair{
    grid-template-columns:1fr;
  }


  .bng-timeline-row{
    grid-template-columns:1fr;
    gap:4px;
  }


  .bng-guide-jump a{
    font-size:.88rem;
    padding:8px 12px;
  }


  .bng-event-countdown{
    padding:15px;
  }


  .bng-event-countdown__top{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }


  .bng-event-countdown__time{
    font-size:2rem;
  }

}