/* goldenvibehub — compact Gates of Asgard game for homepage.
   All selectors are hgame-prefixed to avoid collisions with the full game page. */

.home-game-section {
  position: relative;
  overflow: hidden;
}

.home-game-section::before {
  content: "";
  position: absolute;
  width: 820px;
  height: 420px;
  left: 50%;
  top: 80px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(80, 211, 218, .10), transparent 68%);
  pointer-events: none;
}

.home-game-heading {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.home-game-heading h2 {
  margin-bottom: 10px;
}

.hgame-wrap {
  width: min(760px, 100%);
  margin: 0 auto;
  position: relative;
}

.hgame-crown {
  width: calc(100% - 46px);
  margin: 0 auto -2px;
  min-height: 62px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(235, 184, 67, .75);
  border-bottom: 0;
  border-radius: 22px 22px 5px 5px;
  background:
    linear-gradient(180deg, rgba(19, 43, 59, .98), rgba(4, 15, 25, .98));
  box-shadow: 0 -10px 35px rgba(65, 204, 211, .07), inset 0 1px rgba(255,255,255,.05);
  color: #f6d67e;
}

.hgame-crown b {
  font: 800 clamp(21px, 3vw, 31px)/1 Georgia, serif;
  letter-spacing: .04em;
  white-space: nowrap;
  text-shadow: 0 2px #60430f, 0 0 18px rgba(235,184,67,.18);
}

.hgame-crown i {
  width: 55px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d9a83a);
}

.hgame-crown i:nth-of-type(2) {
  background: linear-gradient(90deg, #d9a83a, transparent);
}

.hgame-crown > span {
  color: #68dce1;
}

.hgame-machine {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(235, 184, 67, .68);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0, rgba(35, 112, 133, .18), transparent 38%),
    linear-gradient(180deg, #081927 0%, #030b13 100%);
  box-shadow:
    0 30px 70px rgba(0,0,0,.42),
    inset 0 0 0 5px rgba(231,180,64,.035),
    inset 0 0 40px rgba(39,151,166,.055);
}

.hgame-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 11px;
  color: #7f98a9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.hgame-social {
  color: #67dce2;
}

.hgame-reels-frame {
  position: relative;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(235,184,67,.58);
  border-radius: 15px;
  background: #02080d;
  box-shadow: inset 0 0 30px rgba(0,0,0,.7);
}

.hgame-reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.hgame-reel {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 7px;
}

.hgame-symbol {
  min-height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 171, 58, .33);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 30%, rgba(40, 147, 174, .18), transparent 56%),
    linear-gradient(180deg, #0b2130, #06111b);
  color: #f3d67d;
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.hgame-symbol::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.035), transparent 65%);
  pointer-events: none;
}

.hgame-art {
  font-size: 38px;
  line-height: 1;
  text-shadow: 0 0 16px currentColor;
}

.hgame-symbol small {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #8ba2b1;
}

.hgame-symbol.rune { color: #73e4ea; }
.hgame-symbol.thor { color: #f5c550; }
.hgame-symbol.freya { color: #e3a5e9; }
.hgame-symbol.hammer { color: #c5d9e7; }
.hgame-symbol.raven { color: #94b7cf; }
.hgame-symbol.wolf { color: #b6c8d4; }
.hgame-symbol.odin { color: #f0d284; }

.hgame-symbol.spinning {
  animation: hgamePulse .10s linear infinite;
  filter: blur(.8px) brightness(1.18);
}

.hgame-symbol.win {
  border-color: #ffe391;
  box-shadow: 0 0 18px rgba(255,218,112,.48), inset 0 0 22px rgba(255,218,112,.12);
  animation: hgameWin .65s ease-in-out infinite alternate;
}

@keyframes hgamePulse {
  50% { transform: translateY(2px) scale(.98); }
}

@keyframes hgameWin {
  to { transform: translateY(-2px); filter: brightness(1.25); }
}

.hgame-payline {
  position: absolute;
  z-index: 3;
  left: 7px;
  right: 7px;
  top: 50%;
  height: 2px;
  transform: translateY(-1px);
  background: linear-gradient(90deg, transparent, #ffd76c 8%, #ffd76c 92%, transparent);
  box-shadow: 0 0 9px #ffd76c;
  opacity: .72;
  pointer-events: none;
}

.hgame-console {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(235,184,67,.18);
  border-radius: 14px;
  background: rgba(0,0,0,.25);
}

.hgame-stat small {
  display: block;
  color: #718a9a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.hgame-stat strong {
  display: block;
  margin-top: 4px;
  color: #f6dc91;
  font-size: 19px;
}

.hgame-stat em {
  color: #758c9b;
  font-size: 8px;
  font-style: normal;
}

.hgame-win {
  text-align: right;
}

.hgame-spin {
  width: 150px;
  height: 68px;
  border: 3px solid #ffe49a;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe9a7 0%, #e7b84c 48%, #b87519 100%);
  box-shadow: 0 6px 0 #70470f, 0 12px 26px rgba(232,184,77,.22), inset 0 2px #fff5c9;
  color: #251500;
  cursor: pointer;
  font-family: Georgia, serif;
  font-weight: 900;
  transition: .15s ease;
}

.hgame-spin span {
  display: block;
  font-size: 23px;
}

.hgame-spin small {
  display: block;
  margin-top: 2px;
  font: 800 8px/1.1 Inter, system-ui, sans-serif;
  letter-spacing: .1em;
}

.hgame-spin:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.hgame-spin:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #70470f;
}

.hgame-spin:disabled {
  cursor: wait;
  filter: grayscale(.55);
}

.hgame-message {
  min-height: 22px;
  margin-top: 12px;
  text-align: center;
  color: #f1d27a;
  font-size: 12px;
  font-weight: 800;
}

.hgame-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 2px;
  font-size: 11px;
}

.hgame-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #718b9b;
  text-decoration: underline;
  cursor: pointer;
}

.hgame-actions a {
  color: #70dce2;
  text-decoration: none;
}

.hgame-disclaimer {
  width: min(760px, 100%);
  margin: 15px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(235,184,67,.18);
  border-radius: 13px;
  background: rgba(4,14,23,.76);
}

.hgame-disclaimer span {
  padding: 12px 8px;
  text-align: center;
  color: #8fa5b3;
  font-size: 10px;
  border-right: 1px solid rgba(255,255,255,.055);
}

.hgame-disclaimer span:last-child {
  border-right: 0;
}

.hgame-disclaimer b {
  color: #f2cf70;
  margin-right: 4px;
}

@media (max-width: 720px) {
  .hgame-wrap, .hgame-disclaimer { width: 100%; }
  .hgame-machine { padding: 9px; }
  .hgame-crown { width: calc(100% - 24px); min-height: 52px; }
  .hgame-crown i, .hgame-crown > span { display: none; }
  .hgame-symbol { min-height: 65px; border-radius: 7px; }
  .hgame-art { font-size: clamp(24px, 8vw, 34px); }
  .hgame-symbol small { display: none; }
  .hgame-reels, .hgame-reel { gap: 4px; }
  .hgame-console { gap: 6px; padding: 9px; }
  .hgame-stat strong { font-size: 14px; }
  .hgame-stat em { display: none; }
  .hgame-spin { width: 118px; height: 58px; }
  .hgame-spin span { font-size: 19px; }
  .hgame-disclaimer { grid-template-columns: 1fr 1fr; }
  .hgame-disclaimer span:nth-child(2) { border-right: 0; }
  .hgame-disclaimer span:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.055); }
}

@media (max-width: 430px) {
  .hgame-topline { font-size: 8px; }
  .hgame-symbol { min-height: 54px; }
  .hgame-spin { width: 104px; height: 54px; }
  .hgame-spin span { font-size: 17px; }
  .hgame-stat small { font-size: 7px; }
  .hgame-stat strong { font-size: 12px; }
}
