* { box-sizing: border-box; }

:root {
  --white: #ffffff;
  --gray: #bdbdbd;
  --dark: #020202;
  --panel: rgba(4,4,4,.88);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.22), transparent 18%),
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.06), transparent 22%),
    radial-gradient(circle at 85% 78%, rgba(255,255,255,.07), transparent 24%),
    linear-gradient(135deg, #000 0%, #050505 45%, #111 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -100px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 60px);
  transform: rotate(-8deg);
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 9px 9px;
  mix-blend-mode: screen;
}

.page {
  min-height: 100vh;
  padding: 28px 16px;
  display: grid;
  place-items: center;
}

.card {
  position: relative;
  width: 100%;
  max-width: 470px;
  padding: 30px 22px 24px;
  text-align: center;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px;
  box-shadow:
    0 0 70px rgba(255,255,255,.10),
    inset 0 0 40px rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,.55);
  top: 23px;
  box-shadow: 0 0 16px rgba(255,255,255,.7);
}

.card::before { left: -55px; transform: rotate(25deg); }
.card::after { right: -55px; transform: rotate(-25deg); }

.logo {
  width: min(88%, 350px);
  max-height: 180px;
  object-fit: contain;
  margin: 4px auto 18px;
  filter: drop-shadow(0 0 16px rgba(255,255,255,.7)) contrast(1.2);
}

.profile {
  width: 122px;
  height: 122px;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #000;
  box-shadow: 0 0 28px rgba(255,255,255,.55);
}

h1 {
  margin: 18px 0 8px;
  font-size: 32px;
  letter-spacing: 4px;
  text-shadow: 0 0 14px rgba(255,255,255,.65);
}

p {
  margin: 0 0 20px;
  color: var(--gray);
  letter-spacing: 1.5px;
  font-size: 13px;
}

.pulse-line {
  height: 2px;
  width: 74%;
  margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  box-shadow: 0 0 15px rgba(255,255,255,.8);
}

.links {
  display: grid;
  gap: 13px;
}

.link-btn {
  position: relative;
  display: block;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.025)),
    #050505;
  box-shadow:
    inset 0 0 25px rgba(255,255,255,.055),
    0 0 17px rgba(255,255,255,.07);
  transition: .2s ease;
  overflow: hidden;
}

.link-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transition: .35s;
}

.link-btn:hover {
  transform: translateY(-3px);
  background: #fff;
  color: #000;
  box-shadow: 0 0 28px rgba(255,255,255,.35);
}

.link-btn:hover::before {
  transform: translateX(110%);
}

.admin-dot {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.55);
  cursor: pointer;
}

.admin-dot:hover { color: #fff; border-color: #fff; }

.editor {
  margin-top: 20px;
  padding-top: 18px;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,.2);
}

.hidden { display: none; }

h2 {
  text-align: center;
  margin: 0 0 14px;
  letter-spacing: 2px;
}

label {
  display: block;
  margin: 11px 0;
  font-size: 13px;
  color: #d8d8d8;
  letter-spacing: 1px;
}

input {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.28);
  background: #060606;
  color: #fff;
  outline: none;
}

input:focus {
  border-color: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,.22);
}

.save-btn, .reset-btn {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
}

.save-btn {
  border: 0;
  background: #fff;
  color: #000;
}

.reset-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}

.small, .error {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.4;
}

.error { color: #fff; text-align: center; }

@media (max-width: 420px) {
  h1 { font-size: 25px; }
  .logo { max-height: 150px; }
}
