.main-header,
body {
  background-color: var(--bg-color);
}
#search-input,
body {
  font-family: var(--font-family);
  color: var(--text-color);
}
.main-nav a,
.search-result-item__info h4 {
  font-size: 1rem;
  font-weight: 600;
}
#search-input,
a,
body {
  color: var(--text-color);
}
.about-us-page .btn-contact,
.btn-primary-cta,
.contact-email,
.footer-nav a,
a {
  text-decoration: none;
}
:root {
  --bg-color: #111318;
  --primary-accent: #2d77ff;
  --text-color: #f0f0f0;
  --card-bg: #1c1e24;
  --font-family: "Poppins", sans-serif;
  --highlight-blue: #005aff;
  --layout-max-width: 1280px;
  --layout-gutter: 5%;
  scrollbar-color: #4a4d55 var(--card-bg);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
button,
input,
textarea,
select {
  font-family: inherit;
}
html {
  height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-layout {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.main-header,
.main-footer {
  flex-shrink: 0;
}
.page-layout > .content-area:has(> .error-page) {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
body.pseudo-fullscreen-active,
html.pseudo-fullscreen-active {
  overscroll-behavior-y: contain;
}
body.pseudo-fullscreen-active {
  position: fixed;
  width: 100%;
  top: calc(var(--scroll-y, 0) * -1px);
}
a {
  transition: color 0.2s ease-in-out;
}
.game-card-link,
.search-result-link {
  text-decoration: none;
  color: inherit;
  display: block;
  min-width: 0;
  max-width: 100%;
}
@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.main-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px
    max(var(--layout-gutter), calc((100% - var(--layout-max-width)) / 2));
  transform: translate3d(0, 0, 0);
  transition: background-color 0.3s, padding 0.3s ease;
}
.search-container,
.search-container form {
  position: relative;
}
#search-input,
.search-result-item:hover {
  background-color: #2a2d35;
}
.logo img {
  height: 40px;
  display: block;
}
.main-nav ul {
  list-style: none;
  display: flex;
}
.main-nav li {
  margin-left: 30px;
}
#cookie-consent-banner a,
.footer-nav a:hover,
.main-nav a:hover {
  color: var(--primary-accent);
}
.search-container {
  flex-grow: 1;
  max-width: 600px;
}
.search-clear-btn,
.search-icon {
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}
.search-icon {
  left: 15px;
  color: #8a8a8a;
  display: flex;
  align-items: center;
  pointer-events: none;
}
#search-input {
  width: 100%;
  padding: 12px 40px 12px 45px;
  border: 1px solid #3a3d45;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#search-input::placeholder {
  color: #8a8a8a;
}
#search-input:focus {
  outline: 0;
  border-color: var(--highlight-blue);
  box-shadow: 0 0 0 3px rgba(0, 89, 255, 0.3);
}
#search-input::-webkit-search-cancel-button,
#search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-clear-btn {
  display: none;
  right: 15px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a8a8a'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
  background-size: contain;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
}
.game-card-link:focus .game-card::after,
.game-card-link:hover .game-card::after,
.search-clear-btn:hover {
  opacity: 1;
}
#search-overlay.active,
#search-results-container.active,
.search-clear-btn.visible {
  display: block;
}
#search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1010;
}
#search-results-container,
.game-card,
.game-info {
  background-color: var(--card-bg);
}
#search-results-container {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1011;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4a4d55 var(--card-bg);
}
#search-results-container p {
  padding: 20px;
  text-align: center;
  color: #8a8a8a;
}
#search-loader,
.search-loader-inner {
  display: flex;
  justify-content: center;
  padding: 15px;
}
#search-loader::after,
.search-loader-inner::after {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--text-color);
  border-radius: 50%;
  animation: 1s linear infinite spin-simple;
}
@keyframes spin-simple {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
  border-bottom: 1px solid #2a2d35;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item img {
  width: 64px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background-color: #333;
}
.search-result-item__info h4 {
  margin: 0;
  color: var(--text-color);
}
#search-results-container::-webkit-scrollbar {
  width: 10px;
}
#search-results-container::-webkit-scrollbar-track {
  background: 0 0;
}
#search-results-container::-webkit-scrollbar-thumb {
  background-color: #4a4d55;
  border-radius: 10px;
  border: 2px solid var(--card-bg);
}
#search-results-container::-webkit-scrollbar-thumb:hover {
  background-color: #6b6e77;
}
.content-area {
  padding: 20px max(var(--layout-gutter), calc((100% - var(--layout-max-width)) / 2)) 40px;
  width: 100%;
  box-sizing: border-box;
}
.game-section {
  margin-bottom: 50px;
}
.game-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}
.game-info h3,
.load-more-btn {
  font-size: 1rem;
  font-weight: 600;
}
.game-section h2 .icon {
  font-size: 1.5rem;
  margin-right: 15px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.game-page-content .game-grid {
  grid-template-columns: repeat(3, 1fr);
}
.trending-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: -50px;
  margin-bottom: -60px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.trending-row::-webkit-scrollbar {
  display: none;
}
.trending-row .game-card-link {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 60vw;
  max-width: 220px;
}

.homepage-category--banner {
  margin-bottom: 50px;
}

.category-banner--single {
  width: 100%;
  margin: 0;
}
.category-banner--single .category-banner__viewport {
  overflow: hidden;
  width: 100%;
  padding: 10px 0 14px;
}
.category-banner--single .category-banner__viewport::before,
.category-banner--single .category-banner__viewport::after {
  display: none;
}
.category-banner--single .category-banner__slide--solo {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.category-banner--single .category-banner__card {
  width: 100%;
  border-radius: 20px;
}

.category-banner {
  position: relative;
  width: 100%;
  --banner-slide-width: min(96%, 1120px);
  --banner-slide-gap: 10px;
}

.category-banner__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.category-banner__track {
  display: flex;
  gap: var(--banner-slide-gap);
  flex-shrink: 0;
  transform: translateZ(0);
  padding: 10px 0 14px;
  overflow-x: visible;
  scroll-padding-inline: 0;
  padding-left: var(--banner-slide-gap);
  padding-right: var(--banner-slide-gap);
}
.category-banner__slide:first-child {
  margin-left: 0;
}

.category-banner__slide:last-child {
  margin-right: 0;
}

.category-banner__slide {
  flex: 0 0 var(--banner-slide-width);
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.category-banner__card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateZ(0);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: clamp(180px, 28vw, 240px);
  background: var(--bg-color);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.category-banner__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(28, 30, 36, 0.88);
  color: var(--primary-accent);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.28s ease, background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  touch-action: manipulation;
}
.category-banner__nav--prev {
  left: clamp(4px, 1.5vw, 16px);
}
.category-banner__nav--next {
  right: clamp(4px, 1.5vw, 16px);
}
.homepage-category--banner:hover .category-banner__nav,
.homepage-category--banner:focus-within .category-banner__nav {
  opacity: 1;
  pointer-events: auto;
}
.category-banner__nav:hover {
  background: rgba(40, 44, 52, 0.95);
  transform: translateY(-50%) scale(1.06);
}
.category-banner__nav:active {
  transform: translateY(-50%) scale(0.96);
}
.category-banner__viewport::before,
.category-banner__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 9vw, 120px);
  z-index: 3;
  pointer-events: none;
}
.category-banner__viewport::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--bg-color) 0%,
    rgba(17, 19, 24, 0.95) 8%,
    rgba(17, 19, 24, 0.88) 16%,
    rgba(17, 19, 24, 0.76) 26%,
    rgba(17, 19, 24, 0.58) 38%,
    rgba(17, 19, 24, 0.40) 50%,
    rgba(17, 19, 24, 0.24) 62%,
    rgba(17, 19, 24, 0.12) 74%,
    rgba(17, 19, 24, 0.045) 86%,
    rgba(17, 19, 24, 0.01) 94%,
    rgba(17, 19, 24, 0) 100%
  );
}
.category-banner__viewport::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--bg-color) 0%,
    rgba(17, 19, 24, 0.95) 8%,
    rgba(17, 19, 24, 0.88) 16%,
    rgba(17, 19, 24, 0.76) 26%,
    rgba(17, 19, 24, 0.58) 38%,
    rgba(17, 19, 24, 0.40) 50%,
    rgba(17, 19, 24, 0.24) 62%,
    rgba(17, 19, 24, 0.12) 74%,
    rgba(17, 19, 24, 0.045) 86%,
    rgba(17, 19, 24, 0.01) 94%,
    rgba(17, 19, 24, 0) 100%
  );
}
.category-banner__bg-img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  filter: blur(5px) brightness(0.5) saturate(1.1);
  pointer-events: none;
  user-select: none;
  object-fit: cover;
  object-position: center;
}
.category-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 24, 0.2);
  pointer-events: none;
}
.category-banner__body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 32px);
}
.category-banner__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  text-align: center;
  max-width: 720px;
}
.category-banner__thumb {
  flex-shrink: 0;
  width: clamp(140px, 22vw, 220px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.category-banner__text {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
}
.category-banner__title {
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
  line-height: 1.2;
}
.category-banner__desc {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: rgba(240, 240, 240, 0.88);
  line-height: 1.45;
  max-width: 36ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}
.category-banner__cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--highlight-blue);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin: 16px 0 0;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.category-banner__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.category-banner__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.category-banner__dot.is-active {
  background: var(--primary-accent);
  transform: scale(1.15);
}
.category-banner__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}
.homepage-category__empty {
  color: rgba(240, 240, 240, 0.6);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .category-banner {
    --banner-slide-width: min(85%, 100%);
  }
  .category-banner__inner {
    flex-direction: column;
    align-items: center;
  }
  .category-banner__text {
    align-items: center;
  }
  .category-banner__card {
    min-height: clamp(225px, 90vw, 200px);
    height: clamp(120px, 42vw, 180px);
  }
  .category-banner__body {
    padding: clamp(12px, 3vw, 20px) clamp(10px, 2.5vw, 16px);
  }
  .category-banner__inner {
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2vw, 14px);
  }
  .category-banner__thumb {
    width: min(100%, 150px);
  }
  .category-banner__title {
    font-size: clamp(1rem, 4.5vw, 1.35rem);
  }
  .category-banner__desc {
    font-size: clamp(0.78rem, 3vw, 0.9rem);
  }
  .category-banner__cta {
    padding: 8px 18px;
    font-size: 0.875rem;
    margin-top: 10px;
  }
}

.game-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}
.game-card__thumb {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #2a2d35;
}
.game-card__thumb img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
}
/* Legacy / cached load-more markup: <img> directly inside .game-card */
.game-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 0;
}
.game-card-link:focus .game-card,
.game-card-link:hover .game-card {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 89, 255, 0.5);
  z-index: 10;
  outline: 0;
}
.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--highlight-blue);
  opacity: 0;
  transition: opacity 0.25s ease-out;
  pointer-events: none;
  z-index: 3;
}
.game-card-link:hover .game-card__thumb img {
  transform: scale(1.1);
}
.game-card__thumb img {
  transition: transform 0.35s ease-out;
}
.game-info {
  position: relative;
  z-index: 2;
  padding: 15px;
}
.game-info h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.load-more-container {
  position: relative;
  text-align: center;
  margin-top: 40px;
  min-height: 57px;
}
.load-more-btn {
  background-color: var(--highlight-blue);
  color: #fff;
  border: none;
  padding: 15px 40px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  transition: 0.2s ease-out;
}
#cookie-consent-banner .btn,
.controls__button,
.error-page__link {
  transition: background-color 0.2s;
}
.load-more-btn:hover {
  background-color: #0045c7;
  transform: translateY(-2px);
}
#cookie-consent-banner.hidden,
.load-more-container.loading .load-more-btn {
  display: none;
}
.load-more-container.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: 1s linear infinite spin;
}
.content-area.game-page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.game-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  color: var(--text-color);
  width: 100%;
  max-width: 960px;
}
.game-hero__icon {
  width: 150px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.game-hero__info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.game-hero__info p {
  font-size: 1rem;
  color: #a0a0a0;
  line-height: 1.6;
  max-width: 600px;
}
.game-details {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 40px;
}
.game-details__block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 16px;
}
.game-text-section {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 36px;
}
.game-text-section--highlighted {
  --game-text-fade-color: #0f1116;
}
.game-text-section--plain {
  --game-text-fade-color: var(--bg-color);
}
.game-text-section__panel {
  background-color: #1a1a1a;
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.game-text-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 16px;
}
.game-text-section__body {
  position: relative;
}
.game-text-section__content {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.65;
  transition: max-height 0.32s ease;
  will-change: max-height;
}
.game-text-section__content p {
  margin: 0 0 0.85em;
}
.game-text-section__content p:last-child {
  margin-bottom: 0;
}
.game-text-section__body.is-collapsed .game-text-section__content {
  max-height: var(--read-more-max, 220px);
  overflow: hidden;
}
.game-text-section__footer {
  display: none;
}
.game-text-section__body.is-collapsible.is-collapsed .game-text-section__footer {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  pointer-events: none;
}
.game-text-section__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #1a1a1a 0%,
    transparent 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
}

.game-text-section_black__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--game-text-fade-color) 0%,
    transparent 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
}
.game-text-section__toggle {
  pointer-events: auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.2s ease-in-out;
}
.game-text-section__toggle:hover {
  color: var(--primary-accent);
}
.game-text-section__toggle-icon {
  transition: transform 0.25s ease;
}
.game-text-section__body.is-expanded .game-text-section__footer {
  display: block;
  position: static;
  height: auto;
  margin-top: 12px;
  pointer-events: auto;
}
.game-text-section__body.is-expanded .game-text-section__fade {
  display: none;
}
.game-text-section__body.is-expanded .game-text-section_black__fade {
  display: none;
}
.game-text-section__body.is-expanded .game-text-section__toggle {
  position: static;
  transform: none;
  margin: 0 auto;
}
.game-text-section__body.is-expanded .game-text-section__toggle-icon {
  transform: rotate(180deg);
}
@media (max-width: 640px) {
  .game-text-section__panel {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .game-text-section__title {
    font-size: 1.25rem;
  }
}
.game-screenshots-carousel {
  position: relative;
  width: 100%;
  --screenshot-gap: 14px;
  --screenshot-slide-width: min(74%, 400px);
}
.game-screenshots-carousel__viewport {
  position: relative;
  overflow: hidden;
  padding-right: 20px;
  margin-right: -20px;
  box-sizing: content-box;
  width: 100%;
  min-height: 0;
}
.game-screenshots-carousel__track {
  display: flex;
  gap: var(--screenshot-gap);
  padding: 2px 20px 6px 0;
}
.game-screenshots-carousel__slide {
  flex: 0 0 var(--screenshot-slide-width);
  display: block;
  aspect-ratio: 16 / 9;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.game-screenshots-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-screenshots-carousel__slide:hover,
.game-screenshots-carousel__slide:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(45, 119, 255, 0.55);
}
.game-screenshots-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 17, 22, 0.9);
  color: var(--primary-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.24s ease;
}
.game-screenshots-carousel__viewport:hover .game-screenshots-carousel__nav,
.game-screenshots-carousel__viewport:focus-within .game-screenshots-carousel__nav {
  opacity: 1;
  pointer-events: auto;
}
.game-screenshots-carousel__nav:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(23, 26, 34, 0.95);
}
.game-screenshots-carousel__nav--prev {
  left: 10px;
}
.game-screenshots-carousel__nav--next {
  right: 10px;
}
.game-screenshots-carousel.is-static .game-screenshots-carousel__viewport {
  overflow: visible;
}
.game-screenshots-carousel.is-static .game-screenshots-carousel__track {
  justify-content: flex-start;
}
.game-screenshots-carousel.is-static .game-screenshots-carousel__nav {
  display: none;
}
@media (max-width: 1100px) {
  .game-screenshots-carousel__nav--prev {
    left: 6px;
  }
  .game-screenshots-carousel__nav--next {
    right: 6px;
  }
}
@media (max-width: 760px) {
  .game-screenshots-carousel {
    --screenshot-slide-width: 86%;
  }
  .game-screenshots-carousel__nav {
    width: 40px;
    height: 40px;
  }
}
.game-meta {
  width: 100%;
  max-width: 960px;
  margin: -34px auto 40px;
  padding: 0 4px;
}

.game-meta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.game-meta--no-dev .game-meta__row {
  justify-content: flex-end;
}

.game-meta__developer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  min-width: 0;
  flex: 1 1 auto;
}

.game-meta__byline {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.game-meta__dev-link {
  color: #fff;
  text-decoration: none;
}

.game-meta__dev-link:hover {
  color: var(--highlight-blue);
}

.game-meta__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.game-meta__socials .developer-social {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  background: #3a3f4b;
  color: #9aa0a6;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.game-meta__socials .developer-social svg {
  width: 20px;
  height: 20px;
}

.game-meta__socials .developer-social:hover {
  color: #fff;
}

.game-meta__socials .developer-social--youtube:hover { background: #ff0000; }
.game-meta__socials .developer-social--discord:hover { background: #5865f2; }
.game-meta__socials .developer-social--itch:hover { background: #fa5c5c; }
.game-meta__socials .developer-social--github:hover { background: #24292f; }
.game-meta__socials .developer-social--reddit:hover { background: #ff4500; }
.game-meta__socials .developer-social--x:hover { background: #0f1419; }
.game-meta__socials .developer-social--tiktok:hover { background: #010101; }
.game-meta__socials .developer-social--patreon:hover { background: #ff424d; }
.game-meta__socials .developer-social--telegram:hover { background: #229ed9; }
.game-meta__socials .developer-social--steam:hover { background: #1b2838; }
.game-meta__socials .developer-social--website:hover { background: #2d6cdf; }

.game-meta__rating {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  margin-left: auto;
}

.game-meta__ratio {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  min-width: 3ch;
  text-align: right;
}

.game-vote {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  background: #2a2f3a;
  user-select: none;
  
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.game-vote__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: #9aa0a6;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.game-vote__btn + .game-vote__btn {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.game-vote__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.game-vote__btn.is-active {
  color: #fff;
}

.game-vote__btn--like.is-active {
  background: rgba(46, 204, 113, 0.25);
  color: #2ecc71;
}

.game-vote__btn--dislike.is-active {
  background: rgba(231, 76, 60, 0.22);
  color: #e74c3c;
}

.game-vote__btn--share,
.game-vote__btn--report {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.game-vote__btn--share:hover,
.game-vote__btn--report:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.game-vote__btn:disabled {
  cursor: default;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .game-meta {
    margin-top: -20px;
  }

  .game-meta__row {
    flex-direction: column;
    align-items: stretch;
  }

  

  .game-meta--no-dev .game-meta__rating {
    justify-content: flex-end;
  }
}

.game-player {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 960px;
}
.game-player__iframe-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  background-color: #000;
  overflow: hidden;
  border-radius: 12px;
}
@supports (aspect-ratio: 16 / 9) {
  .game-player__iframe-wrapper {
    height: auto;
    padding-top: 0;
    aspect-ratio: 16/9;
  }
}
.game-player__iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}
.game-player__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  color: #e0e0e0;
  background-color: rgba(28, 30, 36, 0);
  z-index: 10;
  pointer-events: none;
}
.controls__logo {
  height: 30px;
  opacity: 0.3;
}
.controls__button {
  background: 0 0;
  border: none;
  color: inherit;
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 4px;
  pointer-events: all;
}
.about-us-page .btn-contact,
.error-page__link {
  display: inline-block;
  color: #fff;
  font-weight: 600;
}
.controls__button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.controls__spacer {
  flex-grow: 1;
}
.game-player__iframe-wrapper.pseudo-fullscreen-mode {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  max-height: 100dvh;
  padding-top: 0;
  aspect-ratio: unset;
  background-color: #000;
  border-radius: 0 !important;
  z-index: 2000;
  overflow: hidden;
  clip-path: none;
}
.game-player:has(.pseudo-fullscreen-mode) {
  border-radius: 0 !important;
  box-shadow: none;
  overflow: visible;
  margin-bottom: 0;
  max-width: none;
  background-color: transparent;
}
.game-player__iframe-wrapper.pseudo-fullscreen-mode .game-player__loader,
.game-player__iframe-wrapper.pseudo-fullscreen-mode .game-player__loader::before,
.game-player__iframe-wrapper.pseudo-fullscreen-mode iframe,
body.pseudo-fullscreen-active .game-player,
body.pseudo-fullscreen-active .game-player__iframe-wrapper,
body.pseudo-fullscreen-active .game-player__loader,
body.pseudo-fullscreen-active .game-player__loader::before {
  border-radius: 0 !important;
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.game-player__iframe-wrapper.pseudo-fullscreen-mode .game-player__loader {
  overflow: hidden;
  inset: 0;
}
.game-page-content > .game-section {
  width: 100%;
  max-width: 960px;
}
.error-page {
  text-align: center;
  padding: 80px 20px;
}
.advantage-icon,
.error-page h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.error-page p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #a0a0a0;
}
.error-page__link {
  padding: 15px 30px;
  background-color: var(--highlight-blue);
  border-radius: 12px;
}
.error-page__link:hover {
  background-color: #0045c7;
}
@media (min-width: 1024px) {
  .trending-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0 0 25px;
    gap: 25px;
  }
  .trending-row .game-card-link {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: none;
    scroll-snap-align: none;
  }
}
.game-player__loader,
.game-player__loader::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}
@media (max-width: 1200px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@keyframes panTransform {
  0% {
    transform: translateX(-3%) scale(1.1);
  }
  100% {
    transform: translateX(3%) scale(1.1);
  }
}
.game-player__loader {
  overflow: hidden;
  background-color: rgba(17, 19, 24, 0.7);
  z-index: 5;
  border-radius: 12px;
  opacity: 1;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
  visibility: visible;
}
.contact-card-icon img,
.loader-spinner {
  width: 50px;
  height: 50px;
}
.game-player__loader::before {
  content: "";
  background-image: var(--loader-bg-image);
  background-position: center;
  background-size: 150%;
  filter: blur(8px);
  z-index: 1;
  animation: 3s linear infinite alternate panTransform;
}
.loader-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--highlight-blue);
  border-radius: 50%;
  animation: 1s linear infinite spin;
}
.game-player__loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.about-section .shape,
.final-cta-bg-icon {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  user-select: none;
  pointer-events: none;
}
.game-player__iframe-wrapper iframe.loaded {
  opacity: 1;
}
.about-us-page {
  position: relative;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.about-us-page .about-section {
  max-width: 800px;
  margin: 0 auto 120px;
  position: relative;
  z-index: 2;
}
.about-us-page h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.about-us-page p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #e0e0e0;
}
.about-us-page .btn-contact {
  background-color: #4a6dff;
  padding: 14px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  margin-top: 30px;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 20px rgba(74, 109, 255, 0.4);
}
.about-us-page .btn-contact:hover {
  background-color: #3a58d6;
  transform: translateY(-2px);
}
.about-section .shape {
  position: absolute;
  z-index: -1;
  width: 450px;
  height: 450px;
  object-fit: contain;
}
.about-us-page .background-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.background-elements .bg-icon {
  position: absolute;
  opacity: 0.08;
  user-select: none;
  pointer-events: none;
  border-radius: 20px;
}
.bg-icon.icon-1 {
  width: 120px;
  top: 15%;
  left: 18%;
  transform: rotate(-15deg);
}
.bg-icon.icon-2 {
  width: 100px;
  top: 30%;
  left: 10%;
  transform: rotate(10deg);
}
.bg-icon.icon-3 {
  width: 140px;
  top: 10%;
  right: 15%;
  transform: rotate(20deg);
}
.bg-icon.icon-4 {
  width: 150px;
  top: 5%;
  left: 45%;
  transform: translateX(-50%);
}
.bg-icon.icon-5 {
  width: 110px;
  bottom: 45%;
  right: 20%;
  transform: rotate(-5deg);
}
.bg-icon.icon-6 {
  width: 130px;
  bottom: 35%;
  left: 25%;
  transform: rotate(5deg);
}
.contact-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  max-width: 100%;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-page {
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 40px max(var(--layout-gutter), 20px) 60px;
  box-sizing: border-box;
}
.page-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--text-color);
}
.contact-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #2a2d35;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 89, 255, 0.3);
}
.contact-card-icon {
  margin-bottom: 25px;
  background-color: rgba(45, 119, 255, 0.1);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#cookie-consent-banner .btn:hover,
.btn-primary-cta {
  background-color: var(--highlight-blue);
}
.contact-card-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.contact-card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: 25px;
}
.contact-email {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-accent);
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
  margin-top: auto;
}
.contact-email:hover {
  background-color: var(--primary-accent);
  color: #fff;
}
.publishers-page .section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #fff;
}
.publishers-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-content {
  flex-basis: 55%;
}
.btn-primary-cta {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  border-radius: 50px;
  transition: transform 0.2s, background-color 0.2s;
}
.btn-primary-cta:hover {
  background-color: #4b3de4;
  transform: translateY(-3px);
}
.hero-image {
  flex-basis: 40%;
}
.hero-image img {
  border-radius: 10px;
}
.advantages-section {
  padding: 60px 0;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.advantage-card {
  background-color: #282a36;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #3a3c4a;
}
.final-cta-section,
.publishers-hero {
  text-align: center;
  border-radius: 15px;
}
.advantage-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}
.advantage-card p,
.step p {
  color: #b0b8d3;
  line-height: 1.6;
}
.final-cta-section {
  position: relative;
  overflow: hidden;
  background-color: #282a36;
  padding: 50px 30px;
  margin-top: 60px;
}
.final-cta-bg-icon {
  position: absolute;
  width: 350px;
  height: auto;
  z-index: 0;
}
.final-cta-content {
  position: relative;
  z-index: 1;
}
.final-cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.final-cta-section p {
  color: #b0b8d3;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.publishers-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
  background: linear-gradient(
      135deg,
      rgba(40, 42, 54, 0.8),
      rgba(28, 29, 36, 0.9)
    ),
    url("/assets/img/background.webp");
  margin-bottom: 60px;
}
.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title-secondary {
  font-size: 0.8em;
  color: #b0b8d3;
  font-weight: 600;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: #b0b8d3;
  margin-bottom: 30px;
}
#cookie-consent-banner a:hover,
.step-arrow,
.step-number {
  color: var(--highlight-blue);
}
.hero-image {
  max-width: 200px;
  width: 100%;
  margin-bottom: 10px;
}
.hero-image img {
  max-width: 100%;
  height: auto;
}
@media (min-width: 769px) {
  .publishers-hero {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
    padding: 60px 50px;
  }
  .hero-image {
    flex-basis: 40%;
    max-width: 275px;
    order: 2;
  }
  .hero-content {
    flex-basis: 55%;
    order: 1;
  }
  .hero-title {
    font-size: 3.5rem;
  }
}
.how-it-works-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}
.how-it-works-section .section-title {
  padding: 0 20px;
  text-align: center;
  margin-bottom: 40px;
}
.steps-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.step {
  flex: 1;
  text-align: center;
  max-width: 300px;
}
.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #3a3c4a;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--highlight-blue);
}
.step h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.step-arrow {
  font-size: 3rem;
  align-self: center;
  padding-top: 60px;
}
.main-footer {
  background-color: #121212;
  color: #a0a0a0;
  padding: 50px 0;
  border-top: 1px solid #282828;
  font-size: 15px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
.footer-logo {
  display: inline-block;
  line-height: 0;
}
.footer-logo img {
  height: 50px;
  width: auto;
}
.copyright-text {
  margin: 0;
  font-size: 0.9em;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-nav-row {
  display: flex;
  gap: 30px;
}
.footer-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1.05em;
  transition: color 0.3s;
}
.static-page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.static-page-container h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 1px solid #2a2d35;
  padding-bottom: 20px;
}
.static-page-container .last-updated {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-bottom: 40px;
  font-style: italic;
}
.static-page-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--text-color);
}
.static-page-container li,
.static-page-container p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 15px;
}
.static-page-container ul {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}
.static-page-container a {
  color: var(--primary-accent);
  font-weight: 600;
  text-decoration-color: rgba(45, 119, 255, 0.5);
  transition: 0.2s;
}
.static-page-container a:hover {
  color: #fff;
  text-decoration-color: #fff;
}
.horizontal-table {
  width: 100%;
  margin: 1.5em 0;
  font-size: 14px;
}
.horizontal-table,
.table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
}
table {
  width: 100%;
  background: #1a1d24;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #374151;
  border-radius: 8px;
  overflow: hidden;
  color: #d1d5db;
  margin: 30px 0;
}
td,
th {
  padding: 12px 15px;
  border-bottom: 1px solid #374151;
  border-right: 1px solid #374151;
  text-align: left;
  vertical-align: top;
}
td:last-child,
th:last-child {
  border-right: none;
}
tr:last-child td,
tr:last-child th {
  border-bottom: none;
}
th {
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  width: 150px;
}
tr:first-child th:first-child {
  border-top-left-radius: 8px;
}
tr:first-child th:last-child {
  border-top-right-radius: 8px;
}
tr:last-child td:first-child,
tr:last-child th:first-child {
  border-bottom-left-radius: 8px;
}
tr:last-child td:last-child,
tr:last-child th:last-child {
  border-bottom-right-radius: 8px;
}
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1a1a1d;
  color: #f5f5f5;
  padding: 15px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}
#cookie-consent-banner.hiding {
  transform: translateY(100%);
  opacity: 0;
}
#cookie-consent-banner p {
  margin: 0;
  font-size: 14px;
  text-align: center;
}
#cookie-consent-banner .btn {
  background-color: var(--primary-accent);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}
.website-description-section {
  position: relative;
  padding: 80px
    max(var(--layout-gutter), calc((100% - var(--layout-max-width)) / 2));
  background-color: var(--bg-color);
  overflow: hidden;
}
.website-description-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.website-text-content {
  text-align: center;
  color: #e0e0e0;
}
.website-text-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-color);
}
.website-text-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.website-text-content p:last-child {
  margin-bottom: 0;
}
.website-text-content strong {
  color: var(--text-color);
  font-weight: 600;
}
.website-text-content a {
  color: var(--primary-accent);
  font-weight: 600;
}
.website-text-content a:hover {
  color: #fff;
}
.background-icons-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.bg-game-icon {
  position: absolute;
  opacity: 0.3;
  filter: blur(2px);
  animation: 15s ease-in-out infinite alternate float;
}
.bg-game-icon.icon-1 {
  top: 10%;
  left: 5%;
  width: 100px;
  animation-delay: -2s;
}
.bg-game-icon.icon-2 {
  top: 25%;
  right: 10%;
  width: 120px;
  animation-delay: -5s;
}
.bg-game-icon.icon-3 {
  top: 50%;
  left: 15%;
  width: 90px;
  animation-delay: -8s;
}
.bg-game-icon.icon-4 {
  bottom: 10%;
  right: 20%;
  width: 110px;
  animation-delay: -11s;
}
.bg-game-icon.icon-5 {
  bottom: 30%;
  left: 5%;
  width: 80px;
  animation-delay: -14s;
}
.bg-game-icon.icon-6 {
  top: 5%;
  right: 30%;
  width: 70px;
  animation-delay: 0s;
}
.content-area > h1 {
  margin-bottom: 40px;
}
@keyframes float {
  from {
    transform: translateY(-15px) rotate(-5deg);
  }
  to {
    transform: translateY(15px) rotate(5deg);
  }
}
@media (max-width: 768px) {
  .game-grid,
  .trending-row {
    gap: 15px;
  }
  .main-header {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo   nav" "search search";
    gap: 15px;
    align-items: center;
    position: static;
  }
  .game-grid,
  .game-page-content .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo {
    grid-area: logo;
  }
  .main-nav {
    grid-area: nav;
  }
  .search-container {
    grid-area: search;
    width: 100%;
    max-width: 100%;
  }
  .main-nav ul {
    padding: 0;
    justify-content: flex-end;
    gap: 10px;
  }
  .main-nav li {
    margin: 0;
  }
  .main-nav a {
    font-size: 0.875rem;
    white-space: nowrap;
  }
  .game-hero__info h1,
  .game-section h2,
  .static-page-container h2 {
    font-size: 1.5rem;
  }
  .game-section h2 {
    margin-bottom: 15px;
  }
  .game-hero {
    text-align: center;
    justify-content: center;
  }
  .trending-row .game-card-link {
    width: calc(45% - 7.5px);
    max-width: none;
  }
  .about-us-page {
    padding: 40px 15px;
  }
  .about-us-page h2 {
    font-size: 2.5rem;
  }
  .about-us-page p {
    font-size: 1rem;
  }
  .page-title,
  .static-page-container h1 {
    font-size: 2.2rem;
  }
  .about-section .shape {
    width: 250px;
    height: 250px;
  }
  .about-us-page .background-elements,
  .step-arrow {
    display: none;
  }
  .page-title {
    margin-bottom: 30px;
  }
  .contact-card {
    padding: 30px 20px;
  }
  .how-it-works-section {
    padding: 40px 0;
  }
  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
  }
  .step {
    flex: none;
    width: 90%;
    max-width: 350px;
  }
  .step:not(:last-child)::after {
    content: "↓";
    display: block;
    font-size: 2.5rem;
    color: var(--highlight-blue);
    margin: 30px 0;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .footer-branding {
    align-items: center;
    text-align: center;
  }
  .footer-nav {
    align-items: center;
  }
  .footer-nav-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
  }
  .static-page-container li,
  .static-page-container p {
    font-size: 1rem;
    line-height: 1.7;
  }
  #cookie-consent-banner {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }
  #cookie-consent-banner p {
    font-size: 13px;
  }
}
@media (min-width: 768px) {
  .main-header.scrolled {
    background-color: rgb(17, 19, 24);
    border-bottom: 1px solid #242424;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
@media (min-width: 1600px) {
  :root {
    --layout-max-width: 1400px;
  }
}
@media (min-width: 1920px) {
  :root {
    --layout-max-width: 1520px;
  }
}
@media (min-width: 1600px) {
  .content-area:not(.game-page-content) .game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.feedback-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  pointer-events: none;
  transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1), right  0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease-in-out;
  will-change: bottom, right, transform;
}

body:has(#cookie-consent-banner:not(.hidden):not(.hiding)) .feedback-widget {
  bottom: 88px;
}

.feedback-widget.is-open,
.feedback-widget .feedback-fab,
.feedback-widget.is-open .feedback-panel {
  pointer-events: auto;
}

.feedback-fab {
  width: 70px;
  height: 70px;
  border: none;
  border-radius: 50%;
  background-color: var(--highlight-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.feedback-fab__icon {
  width: 45px;
  height: 45px;
  display: block;
  margin: auto;
  transform: translateY(5px);
  flex-shrink: 0;
}

.feedback-fab:hover {
  transform: scale(1.2);
}

.feedback-widget.is-open .feedback-fab {
  background-color: var(--card-bg);
  color: var(--text-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.feedback-panel {
  width: 340px;
  max-width: calc(100vw - 48px);
  background-color: var(--card-bg);
  border: 1px solid #2a2d35;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(24px);
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.feedback-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.feedback-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.feedback-panel__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.3;
  margin: 0;
}

.feedback-panel__close {
  background: none;
  border: none;
  color: #8a8a8a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.feedback-panel__close:hover {
  color: var(--text-color);
}

.feedback-panel__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #a0a0a0;
  margin: 0 0 16px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback-form__input,
.feedback-form__textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #3a3d45;
  border-radius: 12px;
  background-color: #111318;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.feedback-form__textarea {
  min-height: 100px;
  resize: vertical;
}

.feedback-form__textarea::placeholder {
  color: #8a8a8a;
}

.feedback-form__input::placeholder {
  color: #8a8a8a;
}

.feedback-form__textarea:focus {
  outline: none;
  border-color: var(--highlight-blue);
  box-shadow: 0 0 0 3px rgba(0, 89, 255, 0.3);
}

.feedback-form__input:focus {
  outline: none;
  border-color: var(--highlight-blue);
  box-shadow: 0 0 0 3px rgba(0, 89, 255, 0.3);
}

.feedback-form__status {
  font-size: 0.85rem;
  min-height: 1.2em;
  margin: 0;
  color: #8a8a8a;
}

.feedback-form__status--success {
  color: #6ee7a0;
}

.feedback-form__status--error {
  color: #f87171;
}

.feedback-form__submit {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background-color: var(--highlight-blue);
  color: #fff;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.feedback-form__submit:hover:not(:disabled) {
  background-color: #0045c7;
  transform: translateY(-1px);
}

.feedback-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .feedback-widget {
    right: 16px;
    bottom: 16px;
  }

  body:has(#cookie-consent-banner:not(.hidden):not(.hiding)) .feedback-widget {
    bottom: 120px;
  }

  .feedback-panel {
    width: min(340px, calc(100vw - 32px));
  }

  .feedback-form__textarea {
    font-size: 16px;
  }
}

.developer-page {
  padding-top: 0;
}

.developer-hero-section {
  margin-bottom: 40px;
}

.developer-banner__card {
  height: auto;
  min-height: clamp(220px, 34vw, 300px);
}

.developer-banner.category-banner--single .category-banner__viewport {
  height: auto;
  overflow: visible;
}

.developer-banner__body {
  min-height: auto;
  height: auto;
}

.developer-banner__overlay {
  background: rgba(17, 19, 24, 0.35);
}

.developer-banner__body {
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  width: 100%;
  max-width: none;
  padding: clamp(28px, 4.5vw, 48px) clamp(20px, 4vw, 48px);
}

.developer-banner__left {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  min-width: 0;
  flex: 1 1 auto;
}

.developer-banner__avatar {
  flex-shrink: 0;
  width: clamp(96px, 14vw, 160px);
  height: clamp(96px, 14vw, 160px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.developer-banner__info {
  min-width: 0;
  text-align: left;
}

.developer-banner__name {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3.8vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.developer-banner__desc {
  margin: 0;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: rgba(240, 240, 240, 0.9);
  line-height: 1.5;
  max-width: 52ch;
}

.developer-banner__desc-text {
  display: -webkit-box;
  max-width: 50ch;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.developer-banner__see-more {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--highlight-blue);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  vertical-align: baseline;
}

.developer-banner__see-more:hover {
  text-decoration: underline;
}

.developer-banner__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: center;
  align-self: center;
  gap: 10px;
  flex: 0 1 auto;
  max-width: min(100%, 420px);
  padding: 8px;
}

.developer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.developer-social svg {
  width: 24px;
  height: 24px;
}

.developer-social:hover {
  filter: brightness(1.20);
}

.developer-social--youtube { background: #ff0000; }
.developer-social--discord { background: #5865f2; }
.developer-social--itch { background: #fa5c5c; }
.developer-social--github { background: #24292f; }
.developer-social--reddit { background: #ff4500; }
.developer-social--x { background: #0f1419; }
.developer-social--tiktok { background: #010101; }
.developer-social--patreon { background: #ff424d; }
.developer-social--telegram { background: #229ed9; }
.developer-social--steam { background: #1b2838; }
.developer-social--website { background: #2d6cdf; }

.developer-games-section {
  margin-top: 0;
}

.developer-load-more {
  display: flex;
  justify-content: center;
  margin: 40px 0 20px;
  position: relative;
}

.developer-load-more.loading .load-more-btn {
  opacity: 0.5;
}

.developer-load-more.loading::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--highlight-blue);
  border-radius: 50%;
  animation: 1s linear infinite spin;
}

@media (max-width: 900px) {
  .developer-banner__card {
    height: auto;
    min-height: clamp(200px, 42vw, 260px);
  }

  .developer-banner__body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: auto;
    height: auto;
    padding-bottom: clamp(24px, 5vw, 36px);
  }

  .developer-banner__left {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .developer-banner__info {
    text-align: center;
  }

  .developer-banner__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .developer-banner__socials {
    justify-content: center;
    align-content: flex-start;
    align-self: center;
    max-width: none;
    width: 100%;
    padding-bottom: 4px;
  }
}

@media (max-width: 600px) {
  .developer-banner__left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .developer-banner__card {
    height: auto;
    min-height: 0;
  }
}

html {
  scrollbar-gutter: stable;
}

body.gamr-modal-open {
  overflow: hidden;
}

body.gamr-modal-open .gamr-modal__panel {
  touch-action: pan-y;
}

.gamr-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gamr-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.gamr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.gamr-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(90vh, 640px);
  overflow: auto;
  background: #0a0b0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s ease;
  scrollbar-color: #4a4d55 var(--card-bg);
}

.gamr-modal.is-open .gamr-modal__panel {
  transform: translateY(0) scale(1);
}

.gamr-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}

.gamr-modal__title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.gamr-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;   
}

.gamr-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.gamr-modal__body {
  padding: 20px 24px 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gamr-modal__body::-webkit-scrollbar {
  display: none;
}

.gamr-modal-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 32px);
  align-items: start;
}

.gamr-modal-fields {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gamr-modal-field {
  margin: 0;
}

.gamr-modal-field__label {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.gamr-modal-field__value {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(240, 240, 240, 0.88);
  white-space: pre-wrap;
  word-break: break-word;
}

.gamr-modal-profile__media {
  flex-shrink: 0;
}

.gamr-modal-profile__image {
  display: block;
  width: clamp(120px, 28vw, 200px);
  height: clamp(120px, 28vw, 200px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;   
}

.gamr-modal__panel--form {
  width: min(100%, 560px);
}

.gamr-modal__panel--form .gamr-modal__body {
  padding-top: 16px;
}

.gamr-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  color-scheme: dark;
}

.gamr-modal-form__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.gamr-modal-form__label {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.gamr-modal-form__input,
.gamr-modal-form__textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background-color: #171920;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.gamr-modal-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.gamr-modal-form__input::placeholder,
.gamr-modal-form__textarea::placeholder {
  color: #8a8a8a;
}

.gamr-modal-form__input:focus,
.gamr-modal-form__textarea:focus {
  outline: none;
  border-color: var(--highlight-blue);
  box-shadow: 0 0 0 3px rgba(0, 89, 255, 0.3);
}

.gamr-modal-form__input--readonly,
.gamr-modal-form__input[readonly] {
  color: #8a8a8a;
  background-color: #171920;
  opacity: 0.7;
  cursor: default;
}

.gamr-modal-form__input--readonly:focus,
.gamr-modal-form__input[readonly]:focus {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.gamr-modal-form__input:-webkit-autofill,
.gamr-modal-form__input:-webkit-autofill:hover,
.gamr-modal-form__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-color);
  box-shadow: 0 0 0 1000px #171920 inset;
  transition: background-color 9999s ease-out 0s;
}

.gamr-modal-form__status {
  font-size: 0.85rem;
  min-height: 1.2em;
  margin: 0;
  color: #8a8a8a;
}

.gamr-modal-form__status--success {
  color: #6ee7a0;
}

.gamr-modal-form__status--error {
  color: #f87171;
}

.gamr-modal-form__submit {
  align-self: flex-start;
  min-width: 140px;
  margin-top: 4px;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  background-color: var(--highlight-blue);
  color: #fff;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.gamr-modal-form__submit:hover:not(:disabled) {
  background-color: #0045c7;
  transform: translateY(-1px);
}

.gamr-modal-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.gamr-modal__panel--share {
  width: min(100%, 520px);
}

.gamr-share-modal {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.gamr-share-modal__url-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.gamr-share-modal__url {
  flex: 1 1 auto;
  min-width: 0;
}

.gamr-share-modal__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background-color: #171920;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.gamr-share-modal__copy:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background-color: #1f232d;
}

.gamr-share-modal__copy.is-copied {
  color: #6ee7a0;
  border-color: rgba(110, 231, 160, 0.35);
}

.gamr-share-modal__socials {
  display: flex;
  gap: 10px;
  width: 100%;
}

.gamr-share-modal__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  border: none;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
  container-type: inline-size;
}

.gamr-share-modal__social[hidden] {
  display: none !important;
}

.gamr-share-modal__social:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.gamr-share-modal__social svg {
  display: block;
  flex-shrink: 0;
  width: 50%;
  height: 50%;
}

@supports (width: 1cqw) {
  .gamr-share-modal__social svg {
    width: 50cqw;
    height: 50cqw;
  }
}

.gamr-share-modal__social--reddit { background: #ff4500; }
.gamr-share-modal__social--x { background: #0f1419; }
.gamr-share-modal__social--telegram { background: #229ed9; }
.gamr-share-modal__social--whatsapp { background: #25d366; }
.gamr-share-modal__social--facebook { background: #1877f2; }
.gamr-share-modal__social--imessage { background: #34c759; }
.gamr-share-modal__social--native { background: #2a2f3a; }

@media (max-width: 640px), (max-height: 520px) {
  .gamr-share-modal {
    gap: 12px;
  }

  .gamr-modal__panel--share .gamr-modal__header {
    padding: 16px 18px 0;
  }

  .gamr-modal__panel--share .gamr-modal__body {
    padding: 14px 18px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .gamr-share-modal__socials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .gamr-share-modal__social {
    flex: unset;
    width: 100%;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .gamr-share-modal__socials {
    display: flex;
    gap: 6px;
  }

  .gamr-share-modal__social {
    flex: 1 1 0;
    width: auto;
  }
}

@media (max-width: 640px), (max-height: 520px) {
  .gamr-modal {
    padding: 0;
    align-items: center;
  }

  .gamr-modal__panel {
    width: 95%;
    max-height: 85vh;
    max-height: 85dvh;
    border-radius: 20px 20px 20px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .gamr-modal__header {
    flex-shrink: 0;
  }

  .gamr-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 20px 24px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .gamr-modal-profile {
    grid-template-columns: 1fr;
  }

  .gamr-modal-profile__media {
    display: flex;
    justify-content: center;
    order: -1;
  }

  .gamr-modal-profile__image {
    width: clamp(100px, 32vw, 140px);
    height: clamp(100px, 32vw, 140px);
  }
}