:root {
  color-scheme: dark;
  --bg: #140909;
  --text: #9a9494;
  --heading: #dedede;
  --muted: #aaa3a3;
  --line: #928989;
  --red: #5c0909;
  --green: #088242;
  --blue: #16538c;
  font-family: "Vollkorn SC", Georgia, "Times New Roman", serif;
}

@property --beam-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-size: 22px;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

:where(a:not(.stealth-admin, .stealth-admin-letter), button) {
  --hover-frame-inset: -5px;
  --hover-frame-radius: 6px;
  position: relative;
  isolation: isolate;
}

:where(a:not(.stealth-admin, .stealth-admin-letter), button)::before {
  position: absolute;
  inset: var(--hover-frame-inset);
  z-index: 2;
  border-radius: var(--hover-frame-radius);
  padding: 1px;
  pointer-events: none;
  content: "";
  background:
    conic-gradient(
      from var(--beam-angle),
      transparent 0deg,
      transparent 260deg,
      rgba(255, 255, 255, 0.08) 286deg,
      rgba(255, 255, 255, 0.78) 306deg,
      #fff 316deg,
      rgba(255, 255, 255, 0.42) 328deg,
      transparent 346deg,
      transparent 360deg
    ),
    rgba(255, 255, 255, 0.16);
  opacity: 0;
  transition: opacity 0.18s ease;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

:where(a:not(.stealth-admin, .stealth-admin-letter), button):where(:hover, :focus-visible)::before {
  animation: border-beam 1.25s linear infinite;
  opacity: 1;
}

@keyframes border-beam {
  to {
    --beam-angle: 360deg;
  }
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background: var(--bg);
}

.site-header {
  min-height: 95px;
  border-bottom: 1px solid rgba(114, 7, 7, 0.54);
  background:
    linear-gradient(180deg, rgba(42, 12, 12, 0.82), rgba(20, 9, 9, 0.94)),
    url("assets/blood_PNG6089.png") top right / 56% auto no-repeat,
    var(--bg);
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.78),
    0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner,
.classic-container,
.page-inner,
.copyright {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  gap: 20px;
}

.site-branding {
  padding-left: 0;
}

.site-title {
  display: inline-block;
  --hover-frame-inset: -7px;
  color: var(--text);
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
  text-decoration: underline;
  text-transform: none;
}

.site-title:hover,
.site-title:focus {
  color: #424242;
}

.site-description {
  margin: 7px 0 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1;
}

.feedback-link {
  display: inline-flex;
  --hover-frame-inset: -4px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  font-family: "Vollkorn SC", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
}

.feedback-link:hover,
.feedback-link:focus {
  color: var(--heading);
  background: transparent;
}

.image-carousel {
  width: 100%;
  padding: 18px 0;
  background:
    linear-gradient(rgba(20, 9, 9, 0.82), rgba(20, 9, 9, 0.88)),
    url("assets/blood_PNG6089.png") center right / 77% auto no-repeat,
    var(--bg);
}

.carousel-track {
  position: relative;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  max-height: 960px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.25) !important;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.classic-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.classic-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("assets/blood_PNG6089.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 77% auto;
  opacity: 0.29;
}

.intro-section {
  padding: 40px 0;
}

.centered {
  text-align: center;
}

.classic-section h1,
.classic-section h2 {
  margin: 0 0 20px;
  color: var(--heading);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.classic-section p {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 400;
}

.classic-section p + p {
  margin-top: 8px;
}

.connect-section {
  padding: 40px 0;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.section-label {
  margin: 0 0 20px;
  text-align: center;
  font-size: 24px;
}

.server-list {
  display: grid;
  gap: 15px;
  max-width: 520px;
  margin: 0 auto;
  padding: 15px 0 0;
  list-style: none;
}

.server-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: var(--text);
  font-size: 28px;
  line-height: 1.2;
}

.ip-copy {
  --hover-frame-inset: -4px;
  min-width: 25ch;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.ip-copy:hover,
.ip-copy:focus {
  color: var(--heading);
}

.connect-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid #720707;
  background:
    linear-gradient(30deg, transparent 42%, #720707 43%, #720707 46%, transparent 47%),
    linear-gradient(90deg, transparent 42%, #720707 43%, #720707 46%, transparent 47%),
    linear-gradient(150deg, transparent 42%, #720707 43%, #720707 46%, transparent 47%);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.client-column {
  min-height: 220px;
}

.client-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 626px;
  margin: 40px auto 0;
}

.client-link {
  display: flex;
  --hover-frame-inset: -8px;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.client-link:first-child {
  border-right: 1px solid var(--line);
}

.client-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.client-link:hover .client-icon,
.client-link:focus .client-icon {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.gallery-section {
  padding: 30px 0;
}

.gallery-section .classic-container {
  width: min(1320px, calc(100% - 40px));
}

.image-accordion {
  display: flex;
  width: 100%;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
}

.accordion-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background-position: center;
  background-size: cover;
  transition: flex 0.3s ease, filter 0.3s ease;
}

.accordion-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: transparent;
  transition: background 0.3s ease;
}

.accordion-panel:hover,
.accordion-panel:focus-within {
  flex: 3 1 0;
  filter: brightness(1.4) !important;
}

.accordion-panel:hover::before,
.accordion-panel:focus-within::before {
  background: transparent;
}

.site-footer {
  border-top: 1px solid rgba(114, 7, 7, 0.54);
  background:
    linear-gradient(180deg, rgba(20, 9, 9, 0.94), rgba(42, 12, 12, 0.78)),
    url("assets/blood_PNG6089.png") bottom left / 48% auto no-repeat,
    var(--bg);
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.78),
    0 -10px 30px rgba(0, 0, 0, 0.14);
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 20px 0;
  color: #4b4f58;
  text-align: center;
}

.copyright p {
  margin: 0;
}

.stealth-admin {
  width: 1px;
  height: 1px;
  margin-left: 3px;
  overflow: hidden;
  color: transparent;
  text-decoration: none;
}

.stealth-admin-letter {
  color: inherit;
  text-decoration: none;
}

.stealth-admin-letter:hover,
.stealth-admin-letter:focus {
  color: inherit;
  outline: 0;
}

.page {
  min-height: calc(100vh - 175px);
  padding: 50px 0;
  background:
    linear-gradient(rgba(20, 9, 9, 0.86), rgba(20, 9, 9, 0.9)),
    url("assets/blood_PNG6089.png") center right / 77% auto no-repeat;
}

.page-header {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 16px;
}

.page-header h1 {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 28px;
  line-height: 1.1;
}

.lead {
  margin: 0;
  color: var(--text);
  font-size: 22px;
}

.feedback-page {
  min-height: calc(100vh - 175px);
  background: var(--bg);
}

.feedback-intro {
  padding: 42px 0 28px;
}

.feedback-section {
  padding: 12px 0 54px;
}

.feedback-container {
  width: min(920px, calc(100% - 40px));
}

.contact-panel,
.admin-grid {
  max-width: 760px;
  margin: 0 auto;
}

.contact-panel {
  max-width: 100%;
  border: 1px solid rgba(114, 7, 7, 0.65);
  border-radius: 6px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(42, 12, 12, 0.58), rgba(13, 5, 5, 0.78)),
    rgba(20, 9, 9, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.76),
    0 18px 44px rgba(0, 0, 0, 0.22);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 10px;
  color: var(--heading);
  font-size: 20px;
  line-height: 1;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(146, 137, 137, 0.58);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--heading);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.34)),
    rgba(20, 9, 9, 0.86);
  outline: 0;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(222, 222, 222, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(114, 7, 7, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.field textarea {
  min-height: 190px;
  resize: vertical;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.captcha-question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 43px;
  border: 1px solid rgba(146, 137, 137, 0.42);
  border-radius: 6px;
  padding: 0 16px;
  color: var(--heading);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.3)),
    rgba(20, 9, 9, 0.68);
  font-size: 20px;
  line-height: 1;
}

.captcha-row input {
  max-width: 180px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.button,
.copy-button {
  display: inline-flex;
  position: relative;
  --hover-frame-inset: -4px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(122, 122, 122, 0.5);
  border-radius: 0;
  padding: 0 22px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(92, 9, 9, 0.2), rgba(20, 9, 9, 0.16)),
    transparent;
  font-family: "Vollkorn SC", Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7);
}

.button:hover,
.copy-button:hover {
  border-color: rgba(206, 206, 206, 0.58);
  color: var(--heading);
  background:
    linear-gradient(180deg, rgba(92, 9, 9, 0.34), rgba(20, 9, 9, 0.2)),
    transparent;
}

.button-primary {
  border-color: rgba(114, 7, 7, 0.9);
  color: var(--heading);
  background:
    linear-gradient(180deg, rgba(92, 9, 9, 0.44), rgba(20, 9, 9, 0.24)),
    transparent;
}

.notice {
  margin-bottom: 18px;
  border: 1px solid rgba(122, 122, 122, 0.45);
  border-radius: 4px;
  padding: 12px;
  color: var(--heading);
  background: rgba(72, 4, 4, 0.34);
}

.notice-error {
  border-color: #720707;
}

.error-list {
  margin: 0;
  padding-left: 20px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.admin-grid {
  display: grid;
  gap: 16px;
}

.admin-grid-secondary {
  margin-top: 28px;
}

.admin-card {
  display: block;
  --hover-frame-inset: -5px;
  border: 1px solid rgba(122, 122, 122, 0.5);
  border-radius: 4px;
  padding: 20px;
  color: var(--text);
  background: rgba(20, 9, 9, 0.72);
  text-decoration: none;
}

.admin-card h2 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 24px;
}

.admin-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .classic-container,
  .page-inner,
  .header-inner,
  .copyright {
    width: min(100% - 32px, 920px);
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .site-header,
  .header-inner {
    min-height: 80px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
  }

  .site-title {
    font-size: 28px;
  }

  .site-description {
    font-size: 13px;
  }

  .feedback-link {
    min-height: 36px;
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 15px;
  }

  .carousel-track {
    aspect-ratio: 16 / 11;
    min-height: 220px;
  }

  .intro-section,
  .connect-section,
  .feedback-intro {
    padding: 32px 0;
  }

  .feedback-section {
    padding: 0 0 36px;
  }

  .classic-section h1,
  .page-header h1 {
    font-size: 22px;
  }

  .classic-section p,
  .lead {
    font-size: 16px;
  }

  .section-label {
    font-size: 22px;
  }

  .server-list li {
    justify-content: flex-start;
    font-size: 22px;
  }

  .client-links {
    margin-top: 20px;
  }

  .client-icon {
    width: 72px;
    height: 72px;
  }

  .image-accordion {
    height: 320px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 20px;
  }

  .field label {
    font-size: 17px;
  }

  .field textarea {
    min-height: 160px;
  }

  .captcha-row {
    align-items: stretch;
    flex-direction: column;
  }

  .captcha-question,
  .captcha-row input {
    width: 100%;
    max-width: none;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
