/* Mobile home lobby — guest actions, hot grid, header logo layout helpers */

.home-guest-actions {
  display: none;
}

.home-hot-badge {
  display: none;
}

@media (max-width: 900px) {
  .page-home .hero-banners {
    gap: 0;
    width: calc(100% + 10px);
    margin: -5px -5px 0;
  }

  .page-home .banner-stack {
    display: none;
  }

  .page-home .banner,
  .page-home .banner-main,
  .page-home .banner-carousel,
  .page-home .banner-carousel__track,
  .page-home .banner-carousel__slide,
  .page-home .banner-media {
    border-radius: 0;
  }

  .page-home .banner,
  .page-home .banner-main,
  .page-home .banner-carousel {
    width: 100%;
  }

  .home-guest-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 78%;
    max-width: 280px;
    margin: 20px auto 1rem;
    padding: 0;
  }

  body.is-logged-in .home-guest-actions {
    display: flex;
  }

  body.is-logged-in .home-guest-actions .home-cta[data-page="register"],
  body.is-logged-in .home-guest-actions .home-cta[data-page="login"] {
    display: none;
  }

  .home-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 48px;
    padding: 0.45rem 0.7rem;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
  }

  .home-cta--money {
    display: none;
    margin-top: 4px;
    min-height: 46px;
    padding: 0.4rem 0.9rem;
    gap: 8px;
    background: #ffffff;
    color: #111111;
    border: 2px solid #111111;
    border-radius: 10px;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: none;
    text-shadow: none;
  }

  body.is-logged-in .home-cta--money {
    display: flex;
  }

  .home-cta--money .home-cta__icon {
    position: static;
    width: 30px;
    height: 30px;
    filter: invert(1);
  }

  .home-cta--money span {
    color: #111111;
  }

  .home-cta--img {
    padding: 0;
    min-height: 0;
    line-height: 0;
    background: transparent;
    border-radius: 0;
  }

  .home-cta__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    animation: auth-btn-pulse 1s linear infinite;
  }

  .home-cta__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    pointer-events: none;
  }

  .home-cta--fun {
    background: linear-gradient(180deg, #f8be00 , #db9213 );
    border: 5px solid #fdee30;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 0 #8a5600;
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.8);
    margin-bottom: 7px;
  }

  .home-cta--promo {
    background: linear-gradient(180deg, #4565b2 0%, #4565b2 52%, #4565b2 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 0 #1f4277;
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.8);
    margin-bottom: 7px;
  }

  .home-cta__icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .home-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 2px 4px 4px;
  }

  .home-cta-row img.home-cta__icon1 {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .home-cta-row img.home-cta__icon2 {
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .home-cta--mini {
    min-height: 42px;
    height: 42px;
    padding: 0.35rem 0.55rem;
    border: 2px solid #fd73fd;
    border-radius: 11px;
    background: #650570;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 800;
    box-shadow:
      0 0 0 2px hsla(313, 86%, 67%, 0.1),
      0 0 5px 2px rgba(255, 59, 224, 0.02),
      0 0 5px 2px rgba(255, 48, 214, 0.77),
      0 0 5px 2px rgba(252, 43, 220, 0.18),
      inset 0 0 5px rgba(255, 59, 226, 0.93),
      inset 0 0 5px rgba(255, 59, 224, 0.16);
    overflow: visible;
  }

  .home-cta--mini .home-cta__icon,
  .home-cta--mini span {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
  }

  .game-section--hot {
    margin-top: 0.35rem;
  }

  .home-hot-panel {
    position: relative;
    padding: 3px;
    width: 280px;
    margin: 0 auto;
    margin-top: 20px !important;
    border-radius: 14px;
    border: 5px solid #e3a024;
    background: #884e02;
    box-shadow: none;
    overflow: visible;
  }

  .game-section--hot .section-head {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 4;
    justify-content: center;
    width: max-content;
    max-width: 72%;
    margin: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .game-section--hot .view-all,
  .game-section--hot .section-icon,
  .game-section--hot .section-title h2 {
    display: none;
  }

  .home-hot-badge {
    display: block;
    height: 34px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(160, 20, 0, 0.65));
  }

  .home-hot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    overflow: hidden;
    width: 100%;
    padding-bottom: 0;
    border-radius: 11px;
  }

  .home-hot-grid .game-card,
  .home-hot-grid .game-thumb,
  .home-hot-grid .game-card--maintenance .catalog-maintenance {
    width: 100%;
  }

  .home-hot-grid .game-card {
    min-width: 0;
  }

  .home-hot-grid .game-card:hover {
    transform: none;
  }

  .home-hot-grid .game-thumb {
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .home-hot-grid .game-thumb--photo img {
    border-radius: 0;
  }

  .home-hot-grid .game-name {
    display: none;
  }

  .game-section--new,
  .game-section--tip {
    display: none;
  }
}

@media (min-width: 901px) {
  .home-guest-actions,
  .home-hot-badge {
    display: none;
  }
}
