/* FullTekİndir - Modern Anker Games UI Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --bg-main: #090d16;
  --bg-card: #111726;
  --bg-card-hover: #151d30;
  --bg-surface: #182238;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 210, 255, 0.4);
  --accent-cyan: #00d2ff;
  --accent-blue: #0284c7;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, .font-heading {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00d2ff;
}

/* ========================================================
   ANIMASYONLAR & HOVER EFEKTLERİ
   ======================================================== */

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px -3px rgba(0, 210, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px -1px rgba(0, 210, 255, 0.6);
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* Glassmorphism & Game Cards */
.game-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: all 0.75s ease;
  z-index: 5;
  pointer-events: none;
}

.game-card:hover::before {
  left: 200%;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px -10px rgba(0, 210, 255, 0.25), 0 0 15px rgba(0, 210, 255, 0.1);
}

.game-card img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.06);
}

/* Buton Parlama (Shine) Efekti */
.btn-shine {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-shine:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.btn-shine:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 210, 255, 0.4);
}

/* The Chart Sıralama Satırları Animasyonu */
.chart-row {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.chart-row::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00d2ff;
  opacity: 0;
  transform: scaleY(0);
  transition: all 0.25s ease;
  border-radius: 4px 0 0 4px;
}

.chart-row:hover {
  transform: translateX(4px);
  background-color: var(--bg-card-hover);
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
}

.chart-row:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

/* The Chart Bar Progress */
.chart-bar-bg {
  background-color: #1a2336;
  border-radius: 9999px;
  height: 6px;
  overflow: hidden;
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #0284c7, #00d2ff);
  position: relative;
  overflow: hidden;
  transition: width 0.8s ease-out;
}

.chart-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s infinite;
}

/* Badges */
.badge-version {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.badge-version:hover {
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
}

.badge-platform {
  background: rgba(148, 163, 184, 0.15);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Hero Carousel */
.hero-banner {
  background-size: cover;
  background-position: center;
  position: relative;
}

.glow-cyan {
  box-shadow: 0 0 25px -3px rgba(0, 210, 255, 0.4);
}
.glow-pulse {
  animation: pulse-glow 3s infinite;
}

/* Modals */
.custom-modal {
  background-color: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(10px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fadeIn {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
