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

:root {
  /* Modern color palette with blue-purple gradient theme */
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --dark: #0a0e1a;
  --dark-light: #141827;
  --glass: rgba(20, 24, 39, 0.6);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Animated gradient orbs floating in background */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary), transparent);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary), transparent);
  bottom: -150px;
  left: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent), transparent);
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}
.hero-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.hero-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}
.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
}

/* Default desktop */
.nav-menu {
    display: flex;
    gap: 24px;
}

/* Button hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.35);
}
.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%)
            invert(36%) sepia(76%)
            saturate(7492%)
            hue-rotate(255deg)
            brightness(92%)
            contrast(105%);
}
/* Default desktop */
.nav-menu {
    display: flex;
    gap: 24px;
}

/* Button hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }
}


@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

/* Glassmorphism effect utility class */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(20px);
  padding: 20px 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.brand-icon {
  font-size: 28px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s;
}

.nav-menu a:hover {
  color: var(--text);
}

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

/* Modern CTA button in navbar */
.btn-nav {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Modern status badge with pulse animation */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 32px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Modern glassmorphism server info cards */
.server-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.info-card {
  padding: 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

.info-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.info-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

/* Modern hero action buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: var(--glass);
  backdrop-filter: blur(20px);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(20, 24, 39, 0.8);
}

/* Features Section */
.features {
  padding: 120px 0;
  position: relative;
}

/* Modern section labels and descriptions */
.section-label {
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 16px;
}

.section-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.section-description {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Modern glassmorphism feature cards */
.feature-card {
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotateZ(5deg);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

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

/* New badge for feature cards */
.feature-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

/* Ranks Section */
.ranks {
  padding: 120px 0;
  background: var(--dark-light);
  position: relative;
}

/* Modern toggle switch for rank tabs */
.rank-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 64px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.rank-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 12px 32px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.tab-badge {
  background: var(--warning);
  color: var(--dark);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Modern glassmorphism rank cards */
.rank-card {
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.rank-card:hover {
  transform: translateY(-12px);
}

.rank-card.popular {
  border-color: var(--warning);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
}

/* Modern popular badge with icon */
.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--warning);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.rank-header {
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rank-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* Adding icons to rank headers */
.rank-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.rank-header.squire {
  background: linear-gradient(135deg, #64748b, #475569);
}

.rank-header.knight {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.rank-header.baron {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.rank-header.count {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.rank-header.duke {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.rank-header h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
}

.rank-price {
  text-align: center;
  padding: 32px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.currency {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
}

.period {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.rank-features {
  list-style: none;
  padding: 0 32px 32px;
}

.rank-features li {
  padding: 12px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-features li:last-child {
  border-bottom: none;
}

/* Styled checkmarks */
.check {
  color: var(--success);
  font-weight: 700;
  font-size: 18px;
}

.btn-rank {
  width: calc(100% - 64px);
  margin: 0 32px 32px;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-rank:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* Team Section */
.team {
  padding: 120px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

/* Modern glassmorphism team cards */
.team-card {
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
}

.team-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.team-avatar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.team-card:hover .team-avatar::before {
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}

.avatar-icon {
  font-size: 48px;
}

.team-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.team-role {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* Online status indicator */
.team-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
}

.team-status.offline {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

.team-status:not(.offline) .status-dot {
  animation: pulse 2s infinite;
}

/* Footer */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--dark-light);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 400px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.link-group h4 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 16px;
}

.link-group a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s;
  font-size: 14px;
}

.link-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: translateY(-4px);
  border-color: transparent;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 56px;
  }

  .section-title {
    font-size: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .server-info {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
  }

  .section-description {
    font-size: 16px;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .rank-tabs {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .rank-tab {
    width: 100%;
    justify-content: center;
  }
}
