:root {
  --primary-color: #000000;
  --secondary-color: #333;
  --accent-color: #2196F3;
  --accent-glow: #64B5F6;
  --text-color: #FFFFFF;
  --background-color: #0a0a0a;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: -3;
}

.background-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(33, 150, 243, 0.1), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-color);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.logo-text {
  color: var(--accent-color);
}

.logo-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shine 3s infinite;
}

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

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.hero {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  margin-top: 4rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.highlight {
  background: linear-gradient(120deg, var(--accent-color), var(--accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.3s;
}

.server-stats {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  margin: 3rem auto;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.6s;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(33, 150, 243, 0.1), transparent 70%);
  animation: rotate 10s linear infinite;
}

.player-count {
  font-size: 2rem;
  position: relative;
}

.ip-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.9s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-ip {
  font-family: monospace;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.copy-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shine 3s infinite;
}

.copy-btn:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  to {
    left: 200%;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1200px;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 1.2s;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(33, 150, 243, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.feature-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.about-section {
  max-width: 1000px;
  margin: 6rem auto 4rem;
  padding: 0 2rem;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 1.5s;
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  text-align: center;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 12px;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.ranks-container {
  max-width: 1200px;
  margin: 8rem auto 4rem;
  padding: 2rem;
}

.ranks-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.ranks-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.ranks-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.ranks-grid {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.rank-card {

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  width: 30%;
}


.rank-card:nth-child(1) { 
  animation: fadeInUp 1s forwards 0.2s; 
}

.rank-card:nth-child(2) { 
  animation: fadeInUp 1s forwards 0.4s; 
}

.rank-card:nth-child(3) { 
  animation: fadeInUp 1s forwards 0.6s; 
}

.rank-card:nth-child(4) { 
  animation: fadeInUp 1s forwards 0.8s; 
}

.rank-card:nth-child(5) { 
  animation: fadeInUp 1s forwards 1s; 
}

.rank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(33, 150, 243, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.rank-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border: solid #1976D2;
}

.rank-card:hover::before {
  opacity: 1;
}

.armor-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.3));
  transition: var(--transition);
}

.rank-card:hover .armor-icon {
  transform: scale(1.1);
}

.rank-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, var(--accent-color), var(--accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rank-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1.5rem 0;
  color: var(--text-color);
}

.rank-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.rank-features li {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.rank-features li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
}

.buy-button {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.buy-button:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.buy-button .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shine 3s infinite;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    flex-direction: column;
  }
  
  .stat-item {
    width: 100%;
  }
  
  .about-section h2 {
    font-size: 2rem;
  }
  
  .about-text {
    font-size: 1rem;
  }
  
  .ranks-header h1 {
    font-size: 2.5rem;
  }
  
  .ranks-grid {
    grid-template-columns: 1fr;
  }
}

footer {
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.made-with-love {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.heart {
  color: #ff4d4d;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}