/* ========= GLOBAL VARS ========= */
:root {
  --accent-blue: #0070c9;
  --border-color: rgba(0, 116, 217, 0.4);
  --header-bg-grad: radial-gradient(
      circle at 30% 30%,
      rgba(0, 60, 100, 0.4) 0%,
      rgba(0, 0, 0, 0) 60%
    ),
    #000;
  --max-width: 1200px;
  --font-headings: 'Impact', 'Anton', 'Oswald', system-ui, sans-serif;
  --text-main: #ffffff;
}

/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    background-image: url("../images/background07.webp"); /* path to your hex image */
  background-size: cover;        /* scale so it fills the screen */
  background-repeat: no-repeat;  /* don't tile it */
  background-position: center;   /* keep it centered */
  background-attachment: fixed;
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

/* ========= HEADER / NAV BAR ========= */
.site-header {
  background: var(--header-bg-grad);
  border-bottom: 2px solid rgba(0, 112, 201, 0.4); /* subtle blue line */
  box-shadow: 0 10px 30px rgba(0, 112, 201, 0.2);  /* blue glow */
  padding: 0.75rem 1rem;

  position: sticky;
  top: 0;
  z-index: 1000;

  font-family: var(--font-headings);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.header-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 0 6px rgba(0, 112, 201, 0.7)); /* blue glow */
}

.brand-name {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-shadow:
    0 0 6px rgba(0, 112, 201, 0.8),
    0 0 12px rgba(0, 112, 201, 0.4);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  position: relative;
  color: #d0d0d0;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
  text-transform: uppercase;
  transition:
    color 0.15s linear,
    text-shadow 0.15s linear,
    filter 0.15s linear;
}

/* spray/splatter bg behind links */
.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(0,112,201,0.4) 0%,
    rgba(0,0,0,0) 70%
  );
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.15s linear;
  z-index: -1;
}

.nav-link:hover {
  color: #ffffff;
  text-shadow:
    0 0 6px rgba(0,112,201,1),
    0 0 14px rgba(0,112,201,0.8),
    0 0 28px rgba(0,112,201,0.5);
}

.nav-link:hover::before {
  opacity: 1;
}

/* active (current page) link */
.nav-link.active {
  color: #ffffff;
  text-shadow:
    0 0 6px rgba(0,112,201,1),
    0 0 14px rgba(0,112,201,0.9),
    0 0 28px rgba(0,112,201,0.7),
    0 0 42px rgba(0,112,201,0.5);
  filter:
    drop-shadow(0 0 6px rgba(0, 112, 201, 0.9))
    drop-shadow(0 0 20px rgba(0, 112, 201, 0.6));
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(0,112,201,1) 0%,
    rgba(0,112,201,0) 70%
  );
  box-shadow:
    0 0 10px rgba(0,112,201,0.8),
    0 0 20px rgba(0,112,201,0.6),
    0 0 40px rgba(0,112,201,0.4);
  border-radius: 999px;
  pointer-events: none;
}

/* responsive nav stacking */
@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
  }

  .nav-link {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }

  .brand-name {
    font-size: 1rem;
  }
}

/* ========= HERO BANNER WITH TRANSPARENT SIDE FADE ========= */
.hero-banner {
  /* layout */
  width: 95%; 
  margin: 0 auto;
  min-height: 70rem;
  position: relative;

  /* the WoW image */
  background-image: url("../images/banner01.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  /* soft glow under it for drama */
  box-shadow: 0 0 60px rgba(0, 255, 140, 0.25);

  /* THIS is the important part:
     mask the element so only the center is fully visible
     and the sides fade out to transparent */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,      /* fully transparent at far left */
    rgba(0,0,0,1) 20%,     /* fully visible by 20% in */
    rgba(0,0,0,1) 80%,     /* stay visible until 80% */
    rgba(0,0,0,0) 100%     /* fade back to transparent at far right */
  );
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 20%,
    rgba(0,0,0,1) 80%,
    rgba(0,0,0,0) 100%
  );
}

/* keep the bottom fade to black so it blends into page content */
.hero-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(0, 0, 0, 1) 100%
  );

}




/* ========= CONTENT SECTION BELOW BANNER ========= */

.now-playing-section {
  background-color: rgba(0,0,0,0.0);
  /*slight top glow to visually connect it to the green banner */
  /*background-image: radial-gradient(*/
   /* circle at 50% 0%,*/
   /* rgba(0, 255, 140, 0.15) 0%,*/
   /* rgba(0, 0, 0, 0) 60%*/
  );
  padding: 3rem 1rem 4rem;
  display: flex;
  justify-content: center;
  color: #fff;
}

.now-playing-inner {
  width: 100%;
  max-width: 900px;
  text-align: center;
  /* subtle border/card feel */
  background: rgba(10, 10, 15, 0.5);
  border: 1px solid rgba(0, 116, 217, 0.4);
  border-radius: 1rem;
  box-shadow:
    0 30px 80px rgba(0, 116, 217, 0.3),
    0 0 120px rgba(0, 116, 217, 0.45) inset;
  padding: 2rem 1.5rem 2.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Title */
.now-playing-title {
  font-family: 'Impact', 'Anton', 'Oswald', system-ui, sans-serif;
  font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow:
    0 0 8px rgba(0,112,201,0.9),
    0 0 24px rgba(0,112,201,0.5),
    0 0 48px rgba(0,112,201,0.3);
  margin-bottom: 1rem;
}

.game-name {
  display: block;
  font-size: 1.1em;
  line-height: 1.25;
  color: #bfffd6;
  text-shadow:
    0 0 8px rgba(0,255,140,0.9),
    0 0 24px rgba(0,255,140,0.4),
    0 0 60px rgba(0,255,140,0.25);
  letter-spacing: 0.07em;
  font-weight: 800;
}

/* Paragraph text */
.now-playing-text {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #cfd8e3;
  max-width: 60ch;
  margin: 0 auto 2rem;
  text-shadow:
    0 0 6px rgba(0,0,0,0.9),
    0 0 14px rgba(0,0,0,0.8);
}

.now-playing-text strong {
  color: #fff;
  font-weight: 600;
  text-shadow:
    0 0 6px rgba(0,255,140,0.7),
    0 0 16px rgba(0,255,140,0.4);
}

.now-playing-text em {
  color: #7cefff;
  font-style: normal;
  font-weight: 500;
  text-shadow:
    0 0 6px rgba(0,112,201,0.7),
    0 0 16px rgba(0,112,201,0.4);
}

/* ========= RESPONSIVE YT VIDEO CARD ========= */

.video-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 116, 217, 0.5);
  box-shadow:
    0 25px 60px rgba(0, 116, 217, 0.4),
    0 0 100px rgba(0, 116, 217, 0.5);
  background: radial-gradient(
      circle at 20% 20%,
      rgba(0,116,217,0.18) 0%,
      rgba(0,0,0,0) 70%
    ),
    rgba(0,0,0,0.6);
  padding: 1rem;
}

/* 16:9 responsive iframe wrapper */
.video-frame {
  position: relative;
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  /* keeps ratio */
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow:
    0 0 20px rgba(0,116,217,0.7),
    0 0 60px rgba(0,116,217,0.4);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FOOTER ===== */

.site-footer {
  width: 100%;
  padding: 1.5rem 1rem;
  margin-top: 3rem;

  background: radial-gradient(
      circle at 50% 0%,
      rgba(0, 116, 217, 0.15) 0%,
      rgba(0, 0, 0, 0) 70%
    ),
    #000;
  border-top: 1px solid rgba(0, 116, 217, 0.3);

  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-inner {
  width: 100%;
  max-width: 1000px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left logo (Porkbun or bunny etc.) */
.footer-logo-left {
  width: clamp(32px, 2vw + 24px, 64px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 116, 217, 0.6));
  user-select: none;
}

/* Center copyright text */
.footer-copy {
  flex: 1;
  text-align: center;
  color: #ffffff;
  font-family: "Bangers", system-ui, sans-serif;
  line-height: 1.2;
  font-size: clamp(0.7rem, 0.4rem + 0.7vw, 1rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;

  text-shadow:
    0 0 6px rgba(0, 116, 217, 0.9),
    0 0 20px rgba(0, 116, 217, 0.4);
}

/* clickable facebook icon wrapper */
.footer-facebook-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;

  /* responsive hit area */
  width: clamp(32px, 2vw + 24px, 64px);
  height: clamp(32px, 2vw + 24px, 64px);

  /* transparent, no border around the circle */
  background: transparent;
  border: 0;
  border-radius: 50%;
  padding: 0;
}

.footer-facebook-link:hover,
.footer-facebook-link:focus {
  transform: scale(1.07) translateY(-2px);
}

/* the facebook circle icon itself (the blue gradient image) */
.footer-facebook-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  /* glow that pulses */
  animation: fbPulse 2.5s ease-in-out infinite;
}

/* Glow/fade animation around the facebook icon */
@keyframes fbPulse {
  0% {
    filter:
      drop-shadow(0 0 4px rgba(0, 116, 217, 0.4))
      drop-shadow(0 0 12px rgba(0, 116, 217, 0.3))
      drop-shadow(0 0 24px rgba(0, 116, 217, 0.15));
    opacity: 0.7;
  }
  50% {
    filter:
      drop-shadow(0 0 6px rgba(0, 140, 255, 0.9))
      drop-shadow(0 0 18px rgba(0, 140, 255, 0.6))
      drop-shadow(0 0 36px rgba(0, 140, 255, 0.3));
    opacity: 1;
  }
  100% {
    filter:
      drop-shadow(0 0 4px rgba(0, 116, 217, 0.4))
      drop-shadow(0 0 12px rgba(0, 116, 217, 0.3))
      drop-shadow(0 0 24px rgba(0, 116, 217, 0.15));
    opacity: 0.7;
  }
}

/* On very narrow screens: stack footer vertically so it doesn't crush */
@media (max-width: 400px) {
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-copy {
    text-align: center;
    order: 2;
  }

  .footer-logo-left {
    order: 1;
    width: clamp(40px, 4vw + 24px, 60px);
  }

  .footer-facebook-link {
    order: 3;
    width: clamp(40px, 4vw + 24px, 60px);
    height: clamp(40px, 4vw + 24px, 60px);
  }
}
