/* ═══════════════════════════════════════
   GAMES MENU
═══════════════════════════════════════ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.gcard {
  background: linear-gradient(145deg, var(--gc1), var(--gc2, var(--gc1)));
  border-radius: 22px;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s var(--spring), box-shadow 0.25s;
  animation: popIn 0.4s var(--spring) both;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 178px;
  text-align: left;
}

/* light shimmer overlay */
.gcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.18) 0%, transparent 55%);
  pointer-events: none;
  border-radius: 22px;
}

/* decorative circle top-right */
.gcard::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  top: -35px;
  right: -30px;
  pointer-events: none;
}

.gcard:nth-child(1)  { animation-delay: .04s; }
.gcard:nth-child(2)  { animation-delay: .08s; }
.gcard:nth-child(3)  { animation-delay: .12s; }
.gcard:nth-child(4)  { animation-delay: .16s; }
.gcard:nth-child(5)  { animation-delay: .20s; }
.gcard:nth-child(6)  { animation-delay: .24s; }
.gcard:nth-child(7)  { animation-delay: .28s; }
.gcard:nth-child(8)  { animation-delay: .32s; }
.gcard:nth-child(9)  { animation-delay: .36s; }
.gcard:nth-child(10) { animation-delay: .40s; }
.gcard:nth-child(11) { animation-delay: .44s; }

.gcard:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 52px rgba(0,0,0,0.24), 0 4px 14px rgba(0,0,0,0.14);
}

.gcard:active {
  animation: springTap 0.42s var(--spring) both;
  transition: none;
}

.g-emoji {
  font-size: 52px;
  line-height: 1;
  padding: 20px 14px 6px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.22));
  position: relative;
  z-index: 1;
}
.g-emoji svg {
  width: 54px;
  height: 54px;
  display: block;
}

.g-footer {
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 9px 13px 11px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

.g-title {
  font-family: "Baloo 2", "Noto Sans Hebrew", "Sora", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.g-desc {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.76);
  direction: rtl;
  margin-bottom: 7px;
  line-height: 1.3;
}

.g-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.g-tag {
  display: inline-block;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.15);
  direction: rtl;
}

.g-xp {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
}

.g-best {
  position: absolute;
  top: 9px;
  left: 9px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  z-index: 2;
}

