/* === ESPOR PRO CARD === */
.card {
  background: #0b0b12;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  padding: 0;
  transition: 0.4s;
  border: 2px solid #1a1a22;
  box-shadow: 0 0 20px #000;
}

/* Hover: Kart yükselir & daha parlak olur */
.card:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 0 25px #6c00ff88, 0 0 45px #00eaff55;
}

/* ==== RGB ANİMASYONLU ÇERÇEVE ==== */
.card::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(
    120deg,
    #ff0080,
    #ffbf00,
    #00ff80,
    #00c3ff,
    #7b00ff,
    #ff0080
  );
  background-size: 300%;
  border-radius: 20px;
  z-index: -1;
  animation: rgbFlow 5s linear infinite;
  filter: blur(10px);
  opacity: 0;
  transition: 0.4s;
}

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

@keyframes rgbFlow {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 300%;
  }
}

/* ==== VALORANT KÖŞE ÇİZGİLERİ ==== */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid transparent;
  border-top-color: #ff0055;
  border-left-color: #ff0055;
  opacity: 0.4;
  pointer-events: none;
}

/* ==== Görsel Efektleri ==== */
.card-img-top {
  transition: 0.4s ease;
  height: 100%;
}

.card:hover .card-img-top {
  transform: scale(1.09);
  filter: brightness(1.25);
}

/* === YILDIRIM IŞIK GEÇİŞİ === */
.card .light-flash {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    75deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-20deg);
  animation: flashMove 3s linear infinite;
  pointer-events: none;
}

@keyframes flashMove {
  0% {
    left: -150%;
  }
  60% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* ==== Başlık ==== */
.card-title {
  font-weight: bold;
  font-size: 1.25rem;
  color: #c993ff;
  text-shadow: 0 0 8px #b66dff;
}

/* -------------------------------------------------------
   ESPORTS CARD EFEKTLERİ
------------------------------------------------------- */

.esport-card {
  border-radius: 16px;
  overflow: hidden;
  background: #0d0d0f;
  border: 1px solid rgba(138, 43, 226, 0.3);
  transition: 0.4s ease;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
  transform-style: preserve-3d;
  cursor: pointer;
  color: white;
}

/* Hover Efekt */
.esport-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 35px rgba(138, 43, 226, 0.6), 0 0 50px rgba(0, 255, 255, 0.4);
  border-color: rgba(0, 255, 255, 0.7);
}

/* Neon Glow */
.esport-card:hover .card-title {
  text-shadow: 0 0 8px cyan, 0 0 12px #8a2be2;
  color: #00eaff;
}

/* Kart İçindeki Butonlar */
.esport-card .btn {
  font-weight: bold;
  transition: 0.3s;
}

.esport-card .btn:hover {
  box-shadow: 0 0 15px cyan;
  transform: scale(1.05);
}

/* Hafif 3D tilt efekti */
.esport-card {
  perspective: 1000px;
}

.esport-card:hover {
  transform: rotateX(6deg) rotateY(-6deg) scale(1.04);
}

/* Neon Border Animated */
.esport-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #8a2be2, cyan, #8a2be2);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: neonBorder 3s linear infinite;
  opacity: 0.4;
}

@keyframes neonBorder {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

/* ==== Butonlar ==== */
.btn-outline-primary {
  color: #00eaff;
  border-color: #00eaff;
  text-shadow: 0 0 6px #00eaff;
}
.btn-outline-primary:hover {
  background: #00eaff;
  color: #000;
  box-shadow: 0 0 20px #00eaff;
}

.btn-outline-success {
  color: #39ff14;
  border-color: #39ff14;
  text-shadow: 0 0 6px #39ff14;
}
.btn-outline-success:hover {
  background: #39ff14;
  color: #000;
  box-shadow: 0 0 20px #39ff14;
}

.navbar .nav-link {
  font-size: 1rem;
}

/* Navbar sabitleme ve stil */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); /* shadow burada birleşti */
}

.navbar .nav-link {
  font-size: 1.2rem;
  transition: color 0.3s, transform 0.3s;
  margin: 0 10px;
}

.navbar .nav-link:hover {
  color: #0d6efd;
  transform: scale(1.1);
}

/* Navbar marka logosu ve yazısı */
.navbar-brand {
  position: relative;
  display: flex;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Logo görseli */
.navbar-brand img {
  border-radius: 10px; /* Hafif yuvarlatılmış köşeler */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Logo öne çıksın */
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover efekti: büyüme ve gölge artışı */
.navbar-brand:hover {
  transform: scale(1.05); /* Hafif büyüme */
}

.navbar-brand:hover img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* Gölgede derinlik */
}

/* Particles container */
.hero .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* tıklamayı engellemez */
  overflow: hidden;
}

/* Hero alanı */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  padding-top: 0;
  overflow: hidden;
}

/* Container flex kolon düzeni: logo üstte, buton altta */
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Logo üstte, buton en altta */
  align-items: center;
  height: 100%;
  z-index: 2; /* particles arkasında kalsın */
  position: relative;
}

/* Logo efekti */
.hero .logo {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero .logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Particles / yıldız efekti */
.hero .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero .particles::before,
.hero .particles::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 50px 80px #fff, 150px 120px #ff0, 300px 200px #0ff,
    500px 150px #f0f, 700px 250px #0f0, 900px 100px #ff0, 1200px 300px #fff;
  animation: moveStars 6s linear infinite;
}

.hero .particles::after {
  animation-duration: 10s;
  transform: scale(0.6);
  opacity: 0.7;
}

/* Yıldız hareketi */
@keyframes moveStars {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-600px) translateX(50px);
    opacity: 0;
  }
}

.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* öğeleri altta hizalar */
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 2;
  padding-bottom: 50px; /* Butonu biraz yukarı çekmek için */
}

.hero .btn-lg {
  margin-top: auto; /* artık padding-bottom ile ayarlıyoruz */
}

/* Responsive: logo ve buton mobilde küçülür */
@media (max-width: 768px) {
  .hero .logo {
    max-width: 120px;
  }
}
