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

body {
  min-height: 100vh;
  background: #0e0c0b;
  color: #fff;
  font-family: "gg sans", "Noto Sans", system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hidden {
  display: none !important;
}

.verify-card {
  width: min(480px, 100%);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 32px 36px 28px;
  text-align: center;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.server-logo-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  position: relative;
}

.server-logo,
.server-logo-fallback {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

.server-logo {
  object-fit: cover;
  display: block;
}

.server-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2b2d31;
  color: #f2f3f5;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.server-name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #f2f3f5;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  min-height: 34px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-link--youtube {
  background: #ff0000;
  color: #fff;
}

.social-link--discord {
  background: #5865f2;
  color: #fff;
}

.social-link--website {
  background: #e3e5e8;
  color: #111214;
}

.verify-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: #4f5dff;
  color: #fff;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.verify-btn:hover:not(:disabled) {
  background: #3f4ae6;
}

.verify-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.verify-btn.is-success {
  background: #248046;
}

.verify-btn.is-success:hover {
  background: #1f6d3b;
}

.status {
  margin-top: 14px;
  color: #b5bac1;
  font-size: 13px;
  min-height: 18px;
}

.error {
  color: #f23f43;
}

.verify-card--error .server-name {
  margin-bottom: 10px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 600px) {
  body {
    align-items: flex-start;
    padding: max(20px, env(safe-area-inset-top, 20px))
      max(16px, env(safe-area-inset-right, 16px))
      max(20px, env(safe-area-inset-bottom, 20px))
      max(16px, env(safe-area-inset-left, 16px));
    min-height: 100vh;
    min-height: 100dvh;
  }

  .verify-card {
    padding: 24px 20px 20px;
    border-radius: 18px;
    margin-top: 8px;
  }

  .server-logo-wrap,
  .server-logo,
  .server-logo-fallback {
    width: 76px;
    height: 76px;
  }

  .server-logo-fallback {
    font-size: 24px;
  }

  .server-name {
    font-size: 20px;
    word-break: break-word;
  }

  .verify-btn {
    min-height: 48px;
    font-size: 17px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .status {
    font-size: 14px;
    line-height: 1.4;
  }
}
