/* ============================================================
   EMILIA — designers.css
   ============================================================ */

/* ── Page Hero (shared pattern, duplicated here so games.css is not required) ── */
.page-hero {
  text-align: center;
  /* 110px clears the fixed header (≈68px tall) with breathing room */
  padding: 110px 24px 50px;
}
.page-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ice-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--ice-0), var(--ice-2), var(--ice-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  background-size: 200%;
  animation: shimmer 4s linear infinite;
}
.page-hero p {
  color: var(--muted);
  font-size: 1rem;
}

/* ── Designers Grid ── */
.designers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding-bottom: 80px;
}

.designer-card {
  width: 300px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,10,30,0.6);
  transition: var(--transition);
  cursor: default;
  /* let the card grow with content — never clip the info row */
  display: flex;
  flex-direction: column;
}
.designer-card:hover {
  border-color: var(--border-2);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 100px rgba(0,10,30,0.9), 0 0 40px rgba(79,180,255,0.2);
}

.designer-card-img-wrap {
  position: relative;
  /* fixed, reasonable height — leaves room for the info row below */
  height: 300px;
  flex-shrink: 0;
  overflow: hidden;
}
.designer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
}
.designer-card:hover img { transform: scale(1.05); }

.designer-card canvas.snow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* shine overlay */
.designer-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,20,50,0.85) 100%);
  pointer-events: none;
}

.designer-info {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* always visible — flex child of the card column */
  flex-shrink: 0;
  background: rgba(5, 18, 45, 0.55);
  border-top: 1px solid var(--border);
}
.designer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--ice-1);
}
.designer-badge {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-3);
  background: var(--glass-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ── floating snowflake accent ── */
.designer-card .float-flake {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 1.2rem;
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity 0.35s, transform 0.35s;
  z-index: 5;
  pointer-events: none;
}
.designer-card:hover .float-flake {
  opacity: 0.8;
  transform: rotate(30deg);
}

@media (max-width: 680px) {
  .designer-card { width: calc(50% - 16px); min-width: 140px; }
  .designer-card-img-wrap { height: 220px; }
}
@media (max-width: 420px) {
  .designer-card { width: 100%; }
}
