/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.5s ease;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  transition: all 0.5s ease;
}

.nav-content {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid #374151;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2.5rem;
  transition: all 0.5s ease;
}

.logo-link {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-link:hover {
  color: #60a5fa;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

@keyframes fall {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0.8;
  }
}


.nav-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #60a5fa;
}

/* Falling Snow */
.snowflake {
  position: fixed;
  top: -10px;
  left: 0;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
  animation: fall-snow linear infinite;
}

@keyframes fall-snow {
  0% {
    transform: translateY(0vh) translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) translateX(50px);
    opacity: 0;
  }
}

.login-button {
  background: #374151;
  border: none;
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.login-button:hover {
  background: #4b5563;
}

.login-link {
  color: #fff;
  text-decoration: none;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
}

.nav-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/* Main Content */
.main-content {
  min-height: 100vh;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url("../images/New%20Project%20%2829%29.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 100vh;
}

.hero-text {
  width: 100%;
  max-width: 64rem;
  margin-top: -8rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.5s forwards;
}

.hero-title-main {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-title-accent {
  color: #60a5fa;
}

/* Hero Cards */
.hero-cards {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 20;
}

.hero-cards-container {
  max-width: 1280px;
  margin: 0 auto;
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.hero-card {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  group: hover;
  cursor: pointer;
}

.hero-card:hover {
  border-color: #3b82f6;
  transform: scale(1.05);
}

.hero-card-image {
  height: 8rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.hero-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  transition: all 0.3s ease;
}

.hero-card:hover .hero-card-title {
  color: #60a5fa;
}

.hero-card-text {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Server Info Section */
.server-info-section {
  padding: 5rem 0;
  background: #000;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.info-card {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.info-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.info-card-text {
  color: #d1d5db;
  margin-bottom: 1rem;
}

/* Activities Section */
.activities-section {
  margin-top: 5rem;
  margin-bottom: 4rem;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.activity-card {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid #374151;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.activity-card.activity-legal:hover {
  border-color: #10b981;
}

.activity-card.activity-illegal:hover {
  border-color: #f97316;
}

.activity-card.activity-dangerous:hover {
  border-color: #ef4444;
}

.activity-card.activity-extreme:hover {
  border-color: #eab308;
}

.activity-card.activity-medium:hover {
  border-color: #10b981;
}

.activity-card.activity-brutal:hover {
  border-color: #a855f7;
}

.activity-image {
  height: 12rem;
  background: #374151;
  position: relative;
  overflow: hidden;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-content {
  padding: 1.5rem;
}

.activity-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.activity-status {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.activity-status-legal {
  background: #10b981;
}

.activity-status-illegal {
  background: #f97316;
}

.activity-status-dangerous {
  background: #ef4444;
}

.activity-status-extreme {
  background: #eab308;
}

.activity-status-medium {
  background: #10b981;
}

.activity-status-brutal {
  background: #a855f7;
}

.activity-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.activity-description {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.activity-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.activity-reward {
  font-weight: 500;
}

.activity-risk {
  font-size: 0.75rem;
  color: #6b7280;
}

.activity-risk span {
  margin-right: 1rem;
}

/* Additional Info */
.additional-info {
  margin-top: 8rem;
}

.additional-info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.additional-info-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.additional-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.additional-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.additional-info-item p {
  color: #d1d5db;
}

.discord-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.discord-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

.discord-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.discord-link:hover .discord-image {
  transform: scale(1.05);
}

.discord-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.discord-link:hover .discord-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.discord-cta {
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.discord-link:hover .discord-cta {
  border-color: #3b82f6;
  background: rgba(0, 0, 0, 0.8);
}

.discord-cta-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.discord-link:hover .discord-cta-text {
  color: #60a5fa;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #111827cc, #111827cc);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #111827cc, #111827cc);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-content {
    padding: 0.5rem 1rem;
  }

  .hero-cards-grid {
    grid-template-columns: 1fr;
  }

  .additional-info-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

@media (max-width: 480px) {
  .hero-cards {
    left: 1rem;
    right: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }
}

/* Footer */
footer {
  padding: 2rem 0;
  background: #000;
  border-top: 1px solid #374151;
}

footer .container {
  text-align: center;
}

footer p {
  color: #9ca3af;
}

/* Scrolled Navigation State */
.main-nav.scrolled {
  padding: 0.5rem 0;
}

.main-nav.scrolled .nav-container {
  max-width: 1024px;
  padding: 0 1rem;
}

.main-nav.scrolled .nav-content {
  padding: 0.5rem 1rem;
}

.main-nav.scrolled .logo-link {
  font-size: 1.125rem;
}

.main-nav.scrolled .nav-link {
  font-size: 0.75rem;
}

.main-nav.scrolled .login-button {
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
}

/* Staff Team Page Styles */
.staff-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.staff-hero-background {
  position: absolute;
  inset: 0;
  background-image: url("../images/New%20Project%20%2829%29.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.staff-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.staff-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 2rem;
  width: 100%;
}

.staff-page-title {
  text-align: center;
  margin-bottom: 4rem;
}

.staff-main-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.3s forwards;
}

.staff-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.5s forwards;
}

/* Project Owners Section */
.project-owners-section {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.7s forwards;
}

.owners-header {
  text-align: center;
  margin-bottom: 2rem;
}

.owners-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid #4b5563;
  border-radius: 9999px;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.owners-badge:hover {
  border-color: #3b82f6;
}

.crown-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  color: #eab308;
}

.owners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.owner-card {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.owner-card:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.owner-avatar-container {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #3b82f6;
  transition: all 0.3s ease;
}

.owner-card:hover .owner-avatar-container {
  border-color: #60a5fa;
}

.owner-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.owner-role {
  color: #60a5fa;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.owner-description {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Staff Team Section */
.staff-team-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.9s forwards;
}

.staff-team-header {
  text-align: center;
  margin-bottom: 3rem;
}

.staff-team-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.staff-team-description {
  color: #d1d5db;
}

/* Team Category */
.team-category {
  margin-bottom: 3rem;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: rgba(31, 41, 55, 0.6);
  border-radius: 0.5rem;
  border: 1px solid #374151;
}

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

.team-member {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  group: hover;
}

.team-member:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.member-avatar-container {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #4b5563;
  transition: all 0.3s ease;
}

.team-member:hover .member-avatar-container {
  border-color: #60a5fa;
}

.member-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.member-role {
  color: #60a5fa;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.member-description {
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Contact Section */
.contact-section {
  margin-top: 5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 1.1s forwards;
}

.contact-card {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 32rem;
  margin: 0 auto;
}

.contact-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.users-icon {
  width: 2rem;
  height: 2rem;
  color: #60a5fa;
  margin-right: 0.75rem;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.contact-description {
  color: #d1d5db;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #3b82f6;
  color: #fff;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.discord-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* Error Message */
.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .owners-grid {
    grid-template-columns: 1fr;
  }

  .team-members-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .staff-hero-content {
    padding: 6rem 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .team-members-grid {
    grid-template-columns: 1fr;
  }

  .staff-main-title {
    font-size: 2.5rem;
  }

  .staff-subtitle {
    font-size: 1rem;
  }
}

/* Statistics Page Styles */
.stats-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.stats-hero-background {
  position: absolute;
  inset: 0;
  background-image: url("../images/New%20Project%20%2829%29.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stats-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.stats-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 2rem;
  width: 100%;
}

.stats-page-title {
  text-align: center;
  margin-bottom: 4rem;
}

.stats-main-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.3s forwards;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 96rem;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.7s forwards;
}

.stat-box {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-box:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-box.wide {
  grid-column: span 2;
}

.stat-icon {
  font-size: 1.5rem;
  color: #60a5fa;
  margin-bottom: 1rem;
  display: block;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.stat-label {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.stat-note {
  color: #9ca3af;
  font-size: 0.875rem;
  display: block;
  margin-top: 0.25rem;
}

/* Special styling for different stat types */
.stat-box:nth-child(1) {
  grid-column: span 2;
}

.stat-box:nth-child(1) .stat-value {
  font-size: 2.5rem;
}

.stat-box:nth-child(2) {
  grid-column: span 2;
}

.stat-box:nth-child(3) .stat-icon {
  color: #10b981;
}

.stat-box:nth-child(4) .stat-icon {
  color: #eab308;
}

.stat-box:nth-child(5) .stat-icon {
  color: #3b82f6;
}

.stat-box:nth-child(6) .stat-icon {
  color: #8b5cf6;
}

.stat-box:nth-child(7) .stat-icon {
  color: #10b981;
}

.stat-box:nth-child(8) .stat-icon {
  color: #ef4444;
}

.stat-box:nth-child(9) .stat-icon {
  color: #f97316;
}

/* Last Updated Note */
.last-updated-note {
  text-align: center;
  margin-top: 2rem;
  color: #9ca3af;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 1.1s forwards;
}

/* Error Message for Stats */
.stats-error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin: 2rem 0;
  font-size: 1.125rem;
}

/* Responsive Design for Stats */
@media (max-width: 1024px) {
  .stat-box.wide,
  .stat-box:nth-child(1),
  .stat-box:nth-child(2) {
    grid-column: span 1;
  }

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

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-box {
    padding: 1.5rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .stats-hero-content {
    padding: 6rem 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .stats-main-title {
    font-size: 2.5rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .stat-box {
    padding: 1rem;
  }
}

/* Loading Animation for Stats */
.stats-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.stats-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #374151;
  border-top: 4px solid #60a5fa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Hover effects for specific stat boxes */
.stat-box:hover .stat-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.stat-box:hover .stat-value {
  color: #60a5fa;
  transition: color 0.3s ease;
}

/* Special styling for money stat */
.stat-box:nth-child(4) .stat-value {
  background: linear-gradient(45deg, #eab308, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Special styling for ban stats */
.stat-box:nth-child(8):hover {
  border-color: #ef4444;
}

.stat-box:nth-child(9):hover {
  border-color: #f97316;
}

/* Rules Page Styles */
.rules-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rules-hero-background {
  position: absolute;
  inset: 0;
  background-image: url("../images/New%20Project%20%2829%29.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.rules-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.rules-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 2rem;
  width: 100%;
}

.rules-page-title {
  text-align: center;
  margin-bottom: 4rem;
}

.rules-main-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.3s forwards;
}

.rules-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.5s forwards;
}

/* Search Container */
.search-container {
  max-width: 32rem;
  margin: 0 auto 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.7s forwards;
}

.search-container input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-container input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-container input::placeholder {
  color: #9ca3af;
}

/* Rules Content */
.rules-content {
  max-width: 64rem;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.9s forwards;
}

/* Rules Section */
.rules-section {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid #374151;
  border-radius: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.rules-section:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rules-section h3 {
  background: rgba(31, 41, 55, 0.8);
  padding: 1.5rem 2rem;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid #374151;
  display: flex;
  align-items: center;
}

.rules-section h3::before {
  content: "📋";
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Rules Points */
.rules-point {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #374151;
  transition: all 0.3s ease;
}

.rules-point:last-child {
  border-bottom: none;
}

.rules-point:hover {
  background: rgba(31, 41, 55, 0.3);
}

.rule-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  margin-right: 1rem;
  vertical-align: top;
}

.rules-point strong {
  color: #60a5fa;
  font-weight: 600;
  margin-right: 0.5rem;
}

.rules-point p {
  margin: 0.5rem 0;
  color: #d1d5db;
  line-height: 1.6;
}

.rules-point ul,
.rules-point ol {
  margin: 0.5rem 0 0.5rem 2rem;
  color: #d1d5db;
}

.rules-point li {
  margin: 0.25rem 0;
  line-height: 1.5;
}

.rules-point a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rules-point a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.rules-point code {
  background: rgba(31, 41, 55, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  color: #fbbf24;
}

/* Last Updated */
.rules-last-updated {
  text-align: center;
  margin-top: 3rem;
  padding: 1rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  color: #9ca3af;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 1.1s forwards;
}

.rules-last-updated i {
  margin-right: 0.5rem;
  color: #60a5fa;
}

/* Search Highlighting */
.search-highlight {
  background: rgba(251, 191, 36, 0.3);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  color: #fbbf24;
}

/* Hidden Rules (for search) */
.rules-section.hidden {
  display: none;
}

/* No Results Message */
.no-results {
  text-align: center;
  padding: 3rem;
  color: #9ca3af;
  font-size: 1.125rem;
}

.no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #6b7280;
  display: block;
}

/* Error Message for Rules */
.rules-error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin: 2rem 0;
  font-size: 1.125rem;
}

/* Responsive Design for Rules */
@media (max-width: 768px) {
  .rules-hero-content {
    padding: 6rem 1rem 2rem;
  }

  .rules-section h3 {
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
  }

  .rules-point {
    padding: 1rem 1.5rem;
  }

  .rule-number {
    min-width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .rules-main-title {
    font-size: 2.5rem;
  }

  .rules-subtitle {
    font-size: 1rem;
  }

  .search-container input {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .rules-section h3 {
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
  }

  .rules-point {
    padding: 0.75rem 1rem;
  }
}

/* Loading Animation for Rules */
.rules-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.rules-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #374151;
  border-top: 4px solid #60a5fa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Smooth Transitions */
.rules-section,
.rules-point,
.search-container input {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus States */
.rules-section:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Print Styles */
@media print {
  .rules-hero-section,
  .search-container,
  .main-nav,
  footer {
    display: none;
  }

  .rules-content {
    max-width: none;
    margin: 0;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .rules-section {
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .rules-point {
    color: #000;
  }
}

/* Wiki Page Styles */
.wiki-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wiki-hero-background {
  position: absolute;
  inset: 0;
  background-image: url("../images/New%20Project%20%2829%29.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wiki-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.wiki-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 2rem;
  width: 100%;
}

.wiki-page-title {
  text-align: center;
  margin-bottom: 4rem;
}

.wiki-main-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.3s forwards;
}

.wiki-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.5s forwards;
}

/* Wiki Layout */
.wiki-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.5s ease 0.7s forwards;
}

/* Wiki Sidebar */
.wiki-sidebar {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 8rem;
}

.wiki-sidebar h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.wiki-sidebar h3::before {
  content: "📚";
  margin-right: 0.75rem;
  font-size: 1.125rem;
}

.wiki-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wiki-category-list li {
  margin-bottom: 0.5rem;
}

.wiki-category-list a {
  display: block;
  padding: 0.75rem 1rem;
  color: #d1d5db;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.wiki-category-list a:hover {
  background: rgba(31, 41, 55, 0.6);
  color: #60a5fa;
  border-color: #374151;
}

.wiki-category-list a.active {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-color: #3b82f6;
}

/* Wiki Content */
.wiki-content {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2.5rem;
  min-height: 400px;
}

.wiki-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.wiki-content h3::before {
  content: "📄";
  margin-right: 0.75rem;
  font-size: 1.5rem;
}

/* Article Meta */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(31, 41, 55, 0.4);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.article-meta i {
  color: #60a5fa;
}

.meta-separator {
  color: #6b7280;
}

.meta-label {
  font-weight: 500;
}

.meta-value {
  color: #d1d5db;
  font-weight: 600;
}

/* Article Content */
.article-content {
  color: #d1d5db;
  line-height: 1.7;
  font-size: 1rem;
}

.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  color: #fff;
  font-weight: 600;
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.5rem;
  border-bottom: 2px solid #374151;
  padding-bottom: 0.5rem;
}

.article-content h4 {
  font-size: 1.25rem;
}

.article-content h5 {
  font-size: 1.125rem;
}

.article-content h6 {
  font-size: 1rem;
}

.article-content p {
  margin: 1rem 0;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin: 0.5rem 0;
}

.article-content a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-content a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.article-content code {
  background: rgba(31, 41, 55, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  color: #fbbf24;
}

.article-content pre {
  background: rgba(31, 41, 55, 0.8);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.article-content pre code {
  background: none;
  padding: 0;
}

.article-content blockquote {
  border-left: 4px solid #60a5fa;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #9ca3af;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.article-content th,
.article-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #374151;
}

.article-content th {
  background: rgba(31, 41, 55, 0.6);
  font-weight: 600;
  color: #fff;
}

/* Wiki Article List */
.wiki-article-list-public {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wiki-article-list-public li {
  margin-bottom: 1rem;
}

.wiki-article-list-public a {
  display: block;
  padding: 1rem 1.5rem;
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid #374151;
  border-radius: 0.5rem;
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.3s ease;
}

.wiki-article-list-public a:hover {
  background: rgba(31, 41, 55, 0.6);
  border-color: #3b82f6;
  color: #60a5fa;
  transform: translateY(-2px);
}

.wiki-article-list-public a::before {
  content: "📄";
  margin-right: 0.75rem;
}

/* Back Links */
.wiki-back-link {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid #374151;
  border-radius: 0.5rem;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.wiki-back-link:hover {
  background: rgba(31, 41, 55, 0.6);
  border-color: #3b82f6;
  color: #60a5fa;
}

.wiki-back-link::before {
  content: "←";
  margin-right: 0.5rem;
}

/* Welcome Message */
.wiki-welcome {
  text-align: center;
  padding: 3rem;
  color: #9ca3af;
}

.wiki-welcome h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.wiki-welcome h3::before {
  content: "👋";
  margin-right: 0.75rem;
}

/* Error Message for Wiki */
.wiki-error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin: 2rem 0;
  font-size: 1.125rem;
}

/* Responsive Design for Wiki */
@media (max-width: 1024px) {
  .wiki-layout {
    grid-template-columns: 250px 1fr;
    gap: 2rem;
  }

  .wiki-sidebar {
    padding: 1.5rem;
  }

  .wiki-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .wiki-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .wiki-sidebar {
    position: static;
    order: 2;
  }

  .wiki-content {
    order: 1;
    padding: 1.5rem;
  }

  .wiki-hero-content {
    padding: 6rem 1rem 2rem;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .wiki-main-title {
    font-size: 2.5rem;
  }

  .wiki-subtitle {
    font-size: 1rem;
  }

  .wiki-sidebar {
    padding: 1rem;
  }

  .wiki-content {
    padding: 1rem;
  }

  .article-content {
    font-size: 0.875rem;
  }
}

/* Loading Animation for Wiki */
.wiki-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.wiki-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #374151;
  border-top: 4px solid #60a5fa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Smooth Transitions */
.wiki-sidebar a,
.wiki-article-list-public a,
.wiki-back-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus States */
.wiki-sidebar a:focus,
.wiki-article-list-public a:focus,
.wiki-back-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
