:root {
  --zap-orange: #e95600;
  --zap-black: #000000;
}

/* ---- FONT SETUP -------------------------------------------------------- */
/* Point these URLs to your actual Doyle and Paint Store JNL font files.   */

@font-face {
  font-family: "Doyle-Black";
  src: url("fonts/Doyle-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PaintStoreJNL-Regular";
  src: url("fonts/font.PaintStoreJNL.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Doyle-Black", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Layout */

.zap-hero {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  background-color: var(--zap-orange);
  color: var(--zap-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden; /* keep the DVD bouncer clipped to page edges */
}

/* ---- DVD SCREENSAVER LAYER -------------------------------------------- */

#dvd-screensaver {
  position: absolute;
  inset: 0;
  pointer-events: none; /* don't block CTA/footer links */
  z-index: 3; /* sit above text/content */
}

.dvd-bouncer {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(90px, 14vw, 200px);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  image-rendering: auto;
}

/* Center block */

.zap-hero__center {
  max-width: 800px;
  margin: auto;
}


/* Brand title – Doyle Black */

.zap-hero__brand {
  margin: 0 0 16px;
  font-family: "Doyle-Black", "Times New Roman", serif;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.02em;
  font-size: clamp(56px, 9vw, 96px);
}

.zap-hero__brand span {
  display: block;
}

/* Subtitle – also Doyle Black */

.zap-hero__subtitle {
  margin: 0;
  font-family: "Doyle-Black", "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
}

/* CTA button – Paint Store JNL */

.zap-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 16px 48px;
  border-radius: 999px;
  background-color: var(--zap-black);
  color: var(--zap-orange);
  text-decoration: none;
  font-family: "PaintStoreJNL-Regular", "Doyle-Black", system-ui, sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.zap-hero__cta:hover {
  transform: translateY(-2px);
}

.zap-hero__cta:active {
  transform: translateY(1px);
}

/* Footer – Paint Store JNL for both lines to match Figma */

.zap-hero__footer {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-family:"Doyle-Black";
}

.zap-hero__footer-main {
    margin: 0;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
}

.zap-hero__footer-sub {
    margin: 4px 0 0;
    font-size: clamp(11px, 1.4vw, 14px);
}

/* Remove default link styles */
a {
    color: inherit;
    text-decoration: none;
}

/* Responsiveness */

@media (max-width: 600px) {
    .zap-hero {
        padding-bottom: 60px;
    }

    .zap-hero__footer {
        bottom: 12px;
    }

    /* Smaller bouncing image on phones so it doesn't overwhelm the content */
    .dvd-bouncer {
        width: clamp(56px, 18vw, 140px);
    }
}

@media (max-width: 380px) {
    .dvd-bouncer {
        width: clamp(52px, 20vw, 120px);
    }
}

@media (max-width: 402px) {
  .zap-hero__cta {
    font-size: 16px;
  }
}