@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

.lg-root {
  --void: #0a0908;
  --panel: #171313;
  --panel-2: #1e1919;
  --line: #322a29;
  --red: #c81e1e;
  --red-bright: #ff3b30;
  --red-dim: #5c1414;
  --text: #ece6e2;
  --text-muted: #9a8f8b;
  --text-faint: #665c59;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(rgba(10, 9, 8, 0.82), rgba(10, 9, 8, 0.82)), url("img/backgroung.png") center center / cover no-repeat fixed;
  background-color: var(--void);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--red-dim); color: #fff; }

button { font: inherit; }
a { color: inherit; }
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

.lg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}

.lg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(200,30,30,0.18) 0%, rgba(200,30,30,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.lg-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.lg-card {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(160deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  padding: 36px 30px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(200, 30, 30, 0.08);
}

.lg-logo-wrap {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 3px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 59, 48, 0.55), rgba(200, 30, 30, 0.05) 70%);
  box-shadow: 0 0 0 1px var(--red-dim), 0 8px 24px rgba(200, 30, 30, 0.35);
}
.lg-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.lg-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--red-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.lg-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 28px 0;
}

.lg-error {
  background: rgba(200, 30, 30, 0.1);
  border: 1px solid var(--red-dim);
  color: #ffb3ae;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 10px 14px;
  margin-bottom: 20px;
  text-align: left;
}

.lg-discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #5865f2;
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(88, 101, 242, 0.35);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.lg-discord-btn:hover { background: #4752c4; box-shadow: 0 4px 20px rgba(88, 101, 242, 0.45); }
.lg-discord-btn:active { transform: translateY(1px); }

.lg-links {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lg-links-row {
  font-size: 12px;
  color: var(--text-faint);
}
.lg-links-row a {
  color: var(--red-bright);
  text-decoration: none;
  font-weight: 600;
}
.lg-links-row a:hover { text-decoration: underline; }

.lg-license {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.lg-license:hover { color: var(--red-bright); }

@media (max-width: 420px) {
  .lg-card { padding: 30px 22px 26px; }
}
