/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Cores */
.purple {
  color: #a855f7;
}
.green {
  color: #22c55e;
}
.blue {
  color: #3b82f6;
}
.yellow {
  color: #eab308;
}
.red {
  color: #ef4444;
}
.indigo {
  color: #6366f1;
}

/* Header */
.header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  font-size: 2rem;
  color: #a855f7;
}

.nav-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #a855f7;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: #7c3aed;
  color: white;
}

.btn-primary:hover {
  background: #6d28d9;
}

.btn-outline {
  background: transparent;
  color: #a855f7;
  border: 1px solid #a855f7;
}

.btn-outline:hover {
  background: #a855f7;
  color: white;
}

.btn-discord {
  background: #5865f2;
  color: white;
}

.btn-discord:hover {
  background: #4752c4;
}

/* Hero Section */
.hero {
  padding: 8rem 1rem 5rem;
  text-align: center;
  margin-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  display: block;
  font-size: 2rem;
  color: #a855f7;
  margin-top: 0.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.server-ip {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

.server-ip code {
  color: #22c55e;
  font-family: "Courier New", monospace;
}

.copy-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: color 0.3s;
}

.copy-btn:hover {
  color: #a855f7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: #d1d5db;
}

/* Features Section */
.features {
  padding: 5rem 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-icon.purple {
  background: rgba(168, 85, 247, 0.2);
}
.feature-icon.green {
  background: rgba(34, 197, 94, 0.2);
}
.feature-icon.blue {
  background: rgba(59, 130, 246, 0.2);
}
.feature-icon.yellow {
  background: rgba(234, 179, 8, 0.2);
}
.feature-icon.red {
  background: rgba(239, 68, 68, 0.2);
}
.feature-icon.indigo {
  background: rgba(99, 102, 241, 0.2);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: #d1d5db;
}

/* Connect Section */
.connect {
  padding: 5rem 1rem;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.connect-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.connect-step {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.connect-step.purple {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}
.connect-step.green {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}
.connect-step.blue {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.connect-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.connect-description {
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.ip-display {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.ip-display code {
  color: #22c55e;
  font-size: 0.875rem;
}

/* Rules Section */
.rules {
  padding: 5rem 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.rule-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rule-header i {
  font-size: 1.25rem;
}

.rule-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.rule-list {
  list-style: none;
  color: #d1d5db;
}

.rule-list li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.rule-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a855f7;
}

/* Footer */
.footer {
  padding: 3rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-brand i {
  color: #a855f7;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.footer-bottom {
  text-align: center;
  color: #9ca3af;
}

.footer-disclaimer {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #22c55e;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s;
  z-index: 1000;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .server-ip {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 1rem 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .connect-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }
}
