:root {
  --background-rgb: 0 0 0;
}

/* Disable scroll */
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Center content */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--background-rgb));
  font-family: 'Rubik', sans-serif;
  perspective: 2000px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BACKGROUND GRID (effect as in your file) */
#container {
  width: 140rem;
  aspect-ratio: 1;
  display: grid;
  grid-template-rows: repeat(40, 1fr);
  grid-template-columns: repeat(40, 1fr);

  position: fixed;
  inset: 0;
  margin: auto;

  transform: rotateX(50deg) rotateY(-5deg) rotateZ(20deg) scale(1.25);
  z-index: 1;
}

#container:after,
#container:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#container:before {
  z-index: 2;
  background-image: url("https://assets.codepen.io/1468070/plus-pattern-center.png");
  background-size: 5%;
  opacity: 0.25;
}

#container:after {
  z-index: 3;
  background: radial-gradient(circle, transparent 25%, rgb(var(--background-rgb)) 80%);
}

.tile {
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: none;
}

.tile:hover {
  background: none;
}

/* CENTER TEXT (on top of everything) */
#center-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

h1 {
  font-family: 'Space Mono', monospace;
  font-size: clamp(2rem, 6vw, 6vw);
  color: black;
  padding: 1.2rem 3rem;
  border-radius: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

/* Gradient behind your text */
h1::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 110%;
  height: 130%;
  background: linear-gradient(90deg, red, white);
  border-radius: 12px;
  z-index: -1;
}

/* BOTTOM LEFT LINKS (text only) */
#links {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 15;

  display: flex;
  gap: 0.35rem;
  font-family: 'Rubik', sans-serif;
}

.meta-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.meta-link .label {
  color: white;
  opacity: 0.85;
  font-size: 1.1rem;
}

.meta-link .dot {
  color: #ffffff75;
  font-size: 1.1rem;
}

.meta-link a {
  text-decoration: none;
  font-size: 1.1rem;
  opacity: 0.85;
  transition: opacity .2s;
}

.meta-link a:hover {
  opacity: 1;
}

.meta-link a.github { color: #9ecbff; }
.meta-link a.gitlab { color: #ff9966; }
.meta-link a.instagram { color: #ff66c4; }
