/* === BASE STYLES === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Share+Tech+Mono&display=swap');

body {
  background-color: #0a0a0a;
  color: #eee;
  font-family: 'Share Tech Mono', monospace;
  margin: 0;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image:
    url('../images/digital-union-jack.png');
  background-repeat: repeat;
  background-size: 200px 120px;
  background-position: center;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  text-align: center;
  padding: 2rem 0 1rem 0;
}

h1.glitch {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: #e60000;
  position: relative;
  animation: glitch 1.5s infinite;
}

.subtitle {
  font-size: 1.25rem;
  margin-top: 0.5rem;
  color: #e60000;
  text-shadow: 0 0 10px #e60000;
}

@keyframes glitch {
  0% {
    text-shadow:
      2px 0 #00aaff,
      -2px 0 #e60000;
  }
  50% {
    text-shadow:
      -2px 0 #00aaff,
      2px 0 #e60000;
  }
  100% {
    text-shadow:
      2px 0 #00aaff,
      -2px 0 #e60000;
  }
}

main {
  flex-grow: 1;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.cta-buttons {
  margin-bottom: 2rem;
}

.btn {
  background-color: #e60000;
  color: #eee;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  text-decoration: none;
  padding: 1rem 2rem;
  margin: 0 1rem 1rem 1rem;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 0 8px #e60000;
  transition: background-color 0.3s ease, color 0.3s ease,
    box-shadow 0.3s ease;
  user-select: none;
}

.btn:hover {
  background-color: #00aaff;
  color: #000;
  box-shadow: 0 0 15px #00aaff;
  cursor: pointer;
}

.intro-text p,
.manifesto-content p,
.intro-text ul,
.manifesto-content ul {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1rem auto;
  color: #ccc;
  text-align: left;
}

.intro-text ul,
.manifesto-content ul {
  list-style: disc inside;
  padding-left: 0;
}

.intro-text ul li,
.manifesto-content ul li {
  margin-bottom: 0.5rem;
}

/* Downloads grid */
.downloads-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.download-item {
  text-align: center;
  max-width: 200px;
}

.download-item img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 10px #00aaff;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #555;
}

footer a {
  color: #e60000;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .btn {
    display: block;
    margin: 1rem auto;
    width: 80%;
  }
}

/* Additional styling for manifesto headings */
.manifesto-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #e60000;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
  text-shadow: 0 0 10px #e60000;
}

/* Header links */
header a {
  color: #e60000;
  text-decoration: none;
}

/* Add subtle scanline effect for backgrounds */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.03) 50%, transparent 50%) 0 0 / 100% 4px repeat-y;
  z-index: 9999;
  mix-blend-mode: overlay;
}