@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap");

body {
  font-family: "IBM Plex Sans", sans-serif;
  background-color: #f0f0f0;
}

.game-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-5px);
}

.neo-button {
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.neo-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 1);
}

.neo-button:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 1);
}

/* Slider arrow styles */
.game-card button[aria-label="Previous image"],
.game-card button[aria-label="Next image"] {
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.game-card button[aria-label="Previous image"]:hover,
.game-card button[aria-label="Next image"]:hover {
  opacity: 1;
}

/* Ranking borders for today's top 3 */
.startup-card-1st {
  position: relative;
  border: 2px solid #f59e0b !important;
  background: linear-gradient(to bottom, rgba(251, 191, 36, 0.05), white) !important;
}

.startup-card-2nd {
  position: relative;
  border: 2px solid #9ca3af !important;
  background: linear-gradient(to bottom, rgba(156, 163, 175, 0.05), white) !important;
}

.startup-card-3rd {
  position: relative;
  border: 2px solid #d97706 !important;
  background: linear-gradient(to bottom, rgba(217, 119, 6, 0.05), white) !important;
}

/* Ranking badge labels */
.ranking-label {
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  z-index: 10;
}

.ranking-label-1st {
  background-color: #fbbf24;
  color: #78350f;
}

.ranking-label-2nd {
  background-color: #d1d5db;
  color: #374151;
}

.ranking-label-3rd {
  background-color: #f59e0b;
  color: #78350f;
}

/* Featured listing with colorful gradient border */
.startup-card-featured {
  position: relative;
  border: none !important;
  background: white !important;
}

.startup-card-featured::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #ff6b6b);
  background-size: 400% 400%;
  border-radius: 14px;
  z-index: -1;
  animation: gradient-border 3s ease infinite;
}

.startup-card-featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  border-radius: 12px;
  z-index: -1;
}

@keyframes gradient-border {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Featured badge - now inline, keeping for backwards compatibility */
.featured-badge {
  display: none; /* Deprecated - using inline badges now */
}
