:root {
  --primary-color: #4AFF00;
  --secondary-color: #8B5CF6;
  --accent-color: #FFD700;
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --border-color: #333333;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 30px rgba(74, 255, 0, 0.3);
  --shadow-purple: 0 0 30px rgba(139, 92, 246, 0.3);
  --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.3);
  --iran-green: #239F40;
  --iran-red: #DA0000;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(74, 255, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  box-shadow: 
    0 0 20px rgba(74, 255, 0, 0.6),
    0 0 40px rgba(139, 92, 246, 0.4);
  animation: cursor-pulse 2s infinite ease-in-out;
}

.custom-cursor::before {
  content: '⛏️';
  position: absolute;
  top: -15px;
  left: -8px;
  font-size: 16px;
  animation: cursor-rotate 3s linear infinite;
  filter: drop-shadow(0 0 10px var(--primary-color));
}

.custom-cursor::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(74, 255, 0, 0.3);
  border-radius: 50%;
  animation: cursor-expand 2s infinite ease-in-out;
}

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

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

@keyframes cursor-expand {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.custom-cursor.hover {
  transform: scale(1.5);
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.8),
    0 0 60px rgba(74, 255, 0, 0.6);
}

.custom-cursor.click {
  transform: scale(0.8);
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
}

/* Enhanced Background Particles */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: 
    linear-gradient(45deg, transparent 49%, rgba(74, 255, 0, 0.02) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(139, 92, 246, 0.02) 50%, transparent 51%);
  background-size: 100px 100px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: float 8s infinite linear;
  box-shadow: 0 0 10px currentColor;
}

.particle:nth-child(2n) {
  background: var(--secondary-color);
  animation-duration: 10s;
}

.particle:nth-child(3n) {
  background: var(--accent-color);
  animation-duration: 12s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1) rotate(360deg);
    opacity: 0;
  }
}

/* Enhanced Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(40px) saturate(200%);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 2rem;
  animation: bounce 3s infinite ease-in-out;
  filter: drop-shadow(0 0 10px var(--primary-color));
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  10% {
    transform: translateY(-5px) rotate(-5deg);
  }
  30% {
    transform: translateY(-3px) rotate(3deg);
  }
  40% {
    transform: translateY(-8px) rotate(-2deg);
  }
  60% {
    transform: translateY(-4px) rotate(2deg);
  }
}

.logo-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-weight: 500;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 255, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: var(--glass-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 255, 0, 0.2);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 90%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: var(--glass-bg);
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

/* Enhanced Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: 
    radial-gradient(ellipse at 30% 70%, rgba(74, 255, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%234AFF00" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%238B5CF6" opacity="0.1"/><circle cx="75" cy="25" r="1" fill="%23FFD700" opacity="0.1"/><circle cx="25" cy="75" r="1" fill="%234AFF00" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  animation: grain-move 30s linear infinite;
  pointer-events: none;
}

@keyframes grain-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100px, -100px); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(20px);
  animation: pulse-glow 3s infinite ease-in-out;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(74, 255, 0, 0.1), transparent);
  animation: rotate 4s linear infinite;
}

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(74, 255, 0, 0.4);
    border-color: var(--glass-border);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(74, 255, 0, 0);
    border-color: var(--primary-color);
  }
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  animation: title-entrance 1s ease-out;
}

@keyframes title-entrance {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.title-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  font-size: 2.5rem;
  animation: gradient-flow 6s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(74, 255, 0, 0.3));
}

@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.title-main {
  display: block;
  color: var(--text-primary);
  text-shadow: 
    0 0 30px rgba(74, 255, 0, 0.5),
    0 0 60px rgba(74, 255, 0, 0.3),
    0 0 90px rgba(74, 255, 0, 0.1);
  animation: text-glow 4s ease-in-out infinite alternate;
}

@keyframes text-glow {
  0% {
    text-shadow: 
      0 0 30px rgba(74, 255, 0, 0.5),
      0 0 60px rgba(74, 255, 0, 0.3),
      0 0 90px rgba(74, 255, 0, 0.1);
  }
  100% {
    text-shadow: 
      0 0 40px rgba(74, 255, 0, 0.8),
      0 0 80px rgba(74, 255, 0, 0.5),
      0 0 120px rgba(74, 255, 0, 0.2);
  }
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 600;
}

.typing-text {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.8rem;
  text-shadow: 0 0 20px rgba(74, 255, 0, 0.4);
  background: linear-gradient(135deg, var(--primary-color), #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cursor {
  animation: blink 1.2s infinite ease-in-out;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.8rem;
  text-shadow: 0 0 15px rgba(74, 255, 0, 0.6);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.btn {
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-family: 'Vazirmatn', sans-serif;
  text-transform: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #00ff88, var(--primary-color));
  background-size: 200% 200%;
  color: var(--bg-primary);
  box-shadow: 
    var(--shadow-glow),
    0 8px 25px rgba(74, 255, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: btn-glow 3s ease-in-out infinite alternate;
}

@keyframes btn-glow {
  0% {
    background-position: 0% 50%;
    box-shadow: 
      var(--shadow-glow),
      0 8px 25px rgba(74, 255, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  100% {
    background-position: 100% 50%;
    box-shadow: 
      0 0 40px rgba(74, 255, 0, 0.5),
      0 12px 35px rgba(74, 255, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 0 50px rgba(74, 255, 0, 0.6),
    0 15px 45px rgba(74, 255, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 0 30px rgba(74, 255, 0, 0.3),
    0 12px 35px rgba(0, 0, 0, 0.3);
}

.btn-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: scale(1.2) rotate(5deg);
}

.server-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  width: fit-content;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.server-status:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.status-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  animation: pulse-status 2s infinite ease-in-out;
  position: relative;
}

.status-indicator::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.3;
  animation: ping 2s infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  75%, 100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.status-indicator.online {
  background: var(--primary-color);
  box-shadow: 
    0 0 15px var(--primary-color),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes pulse-status {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.status-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Enhanced Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.minecraft-scene {
  position: relative;
  width: 350px;
  height: 350px;
  perspective: 1000px;
}

.floating-blocks {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.block {
  position: absolute;
  font-size: 3.5rem;
  animation: float-block 6s infinite ease-in-out;
  filter: drop-shadow(0 0 15px currentColor);
  transition: all 0.3s ease;
  cursor: pointer;
}

.block:hover {
  transform: scale(1.2) rotate(15deg);
  filter: drop-shadow(0 0 25px currentColor);
}

.block-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  color: #8B4513;
}

.block-2 {
  top: 10%;
  right: 20%;
  animation-delay: 1.5s;
  color: #228B22;
}

.block-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 3s;
  color: #F5F5F5;
}

.block-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 4.5s;
  color: #4169E1;
}

@keyframes float-block {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-15px) rotateX(15deg) rotateY(90deg);
  }
  50% {
    transform: translateY(-25px) rotateX(0deg) rotateY(180deg);
  }
  75% {
    transform: translateY(-15px) rotateX(-15deg) rotateY(270deg);
  }
}

.character {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4.5rem;
  animation: character-bounce 4s infinite ease-in-out;
  filter: drop-shadow(0 0 20px rgba(74, 255, 0, 0.5));
  cursor: pointer;
  transition: all 0.3s ease;
}

.character:hover {
  transform: translate(-50%, -50%) scale(1.15);
  filter: drop-shadow(0 0 30px rgba(74, 255, 0, 0.8));
}

@keyframes character-bounce {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  }
  25% {
    transform: translate(-50%, -60%) scale(1.05) rotateY(90deg);
  }
  50% {
    transform: translate(-50%, -65%) scale(1.1) rotateY(180deg);
  }
  75% {
    transform: translate(-50%, -60%) scale(1.05) rotateY(270deg);
  }
}

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

/* Enhanced Section Header */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.section-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  animation: section-line 3s ease-in-out infinite alternate;
}

@keyframes section-line {
  0% {
    width: 100px;
    opacity: 0.7;
  }
  100% {
    width: 150px;
    opacity: 1;
  }
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-color), var(--secondary-color));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: title-gradient 4s ease-in-out infinite;
  position: relative;
}

@keyframes title-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.9;
}

/* Enhanced Features Section */
.features {
  padding: 10rem 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 25% 75%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 25%, rgba(74, 255, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.features::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="hexagon" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,0 50,14.4 50,28.9 25,43.4 0,28.9 0,14.4" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="200" height="200" fill="url(%23hexagon)"/></svg>');
  opacity: 0.1;
  animation: pattern-move 25s linear infinite;
  pointer-events: none;
}

@keyframes pattern-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 43.4px); }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.feature-card {
  padding: 3rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 255, 0, 0.1), transparent);
  transition: left 0.8s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(74, 255, 0, 0.05), transparent);
  animation: card-rotate 8s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

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

.feature-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  border-color: var(--primary-color);
  box-shadow: 
    var(--shadow-glow),
    0 25px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  display: block;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 15px currentColor);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotateY(15deg);
  filter: drop-shadow(0 0 25px currentColor);
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
  color: var(--primary-color);
  text-shadow: 0 0 15px rgba(74, 255, 0, 0.3);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
}

.feature-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 255, 0, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

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

/* Enhanced Stats Section */
.stats {
  padding: 8rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 49%, rgba(74, 255, 0, 0.03) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(139, 92, 246, 0.03) 50%, transparent 51%);
  background-size: 60px 60px;
  animation: stats-pattern 15s linear infinite;
}

@keyframes stats-pattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 255, 0, 0.05), rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    var(--shadow-purple),
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-color);
}

.stat-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(74, 255, 0, 0.3);
  transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
  text-shadow: 0 0 30px rgba(74, 255, 0, 0.5);
}

.stat-label {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Enhanced Community Section */
.community {
  padding: 10rem 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.community::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(88, 101, 242, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 136, 204, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(228, 64, 95, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.community-card {
  padding: 3.5rem 3rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  backdrop-filter: blur(20px);
  text-align: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
}

.community-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, var(--primary-color), transparent);
  border-radius: 28px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.community-card.discord::before {
  background: linear-gradient(45deg, transparent, #5865F2, transparent);
}

.community-card.telegram::before {
  background: linear-gradient(45deg, transparent, #0088cc, transparent);
}

.community-card.instagram::before {
  background: linear-gradient(45deg, transparent, #E4405F, transparent);
}

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

.community-card.discord:hover {
  border-color: #5865F2;
  box-shadow: 
    0 0 40px rgba(88, 101, 242, 0.4),
    0 25px 50px rgba(0, 0, 0, 0.3);
}

.community-card.telegram:hover {
  border-color: #0088cc;
  box-shadow: 
    0 0 40px rgba(0, 136, 204, 0.4),
    0 25px 50px rgba(0, 0, 0, 0.3);
}

.community-card.instagram:hover {
  border-color: #E4405F;
  box-shadow: 
    0 0 40px rgba(228, 64, 95, 0.4),
    0 25px 50px rgba(0, 0, 0, 0.3);
}

.community-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(2deg);
}

.community-icon {
  font-size: 4.5rem;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 15px currentColor);
}

.community-card:hover .community-icon {
  transform: scale(1.3) rotateY(15deg);
  filter: drop-shadow(0 0 25px currentColor);
}

.community-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.community-card:hover .community-title {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.community-description {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.btn-community {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-community::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-community:hover::before {
  left: 100%;
}

.btn-community:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(74, 255, 0, 0.3);
}

/* Enhanced Join Section */
.join {
  padding: 10rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.join::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 30% 70%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(74, 255, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.join-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.join-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color), var(--secondary-color));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: join-gradient 5s ease-in-out infinite;
}

@keyframes join-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.join-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  line-height: 1.8;
}

.server-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 255, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.info-item:hover::before {
  left: 100%;
}

.info-item:hover {
  transform: translateX(10px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(74, 255, 0, 0.2);
}

.info-label {
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 120px;
  font-size: 1.1rem;
}

.info-value {
  color: var(--primary-color);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  flex: 1;
  font-size: 1.1rem;
  text-shadow: 0 0 10px rgba(74, 255, 0, 0.3);
}

.copy-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.copy-btn:hover {
  background: var(--glass-bg);
  color: var(--primary-color);
  transform: scale(1.1);
}

.join-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.minecraft-inventory {
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.minecraft-inventory::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  animation: inventory-rotate 10s linear infinite;
}

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

.minecraft-inventory:hover {
  transform: scale(1.05);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-gold);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.inventory-slot {
  width: 70px;
  height: 70px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.inventory-slot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.inventory-slot:hover::before {
  opacity: 1;
}

.inventory-slot:hover {
  border-color: var(--primary-color);
  box-shadow: 
    0 0 20px rgba(74, 255, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: scale(1.15) rotateZ(5deg);
  background: rgba(74, 255, 0, 0.1);
}

/* Enhanced Footer with Iranian Pride */
.footer {
  padding: 8rem 0 3rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 49%, rgba(35, 159, 64, 0.02) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(218, 0, 0, 0.02) 50%, transparent 51%);
  background-size: 80px 80px;
  animation: footer-pattern 20s linear infinite;
}

@keyframes footer-pattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-text {
  text-align: center;
}

.footer-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.iran-pride {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.iran-pride::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(35, 159, 64, 0.1), 
    rgba(255, 255, 255, 0.1), 
    rgba(218, 0, 0, 0.1), 
    transparent);
  transition: left 1s ease;
}

.iran-pride:hover::before {
  left: 100%;
}

.iran-pride:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 30px rgba(35, 159, 64, 0.3),
    0 0 30px rgba(218, 0, 0, 0.3),
    0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--iran-green);
}

.iran-flag {
  font-size: 2.5rem;
  animation: flag-wave 3s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(35, 159, 64, 0.5));
}

@keyframes flag-wave {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(5deg) scale(1.05);
  }
  50% {
    transform: rotate(0deg) scale(1.1);
  }
  75% {
    transform: rotate(-5deg) scale(1.05);
  }
}

.hafez-quote {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--iran-green), var(--text-primary), var(--iran-red));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hafez-gradient 6s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes hafez-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.social-link {
  width: 60px;
  height: 60px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.8rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 255, 0, 0.2), transparent);
  transition: left 0.6s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(74, 255, 0, 0.4);
  transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

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

/* Enhanced Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--primary-color), #00ff88);
  color: var(--bg-primary);
  padding: 1.5rem 2.5rem;
  border-radius: 16px;
  font-weight: 600;
  transform: translateX(120%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 
    var(--shadow-glow),
    0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast.show {
  transform: translateX(0) scale(1);
}

.toast-text {
  font-size: 1.1rem;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  
  .custom-cursor {
    display: none;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    gap: 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-link {
    padding: 1rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    background: var(--glass-bg);
    transform: translateX(10px);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .title-gradient {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .typing-text {
    font-size: 1.4rem;
  }
  
  .cursor {
    font-size: 1.4rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .community-grid {
    grid-template-columns: 1fr;
  }
  
  .join-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .join-title {
    font-size: 2.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .hafez-quote {
    font-size: 1.2rem;
  }
  
  .toast {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .title-gradient {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .typing-text {
    font-size: 1.2rem;
  }
  
  .cursor {
    font-size: 1.2rem;
  }
  
  .feature-card,
  .community-card {
    padding: 2rem 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .inventory-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .inventory-slot {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hafez-quote {
    font-size: 1rem;
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease forwards;
}

.scale-in {
  animation: scaleIn 0.8s ease forwards;
}

/* Enhanced Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 6px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #00ff88, var(--accent-color));
}

/* Selection styling */
::selection {
  background: rgba(74, 255, 0, 0.3);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(74, 255, 0, 0.3);
  color: var(--text-primary);
}

/* Focus styles */
button:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Loading animation for body */
body.loaded {
  animation: pageLoad 1s ease-out;
}

@keyframes pageLoad {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}