@font-face {
  font-family: "font";
  src: url(/font.ttf);
}

:root {
  --bg-1: #050505;
  --bg-2: #120000;
  --red-main: #ff2b2b;
  --red-soft: #ff5e5e;
  --red-glow: #ff0000;
  --text-main: #f7f7f7;
  --text-sub: #b9b9b9;
  --card-border: rgba(255, 60, 60, 0.3);
  --grid: rgba(255, 40, 40, 0.16);
}

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: "font";
  color: var(--text-main);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 0, 0, 0.12), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(255, 0, 0, 0.08), transparent 30%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 30px 30px;
}

body::after {
  content: "";
  position: fixed;
  inset: -25%;
  pointer-events: none;
  background: conic-gradient(from 0deg,
      transparent 0deg,
      rgba(255, 0, 0, 0.11) 85deg,
      transparent 180deg,
      rgba(255, 0, 0, 0.09) 245deg,
      transparent 360deg);
  filter: blur(60px);
  animation: auraSpin 16s linear infinite;
  z-index: 0;
}

.container {
  --cut-size: 24px;
  width: min(92vw, 860px);
  padding: 32px;
  border: 1px solid var(--card-border);
  background: linear-gradient(145deg, rgba(24, 24, 24, 0.82), rgb(8 8 8 / 0%));
  clip-path: polygon(var(--cut-size) 0,
      calc(100% - var(--cut-size)) 0,
      100% var(--cut-size),
      100% calc(100% - var(--cut-size)),
      calc(100% - var(--cut-size)) 100%,
      var(--cut-size) 100%,
      0 calc(100% - var(--cut-size)),
      0 var(--cut-size));
  box-shadow:
    0 0 0 1px rgba(255, 0, 0, 0.12),
    0 18px 55px rgba(0, 0, 0, 0.6),
    inset 0 0 50px rgba(255, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeInUp 0.75s ease;
}

.status-tag {
  --tag-cut: 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 60, 60, 0.55);
  background: rgba(255, 45, 45, 0.13);
  clip-path: polygon(var(--tag-cut) 0,
      calc(100% - var(--tag-cut)) 0,
      100% 50%,
      calc(100% - var(--tag-cut)) 100%,
      var(--tag-cut) 100%,
      0 50%);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #18ff6d;
  box-shadow: 0 0 12px #18ff6d;
  animation: pulse 1.9s ease infinite;
}

h1 {
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.45);
}

.accent {
  color: var(--red-soft);
  text-shadow: 0 0 16px rgba(255, 44, 44, 0.9);
}

.message {
  margin: 0 auto;
  max-width: 680px;
  color: var(--text-sub);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.7;
}

.description {
  margin: 0 auto;
  max-width: 680px;
  color: var(--text-sub);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.7;
}

.social-wrap {
  margin-top: 1%;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  --btn-cut: 12px;
  --btn-shadow: rgba(255, 0, 0, 0.28);
  --btn-main: rgba(255, 45, 45, 0.12);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  min-width: 168px;
  justify-content: center;
  border: 1px solid rgba(255, 70, 70, 0.42);
  background: linear-gradient(145deg, rgba(255, 45, 45, 0.08), rgba(14, 14, 14, 0.9));
  clip-path: polygon(var(--btn-cut) 0,
      calc(100% - var(--btn-cut)) 0,
      100% var(--btn-cut),
      100% calc(100% - var(--btn-cut)),
      calc(100% - var(--btn-cut)) 100%,
      var(--btn-cut) 100%,
      0 calc(100% - var(--btn-cut)),
      0 var(--btn-cut));
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 26px var(--btn-shadow);
}

.social-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 10%, rgba(255, 255, 255, 0.26) 42%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
  z-index: -1;
}

.social-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  pointer-events: none;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(120deg, rgba(255, 60, 60, 0.1), rgba(255, 120, 120, 0.9), rgba(255, 60, 60, 0.08)) border-box;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(255, 115, 115, 0.9);
  box-shadow:
    0 16px 36px rgba(255, 0, 0, 0.35),
    0 0 22px rgba(255, 55, 55, 0.48);
}

.social-btn:hover::before {
  transform: translateX(120%);
}

.social-btn:hover::after {
  opacity: 1;
}

.social-btn:active {
  transform: translateY(-1px) scale(0.985);
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.95;
}

.social-discord {
  color: #f5f5ff;
}

.social-telegram {
  color: #e6f6ff;
}

.social-x {
  color: #f7f7f7;
}

.social-github {
  color: #ffffff;
}

.hint {
  margin-top: 18px;
  color: #8f8f8f;
  font-size: 13px;
  letter-spacing: 0.2px;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes auraSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .container {
    --cut-size: 16px;
    padding: 24px 18px;
  }

  .social-btn {
    width: 100%;
    min-width: 0;
  }
}