/* ═══════════════════════════════════════════════════════════
   RAKAMLARLA BİZ (STATS) - ULTRA PREMIUM UI
   ═══════════════════════════════════════════════════════════ */

.stats-section {
  position: relative;
  background: transparent;
  padding: 100px 0;
  overflow: hidden;
}

/* Background Glowing Orbs for the Section */
.stats-section::before,
.stats-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.stats-section::before {
  top: -100px;
  left: -100px;
  background: rgba(200, 164, 92, 0.08);
}
.stats-section::after {
  bottom: -100px;
  right: -100px;
  background: rgba(16, 185, 129, 0.05); /* Emerald accent */
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  padding: 50px 30px;
  background: rgba(15, 20, 35, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(200, 164, 92, 0.3);
  border-bottom: 1px solid rgba(200, 164, 92, 0.05);
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 2px 20px rgba(200, 164, 92, 0.05);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Animated Border Glow */
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 30px;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(200, 164, 92, 0.1), transparent 40%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.stat-item:hover {
  transform: translateY(-15px);
  background: rgba(20, 25, 45, 0.8);
  border-color: rgba(200, 164, 92, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(200, 164, 92, 0.15);
}

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

.stat-icon {
  width: 90px;
  height: 90px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(200, 164, 92, 0.2) 0%, rgba(200, 164, 92, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: inset 0 0 0 1px rgba(200, 164, 92, 0.2), 0 10px 20px rgba(0,0,0,0.2);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 2;
  transform: rotate(-5deg);
}

.stat-item:hover .stat-icon {
  transform: rotate(0deg) scale(1.1);
  background: linear-gradient(135deg, rgba(200, 164, 92, 0.3) 0%, rgba(200, 164, 92, 0.05) 100%);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 92, 0.5), 0 15px 30px rgba(200, 164, 92, 0.2);
}

.stat-icon i {
  width: 40px;
  height: 40px;
  color: var(--gold-light);
  filter: drop-shadow(0 2px 10px rgba(200, 164, 92, 0.5));
  transition: transform 0.5s ease;
}

.stat-item:hover .stat-icon i {
  transform: scale(1.1);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(180deg, #FFFFFF 0%, #C8A45C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
  letter-spacing: -1px;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

/* Subtle decorative line below label */
.stat-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold-light);
  margin: 15px auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.stat-item:hover .stat-label::after {
  width: 60px;
  background: #FFF;
}

@media (max-width: 768px) {
  .stats-grid {
    gap: 15px;
  }
  .stat-item {
    min-width: calc(50% - 8px);
    max-width: 100%;
    padding: 30px 15px;
    border-radius: 20px;
  }
  .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
  }
  .stat-icon i {
    width: 24px;
    height: 24px;
  }
  .stat-value {
    font-size: 2.2rem;
    margin-bottom: var(--space-1);
  }
  .stat-label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 5px;
  }
  .stat-label::after {
    margin-top: 10px;
  }
}
@media (max-width: 480px) {
  .stat-item {
    min-width: calc(50% - 8px);
    padding: 24px 10px;
  }
  .stat-value {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
}

