* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00d4ff;
  --secondary: #7b2cbf;
  --accent: #ff6b6b;
  --bg-dark: #0a0a0f;
  --card-bg: rgba(20, 20, 35, 0.7);
  --text: #ffffff;
  --text-muted: #a0a0b8;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(123, 44, 191, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse at 50% 80%,
      rgba(255, 107, 107, 0.08) 0%,
      transparent 40%
    ),
    var(--bg-dark);
}


/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1.2rem 5%;

  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;

  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}


/* Hero */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 6rem 1.5rem 4rem;
}

.hero-content {
  max-width: 700px;
}

.badge {
  display: inline-block;

  background: rgba(0, 212, 255, 0.15);

  border: 1px solid rgba(0, 212, 255, 0.3);

  color: var(--primary);

  padding: 0.4rem 1.2rem;

  border-radius: 50px;

  font-size: 0.9rem;
  font-weight: 500;

  margin-bottom: 1.5rem;

  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
  }
}

h1 {
  font-family: 'Orbitron', sans-serif;

  font-size: clamp(2.2rem, 6vw, 3.8rem);

  font-weight: 900;

  line-height: 1.2;

  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
}

.subtitle {
  font-size: 1.2rem;

  color: var(--text-muted);

  margin-bottom: 2.5rem;
}


/* IP Box */

.ip-box {
  background: var(--card-bg);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 16px;

  padding: 1.5rem 2rem;

  margin-bottom: 1.5rem;

  backdrop-filter: blur(10px);

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.ip-box:hover {
  transform: translateY(-4px);

  box-shadow:
    0 12px 40px rgba(0, 212, 255, 0.15);
}

.ip-label {
  font-size: 0.85rem;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 1.5px;

  margin-bottom: 0.8rem;
}

.ip-row {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 1rem;

  flex-wrap: wrap;
}

.ip-address {
  font-family: 'Orbitron', sans-serif;

  font-size: 1.6rem;

  font-weight: 700;

  color: var(--primary);

  letter-spacing: 1px;
}

.copy-btn {
  display: flex;

  align-items: center;

  gap: 0.5rem;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      #0099cc
    );

  color: #000;

  border: none;

  padding: 0.7rem 1.4rem;

  border-radius: 10px;

  font-weight: 600;

  font-size: 0.95rem;

  cursor: pointer;

  transition: all 0.3s;
}

.copy-btn:hover {
  transform: scale(1.05);

  box-shadow:
    0 0 20px rgba(0, 212, 255, 0.5);
}

.copy-btn.copied {
  background:
    linear-gradient(
      135deg,
      #00c853,
      #00a844
    );
}


/* Discord */

.discord-btn {
  display: inline-flex;

  align-items: center;

  gap: 0.8rem;

  background: #5865F2;

  color: white;

  text-decoration: none;

  padding: 1rem 2rem;

  border-radius: 12px;

  font-weight: 600;

  font-size: 1.05rem;

  transition: all 0.3s;

  box-shadow:
    0 4px 20px rgba(88, 101, 242, 0.4);
}

.discord-btn:hover {
  background: #4752c4;

  transform: translateY(-3px);

  box-shadow:
    0 8px 30px rgba(88, 101, 242, 0.6);
}


/* Features */

.features {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(250px, 1fr)
    );

  gap: 1.5rem;

  padding: 0 5% 4rem;

  max-width: 1100px;

  margin: 0 auto;
}

.feature-card {
  background: var(--card-bg);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 16px;

  padding: 2rem 1.5rem;

  text-align: center;

  backdrop-filter: blur(10px);

  transition: all 0.3s;

  cursor: pointer;

  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);

  border-color:
    rgba(0, 212, 255, 0.3);

  box-shadow:
    0 10px 30px rgba(0, 212, 255, 0.1);
}

.feature-icon {
  font-size: 2.5rem;

  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: 'Orbitron', sans-serif;

  margin-bottom: 0.5rem;

  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-muted);

  font-size: 0.95rem;
}

.click-hint {
  display: block;

  margin-top: 1rem;

  font-size: 0.8rem;

  color: var(--primary);

  opacity: 0.7;
}


/* Rangos */

.ranks-section {
  padding: 4rem 5% 6rem;

  max-width: 1200px;

  margin: 0 auto;

  text-align: center;
}

.section-title {
  font-family: 'Orbitron', sans-serif;

  font-size:
    clamp(1.8rem, 4vw, 2.8rem);

  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);

  margin-bottom: 3rem;

  font-size: 1.1rem;
}

.ranks-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(240px, 1fr)
    );

  gap: 1.5rem;

  margin-bottom: 2.5rem;
}

.rank-card {
  background: var(--card-bg);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 18px;

  padding: 2rem 1.5rem;

  position: relative;

  transition: all 0.3s;

  display: flex;

  flex-direction: column;
}

.rank-card:hover {
  transform: translateY(-10px);
}

.rank-card.believer {
  border-color:
    rgba(100, 180, 255, 0.3);
}

.rank-card.believer:hover {
  box-shadow:
    0 12px 35px rgba(100, 180, 255, 0.2);
}

.rank-card.angel {
  border-color:
    rgba(255, 220, 100, 0.35);
}

.rank-card.angel:hover {
  box-shadow:
    0 12px 35px rgba(255, 220, 100, 0.2);
}

.rank-card.astral {
  border-color:
    rgba(180, 100, 255, 0.4);
}

.rank-card.astral:hover {
  box-shadow:
    0 12px 35px rgba(180, 100, 255, 0.25);
}

.rank-card.demon {
  border-color:
    rgba(255, 80, 80, 0.4);
}

.rank-card.demon:hover {
  box-shadow:
    0 12px 35px rgba(255, 80, 80, 0.25);
}

.rank-card.popular {
  border-width: 2px;
}

.popular-tag {
  position: absolute;

  top: -12px;

  left: 50%;

  transform: translateX(-50%);

  background:
    linear-gradient(
      135deg,
      #7b2cbf,
      #00d4ff
    );

  color: white;

  font-size: 0.75rem;

  font-weight: 600;

  padding: 0.3rem 1rem;

  border-radius: 20px;

  letter-spacing: 0.5px;
}

.rank-badge {
  font-family: 'Orbitron', sans-serif;

  font-size: 1.4rem;

  font-weight: 700;

  margin-bottom: 0.8rem;
}

.believer .rank-badge {
  color: #64b4ff;
}

.angel .rank-badge {
  color: #ffdc64;
}

.astral .rank-badge {
  color: #b464ff;
}

.demon .rank-badge {
  color: #ff5050;
}

.rank-price {
  font-size: 2rem;

  font-weight: 700;

  margin-bottom: 1.2rem;

  color: white;
}

.rank-perks {
  list-style: none;

  text-align: left;

  margin-bottom: 1.5rem;

  flex-grow: 1;
}

.rank-perks li {
  padding: 0.4rem 0;

  color: var(--text-muted);

  font-size: 0.95rem;
}

.rank-btn {
  display: block;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  text-decoration: none;

  padding: 0.8rem;

  border-radius: 10px;

  font-weight: 600;

  transition: all 0.3s;

  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-btn:hover {
  background: rgba(255, 255, 255, 0.15);

  transform: scale(1.03);
}

.believer .rank-btn:hover {
  background: rgba(100, 180, 255, 0.2);
  border-color: #64b4ff;
}

.angel .rank-btn:hover {
  background: rgba(255, 220, 100, 0.2);
  border-color: #ffdc64;
}

.astral .rank-btn:hover {
  background: rgba(180, 100, 255, 0.2);
  border-color: #b464ff;
}

.demon .rank-btn:hover {
  background: rgba(255, 80, 80, 0.2);
  border-color: #ff5050;
}

.buy-note {
  background:
    rgba(88, 101, 242, 0.1);

  border:
    1px solid rgba(88, 101, 242, 0.3);

  border-radius: 12px;

  padding: 1.2rem 1.5rem;

  color: var(--text-muted);

  font-size: 0.95rem;

  max-width: 600px;

  margin: 0 auto;

  line-height: 1.6;
}

.buy-note strong {
  color: #a5b4fc;
}


/* Footer */

footer {
  text-align: center;

  padding: 2rem;

  color: var(--text-muted);

  font-size: 0.9rem;

  border-top:
    1px solid rgba(255, 255, 255, 0.05);
}


/* MODALES */

.modal {
  display: none;

  position: fixed;

  z-index: 1000;

  left: 0;
  top: 0;

  width: 100%;
  height: 100%;

  background:
    rgba(0, 0, 0, 0.75);

  backdrop-filter: blur(6px);

  animation: fadeIn 0.25s ease;
}

.modal.show {
  display: flex;

  align-items: center;

  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: #12121c;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  border-radius: 18px;

  padding: 2rem;

  width: 90%;

  max-width: 560px;

  max-height: 85vh;

  overflow-y: auto;

  position: relative;

  animation: slideUp 0.3s ease;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;

  top: 1rem;

  right: 1.2rem;

  font-size: 1.8rem;

  color: var(--text-muted);

  cursor: pointer;

  transition: color 0.2s;

  line-height: 1;
}

.close-btn:hover {
  color: white;
}

.modal-content h2 {
  font-family: 'Orbitron', sans-serif;

  font-size: 1.6rem;

  margin-bottom: 1.2rem;

  padding-right: 2rem;
}

.modal-body h3 {
  font-size: 1.1rem;

  margin: 1.3rem 0 0.6rem;

  color: var(--primary);
}

.modal-body ul {
  list-style: none;

  margin-bottom: 0.5rem;
}

.modal-body li {
  padding: 0.35rem 0;

  color: var(--text-muted);

  font-size: 0.95rem;

  line-height: 1.4;
}


/* Winners */

.winners-list {
  display: flex;

  flex-direction: column;

  gap: 0.8rem;

  margin-top: 0.8rem;
}

.winner-card {
  display: flex;

  align-items: center;

  gap: 0.9rem;

  background:
    rgba(255, 255, 255, 0.04);

  border:
    1px solid rgba(255, 255, 255, 0.06);

  border-radius: 12px;

  padding: 0.7rem 1rem;

  transition: background 0.2s;
}

.winner-card:hover {
  background:
    rgba(255, 255, 255, 0.07);
}

.mc-head {
  width: 40px;

  height: 40px;

  border-radius: 8px;

  image-rendering: pixelated;
}

.winner-info {
  flex: 1;

  display: flex;

  flex-direction: column;
}

.winner-name {
  font-weight: 600;

  font-size: 0.95rem;
}

.winner-prize {
  font-size: 0.8rem;

  color: var(--text-muted);
}

.winner-place {
  font-size: 1.4rem;
}


/* Responsive */

@media (max-width: 600px) {

  .nav-links {
    display: none;
  }

  .ip-address {
    font-size: 1.2rem;
  }

  .ip-box {
    padding: 1.2rem;
  }

  .modal-content {
    padding: 1.5rem;
  }

}
