/* ──────────────────────────────────────
   CUSTOM FONT
   ────────────────────────────────────── */
@font-face {
  font-family: 'DonGraffiti';
  src: url('DonGraffiti.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ──────────────────────────────────────
   TILED BACKGROUND (repeating diamond px)
   ────────────────────────────────────── */
body {
  margin: 0;
  background-color: #04061a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='24' height='24' fill='%2304061a'/%3E%3Cpolygon points='12,3 15,12 12,21 9,12' fill='%230a1230' opacity='0.9'/%3E%3C/svg%3E");
  background-repeat: repeat;
  color: #ffffff;
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
  overflow-x: hidden;
  image-rendering: pixelated;
}

/* ──────────────────────────────────────
   GLOBAL
   ────────────────────────────────────── */
a { color: #00ffff; }

.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ──────────────────────────────────────
   HERO
   ────────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 540px;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder / replacement hero image */
#hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  image-rendering: pixelated;
}

/* Low-res starfield canvas */
#starfield {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  image-rendering: pixelated;
}

/* cover.png drawn here */
#hero-img-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  image-rendering: pixelated;
}

/* CSS-only sparkle layer — masked so stars fade in from center outward */
#sparkle-layer {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    transparent       28%,
    rgba(0,0,0,0.3)  48%,
    rgba(0,0,0,0.75) 65%,
    black             82%
  );
  mask-image: radial-gradient(
    ellipse at center,
    transparent       28%,
    rgba(0,0,0,0.3)  48%,
    rgba(0,0,0,0.75) 65%,
    black             82%
  );
}

/* Hip-hop bling star — long thin cross / lens-flare shape */
.gif-star {
  position: absolute;
  width: var(--sz, 14px);
  height: var(--sz, 14px);
  background: var(--col, #ffffff);
  clip-path: polygon(
    50% 0%,   51.5% 48.5%,
    100% 50%, 51.5% 51.5%,
    50% 100%, 48.5% 51.5%,
    0%  50%,  48.5% 48.5%
  );
  filter: drop-shadow(0 0 5px var(--col, #ffffff))
          drop-shadow(0 0 18px var(--col, #ffffff))
          drop-shadow(0 0 35px var(--col, #ffffff));
  animation: giftwinkle var(--dur, 1.4s) steps(5) var(--dly, 0s) infinite;
}
@keyframes giftwinkle {
  0%   { opacity: 0;   transform: scale(.15) rotate(0deg);   }
  20%  { opacity: 1;   transform: scale(1.1) rotate(0deg);   }
  40%  { opacity: 1;   transform: scale(1)   rotate(45deg);  }
  60%  { opacity: 1;   transform: scale(1.1) rotate(72deg);  }
  80%  { opacity: .6;  transform: scale(.7)  rotate(90deg);  }
  100% { opacity: 0;   transform: scale(.15) rotate(90deg);  }
}

/* Fallback title — image only, no text */
#hero-fallback {
  display: none;
}

/* ──────────────────────────────────────
   DIVIDER  (classic HR, no gradients)
   ────────────────────────────────────── */
.retro-hr {
  border: none;
  border-top: 3px solid #00e5ff;
  border-bottom: 1px solid #005a70;
  margin: 0;
  width: 100%;
}
.retro-hr-thin {
  border: none;
  border-top: 1px solid #001a30;
  margin: 0;
  width: 100%;
}

/* Neon diamond row divider */
.diamond-row {
  text-align: center;
  font-size: 13px;
  letter-spacing: 6px;
  color: #00e5ff;
  padding: 7px 0;
  background: #000000;
  text-shadow: 0 0 8px #00e5ff, 0 0 16px #0080ff;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
}

/* ──────────────────────────────────────
   SECTION 2 — ABOUT
   ────────────────────────────────────── */
#about {
  background: #000000;
  padding: 0;
  overflow: visible;
}

.about-inner {
  padding: 72px 32px 80px;
  overflow: visible;
}

.section-label {
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #00e5ff;
  margin-bottom: 14px;
  display: block;
}

.section-heading {
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #00e5ff;
  text-shadow: 0 0 12px #00e5ff, 3px 3px 0 #003a50;
  margin-bottom: 28px;
  line-height: 1.1;
}

.description-text {
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.8;
  color: #d8e4ff;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.description-text em {
  color: #00e5ff;
  font-style: italic;
  text-shadow: 0 0 6px #00aaff;
}
.description-text strong {
  color: #ffffff;
  font-weight: bold;
}
.break-line { display: block; margin-top: 18px; }

/* ──────────────────────────────────────
   SECTION 3 — PRODUCT
   ────────────────────────────────────── */
#product {
  background: #000000;
  padding: 0;
}

.product-inner {
  padding: 40px 20px 80px;
  text-align: center;
}

/* Three.js canvas — rendered at lower effective res */
#cassette-3d {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  image-rendering: pixelated;
}

/* Shadow: simple flat ellipse, CSS only */
.tape-shadow {
  width: 280px;
  height: 18px;
  background: radial-gradient(ellipse, rgba(30,50,200,.55) 0%, transparent 70%);
  margin: -4px auto 0;
  image-rendering: pixelated;
}

.tape-title {
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(14px, 2.5vw, 22px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00e5ff;
  text-shadow: 0 0 10px #00e5ff, 2px 2px 0 #003a50;
  margin-top: 20px;
}
.tape-format {
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: 11px;
  color: #00e5ff;
  letter-spacing: 3px;
  margin-top: 8px;
  text-transform: uppercase;
  animation: blink-text 1s steps(1) infinite;
}
@keyframes blink-text {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ──────────────────────────────────────
   MARQUEE
   ────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: #000000;
  border-top: 2px solid #00e5ff;
  border-bottom: 2px solid #00e5ff;
  padding: 8px 0;
  margin-top: 48px;
}
.marquee-track {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  color: #00e5ff;
  text-shadow: 0 0 6px #00e5ff;
  text-transform: uppercase;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────
   BETA ACCESS SECTION
   ────────────────────────────────────── */
#beta {
  background: #000000;
  padding: 0;
  border-top: 3px solid #00e5ff;
}

.beta-inner {
  padding: 80px 32px 90px;
  text-align: center;
}

.beta-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #00e5ff;
  text-shadow: 0 0 8px #00e5ff;
  margin-bottom: 20px;
}

.beta-heading {
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  color: #ffffff;
  text-shadow: 0 0 18px #00e5ff, 3px 3px 0 #003a50;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 20px;
  line-height: 1.1;
}

.beta-sub {
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(15px, 2vw, 20px);
  color: #7a9dbf;
  line-height: 1.7;
  margin-bottom: 40px;
}

.beta-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.beta-input-row {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 480px;
}

.beta-input-row input[type="email"] {
  flex: 1;
  background: #08101e;
  border: 2px solid #00e5ff;
  border-right: none;
  color: #ffffff;
  font-family: 'DonGraffiti', Impact, Arial, sans-serif;
  font-size: 16px;
  padding: 14px 18px;
  outline: none;
  transition: box-shadow 0.2s;
}

.beta-input-row input[type="email"]::placeholder {
  color: #2a4a60;
}

.beta-input-row input[type="email"]:focus {
  box-shadow: 0 0 12px #00e5ff55;
}

.beta-input-row button[type="submit"] {
  background: #00e5ff;
  color: #000000;
  border: 2px solid #00e5ff;
  font-family: 'DonGraffiti', Impact, Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.beta-input-row button[type="submit"]:hover {
  background: #000000;
  color: #00e5ff;
}

.beta-privacy-note {
  font-family: 'DonGraffiti', Impact, Arial, sans-serif;
  font-size: 13px;
  color: #2a4a60;
  margin: 0;
}

.privacy-link {
  background: none;
  border: none;
  color: #00e5ff;
  font-family: 'DonGraffiti', Impact, Arial, sans-serif;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.beta-success {
  display: none;
  font-family: 'DonGraffiti', Impact, Arial, sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  color: #00e5ff;
  text-shadow: 0 0 10px #00e5ff;
  margin-top: 24px;
  letter-spacing: 2px;
}

/* ──────────────────────────────────────
   PRIVACY POLICY MODAL
   ────────────────────────────────────── */
#privacy-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#privacy-overlay.open {
  display: flex;
}

.privacy-modal {
  background: #06101e;
  border: 2px solid #00e5ff;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px 36px;
  position: relative;
  box-shadow: 0 0 40px #00e5ff33;
}

.privacy-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #00e5ff;
  font-size: 20px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  line-height: 1;
}

.privacy-modal-heading {
  font-family: 'DonGraffiti', Impact, Arial, sans-serif;
  font-size: 28px;
  color: #00e5ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 6px;
}

.privacy-modal-date {
  font-family: 'DonGraffiti', Impact, Arial, sans-serif;
  font-size: 12px;
  color: #2a4a60;
  letter-spacing: 2px;
  margin-bottom: 28px;
}

.privacy-modal-body p {
  font-family: 'DonGraffiti', Impact, Arial, sans-serif;
  font-size: 15px;
  color: #a8c0d8;
  line-height: 1.75;
  margin-bottom: 18px;
}

.privacy-modal-body strong {
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 520px) {
  .beta-input-row { flex-direction: column; }
  .beta-input-row input[type="email"] { border-right: 2px solid #00e5ff; border-bottom: none; }
  .privacy-modal { padding: 28px 20px; }
}

/* ──────────────────────────────────────
   FOOTER
   ────────────────────────────────────── */
footer {
  background: #000000;
  border-top: 3px solid #00e5ff;
  padding: 28px 20px;
  text-align: center;
  font-family: 'DonGraffiti', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: #1a4060;
  text-transform: uppercase;
  line-height: 2.2;
}


@media (max-width: 520px) {
  .about-inner { padding: 28px 14px 48px; }
}

/* ──────────────────────────────────────
   HERO VIGNETTE — radial fade to bg
   ────────────────────────────────────── */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent        30%,
    rgba(0,0,0,0.45)  55%,
    rgba(0,0,0,0.82)  72%,
    #000000           90%
  );
}
