:root {
  --bg: #010101;
  --panel: #0a0a0c;
  --text: #e6e6ea;
  --muted: #8a8a94;
  --accent: #ff2a3d;
  --ghost: #dfe3ff;
  --line: #231216;
  --mono: ui-monospace, "system-ui", "system-ui", Consolas, "system-ui", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
}

::selection { background: var(--accent); color: #000; }

a { color: var(--accent); }
a:hover { color: #fff; }

.site-header,
main,
.site-footer {
  max-width: 54rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.logo { font-weight: 700; text-decoration: none; color: var(--text); }
.logo::before { content: "♰ "; color: var(--accent); }
.logo:hover { color: var(--accent); }

nav a { margin-left: 1.25rem; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--accent); }

h1, h2, h3 { font-family: var(--mono); line-height: 1.15; letter-spacing: -0.02em; }

section { padding: 3.5rem 0; text-align: center; border-bottom: 1px solid var(--line); }
.hero { padding: 5rem 0 4rem; }

.cross {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(255, 42, 61, 0.55);
}

h1 {
  position: relative;
  display: inline-block;
  font-size: clamp(2.25rem, 9vw, 4.5rem);
  margin: 0.5rem 0 1rem;
  color: #fff;
  animation: shake 0.6s steps(2) 1;
}

h1::before, h1::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
}
h1::before { color: var(--accent); animation: slice-a 0.6s steps(1) 1; }
h1::after { color: var(--ghost); animation: slice-b 0.6s steps(1) 1; }

@keyframes shake {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-3px, 1px); }
  40% { transform: translate(3px, -1px); }
  60% { transform: translate(-2px, 0); }
  80% { transform: translate(2px, 1px); }
}
@keyframes slice-a {
  0%   { opacity: 1; transform: translate(-6px, 0); clip-path: inset(10% 0 70% 0); }
  25%  { opacity: 1; transform: translate(5px, 0);  clip-path: inset(55% 0 20% 0); }
  50%  { opacity: 1; transform: translate(-4px, 0); clip-path: inset(30% 0 45% 0); }
  75%  { opacity: 1; transform: translate(6px, 0);  clip-path: inset(75% 0 5% 0); }
  100% { opacity: 0; transform: none; clip-path: inset(0); }
}
@keyframes slice-b {
  0%   { opacity: 1; transform: translate(6px, 0);  clip-path: inset(60% 0 15% 0); }
  25%  { opacity: 1; transform: translate(-5px, 0); clip-path: inset(5% 0 80% 0); }
  50%  { opacity: 1; transform: translate(4px, 0);  clip-path: inset(45% 0 30% 0); }
  75%  { opacity: 1; transform: translate(-6px, 0); clip-path: inset(20% 0 60% 0); }
  100% { opacity: 0; transform: none; clip-path: inset(0); }
}

h2 { font-size: 1.4rem; margin: 0 0 1.25rem; color: #fff; }
h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0.6rem auto 0;
  background: var(--accent);
}

h3 { font-size: 1.05rem; margin: 0 0 0.75rem; color: #fff; }

.hero p:not(.cross) { color: var(--muted); font-size: 1.1rem; max-width: 34rem; margin: 0 auto 1.75rem; }
section p { max-width: 36rem; margin-left: auto; margin-right: auto; }

.button, button {
  display: inline-block;
  font: inherit;
  padding: 0.55rem 1.4rem;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  border: 1px solid var(--accent);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 42, 61, 0.35);
  transition: background 0.15s, color 0.15s;
}
.button:hover, button:hover { background: transparent; color: var(--accent); }

:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.25rem;
}
.items li { padding: 1rem; background: var(--panel); border: 1px solid var(--line); }
.items li:hover { border-color: var(--accent); }
.items p { margin: 0; color: var(--muted); }

.items img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.75rem;
  filter: grayscale(1) contrast(1.2) brightness(0.8);
  transition: filter 0.2s;
}
.items li:hover img { filter: none; }

.copy-link {
  padding: 0;
  background: none;
  color: var(--accent);
  border: 0;
  box-shadow: none;
  font-weight: 400;
  text-decoration: underline;
}
.copy-link:hover { background: none; color: #fff; }

.site-footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1, h1::before, h1::after { animation: none; }
}
/* Programming by @formatwazhere on discord */