/* ========================
   Global Cyberpunk Theme by linuxgamer1920
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Courier New', Courier, monospace;
  background: url("../images/cerberus-coffee-min-low.jpg") no-repeat center center scroll;
  background-size: cover;
  color: rgba(0, 255, 200, 0.85);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ========================
   Wrapper for Vertical Centering
=========================== */
.wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
}

/* ========================
   Neon Overlay Container (Responsive Glow)
=========================== */
.overlay {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  padding: 2rem 1rem;
  border-radius: 24px;
  max-width: 600px;
  width: 95%;
  animation: fadeIn 1.5s ease-out both, pulse 6s ease-in-out infinite;
  box-shadow:
    inset 0 0 12px rgba(0, 255, 224, 0.04),
    0 0 25px rgba(0, 255, 224, 0.08),
    0 0 50px rgba(0, 255, 224, 0.1),
    0 0 80px rgba(0, 255, 224, 0.06);
  overflow: hidden;
   display: block;
  text-align: center;
}

/* ========================
   Title with Neon Glow
=========================== */
.overlay h1 {
  font-size: 7vw;
  color: #00ffe0;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  text-shadow:
    0 0 5px #00ffe0,
    0 0 15px #00ffe0,
    0 0 30px rgba(0, 255, 224, 0.4),
    0 0 60px rgba(0, 255, 224, 0.2);
  margin-bottom: 1.5rem;
  animation: glitch 2.5s infinite;
}

/* ========================
   Paragraph Text Glow
=========================== */
.overlay p {
  font-size: 4.5vw;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-shadow:
    0 0 3px rgba(0, 255, 224, 0.2),
    0 0 8px rgba(0, 255, 224, 0.05);
  max-width: 90%;
  margin: 0 auto;
}

/* ========================
   Footer Styling (Responsive, Not Fixed)
=========================== */
footer {
  margin-top: auto;
  width: 100%;
  text-align: center;
  font-size: 3.5vw;
  font-family: 'Courier New', monospace;
  color: rgba(0, 255, 224, 0.65);
  padding: 1rem;
  word-wrap: break-word;
}

/* ========================
   Link Styling
=========================== */
a.link {
  color: #00ffe0;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s ease, color 0.3s ease;
}

a.link:hover {
  border-bottom: 1px solid #00ffe0;
  color: #ffffff;
}

a:visited {
  color: #00ffe0 !important;
}

.heart {
  color: #ff4f4f;
  text-shadow: 0 0 5px #ff4f4f, 0 0 10px #ff4f4f;
}

.tux {
  height: 1.3em;
  vertical-align: text-bottom;
  margin: 0 4px;
  filter:
    drop-shadow(0 0 3px #00ffe0)
    drop-shadow(0 0 4px #00ffe0)
    drop-shadow(0 0 6px rgba(0, 255, 224, 0.3));
}

/* ========================
   Responsive Boost
=========================== */
@media (min-width: 768px) {
  .overlay h1 {
    font-size: 2.8rem;
  }

  .overlay p {
    font-size: 1.3rem;
  }

  footer {
    font-size: 0.95rem;
  }
}

@media (max-width: 350px) {
  .overlay h1 {
    font-size: 6vw;
  }
}

/* ========================
   Fade-in Animation
=========================== */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ========================
   Neon Pulse Box
=========================== */
@keyframes pulse {
  0%, 100% {
    box-shadow:
      inset 0 0 20px rgba(0, 255, 224, 0.08),
      0 0 25px rgba(0, 255, 224, 0.3);
  }
  50% {
    box-shadow:
      inset 0 0 30px rgba(0, 255, 224, 0.1),
      0 0 40px rgba(0, 255, 224, 0.6);
  }
}

/* ========================
   Glitch Animation for Logo
=========================== */
@keyframes glitch {
  0%, 100% {
    text-shadow: 0 0 6px #0ff;
  }
  10% {
    text-shadow: 1px 0 red, -1px 0 cyan;
  }
  20% {
    text-shadow: -1px 0 red, 1px 0 cyan;
  }
  30% {
    text-shadow: 2px 0 red, -2px 0 cyan;
  }
  40% {
    text-shadow: -2px 0 red, 2px 0 cyan;
  }
  50% {
    text-shadow: none;
  }
}

/* ========================
   Blinking Cursor
=========================== */
.cursor {
  display: inline;
  color: #00ffe0;
  font-weight: bold;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

