:root {
  --bg: #050805;
  --text: #f4f1df;
  --muted: rgba(226, 221, 197, 0.74);
  --glass: rgba(18, 28, 20, 0.58);
  --glass-strong: rgba(31, 45, 30, 0.72);
  --border: rgba(201, 164, 93, 0.22);
  --green: #54d17a;
  --green-soft: rgba(84, 209, 122, 0.24);
  --emerald: #2f8f54;
  --emerald-dark: #15351f;
  --gold: #c9a45d;
  --gold-soft: rgba(201, 164, 93, 0.18);
  --brown: #5b3b22;
  --shadow: rgba(0, 0, 0, 0.52);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

body {
  font-family:
    Inter,
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;

  color: var(--text);
  background:
    radial-gradient(circle at 20% 8%, rgba(84, 209, 122, 0.22), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(201, 164, 93, 0.16), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(47, 143, 84, 0.18), transparent 34%),
    linear-gradient(180deg, #060906 0%, #0d130d 48%, #050705 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.background-glow {
  position: fixed;
  inset: auto auto 7% -150px;
  width: 460px;
  height: 460px;
  background:
    radial-gradient(circle, rgba(84, 209, 122, 0.22), transparent 62%);
  filter: blur(115px);
  pointer-events: none;
  z-index: -1;
}

.navbar {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;

  width: calc(100% - 56px);
  height: 68px;
  padding: 0 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.055)
    ),
    rgba(25, 38, 27, 0.46);

  backdrop-filter: blur(34px) saturate(190%);
  -webkit-backdrop-filter: blur(34px) saturate(190%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.34);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--text);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.logo span {
  color: #e8d7a2;
  text-shadow: 0 0 20px rgba(201, 164, 93, 0.22);
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: cover;

  border-radius: 14px;
  background:
    linear-gradient(135deg, #1a3b22, #54d17a 52%, #c9a45d);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 10px 30px rgba(84, 209, 122, 0.24);
}

nav {
  display: flex;
  align-items: center;
}

.admin-link {
  padding: 10px 16px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.055)
    ),
    rgba(201, 164, 93, 0.12);

  color: #ead8a2;
  font-size: 14px;
  font-weight: 750;

  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 30px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.admin-link:hover {
  transform: translateY(-1px);

  border-color: rgba(255, 255, 255, 0.28);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.075)
    ),
    rgba(201, 164, 93, 0.16);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 38px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(201, 164, 93, 0.16);
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  padding: 112px 7% 88px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;

  top: 112px;
  left: 7%;
  right: 7%;
  bottom: 86px;

  z-index: -1;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 44px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.055) 36%,
      rgba(18, 35, 22, 0.48) 100%
    ),
    linear-gradient(
      135deg,
      rgba(14, 29, 16, 0.42),
      rgba(67, 94, 45, 0.18)
    ),
    url("https://images.unsplash.com/photo-1607513746994-51f730a44832")
      center / cover no-repeat;

  backdrop-filter: blur(34px) saturate(180%);
  -webkit-backdrop-filter: blur(34px) saturate(180%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 44px 130px rgba(0, 0, 0, 0.5);

  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;

  top: 112px;
  left: 7%;
  right: 7%;
  bottom: 86px;

  z-index: -1;
  border-radius: 44px;

  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.2), transparent 36%),
    radial-gradient(circle at 35% 68%, rgba(84, 209, 122, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.44) 100%);

  pointer-events: none;
}

.hero-content {
  width: 100%;
  max-width: 1100px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.server-status-fixed {
  position: absolute;
  top: 182px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.server-status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 17px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.055)
    ),
    rgba(20, 30, 24, 0.52);

  color: rgba(244, 241, 223, 0.84);
  font-size: 14px;
  font-weight: 700;

  backdrop-filter: blur(26px) saturate(185%);
  -webkit-backdrop-filter: blur(26px) saturate(185%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 36px rgba(0, 0, 0, 0.28);
}

.status-dot {
  width: 9px;
  height: 9px;

  border-radius: 999px;
  background: var(--green);
  box-shadow:
    0 0 0 5px rgba(84, 209, 122, 0.12),
    0 0 22px rgba(84, 209, 122, 0.9);
}

.server-name {
  margin-bottom: 10px;

  color: #e8d7a2;
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 900;
  letter-spacing: -0.065em;

  text-shadow:
    0 0 24px rgba(201, 164, 93, 0.24),
    0 0 44px rgba(84, 209, 122, 0.14);
}

.big-server-ip {
  max-width: 100%;
  margin-bottom: 32px;

  color: rgba(255, 250, 226, 0.98);
  font-size: clamp(54px, 10vw, 136px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.09em;

  white-space: nowrap;

  text-shadow:
    0 0 24px rgba(244, 241, 223, 0.18),
    0 0 70px rgba(84, 209, 122, 0.22),
    0 8px 36px rgba(0, 0, 0, 0.45);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  min-width: 150px;
  height: 58px;
  padding: 0 25px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.07)
    ),
    linear-gradient(
      135deg,
      rgba(84, 209, 122, 0.34),
      rgba(32, 92, 48, 0.34)
    );

  color: #fff9df;
  font-size: 16px;
  font-weight: 850;

  cursor: pointer;

  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 16px 44px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(84, 209, 122, 0.16);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.copy-btn svg {
  width: 19px;
  height: 19px;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.copy-btn:hover {
  transform: translateY(-2px) scale(1.015);

  border-color: rgba(255, 255, 255, 0.3);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.24),
      rgba(255, 255, 255, 0.09)
    ),
    linear-gradient(
      135deg,
      rgba(95, 226, 136, 0.45),
      rgba(38, 120, 60, 0.42)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 20px 54px rgba(0, 0, 0, 0.34),
    0 0 44px rgba(84, 209, 122, 0.22);
}

.copy-btn:active {
  transform: translateY(0) scale(0.98);
}

.copy-btn.copied {
  color: #f7ffe9;

  border-color: rgba(255, 255, 255, 0.34);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(
      135deg,
      rgba(125, 255, 171, 0.48),
      rgba(38, 145, 72, 0.48)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 18px 50px rgba(0, 0, 0, 0.34),
    0 0 48px rgba(125, 255, 171, 0.28);

  transform: translateY(-1px) scale(1.02);
}

.copy-btn.copied svg {
  color: #7dffab;
  transform: scale(1.12);
}

.copy-btn.copied:hover {
  border-color: rgba(255, 255, 255, 0.4);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.26),
      rgba(255, 255, 255, 0.1)
    ),
    linear-gradient(
      135deg,
      rgba(135, 255, 181, 0.55),
      rgba(42, 160, 80, 0.52)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 20px 56px rgba(0, 0, 0, 0.36),
    0 0 52px rgba(125, 255, 171, 0.32);
}

.server-meta {
  margin-top: 34px;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;

  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.server-meta strong {
  color: #e8d7a2;
}

.server-meta a {
  color: #73e29b;
}

.server-meta a:hover {
  color: #fff9df;
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 64px;
  padding: 0 7%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(8, 12, 10, 0.58);

  color: rgba(226, 221, 197, 0.66);
  font-size: 14px;

  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

footer strong {
  color: #e8d7a2;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  padding: 10px 16px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.055)
    ),
    rgba(25, 38, 27, 0.46);

  color: var(--text);
  font-size: 14px;
  font-weight: 750;

  cursor: pointer;

  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 30px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.nav-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav-btn.primary {
  color: #e8d7a2;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.065)
    ),
    rgba(84, 209, 122, 0.2);
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background:
    radial-gradient(circle at 50% 20%, rgba(84, 209, 122, 0.16), transparent 34%),
    rgba(0, 0, 0, 0.46);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.auth-panel {
  position: relative;

  width: 100%;
  max-width: 460px;
  padding: 34px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.055)
    ),
    rgba(18, 28, 20, 0.72);

  backdrop-filter: blur(34px) saturate(190%);
  -webkit-backdrop-filter: blur(34px) saturate(190%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 34px 110px rgba(0, 0, 0, 0.5);
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 18px;

  width: 34px;
  height: 34px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);
  color: var(--text);

  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.auth-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-view h2 {
  color: #e8d7a2;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.auth-view p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.auth-view label {
  display: flex;
  flex-direction: column;
  gap: 8px;

  color: rgba(244, 241, 223, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.auth-view input[type="text"],
.auth-view input[type="password"] {
  height: 50px;
  padding: 0 16px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;

  outline: none;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.045)
    ),
    rgba(5, 8, 5, 0.42);

  color: var(--text);
  font-size: 15px;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.auth-view input::placeholder {
  color: rgba(226, 221, 197, 0.42);
}

.auth-view input:focus {
  border-color: rgba(84, 209, 122, 0.42);
  box-shadow: 0 0 0 4px rgba(84, 209, 122, 0.12);
}

.check-row {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;

  color: var(--muted) !important;
  font-size: 13px !important;
}

.check-row input {
  accent-color: var(--green);
}

.discord-btn,
.auth-main-btn,
.auth-sub-btn {
  height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-size: 15px;
  font-weight: 850;

  cursor: pointer;
  text-align: center;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.discord-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);

  background:
    linear-gradient(
      180deg,
      rgba(88, 101, 242, 0.72),
      rgba(88, 101, 242, 0.46)
    );

  color: white;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 40px rgba(88, 101, 242, 0.24);
}

.auth-main-btn {
  border: 1px solid rgba(148, 230, 161, 0.26);

  background:
    linear-gradient(
      180deg,
      rgba(84, 209, 122, 0.38),
      rgba(32, 92, 48, 0.34)
    );

  color: #fff9df;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 40px rgba(84, 209, 122, 0.18);
}

.auth-sub-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);

  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.discord-btn:hover,
.auth-main-btn:hover,
.auth-sub-btn:hover {
  transform: translateY(-1px);
}

.verify-box {
  padding: 18px;

  display: flex;
  flex-direction: column;
  gap: 8px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;

  background: rgba(5, 8, 5, 0.36);
}

.verify-box span {
  color: var(--muted);
  font-size: 13px;
}

.verify-box code {
  color: #73e29b;
  font-size: 18px;
  font-weight: 900;
}

.auth-message {
  min-height: 20px;
  color: #e8d7a2 !important;
  font-size: 14px !important;
}

.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .navbar {
    top: 14px;
    width: calc(100% - 28px);
    height: 64px;
    padding: 0 16px;
  }

  .logo {
    font-size: 17px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .admin-link {
    padding: 9px 13px;
    font-size: 13px;
  }

  .hero {
    padding: 96px 5% 84px;
  }

  .hero::before,
  .hero::after {
    top: 96px;
    left: 5%;
    right: 5%;
    bottom: 84px;
    border-radius: 32px;
  }

  .server-status-fixed {
    top: 132px;
  }

  .server-status-line {
    font-size: 13px;
    padding: 9px 14px;
  }

  .server-name {
    font-size: clamp(32px, 10vw, 46px);
  }

  .big-server-ip {
    font-size: clamp(42px, 14vw, 72px);
    white-space: normal;
    word-break: break-word;
  }

  .copy-btn {
    height: 52px;
    min-width: 132px;
    font-size: 15px;
  }

  .server-meta {
    margin-top: 28px;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
  }

  footer {
    height: 70px;
    padding: 0 6%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 4px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-btn,
  .admin-link {
    padding: 8px 10px;
    font-size: 12px;
  }

  .auth-panel {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .auth-view h2 {
    font-size: 26px;
  }
}