/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0e0c14;
  --bg-card:      #15121f;
  --bg-card2:     #1c1828;
  --purple:       #b49dff;
  --purple-soft:  #8b72e8;
  --purple-deep:  #6b52c8;
  --purple-glow:  rgba(180, 157, 255, 0.12);
  --purple-border:rgba(180, 157, 255, 0.2);
  --text:         #f0ecff;
  --text-muted:   #9990b8;
  --text-faint:   #5a5478;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --transition:   0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Partículas ── */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0;
  animation: float-particle 12s infinite;
}

.particles span:nth-child(1)  { width: 4px;  height: 4px;  left: 10%;  animation-delay: 0s;   animation-duration: 14s; }
.particles span:nth-child(2)  { width: 3px;  height: 3px;  left: 25%;  animation-delay: 2s;   animation-duration: 11s; }
.particles span:nth-child(3)  { width: 5px;  height: 5px;  left: 40%;  animation-delay: 4s;   animation-duration: 16s; }
.particles span:nth-child(4)  { width: 2px;  height: 2px;  left: 55%;  animation-delay: 1s;   animation-duration: 13s; }
.particles span:nth-child(5)  { width: 4px;  height: 4px;  left: 70%;  animation-delay: 3s;   animation-duration: 15s; }
.particles span:nth-child(6)  { width: 3px;  height: 3px;  left: 85%;  animation-delay: 5s;   animation-duration: 12s; }
.particles span:nth-child(7)  { width: 6px;  height: 6px;  left: 15%;  animation-delay: 6s;   animation-duration: 18s; }
.particles span:nth-child(8)  { width: 2px;  height: 2px;  left: 30%;  animation-delay: 7s;   animation-duration: 10s; }
.particles span:nth-child(9)  { width: 4px;  height: 4px;  left: 60%;  animation-delay: 2.5s; animation-duration: 14s; }
.particles span:nth-child(10) { width: 3px;  height: 3px;  left: 75%;  animation-delay: 8s;   animation-duration: 17s; }
.particles span:nth-child(11) { width: 5px;  height: 5px;  left: 90%;  animation-delay: 4.5s; animation-duration: 13s; }
.particles span:nth-child(12) { width: 2px;  height: 2px;  left: 45%;  animation-delay: 9s;   animation-duration: 11s; }

@keyframes float-particle {
  0%   { transform: translateY(110vh) scale(0); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 1.5rem;
  background: rgba(14, 12, 20, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--purple-border);
  height: 60px;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-border);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--purple); }

/* ── Hero ── */
main { position: relative; z-index: 1; }

.hero {
  min-height: 100vh;
  padding: 100px 1.5rem 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Profile Card ── */
.profile-card {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--purple-border);
  background: var(--bg-card);
  box-shadow: 0 0 60px rgba(107, 82, 200, 0.15);
  animation: card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.banner-wrap {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%);
}

.profile-body {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.avatar-ring {
  position: relative;
  margin-top: -44px;
  flex-shrink: 0;
}

.avatar-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-card);
  box-shadow: 0 0 0 3px var(--purple-soft);
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 3px;
  width: 21px;
  height: 21px;
  background: #3ba55c;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
}

.profile-info {
  padding-bottom: 4px;
}

.profile-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.profile-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Hero text ── */
.hero-text {
  text-align: center;
  animation: text-in 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes text-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.accent {
  color: var(--purple);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--purple-soft);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(139, 114, 232, 0.35);
}

.btn-login:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 114, 232, 0.5);
}

.btn-login:active { transform: translateY(0); }

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

/* ── Stats ── */
.stats {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--purple-border);
  border-bottom: 1px solid var(--purple-border);
  background: var(--bg-card);
}

.stats-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 1rem;
}

.stat-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--purple-border);
  flex-shrink: 0;
}

/* ── Features ── */
.features {
  padding: 5rem 1.5rem;
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: var(--purple-soft);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(107, 82, 200, 0.18);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--purple-glow);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--purple);
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--purple-border);
  padding: 2rem 1.5rem;
  background: var(--bg-card);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .navbar { padding: 0 1rem; }
  .nav-links { display: none; }

  .hero {
    padding: 90px 1rem 60px;
    gap: 2rem;
  }

  .profile-card { max-width: 100%; }

  .banner-wrap { height: 90px; }

  .avatar-img { width: 72px; height: 72px; }
  .avatar-ring { margin-top: -36px; }
  .status-dot { width: 13px; height: 13px; }

  .profile-name { font-size: 1.2rem; }
  .profile-body { gap: 0.75rem; padding: 0 1rem 1rem; }

  .stat-divider { display: none; }
  .stats-inner { gap: 0.5rem; }
  .stat-item { min-width: 100px; padding: 0.75rem 0.5rem; }
  .stat-num { font-size: 1.8rem; }

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

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.7rem; }
  .btn-login { font-size: 0.88rem; padding: 0.65rem 1.4rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .particles { display: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}