/* =====================================================================
   DIARY OF DESIRE – HYPE SECTION (front page only)
   Linked from index.html inside the "DoD HYPE" block.
   Remove the <link> to this file when you remove the section.
   ===================================================================== */

.dod-hero {
  --h-bg: #03080d;
  --h-cyan: #35d2ff;
  --h-deep: #0b5e8c;
  --h-steel: #9fc9d9;
  --h-ice: #e3f8ff;
  --h-gold: #e2b84e;               /* the yellow platform dots */
  --h-line: rgba(159, 201, 217, 0.22);

  width: 95%;
  max-width: 1120px;
  margin: 1.5rem auto 1rem;
  text-align: left;
}

/* ---------- Cover + copy ---------- */
.dod-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.dod-cover {
  position: relative;
  min-width: 0;
}
.dod-copy { min-width: 0; }
.dod-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--h-line);
  box-shadow:
    0 0 0 1px rgba(53, 210, 255, 0.08),
    0 30px 80px -20px rgba(0, 130, 200, 0.55);
}

.dod-hero .dod-title {
  font-family: 'Underdog', cursive;
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--h-ice);
  text-shadow: 0 0 28px rgba(53, 210, 255, 0.35);
}

.dod-hero .dod-lede {
  font-family: 'Underdog', cursive;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--h-steel);
  max-width: 34em;
  margin: 0 0 1.5rem;
}
.dod-hero .dod-lede em {
  font-style: normal;
  color: var(--h-ice);
}

/* ---------- Departure board (the countdown) ---------- */
.dod-board {
  font-family: 'Doto', 'Courier New', monospace;
  background:
    radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1.2px) 0 0 / 4px 4px,
    #02060a;
  border: 1px solid var(--h-line);
  border-radius: 6px;
  padding: 0.9rem 1.1rem 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.dod-board-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.dod-board-meta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--h-steel);
  opacity: 0.75;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--h-line);
}

.dod-board-title {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 800;
  color: var(--h-cyan);
  text-shadow: 0 0 10px rgba(53, 210, 255, 0.6);
  padding: 0.55rem 0 0.2rem;
}
.dod-board-status { color: var(--h-gold); text-shadow: 0 0 10px rgba(226, 184, 78, 0.5); }

.dod-clock {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0.4rem 0 0.6rem;
}

.dod-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.dod-num {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  color: var(--h-cyan);
  text-shadow: 0 0 14px rgba(53, 210, 255, 0.75), 0 0 2px #fff;
  font-variant-numeric: tabular-nums;
}

.dod-lbl {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--h-steel);
  opacity: 0.7;
  margin-top: 0.35rem;
}

.dod-sep {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--h-gold);
  text-shadow: 0 0 10px rgba(226, 184, 78, 0.6);
  animation: dodBlink 1s steps(1) infinite;
}

.dod-arrived {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--h-cyan);
  text-shadow: 0 0 16px rgba(53, 210, 255, 0.85), 0 0 2px #fff;
  padding: 0.5rem 0 0.8rem;
}

/* Scrolling announcement line at the bottom of the board */
.dod-ticker {
  margin: 0 -1.1rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--h-line);
  background: rgba(53, 210, 255, 0.05);
  white-space: nowrap;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--h-ice);
}
.dod-ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: dodTicker 22s linear infinite;
}
.dod-ticker .dod-dot {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin: 0 1.2em;
  border-radius: 50%;
  background: var(--h-gold);
  vertical-align: middle;
}

/* ---------- Pre-save button ---------- */
.dod-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}

.dod-hero .dod-cta {
  display: inline-block;
  margin-top: 0;
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  background-color: var(--h-cyan);
  color: var(--h-bg);
  border-radius: 5px;
  box-shadow: 0 0 24px rgba(53, 210, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.dod-hero .dod-cta:hover {
  background-color: var(--h-ice);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(53, 210, 255, 0.7);
}

.dod-hero .dod-note {
  font-family: 'Underdog', cursive;
  font-size: 0.9rem;
  color: var(--h-steel);
  opacity: 0.8;
  margin: 0;
}

/* ---------- Pre-order + merch shelf ---------- */
.dod-shelf {
  margin-top: 3rem;
}

.dod-hero .dod-shelf-title {
  font-family: 'Underdog', cursive;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--h-steel);
  margin: 0 0 1rem 0.25rem;
}

.dod-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

/* .disc-item / .disc-title / .disc-feat / .disc-listen come from style.css,
   so these cards match the carousels further down the page. */
.dod-shelf .disc-item {
  flex: none;
}

/* Vinyl + CD mock-ups built from the album cover (no extra photos needed) */
.dod-format {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
}
.dod-format img {
  position: relative;
  z-index: 2;
  width: 78%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
}
.dod-disc {
  position: absolute;
  z-index: 1;
  top: 13%;
  left: 20%;
  width: 74%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transition: left 0.45s ease;
}
.dod-format--vinyl .dod-disc {
  background:
    radial-gradient(circle, var(--h-cyan) 0 9%, #000 9.5% 11%, transparent 11.5%),
    repeating-radial-gradient(circle, #0a0a0a 0 1.5px, #1b1b1b 1.5px 3px);
  box-shadow: 0 0 0 1px #000, 0 6px 16px rgba(0, 0, 0, 0.6);
}
.dod-format--cd .dod-disc {
  background:
    radial-gradient(circle, transparent 0 7%, rgba(255,255,255,0.7) 7.5% 15%, transparent 15.5%),
    conic-gradient(from 30deg, #d9e6ee, #9fd7ff, #e9d7ff, #c8f5e4, #d9e6ee, #a9c8ff, #f0f0f0, #d9e6ee);
  -webkit-mask: radial-gradient(circle, transparent 0 6.5%, #000 7%);
          mask: radial-gradient(circle, transparent 0 6.5%, #000 7%);
}
.dod-shelf .disc-item:hover .dod-disc { left: 28%; }

/* ---------- Soon / live switching ---------- */
.dod-hero[data-state="soon"] .dod-only-live,
.dod-hero[data-state="live"] .dod-only-soon { display: none !important; }

/* one-time flash on the board when the countdown hits zero while someone is watching */
.dod-hero.dod-just-live .dod-board { animation: dodArrive 1.6s ease-out; }

@keyframes dodBlink { 50% { opacity: 0.15; } }
@keyframes dodTicker { to { transform: translateX(-100%); } }
@keyframes dodArrive {
  0%   { box-shadow: 0 0 0 0 rgba(53, 210, 255, 0.9), inset 0 0 40px rgba(0,0,0,0.8); }
  30%  { box-shadow: 0 0 60px 10px rgba(53, 210, 255, 0.7), inset 0 0 80px rgba(53,210,255,0.35); }
  100% { box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 40px rgba(0,0,0,0.8); }
}

.dod-hero a:focus-visible {
  outline: 2px solid var(--h-ice);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .dod-sep { animation: none; }
  .dod-ticker-track { animation: none; padding-left: 1.1rem; }
  .dod-disc { transition: none; }
  .dod-hero.dod-just-live .dod-board { animation: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .dod-hero { margin-top: 0; }
  .dod-main { grid-template-columns: minmax(0, 1fr); }
  .dod-cover { max-width: 460px; margin: 0 auto; width: 100%; }
  .dod-copy { text-align: center; }
  .dod-hero .dod-lede { margin-left: auto; margin-right: auto; }
  .dod-board { text-align: left; }
  .dod-actions { justify-content: center; flex-direction: column; }
  .dod-shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
  .dod-hero .dod-shelf-title { text-align: center; margin-left: 0; }
}

@media (max-width: 420px) {
  .dod-board { padding: 0.75rem 0.7rem 0; }
  .dod-ticker { margin: 0 -0.7rem; }
  .dod-lbl { font-size: 0.7rem; }
}

/* Collection title links to the filtered merch page */
.dod-shelf-title a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.dod-shelf-title a:hover { color: var(--h-cyan); }