/* MAIN PAGE */ /* MAIN PAGE */ /* MAIN PAGE */ /* === МАСТЕР-СЕТКА modern === */
.modern-master-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-auto-flow: dense;
  gap: 12px;
  max-width: 1600px;
  margin: 10px auto 40px auto;
  padding: 0 15px;
} /* Отступы баннеров сведены к минимуму */
.gp-banner-section {
  max-width: 1600px;
  margin: 0 auto 15px auto;
  padding: 0 15px;
  display: flex;
  justify-content: center;
} /* === ПЛИТКИ ИГР === */
.gp-game-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  text-decoration: none !important;
  display: block;
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.gp-game-tile:hover {
  transform: scale(1.06);
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.gp-size-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}
.gp-size-1x1 {
  grid-column: span 1;
  grid-row: span 1;
}
.card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}
.gp-tile-title-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: #fff;
  padding: 30px 10px 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.gp-tile-title-bar span {
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.gp-size-2x2 .gp-tile-title-bar span {
  font-size: 16px;
}
.gp-size-1x1 .gp-tile-title-bar span {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
}
.gp-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  padding: 15px;
  text-align: center;
}
.gp-game-tile:hover .gp-tile-overlay {
  opacity: 1;
}
.gp-play-btn {
  background: #ffc04b;
  color: #111;
  font-weight: 900;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 30px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}
.gp-desc-text {
  font-size: 12px;
  line-height: 1.4;
  color: #eee;
  display: none;
}
.gp-size-2x2 .gp-desc-text {
  display: block;
} 
/* === ЖЕСТКАЯ РЕКЛАМА 300x250 === */
.gp-ad-in-grid {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.ad-strict-300 {
    width: 300px;
    max-width: 100%;
    height: 250px;
    max-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    overflow: hidden;
}

.ad-strict-300 iframe,
.ad-strict-300 ins,
.ad-strict-300 > div {
    width: 300px !important;
    max-width: 100% !important;
    height: 250px !important;
    max-height: 250px !important;
}

/* === КРУТЫЕ КАРТОЧКИ КАТЕГОРИЙ === */
.gp-cat-grid {
  max-width: 1600px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
.gp-cat-card {
  background: #fff;
  border-radius: 18px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none !important;
  color: #111;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.gp-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.gp-cat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gp-cat-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.gp-cat-text {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.bg-teal {
  background: #42e8c0;
}
.bg-pink {
  background: #ff71b6;
}
.bg-orange {
  background: #ffc04b;
}
.bg-purple {
  background: #c77af5;
}
.bg-blue {
  background: #3b82f6;
} /* === БЛОК ОПИСАНИЯ === */
.modern-desc-container {
  max-width: 1600px;
  margin: 0 auto 50px;
  padding: 0 15px;
}
.gp-desc-box {
  background: #fff;
  border-radius: 22px;
  padding: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 40px;
}
.gp-desc-thumb {
  width: 280px;
  flex-shrink: 0;
}
.gp-desc-thumb img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.gp-desc-content {
  flex: 1;
}
.gp-desc-content h1 {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 20px 0;
  color: #111;
}
.gp-desc-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 30px 0 12px 0;
  color: #222;
}
.gp-desc-content p {
  line-height: 1.8;
  color: #444;
  font-size: 16px;
  margin-bottom: 15px;
}
.gp-in-text-link {
  color: #2b5296;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid #bdf3e8;
  transition: 0.2s;
}
.gp-in-text-link:hover {
  background: #bdf3e8;
  color: #111;
} /* === АДАПТИВНОСТЬ === */
@media (max-width: 1200px) {
    .modern-master-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    .gp-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .modern-master-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .gp-desc-box {
        flex-direction: column;
        align-items: center;
    }

    .gp-desc-thumb {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .gp-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .modern-master-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .gp-size-2x2 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gp-size-1x1 .gp-tile-title-bar {
        display: none;
    }

    .gp-cat-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}/* // END MAIN PAGE */ /* // END MAIN PAGE */ /* // END MAIN PAGE */ /* SINGLE PAGE */ /* SINGLE PAGE */ /* SINGLE PAGE */ /* === СЕТКА === */ /* === ПЛЕЕР === */
.gp-mega-player {
  grid-column: 2 / 10;
  grid-row: 1 / 6;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: visible;
  min-height: 550px;
  position: relative;
}
.gp-iframe-wrap {
  position: relative;
  min-height: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
  z-index: 1;
}
.gp-fs-stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.gp-embed-fit {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gp-embed-fit,
.gp-embed-fit > * {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
}
.gp-embed-fit iframe,
.gp-embed-fit object,
.gp-embed-fit embed {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  border: none !important;
} /* === ACTION BAR === */
.gp-action-bar {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}
.gp-action-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: visible;
}
.gp-action-mini-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.gp-game-title {
  min-width: 0;
  overflow: visible;
}

.gp-game-title h1 {
  display: block;
  margin: 0;
  padding-bottom: 2px;
  font-size: 20px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gp-action-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 0 0 auto;
  flex-shrink: 0;
}
.gp-rating-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0;
}
.gp-rating-wrapper .post-ratings {
  display: flex !important;
  align-items: center !important;
  float: none !important;
  margin: 0 !important;
}
.gp-rating-wrapper .post-ratings img {
  margin-right: 2px !important;
}
.gp-rating-wrapper .post-ratings-text {
  display: none !important;
}
.gp-voti-text {
  color: #888;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
#fullscreen-btn {
  background: #f4f6f8;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gp-favorite-toggle {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #f4f6f8;
  color: #444;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.12s ease;
}
.gp-favorite-toggle:hover {
  background: #eceff4;
}
.gp-favorite-toggle:active {
  transform: translateY(1px);
}
.gp-favorite-toggle {
  line-height: 0;
}
.gp-favorite-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gp-favorite-toggle.is-active {
  background: #ff71b6;
  color: #fff;
} /* === FULLSCREEN OVERLAY === */
html.gp-fs-open,
body.gp-fs-open {
  overflow: hidden !important;
  height: 100%;
}
body.gp-fs-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  overscroll-behavior: none;
}
body.gp-fs-open::before {
  display: none !important;
}
html.gp-fs-open .gp-header,
body.gp-fs-open .gp-header,
html.gp-fs-open .gp-ad-bottom-row,
body.gp-fs-open .gp-ad-bottom-row,
html.gp-fs-open .gp-mega-ad-right,
body.gp-fs-open .gp-mega-ad-right,
html.gp-fs-open .gp-nav-row,
body.gp-fs-open .gp-nav-row,
html.gp-fs-open .modern-desc-container,
body.gp-fs-open .modern-desc-container,
html.gp-fs-open footer,
body.gp-fs-open footer {
  display: none !important;
}
html.gp-fs-open .modern-master-grid > .gp-game-tile,
body.gp-fs-open .modern-master-grid > .gp-game-tile {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.gp-fs-open .gp-mega-player,
body.gp-fs-open .gp-mega-player {
  background: transparent !important;
  box-shadow: none !important;
}
html.gp-fs-open .gp-mega-player .gp-action-bar,
body.gp-fs-open .gp-mega-player .gp-action-bar {
  visibility: hidden !important;
  pointer-events: none !important;
}
.gp-iframe-wrap.is-fs {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  background: #000 !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.gp-iframe-wrap.is-fs #close-fullscreen {
  display: flex !important;
}
.gp-iframe-wrap.is-fs .gp-fs-stage {
  position: relative;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: 100vw !important;
  max-height: 100dvh !important;
  background: #000;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
}
.gp-iframe-wrap.is-fs .gp-embed-fit {
  position: absolute !important;
  inset: 0 !important;
}
.gp-iframe-wrap.is-fs iframe,
.gp-iframe-wrap.is-fs object,
.gp-iframe-wrap.is-fs embed {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  max-height: none !important;
}
#close-fullscreen {
  display: none;
  position: fixed !important;
  top: calc(env(safe-area-inset-top) + 14px);
  right: calc(env(safe-area-inset-right) + 14px);
  z-index: 2147483647 !important;
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 0 0 3px 0;
}
#close-fullscreen:hover {
  background: #ff1f1f;
  transform: scale(1.06);
  transition: 0.2s ease;
} /* === РЕКЛАМА ПОД ПЛЕЕРОМ === */
.gp-ad-bottom-row {
  grid-column: 2 / 10;
  grid-row: 6;
  min-height: 90px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.gp-adsense-bottom {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 90px;
} /* === КНОПКИ НАВИГАЦИИ === */
.gp-nav-row {
  grid-column: 2 / 10;
  grid-row: 7;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gp-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  border-radius: 14px;
  text-decoration: none !important;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff !important;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
  transition:
    transform 0.1s,
    box-shadow 0.1s;
  white-space: nowrap;
}
.gp-btn-teal {
  background: #42e8c0 !important;
}
.gp-btn-pink {
  background: #ff71b6 !important;
}
.gp-btn-orange {
  background: #ffc04b !important;
}
.gp-btn-purple {
  background: #c77af5 !important;
}
.gp-nav-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}
.gp-nav-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
} /* === РЕКЛАМА СПРАВА === */
.gp-mega-ad-right {
  grid-column: 10 / 12;
  grid-row: 2 / 4;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.ad-fixed-box {
  width: 100%;
  max-width: 300px;
  height: 250px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
} /* === ПЛИТКИ ИГР === */
.gp-tile-left-col {
  grid-column: 1;
  
} /* === ОПИСАНИЕ === */
.gp-desc-content {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.gp-desc-content img,
.gp-desc-content iframe,
.gp-desc-content video,
.gp-desc-content table {
  max-width: 100% !important;
}
.gp-desc-content iframe,
.gp-desc-content video {
  width: 100% !important;
}
.gp-desc-content table {
  display: block;
  overflow-x: auto;
}
.gp-breadcrumbs {
  font-size: 12px;
  margin-bottom: 12px;
  color: #a0aabf;
  font-weight: 800;
  text-transform: uppercase;
}
.gp-breadcrumbs a {
  color: #2b5296;
  text-decoration: none;
}
.gp-breadcrumbs a:hover {
  text-decoration: underline;
}
@media (hover: none) {
  .gp-game-tile:hover {
    transform: none;
  }
} /* ================================================       АДАПТИВНОСТЬ       ================================================ */
@media (max-width: 1200px) {
  .gp-mega-player {
    grid-column: 2 / 10;
  }
  .gp-ad-bottom-row {
    grid-column: 2 / 10;
  }
  .gp-nav-row {
    grid-column: 2 / 10;
  }
  .gp-mega-ad-right {
        grid-column: 10 / 11;
        grid-row: 1 / 6;
    }
  .ad-fixed-box {
    width: 100%;
    max-width: 120px;
    height: 600px;
  }
}
@media (max-width: 1000px) {
  .gp-mega-player {
    grid-column: 1 / -1;
    grid-row: 1 / 6;
    min-height: 420px;
  }
  .gp-ad-bottom-row {
    grid-column: 1 / -1;
    grid-row: 6;
  }
  .gp-nav-row {
    grid-column: 1 / -1;
    grid-row: 7;
  }
  .gp-mega-ad-right {
    display: none;
  }
  .gp-tile-left-col {
    grid-column: auto;
  }
  .gp-game-title h1 {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .gp-mega-player {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: auto;
    height: auto;
    grid-template-rows: 280px auto;
    border-radius: 14px;
  }
  .gp-iframe-wrap {
    min-height: 0;
    height: 280px;
  }
  .gp-action-bar {
    min-height: 60px;
    padding: 10px 12px;
    gap: 8px;
  }
  .gp-action-left {
    gap: 10px;
  }
  .gp-action-mini-thumb {
    width: 36px;
    height: 36px;
  }
  .gp-game-title h1 {
    font-size: 13px;
  }
  .gp-voti-text {
    display: none;
  }
  .gp-action-right {
    gap: 8px !important;
  }
  .gp-ad-bottom-row {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 60px;
  }
  .gp-mega-ad-right {
    display: none;
  }
  .gp-nav-row {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gp-nav-btn {
    height: 48px;
    font-size: 12px;
    gap: 6px;
  }
  .gp-nav-btn svg {
    width: 18px;
    height: 18px;
  }
  .gp-tile-left-col {
    grid-column: auto;
  }
  .gp-desc-box {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .gp-desc-thumb {
    width: 100%;
    max-width: 280px;
    align-self: center;
  }
  .gp-iframe-wrap.is-fs {
    width: 100vw !important;
    height: 100dvh !important;
  }
  .gp-iframe-wrap.is-fs .gp-fs-stage {
    width: 100vw !important;
    height: 100dvh !important;
  }
  #close-fullscreen {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }
}
@media (max-width: 480px) {
  .gp-action-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "left full" "rating rating";
    align-items: center;
    row-gap: 8px;
    column-gap: 10px;
    padding: 10px 12px;
  }
  .gp-action-left {
    grid-area: left;
    min-width: 0;
  }
  .gp-action-right {
    grid-area: full;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end;
    gap: 8px !important;
  }
  .gp-rating-wrapper {
    grid-area: rating;
    justify-content: flex-start;
  }
  .gp-action-mini-thumb {
    width: 34px;
    height: 34px;
  }
  .gp-game-title h1 {
    font-size: 12px;
    line-height: 1.15;
  }
  #fullscreen-btn,
  .gp-favorite-toggle {
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 420px) {
  #close-fullscreen {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
}
@media (max-width: 400px) {
  .gp-mega-player {
    grid-template-rows: 230px auto;
  }
  .gp-iframe-wrap {
    height: 230px;
  }
  .gp-nav-btn {
    height: 42px;
    font-size: 11px;
  }
  .gp-game-title h1 {
    font-size: 12px;
  }
}

/* GAMES META & INFO FOR DESCR */

.gp-game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px 0;
}

.gp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f5f7fb;
  border: 1px solid #e9eef5;
  color: #333;
  font-size: 13px;
  line-height: 1.2;
}

.gp-meta-label {
  color: #8a96a8;
  font-weight: 700;
}

.gp-meta-value {
  color: #111;
  font-weight: 800;
}

@media (max-width: 600px) {
  .gp-game-meta {
    gap: 7px;
    margin-bottom: 16px;
  }

  .gp-meta-item {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
}
/* // GAMES META & INFO FOR DESCR */

/* FOOTER */

:root {
  --gp-text-dark: #111111;
  --gp-text-blue: #2f6bff;
  --gp-text-soft: #8b95a7;
  --gp-border: #e8edf4;
}

#gp-footer,
footer#gp-footer,
#tables_name,
.widget ul li::before {
  background: #fff !important;
  background-image: none !important;
  color: var(--gp-text-dark) !important;
  text-shadow: none !important;
  border: none !important;
  box-shadow: none !important;
}

#gp-footer {
  width: 100%;
  margin-top: 56px;
  padding: 0;
  background: #fff !important;
  border-top: 1px solid var(--gp-border);
}

.gp-footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 34px 24px 22px;
  display: grid;
  grid-template-columns: 320px 1fr 1fr 1fr;
  gap: 38px;
}

.gp-footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.gp-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--gp-text-dark) !important;
  text-transform: uppercase;
  text-decoration: none !important;
  letter-spacing: 0.3px;
}

.gp-footer-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.gp-footer-note {
  max-width: 270px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gp-text-soft);
}

.gp-lang-wrap {
  position: relative;
  display: inline-block;
}

.gp-lang-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 100%;
  height: 10px;
}

.gp-lang-btn {
  background: #fff !important;
  border: 1px solid var(--gp-border) !important;
  color: var(--gp-text-dark) !important;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    border-color 0.2s ease,
    transform 0.12s ease,
    background 0.2s ease;
}

.gp-lang-btn:hover {
  border-color: #d8dfeb !important;
}

.gp-lang-dropdown {
  position: absolute;
  left: 0;
  bottom: calc(100% - 2px);
  min-width: 220px;
  padding: 8px 0;
  background: #fff !important;
  border: 1px solid var(--gp-border);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  z-index: 99999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

.gp-lang-wrap:hover .gp-lang-dropdown,
.gp-lang-wrap:focus-within .gp-lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.gp-lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: var(--gp-text-dark) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.gp-lang-dropdown a:hover {
  background: #f7f9fc !important;
}

.gp-socials {
  display: flex;
  gap: 10px;
}

.gp-socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--gp-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition:
    transform 0.15s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.gp-socials a:hover {
  transform: translateY(-2px);
  border-color: #d7dfeb;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.gp-socials svg {
  width: 18px;
  height: 18px;
  fill: #222;
  display: block;
}

.gp-footer-col h4 {
  margin: 0 0 16px 0 !important;
  font-size: 12px !important;
  color: #99a4b8 !important;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 900 !important;
}

.gp-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gp-footer-col a {
  text-decoration: none !important;
  color: var(--gp-text-dark) !important;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.gp-footer-col a:hover {
  color: var(--gp-text-blue) !important;
}

.gp-footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--gp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--gp-text-soft);
  font-size: 13px;
}

.gp-footer-bottom a {
  color: var(--gp-text-soft) !important;
  text-decoration: none !important;
  font-weight: 700;
}

.gp-footer-bottom a:hover {
  color: var(--gp-text-blue) !important;
}

@media (max-width: 1100px) {
  .gp-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .gp-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 18px 18px;
    text-align: center;
  }

  .gp-footer-left {
    align-items: center;
  }

  .gp-footer-note {
    max-width: 100%;
  }

  .gp-lang-dropdown {
    left: 50%;
    transform: translateX(-50%) translateY(6px);
  }

  .gp-lang-wrap:hover .gp-lang-dropdown,
  .gp-lang-wrap:focus-within .gp-lang-dropdown {
    transform: translateX(-50%) translateY(0);
  }

  .gp-footer-bottom {
    padding: 14px 18px 18px;
    flex-direction: column;
    text-align: center;
  }

  /* // FOOTER */

  /* END SINGLE PAGE */ /* END SINGLE PAGE */ /* END SINGLE PAGE */
}


/* === TABLET / SMALL LAPTOP SINGLE PAGE STABILIZER === */
@media (min-width: 1001px) and (max-width: 1500px) {
  body.single .modern-master-grid {
    --sg-col: clamp(76px, calc((100vw - 180px) / 11), 100px);
    grid-template-columns: repeat(11, minmax(0, 1fr)) !important;
    grid-auto-rows: var(--sg-col) !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  body.single .gp-mega-player {
    grid-column: 2 / 10 !important;
    grid-row: 1 / span 5 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    align-self: stretch !important;
    border-radius: 18px !important;
  }

  body.single .gp-iframe-wrap,
  body.single .gp-fs-stage,
  body.single .gp-embed-fit,
  body.single .gp-embed-fit > *,
  body.single .gp-embed-fit iframe,
  body.single .gp-embed-fit object,
  body.single .gp-embed-fit embed {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
  }

  body.single .gp-ad-bottom-row {
    grid-column: 2 / 10 !important;
    grid-row: 6 !important;
    min-height: 90px !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
  }

  body.single .gp-nav-row {
    grid-column: 2 / 10 !important;
    grid-row: 7 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  body.single .gp-mega-ad-right {
    grid-column: 10 / 12 !important;
    grid-row: 1 / span 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 3 !important;
  }

  body.single .ad-fixed-box,
  body.single #gp-right-ad-slot {
    grid-column: 1 / -1 !important;
    grid-row: 1 / -1 !important;
    width: calc(var(--sg-col) * 2 + 12px) !important;
    height: calc(var(--sg-col) * 2 + 12px) !important;
    max-width: calc(var(--sg-col) * 2 + 12px) !important;
    max-height: calc(var(--sg-col) * 2 + 12px) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    justify-self: center !important;
    align-self: stretch !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
  }

  body.single #gp-right-ad-slot .adsbygoogle,
  body.single .ad-fixed-box .adsbygoogle {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.single .gp-game-tile {
    height: 100% !important;
    aspect-ratio: auto !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }

  body.single .gp-tile-left-col {
    grid-column: 1 !important;
  }
}
/* 728x90 bottom ad fix — removes top/bottom inner gaps on all screens */

/* Tablet-only fix for bottom 728x90 ad: keep desktop unchanged */
@media (min-width: 1001px) and (max-width: 1500px) {
  body.single .gp-ad-bottom-row {
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.single .gp-adsense-bottom,
  body.single .gp-ad-bottom-row .adsbygoogle,
  body.single .gp-ad-bottom-row ins,
  body.single .gp-ad-bottom-row iframe {
    display: block !important;
    width: 728px !important;
    max-width: 100% !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
  }
}
