  :root {
    --purple: #4b256d;
    --midnight: #0c1524;
    --green: #1e3d2f;
    --gold: #d4b673;
    --ivory: #f4e8cc;
    --panel: rgba(20,20,25,0.75);
    --line: rgba(212,182,115,0.15);
  }

  body {
    margin: 0;
    background: linear-gradient(to bottom, var(--midnight) 0%, #000 100%);
    color: var(--ivory);
    font-family: 'Cormorant Garamond', serif;
    background-attachment: fixed;
  }

  .wrap {
    max-width: 980px;
    margin: 40px auto 60px;
    padding: 0 20px;
  }

  /* HEADER */
  header {
    width: 100%;
    height: 650px;
    border-radius: 8px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
      linear-gradient(to bottom, rgba(12,21,36,0.1), rgba(0,0,0,0.4)),
      url('phantomheader.png') center top / cover no-repeat;

    box-shadow: 0 0 60px rgba(0,0,0,0.8);
    margin-bottom: -50px; /* flush with nav */
  }

  header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: repeating-linear-gradient(
      115deg,
      rgba(30,61,47,0.15) 0px,
      rgba(30,61,47,0.15) 2px,
      transparent 6px,
      transparent 12px
    );
    mix-blend-mode: overlay;
    opacity: 0.3;
  }

  header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%);
    border-radius: 0 0 8px 8px;
    pointer-events: none;
  }

  /* NAVIGATION */
  nav {
    display: flex;
    justify-content: center;
    gap: 26px;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--line);
    box-shadow: 0 2px 14px rgba(0,0,0,0.6);
    border-radius: 6px;
    position: relative;
    z-index: 2;
    margin: 0 auto 40px;
    padding: 12px 10px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  nav a {
    color: var(--ivory);
    text-decoration: none;
    position: relative;
    transition: color .2s ease, text-shadow .2s ease;
  }

  nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: var(--gold);
    opacity: 0;
    transition: opacity .3s ease;
  }

  nav a:hover {
    color: var(--gold);
    text-shadow: 0 0 8px var(--gold);
  }

  nav a:hover::after {
    opacity: .8;
  }

  /* MAIN PANEL */
  .panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    padding: 32px 40px;
    line-height: 1.7;
  }

  .panel h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 28px;
    text-align: center;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 0;
    text-shadow: 0 0 10px rgba(212,182,115,0.4);
  }

  .panel p {
    font-size: 1.15em;
    color: var(--ivory);
    margin-bottom: 1.4em;
  }


#stats::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: linear-gradient(to left, rgba(26, 14, 31, 0.9), transparent);
  pointer-events: none;
}

/* --- Text Styling --- */
#stats strong {
  color: #ffdf80; /* brighter gold for key numbers or labels */
  font-weight: bold;
}

#stats span.label {
  display: inline-block;
  width: 150px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d4b97f; /* softer antique gold for labels */
}

/* --- Optional: Gold shimmer hover effect --- */
#stats strong:hover {
  text-shadow: 0 0 6px rgba(255, 223, 128, 0.6),
               0 0 12px rgba(255, 215, 0, 0.4);
  transition: text-shadow 0.3s ease-in-out;
}

  /* MATCHING STATS PANEL */
.stats-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 9, 18, 0) 0%,
    rgba(12, 9, 18, 0.05) 45%,   /* almost invisible until mid-box */
    rgba(12, 9, 18, 0.25) 60%,   /* gentle build-up */
    rgba(12, 9, 18, 0.55) 70%,   /* deepening shadow before his eye */
    rgba(12, 9, 18, 0.8) 80%,    /* fade nearing darkness */
    rgba(12, 9, 18, 0.95) 90%,   /* full dark edge */
    rgba(12, 9, 18, 1) 100%      /* solid at the very edge */
  );
  pointer-events: none;
  z-index: 0;
}

.stats-panel {
  position: relative;
  max-width: 898px; /* match your layout width */
  margin: 30px auto; /* centers it nicely */
  background-color: #131319;
  background-image: url("billyzanepretty4.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 902px auto; /* small overlap to hide line */
  background-blend-mode: normal;

  color: #f5e1b9;
    font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  padding: 26px 40px;
  text-align: center;

  border: 1px solid rgba(212, 182, 115, 0.15);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

  height: auto;
  overflow: hidden;
}

/* subtle left fade blend */
.stats-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #131319 0%,
    rgba(19, 19, 25, 0.98) 10%,
    rgba(19, 19, 25, 0.95) 15%,
    transparent 25%
  );
  pointer-events: none;
  z-index: 1;
}

/* text styling */
.stats-panel h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 26px;
  color: #d4b673;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0;
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(212, 182, 115, 0.35);
  position: relative;
  z-index: 2;
}

.stats-panel p {
  font-size: 1.1em;
  color: #f4e8cc;
  line-height: 1.8;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 2;
}


  .stats-panel a:hover {
    text-shadow: 0 0 6px var(--gold);
  }

.tagline {
  text-align: center;
  font-family: 'Cinzel Decorative', serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #d4b673;
  margin-top: 12px;
  margin-bottom: 40px;
  text-shadow:
    0 0 6px rgba(212, 182, 115, 0.4),
    0 0 14px rgba(212, 182, 115, 0.25);
  animation: fadeInGold 1.6s ease-out 0.3s both;
}

.tagline em {
  font-style: normal;
}

@keyframes fadeInGold {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


  /* FOOTER */
  footer {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1em;
    margin-top: 40px;
  }

  footer em {
    display: block;
    font-style: italic;
    color: var(--ivory);
    opacity: 0.85;
    margin-top: 8px;
    text-shadow: 0 0 6px rgba(212,182,115,0.3);
  }

  footer a { color: var(--gold); text-decoration: none; }
  footer a:hover { text-shadow: 0 0 8px var(--gold); }

