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

:root {
  --bg: #0a0a0b;
  --fg: #fafafa;
  --fg-muted: #71717a;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.1);
  --border: #27272a;
}

html,
body {
  height: 100%;
}

body {
  font-family:
    "Inter",
    "Inter var",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  width: 100%;
}

/* Logo */
.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.description {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Active State - Join Button */
.btn-join {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--discord);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.btn-join:hover {
  background: var(--discord-hover);
  transform: translateY(-2px);
}

.btn-join svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Notice Box - Dev & Not Configured */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  text-align: left;
  max-width: 100%;
}

.notice-dev {
  background: var(--warning-bg);
  border: 1px solid var(--warning);
}

.notice-error {
  background: var(--error-bg);
  border: 1px solid var(--error);
}

.notice-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.notice-dev .notice-icon {
  color: var(--warning);
}

.notice-error .notice-icon {
  color: var(--error);
}

.notice-content h2 {
  font-size: 0.938rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.notice-dev .notice-content h2 {
  color: var(--warning);
}

.notice-error .notice-content h2 {
  color: var(--error);
}

.notice-content p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Footer */
footer {
  padding: 24px 0;
  width: 100%;
  text-align: center;
}

footer p {
  font-size: 0.813rem;
  color: var(--fg-muted);
}

footer a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--fg);
}

/* Hidden elements */
.hidden {
  display: none !important;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
