@font-face {
  font-family: 'Aachen';
  src: url('../fonts/aachenbtrusbyme_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --green-primary: #008b46;
  --green-dark: #005c2e;
  --green-light: #00b35a;
  --bg-dark: #0a0a0a;
  --text-white: #FFFFFF;
  --text-gray: #A0A0A0;
  --text-muted: #666666;
  --font-main: 'Aachen', 'Impact', 'Arial Black', sans-serif;
  --transition-fast: 0.2s ease;
  --banner-width: 620px;
  --comic-border: 5px solid #000;
  --panel-shadow: 6px 6px 0 #000;
}

::selection {
  background: #2d7ff9;
  color: #ffffff;
}

::-moz-selection {
  background: #2d7ff9;
  color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

body {
  font-size: 18px;
  background-color: #111;
  background-image:
    radial-gradient(circle, #1a1a1a 1px, transparent 1px);
  background-size: 8px 8px;
  color: var(--text-white);
  font-family: var(--font-main);
  text-align: center;
  text-transform: uppercase;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0;
}

.banner {
  width: 100%;
  max-width: var(--banner-width);
  margin: 0 auto;
  position: relative;
  box-shadow:
    0 0 0 4px #000,
    0 0 0 8px var(--green-primary),
    0 0 60px rgba(0,139,70,0.3),
    0 0 120px rgba(0,139,70,0.1);
  overflow: hidden;
}

.comic-divider {
  height: 8px;
  position: relative;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.divider-header {
  background: linear-gradient(90deg, #fff 0%, #3ed279 30%, #fff 60%, #3ed279 100%);
  height: 6px;
}

.divider-footer {
  background: #fff;
  height: 8px;
  box-shadow: 0 -2px 12px rgba(62,210,121,0.4), 0 2px 8px rgba(0,0,0,0.6);
}

.header {
  width: 100%;
  background:
    url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='25' y='32' font-size='18' fill='%23003d1f' text-anchor='middle' font-family='serif' font-weight='bold' opacity='0.5'%3E%24%3C/text%3E%3C/svg%3E"),
    var(--green-primary);
  background-repeat: repeat;
  padding: 30px 0 0 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-bottom: none;
}

.header_inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.5) 40%,
    rgba(10,10,10,0.9) 75%,
    rgba(10,10,10,1) 100%
  );
  pointer-events: none;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.15) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.header_img {
  width: 105%;
  transform: scale(1.15) rotate(-3deg);
  height: auto;
  display: block;
  position: relative;
  z-index: 3;
  margin-bottom: 0;
  margin-left: -2.5%;
  filter: contrast(1.1) saturate(1.1);
}

.header_overlay {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  z-index: 5;
  text-align: right;
}

.header_overlay h1 {
  font-family: var(--font-main);
  font-size: 5.5rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow:
    4px 4px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    0 6px 20px rgba(0,0,0,0.8);
  -webkit-text-stroke: 3px #000;
  paint-order: stroke fill;
}

.header_overlay p {
  font-size: 1.2rem;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-align: right;
  margin-top: -6px;
  text-transform: lowercase;
  text-shadow: 2px 2px 0 #000;
  display: block;
  width: fit-content;
  margin-left: auto;
}

.center_image {
  position: relative;
  background: var(--bg-dark);
}

.center_image img {
  width: 100%;
  display: block;
}

.footer {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.2) 100%),
    url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='25' y='32' font-size='18' fill='%23003d1f' text-anchor='middle' font-family='serif' font-weight='bold' opacity='0.5'%3E%24%3C/text%3E%3C/svg%3E"),
    var(--green-primary);
  background-repeat: repeat;
  border-top: none;
  padding: 30px 16px;
  text-align: center;
  margin-top: 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.12) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.footer p {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-main);
  letter-spacing: 0.2em;
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 1.1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  position: relative;
}

.footer_link {
  color: inherit;
  text-decoration: none;
  text-transform: none;
}

.footer_link:hover {
  opacity: 0.8;
}

.footer_img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .banner {
    max-width: 100%;
    box-shadow:
      0 0 0 3px #000,
      0 0 0 6px var(--green-primary);
  }

  .header {
    padding: 20px 0 0 0;
  }

  .header_inner {
    max-width: 100%;
    padding: 0 10px;
  }

  .header_img {
    transform: scale(1.1) rotate(-2deg);
    margin-bottom: 0;
  }

  .header::after {
    height: 150px;
  }

  .header_overlay h1 {
    font-size: 4rem;
  }

  .header_overlay p {
    font-size: 1rem;
  }

  .footer {
    padding: 24px 14px;
  }

  .footer_img {
    max-width: 400px;
  }

  .footer p {
    font-size: 1rem;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .banner {
    box-shadow:
      0 0 0 2px #000,
      0 0 0 4px var(--green-primary);
  }

  .header {
    padding: 12px 0 0 0;
  }

  .header_img {
    transform: scale(1.05) rotate(-1.5deg);
    margin-bottom: 0;
  }

  .header::after {
    height: 110px;
  }

  .header_overlay {
    top: 35%;
  }

  .header_overlay h1 {
    font-size: 3rem;
    -webkit-text-stroke: 2px #000;
  }

  .header_overlay p {
    font-size: 0.8rem;
  }

  .comic-divider {
    height: 5px;
  }
  .divider-header {
    height: 4px;
  }

  .divider-footer {
    height: 5px;
  }

  .footer {
    padding: 20px 10px;
  }

  .footer_img {
    max-width: 280px;
  }

  .footer p {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-top: 10px;
  }
}
