/* Hostlayan - Pure Black Theme */

html {
  scroll-behavior: smooth;
}

body {
  background: #000000;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.package-tab[data-active="true"],
.package-tab.active {
  background: #e5e5e5;
  color: #000000;
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.glow-accent {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
}

.admin-stat-card {
  position: relative;
  overflow: hidden;
}
.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.admin-stat-card:hover::before {
  opacity: 1;
}

.badge-open { background: rgba(255, 255, 255, 0.12); color: #e5e5e5; }
.badge-pending { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.badge-closed { background: rgba(156, 163, 175, 0.15); color: #9ca3af; }

.skeleton {
  background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

#toast.show {
  display: block;
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Referanslar infinite scroll */
@keyframes refsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-refs-scroll {
  animation: refsScroll 35s linear infinite;
  width: max-content;
}
.animate-refs-scroll:hover {
  animation-play-state: paused;
}
.ref-card {
  flex-shrink: 0;
  width: 180px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
  transition: border-color 0.2s, background 0.2s;
}
.ref-card:hover {
  border-color: rgba(255,255,255,0.2);
  background: #111;
}
.ref-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #e5e5e5;
  overflow: hidden;
}
.ref-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ref-name {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.reveal-left {
  transform: translateX(-32px);
}
.reveal.reveal-right {
  transform: translateX(32px);
}
.reveal.reveal-scale {
  transform: scale(0.94);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Stagger children */
.reveal-stagger > .reveal {
  opacity: 0;
  transform: translateY(20px);
}
