/* ============================================================
   COMMUNITY BOT by SterGD
   Super cool design · No emoji · Decorative fonts
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
  --bg-deep: #05050a;
  --bg-card: #0c0c14;
  --bg-elevated: #12121c;
  --line: rgba(120, 90, 255, 0.25);
  --line-bright: rgba(160, 120, 255, 0.55);
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --accent-3: #a78bfa;
  --text: #e8e6f0;
  --text-dim: #9b97b0;
  --success: #34d399;
  --glow: 0 0 40px rgba(139, 92, 246, 0.35);
  --radius: 18px;
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Rajdhani', system-ui, sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  line-height: 1.55;
}

/* Animated grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(34, 211, 238, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(167, 139, 250, 0.1), transparent 45%),
    var(--bg-deep);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

/* Layout */
.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, var(--accent-3) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-color: var(--line-bright);
  background: rgba(139, 92, 246, 0.12);
}

/* Hero */
.hero {
  text-align: center;
  padding: 28px 0 48px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(34, 211, 238, 0.06);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  background: linear-gradient(105deg, #ffffff 10%, var(--accent) 45%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--text-dim);
  font-size: 1.15rem;
  font-weight: 500;
}

/* Cards */
.card {
  background: linear-gradient(160deg, rgba(18, 18, 28, 0.95), rgba(12, 12, 20, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-dim);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 16px 28px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #0a0a12;
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 45%, #22d3ee 100%);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-bright);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-3);
}

.btn-discord {
  color: #fff;
  background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.4);
  width: 100%;
  max-width: 360px;
}

.btn-discord:hover {
  box-shadow: 0 12px 36px rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* Steps */
.steps {
  display: grid;
  gap: 16px;
  margin: 40px 0;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent-3);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.step p {
  color: var(--text-dim);
  font-size: 0.98rem;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 36px 0 48px;
}

.feature {
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--accent-3);
}

.feature p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Centered action area */
.action-panel {
  text-align: center;
  margin: 32px auto;
  max-width: 420px;
}

.action-panel .hint {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* Status / success */
.status-box {
  text-align: center;
  padding: 48px 28px;
}

.status-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 2px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--success);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.3);
}

.status-box h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.status-box p {
  color: var(--text-dim);
  max-width: 440px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding-top: 48px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.site-footer .credit {
  margin-top: 6px;
  letter-spacing: 0.12em;
  color: var(--accent-3);
}

/* Decorative frame corners */
.frame {
  position: relative;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.7;
}

.frame::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.frame::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 2px 2px 0;
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-bright), transparent);
  margin: 40px 0;
}

/* Responsive */
@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px 18px;
  }
}
