/* ================= HUB LAYOUT ================= */

.hub-page {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
}

.hub-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* ================= HEADER ================= */

.hub-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.hub-logo a {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
}

/* ================= CARDS ================= */

.hub-cards {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hub-faq {
  padding: 0 40px 80px;
}

.hub-card {
  width: 420px;
  height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  color: white;
  transition: none;
}


.hub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) contrast(1.05) blur(2px);
  transform: scale(1.04); /* évite les bords blancs causés par le blur */
}

.hub-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
}

.hub-card span:not(.hub-card-game) {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 2;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.hub-card-game {
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  padding: 3px 10px;
  backdrop-filter: blur(4px);
  z-index: 3;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .hub-card {
    width: 100%;
    max-width: 420px;
  }
}
