.home-slider { position: relative; margin: 8px 0 14px; border-radius: var(--radius); overflow: hidden; }
.home-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.home-track::-webkit-scrollbar { display: none; }
.home-slide {
  flex: 0 0 100%; scroll-snap-align: start; min-height: 178px; position: relative;
  padding: 18px 16px 16px; text-align: left; color: var(--text);
  background: var(--card) center/cover no-repeat;
}
.home-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 6, 8, .92) 0%, rgba(7, 6, 8, .45) 55%, rgba(7, 6, 8, .25) 100%);
}
.home-slide > * { position: relative; z-index: 1; }
.home-slide h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.15; max-width: 78%; }
.home-slide p { margin: 0 0 12px; font-size: 12px; color: var(--muted); max-width: 72%; letter-spacing: .04em; }
.home-slide .btn-red {
  display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); font-weight: 700; font-size: 13px;
}
.home-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.home-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.home-dots i.on { background: var(--accent-2); width: 18px; border-radius: 4px; }

.home-games { margin: 20px 0 8px; }
.home-games-title { margin: 4px 0 8px; font-size: 20px; }
.home-games-title::after { background: linear-gradient(90deg, var(--accent-2), transparent); }
.home-games-lead {
  margin: 0 0 12px; font-size: 12px; line-height: 1.45; color: var(--muted);
}
.home-games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.home-mode {
  position: relative; min-height: 172px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06); text-align: left; color: #fff;
  background: #070608;
}
.home-mode::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, var(--from) 0%, #0a090c 52%, #070608 100%);
}
.home-mode::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -20%; height: 55%; z-index: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, color-mix(in srgb, var(--glow) 55%, transparent), transparent 72%);
  pointer-events: none;
}
.home-mode-art {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.home-mode-art-img {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 46px;
}
.home-mode-art-img img {
  max-width: 94%; max-height: 118px; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55));
}
.home-mode--cases .home-mode-art-img { align-items: flex-end; justify-content: flex-end; padding: 0 2px 40px 0; }
.home-mode--cases .home-mode-art-img img { max-height: 128px; margin-right: -6px; }
.home-mode--crash .home-mode-art-img { align-items: center; justify-content: center; padding-bottom: 52px; }
.home-mode--crash .home-mode-art-img img { max-height: 86px; transform: rotate(-8deg); }

.home-upgrade-art {
  position: relative; width: 118px; height: 118px; margin-top: -8px;
}
.home-dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-upgrade-art img {
  position: absolute; left: 50%; top: 54%; width: 78px; height: auto;
  transform: translate(-50%, -50%) rotate(-12deg);
  object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5));
}

.home-mines-art {
  display: grid; grid-template-columns: repeat(3, 34px); gap: 5px;
  margin-top: -6px;
}
.home-mines-cell {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08);
}
.home-mines-cell.coin {
  background: linear-gradient(145deg, rgba(34, 197, 94, .25), rgba(0, 0, 0, .4));
  border-color: rgba(74, 222, 128, .35);
  box-shadow: inset 0 0 10px rgba(74, 222, 128, .15);
}
.home-mines-cell.coin::after {
  content: ""; display: block; width: 16px; height: 16px; margin: 8px auto;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fde68a, #ca8a04);
  box-shadow: 0 0 6px rgba(250, 204, 21, .45);
}
.home-mines-cell.mine {
  background: radial-gradient(circle at 50% 40%, #57534e, #1c1917);
  border-color: rgba(248, 113, 113, .35);
}
.home-mines-cell.mine::after {
  content: ""; display: block; width: 18px; height: 18px; margin: 7px auto;
  border-radius: 50%; background: #44403c;
  box-shadow: 0 0 0 3px #292524, inset 0 -4px 0 #1c1917;
}

.home-mode-copy {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
}
.home-mode-copy b {
  display: block; font-family: Oswald, sans-serif; font-size: 17px; letter-spacing: .05em; line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .65);
}
.home-mode-copy small {
  display: block; margin-top: 3px; font-size: 11px; line-height: 1.25; color: rgba(255, 255, 255, .82);
}

.home-promo-tasks {
  width: 100%; margin: 14px 0; padding: 14px; border-radius: var(--radius); text-align: left;
  background: linear-gradient(90deg, var(--accent-dark), var(--card));
  border: 1px solid var(--line);
}
.home-promo-tasks b { display: block; font-size: 15px; margin-bottom: 4px; }
.home-promo-tasks small { color: var(--muted); }
.home-ref-case {
  margin: 12px 0; padding: 14px; border-radius: var(--radius);
  background: var(--card) url(../img/oxide/bg_shop_friend.png) center/cover;
  border: 1px solid var(--line);
}
.home-ref-case::before {
  content: ""; display: block; position: absolute; /* placeholder */
}
