body {
  background: #1b1f24;
  color: #e0e0e0;
  font-family: "Segoe UI", sans-serif;
  max-width: 800px;
  margin: 40px auto;
  line-height: 1.6;
  padding: 0 20px;
}
h1, h2 {
  color: #76c7ff;
}
h1 {
  font-size: 2em;
  margin-top: 40px;
}
h2 {
  font-size: 1.5em;
  margin-top: 30px;
}
ul {
  padding-left: 20px;
}
li {
  margin-bottom: 6px;
}
.section {
  margin-top: 2em;
}
code {
  background: #333;
  padding: 2px 4px;
  border-radius: 4px;
  font-family: Consolas, monospace;
}
.video-thumb {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  background: #000;
}
.video-thumb:hover {
  transform: scale(1.02);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}
.modal video {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
}
/* C&C Multiplayer Section */
.cnc-steps {
    margin-top: 1.5em;
  }
  
  .cnc-steps h3,
  .cnc-issues h3 {
    font-size: 1.2em;
    color: #76c7ff;
    margin-bottom: 0.5em;
  }
  
  .cnc-steps ul,
  .cnc-issues ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5em;
  }
  
  .cnc-steps li,
  .cnc-issues li {
    margin-bottom: 8px;
    line-height: 1.5;
  }
  
  .hole-punch-box {
    margin-top: 2em;
    padding: 16px;
    background: #222;
    border-left: 5px solid #4fc3f7;
    border-radius: 8px;
  }
  
  .hole-punch-box p {
    margin: 6px 0;
  }
  
  .cnc-issues {
    margin-top: 2em;
  }
  

/* vid wrapport */
  .video-wrapper {
    width: 100%;
    display: flex;
    cursor: pointer;
  }
  .video-wrapper video {
    width: 50%;
    border-radius: 8px;
    transition: transform 0.2s ease;
    box-shadow: 0 0 8px #000;
    pointer-events: none;
  }
  .video-wrapper:hover video {
    transform: scale(1.02);
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
  }
  .modal video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
  }
  .modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
  }

  body::before {
    content: "";
    position: fixed;
    top: 30%;
    left: 60%;
    width: 600px;
    height: 600px;
    background-image: url("/image/WarpPort.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.03; /* Faint watermark effect */
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
  }
  body {
    position: relative;
    z-index: 1;
  }
  .logo-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2em;
  }
  
  .logo-heading img {
    height: 55px;
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 6px #76c7ff);
  }
  .hole-punch-diagram {
    margin-top: 20px;
    text-align: center;
  }
  
  .hole-punch-diagram img {
    position: relative;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  }
  /* Centered container for the CTA button */
.download-container {
  text-align: center;
  margin: 2em 0;
}

/* The button itself */
.download-button {
  display: inline-block;
  background-color: #76c7ff;      /* your existing accent */
  color: #1b1f24;                 /* dark text for contrast */
  font-weight: bold;
  text-decoration: none;
  padding: 0.75em 1.5em;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.download-button:hover {
  background-color: #5ab0e6;      /* slightly darker on hover */
  transform: translateY(-2px);
}

.download-button:active {
  background-color: #4fa9d7;
  transform: translateY(0);
}
/* site-wide footer */
footer {
  margin-top: 4em;
  padding: 2em 0;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.9em;
  color: #aaa;
}
/* make all links underlined by default */
a {
  color: #76c7ff;
  text-decoration: underline;      /* ← add underline */
}

/* hover/focus states */
a:hover,
a:focus {
  text-decoration: none;           /* optional: remove underline on hover */
  outline: none;
}

a:focus-visible {
  outline: 2px dashed #76c7ff;     /* keyboard focus indicator */
  outline-offset: 2px;
}

.back-link {
  margin: 1em 0;
  font-size: 0.9em;
}

/* back-link overrides (if you want a different hover color) */
.back-link a {
  color: #91d1ff;
  text-decoration: underline;      /* ensure underline here too */
}

.back-link a:hover,
.back-link a:focus {
  text-decoration: none;
}