/* PratikAraçlar - Modern Web & High-Craft Developer Styles */
/* Adheres to Linear / Vercel design system conventions */

/* Canvas Dot / Grid Pattern */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
html.light .bg-grid-pattern {
  background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px);
}

/* Glass & Card Styling */
.glass-card {
  background: var(--card-bg, rgba(15, 23, 42, 0.75));
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
  border-color: var(--card-border-hover, rgba(56, 189, 248, 0.35));
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45);
}

/* ==========================================================
   DYNAMIC VEGAS GOLD PARTNER CARD ANIMATIONS (PURE CSS)
   ========================================================== */

/* 1. Metallic Gold & Ice Shimmering Headline */
@keyframes gold-text-shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.gold-shimmer-text {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #fef08a 18%,
    #ffffff 35%,
    #f59e0b 55%,
    #ffffff 75%,
    #fef08a 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-text-shimmer 3.2s linear infinite;
  display: inline-block;
}

/* 2. Kinetic Animated Conic-Gradient Border Light Beam */
@keyframes border-beam-rotate {
  0% {
    --border-angle: 0deg;
  }
  100% {
    --border-angle: 360deg;
  }
}

@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.portal-animated-border {
  --border-angle: 0deg;
  background: 
    linear-gradient(#070b13, #070b13) padding-box,
    conic-gradient(from var(--border-angle), rgba(245, 158, 11, 0.1) 0deg, rgba(245, 158, 11, 0.2) 200deg, #f59e0b 290deg, #fde047 340deg, #ffffff 360deg) border-box;
  border: 1.5px solid transparent;
  animation: border-beam-rotate 4.5s linear infinite;
}

/* Fallback for browsers that don't support @property */
@supports not (background: paint(something)) {
  .portal-animated-border {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
  }
}

/* 3. Angled Striped Texture from the Vegas Gold Banner */
.bg-angled-stripes {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(245, 158, 11, 0.035) 0px,
    rgba(245, 158, 11, 0.035) 14px,
    transparent 14px,
    transparent 28px
  );
}

/* 4. Floating Golden Sparks / Embers */
@keyframes float-spark {
  0% {
    transform: translateY(100%) scale(0.3);
    opacity: 0;
  }
  25% {
    opacity: 0.9;
  }
  75% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-90px) scale(1.1);
    opacity: 0;
  }
}

.spark {
  position: absolute;
  bottom: -5px;
  border-radius: 50%;
  background: #fef08a;
  box-shadow: 0 0 8px #f59e0b, 0 0 14px #fbbf24;
  animation: float-spark infinite ease-out;
  pointer-events: none;
}
.spark.s1 { left: 8%;  animation-duration: 3.5s; animation-delay: 0.1s; width: 4px; height: 4px; }
.spark.s2 { left: 22%; animation-duration: 4.2s; animation-delay: 1.2s; width: 5px; height: 5px; }
.spark.s3 { left: 38%; animation-duration: 3.8s; animation-delay: 0.6s; width: 3px; height: 3px; }
.spark.s4 { left: 52%; animation-duration: 4.8s; animation-delay: 2.1s; width: 4px; height: 4px; }
.spark.s5 { left: 68%; animation-duration: 3.6s; animation-delay: 1.5s; width: 5px; height: 5px; }
.spark.s6 { left: 82%; animation-duration: 4.0s; animation-delay: 0.4s; width: 3px; height: 3px; }
.spark.s7 { left: 93%; animation-duration: 4.5s; animation-delay: 1.9s; width: 4px; height: 4px; }
.spark.s8 { left: 45%; animation-duration: 5.0s; animation-delay: 2.7s; width: 3px; height: 3px; }

/* 5. Kinetic Chevrons Wave (>>>) */
@keyframes chevron-flow {
  0%, 100% {
    opacity: 0.15;
    transform: translateX(0);
  }
  50% {
    opacity: 0.75;
    transform: translateX(4px);
  }
}
.chevron-1 { animation: chevron-flow 1.6s ease-in-out infinite; animation-delay: 0s; }
.chevron-2 { animation: chevron-flow 1.6s ease-in-out infinite; animation-delay: 0.28s; }
.chevron-3 { animation: chevron-flow 1.6s ease-in-out infinite; animation-delay: 0.56s; }

/* 6. Casino Chip Float & Outer Ring Radar */
@keyframes float-chip {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(3deg);
  }
}
.animate-float-chip {
  animation: float-chip 3.2s ease-in-out infinite;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.animate-spin-slow {
  animation: spin-slow 16s linear infinite;
}

@keyframes radar-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.25;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}
.animate-radar-pulse {
  animation: radar-pulse 2.2s ease-in-out infinite;
}

/* 7. Button Light Sweep & Pulse */
@keyframes shimmer-sweep {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  40%, 100% {
    transform: translateX(250%) skewX(-20deg);
  }
}
.animate-shimmer-sweep {
  animation: shimmer-sweep 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btn-glow-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4), 0 0 30px rgba(234, 88, 12, 0.2);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 26px rgba(245, 158, 11, 0.75), 0 0 45px rgba(234, 88, 12, 0.4);
  }
}
.animate-btn-pulse {
  animation: btn-glow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}
.animate-arrow-bounce {
  animation: arrow-bounce 1.1s ease-in-out infinite;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #080c14;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}
