/* ===== GLOBAL ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Saira", sans-serif;
  background-color: #ffffff;
}

html {
  min-height: 100%;
}

body {
  height: auto;
  min-height: 100vh;
  box-shadow: none;
  touch-action: pan-y;
}

/* ===== HEADER ===== */

.site-header {
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  position: relative;
  z-index: 3;
  box-shadow: none;
}

/* ===== HEADER CONTAINER ===== */

.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  /* IMPORTANT FIX */
  gap: 100px;
  justify-content: space-between;
  padding: 14px 86px;
  background-color: transparent;
}

/* ===== LOGO ===== */

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  height: 48px;
  margin-right: 10px;
}

.logo-text {
  height: 34px;
}

/* ===== NAV MENU ===== */

.nav-menu {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-menu a {
  font-family: "Saira", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;

  letter-spacing: 0%;
  color: #000000;
  margin: 0 16px;
}

.nav-menu a:hover {
  color: #ff58d3;
  text-decoration: underline;
  line-height: 100%;
  text-decoration-style: solid;
}

/* ===== MOBILE ICONS ===== */

.mobile-icons {
  display: none;
  align-items: center;

  margin-left: auto;
}

.mobile-icons button {
  background: none;
  border: none;

  margin-left: 12px;

  cursor: pointer;
}

.mobile-icons img {
  width: 26px;
  height: 26px;
}

/* ===== MOBILE MENU ===== */

.mobile-menu {
  display: none;

  flex-direction: column;

  background-color: rgba(14, 16, 67, 0.4);

  padding: 10px 16px;

  width: 100%;
}

.mobile-menu a {
  font-family: "Saira", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;

  letter-spacing: 0%;
  color: #ffffff;
  margin: 0 16px;
}

.mobile-menu a :hover {
  color: #ff58d3;
  text-decoration: underline;
  line-height: 100%;
  text-decoration-style: solid;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  /* hide desktop elements */
  .nav-menu {
    display: none;
  }

  /* show icons */
  .mobile-icons {
    display: flex;
    margin-left: auto;
  }

  /* LOGO */
  .logo-icon {
    height: 40px;
  }

  .logo-text {
    height: 28px;
  }

  /* HEADER SPACING */
  .header-container {
    padding: 12px;
    gap: 10px;
  }
}

/* ===== SMALL DESKTOP FIX ===== */

@media (max-width: 1100px) {
  .nav-menu a {
    margin: 0 10px;
    font-size: 13px;
  }

  .search-box {
    max-width: 260px;
  }
}

/* ===== PRIMARY PAGE BLUE HEADER + SIDE MENU ===== */

.primary-menu-page .site-header {
  background: #1a73e8;
  color: #ffffff;
  z-index: 1200;
  box-shadow: 0 8px 22px rgba(15, 66, 135, 0.2);
}

.primary-menu-page .header-container {
  background: #1a73e8;
}

.primary-menu-page .logo-text {
  height: 40px;
  filter: none;
}

.primary-menu-page .nav-menu a {
  color: #ffffff;
}

.primary-menu-page .nav-menu a:hover,
.primary-menu-page .nav-menu a:focus-visible {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

body:not(.primary-menu-page) .mobile-icons,
body:not(.primary-menu-page) .mobile-menu {
  display: none !important;
}

.primary-menu-page .menu-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 9px;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-around;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.primary-menu-page .menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.mobile-menu-close,
.mobile-menu-backdrop {
  display: none;
}

@media (max-width: 768px) {
  .primary-menu-page .logo-text {
    height: 36px;
  }

  body.primary-menu-page.menu-open {
    overflow: hidden;
  }

  body.primary-menu-page.menu-open .category-slider-track {
    animation-play-state: paused;
  }

  .primary-menu-page .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;
    display: flex;
    width: min(82vw, 320px);
    height: 100vh;
    height: 100dvh;
    padding: 88px 20px 28px;
    gap: 0;
    background: #0f5fc4;
    box-shadow: -18px 0 42px rgba(7, 35, 78, 0.28);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(105%);
    transition:
      transform 0.28s ease,
      opacity 0.2s ease,
      visibility 0.28s ease;
  }

  .primary-menu-page .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .primary-menu-page .mobile-menu a {
    margin: 0;
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 14px;
  }

  .primary-menu-page .mobile-menu a:hover,
  .primary-menu-page .mobile-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
  }

  .primary-menu-page .mobile-menu .mobile-menu-logo {
    position: absolute;
    top: 12px;
    right: 20px;
    left: 70px;
    display: flex;
    height: 52px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    border: 0;
    background: transparent;
  }

  .primary-menu-page .mobile-menu .mobile-menu-logo img {
    display: block;
    width: 188px;
    max-width: 100%;
    max-height: 48px;
    filter: none;
  }

  .primary-menu-page .mobile-menu-close {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  .primary-menu-page .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: block;
    border: 0;
    background: rgba(4, 18, 39, 0.48);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease;
  }

  .primary-menu-page.menu-open .mobile-menu-backdrop {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

.hero-intro {
  position: relative;
  width: calc(100% - 28px);
  max-width: 1160px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px auto 28px;
  padding: 56px 80px 52px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  touch-action: pan-y;
}

/* LEFT CONTENT */
.hero-content {
  position: relative;
  max-width: 470px;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 6px 12px;
  color: #1a73e8;
  background: #eaf4ff;
  border: 1px solid #cde5ff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.hero-content h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.06;
  color: #10223f;
  margin-bottom: 12px;
}

.hero-content p {
  max-width: 430px;
  font-size: 17px;
  color: #516173;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: #ffffff;
  background: #1a73e8;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(26, 115, 232, 0.22);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-cta:hover {
  background: #1765cc;
  box-shadow: 0 18px 34px rgba(26, 115, 232, 0.28);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(38vw, 390px);
  min-width: 280px;
  pointer-events: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 58%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.2), transparent 66%);
  filter: blur(18px);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  filter: drop-shadow(0 22px 32px rgba(26, 115, 232, 0.18));
  transform-origin: center;
  animation: heroIconFloat 5.6s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroIconFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.4deg);
  }

  50% {
    transform: translate3d(0, -10px, 0) rotate(0.8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .hero-intro {
    padding: 46px 42px;
  }

  .hero-content {
    max-width: 360px;
  }

  .hero-visual {
    width: min(36vw, 330px);
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .hero-intro {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: calc(100% - 28px);
    margin: 18px auto 20px;
    min-height: 0;
    padding: 26px 18px 22px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 30px;
    text-align: left;
  }

  .hero-content p {
    max-width: 290px;
    font-size: 14px;
    text-align: left;
  }

  .hero-kicker {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-cta {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-visual {
    align-self: center;
    width: min(82vw, 270px);
    min-width: 0;
    margin-top: 18px;
  }
}

.game-separator-banner {
  position: relative;
  width: calc(100% - 28px);
  max-width: 1160px;
  height: 176px;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fbff 0%, #e9f3ff 52%, #f4f8ff 100%);
  box-shadow:
    0 -18px 34px rgba(255, 255, 255, 0.95),
    0 18px 42px rgba(18, 47, 92, 0.13);
  pointer-events: none;
}

.game-separator-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, #f8fbff 0%, rgba(248, 251, 255, 0) 9%, rgba(248, 251, 255, 0) 91%, #f8fbff 100%);
}

.game-separator-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 42%);
  border: 1px solid rgba(26, 115, 232, 0.1);
  border-radius: inherit;
}

.category-slider-track {
  display: flex;
  width: max-content;
  animation: categorySlide 28s linear infinite;
}

.category-slider-group {
  display: flex;
  flex-shrink: 0;
  gap: 18px;
  padding-right: 18px;
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 164px;
  height: 88px;
  border: 1px solid rgba(26, 115, 232, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(18, 67, 130, 0.09);
  color: #132748;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  user-select: none;
}

.category-card span {
  font-size: 28px;
}

@keyframes categorySlide {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .game-separator-banner {
    height: 118px;
    margin: 0 auto 20px;
  }

  .category-slider-group {
    gap: 12px;
    padding-right: 12px;
  }

  .category-card {
    width: 128px;
    height: 72px;
    border-radius: 13px;
    font-size: 15px;
  }

  .category-card span {
    font-size: 23px;
  }
}

/* ===== FEATURED GAMES SECTION ===== */
.featured-games {
  padding: 24px 60px 30px;
}

/* HEADER FLEX */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

/* RIGHT SIDE BUTTON */
.section-right {
  display: flex;
  align-items: flex-start;
}

/* VIEW ALL BUTTON */
.view-all {
  padding: 8px 14px;
  background: #1a73e8;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
  white-space: nowrap;
}

.view-all:hover {
  background: #1765cc;
}

.mobile-grid-cta {
  display: none;
}

/* TITLE */
.featured-games .section-title {
  font-size: 26px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

/* DESCRIPTION */
.featured-games .section-desc {
  font-size: 14px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 600px;
}

@media (max-width: 768px) {
  .featured-games {
    padding: 20px 15px;
  }

  .section-header {
    flex-direction: column;
    gap: 10px;
  }

  .section-right {
    align-self: flex-end;
  }

  .featured-games .section-title {
    font-size: 20px;
  }

  .featured-games .section-desc {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .game-list-2 .game-item:nth-last-child(-n + 1) {
    display: none;
  }
}

.blog-section {
  padding: 40px 60px;
}

/* HEADER */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.blog-header h2 {
  font-size: 24px;
  color: #000000;
}

.blog-header a {
  font-size: 13px;
  color: #000000;
  text-decoration: none;
}

/* LAYOUT */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

/* FEATURE BLOG */
.blog-feature {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.blog-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.blog-overlay {
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #ffffff;
}

.blog-overlay h3 {
  font-size: 18px;
  margin: 8px 0;
}

.blog-overlay span {
  font-size: 13px;
  color: #000000;
}

.blog-overlay p {
  font-size: 13px;
  color: #ccc;
}

/* TAG */
.blog-tag {
  background: #1a73e8;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 12px;
  color: #ffffff;
}

/* RIGHT LIST */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-item {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  border-radius: 10px;
  transition: 0.2s;
  text-decoration: none; /* ✅ remove underline */
}

.blog-item:hover {
  background: rgba(0, 0, 0, 0.15);
}

/* IMAGE */
.blog-item img {
  width: 80px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}

/* TEXT */
.blog-info h4 {
  font-size: 14px;
  color: #000000;
  margin: 4px 0;
}

.blog-info p {
  font-size: 12px;
  color: #000000;
}

@media (max-width: 768px) {
  .blog-section {
    padding: 20px 15px;
  }

  .blog-layout {
    display: block;
  }

  /* FEATURE FULL WIDTH */
  .blog-feature {
    margin-bottom: 15px;
  }

  .blog-overlay h3 {
    font-size: 16px;
  }

  .blog-overlay p {
    font-size: 12px;
  }

  /* STACK LIST */
  .blog-item {
    padding: 6px;
  }

  .blog-item img {
    width: 70px;
    height: 60px;
  }

  .blog-info h4 {
    font-size: 13px;
  }

  .blog-info p {
    font-size: 11px;
  }
}

/* HOME BLOG CARDS */
.blog-section {
  width: calc(100% - 28px);
  max-width: 1160px;
  margin: 40px auto;
  padding: 0;
}

.blog-header {
  align-items: flex-end;
  margin-bottom: 16px;
}

.blog-eyebrow {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: #1a73e8;
  text-transform: uppercase;
}

.blog-header h2 {
  font-size: 30px;
  line-height: 1.15;
  color: #10223f;
}

.blog-header .view-all {
  color: #ffffff;
}

.blog-carousel {
  position: relative;
}

.blog-layout {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-layout::-webkit-scrollbar {
  display: none;
}

.blog-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(26, 115, 232, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #1a73e8;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(18, 47, 92, 0.18);
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.blog-nav:hover {
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(18, 47, 92, 0.24);
  transform: translateY(-50%) scale(1.04);
}

.blog-nav-prev {
  left: -18px;
}

.blog-nav-next {
  right: -18px;
}

.blog-card-home {
  display: flex;
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: #10223f;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(26, 115, 232, 0.14);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(18, 47, 92, 0.08);
  scroll-snap-align: start;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.blog-card-home:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 115, 232, 0.28);
  box-shadow: 0 20px 42px rgba(18, 47, 92, 0.12);
}

.blog-card-home img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef6ff;
}

.blog-card-home .blog-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.blog-card-home .blog-tag {
  width: max-content;
  margin-bottom: 10px;
  border-radius: 999px;
}

.blog-card-home h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: #10223f;
}

.blog-card-home p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #52657c;
}

@media (max-width: 900px) {
  .blog-card-home {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 768px) {
  .blog-section {
    width: 100%;
    margin: 28px 0;
    padding: 0 0 0 14px;
  }

  .blog-header {
    padding-right: 14px;
  }

  .blog-header h2 {
    font-size: 24px;
  }

  .blog-layout {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 14px 10px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .blog-nav {
    top: 38%;
    width: 36px;
    height: 36px;
    font-size: 27px;
  }

  .blog-nav-prev {
    left: 4px;
  }

  .blog-nav-next {
    right: 18px;
  }

  .blog-card-home {
    flex: 0 0 calc(100vw - 42px);
    scroll-snap-align: start;
  }

  .blog-card-home:hover {
    transform: none;
  }

  .blog-card-home .blog-info {
    min-height: 134px;
    padding: 13px;
  }

  .blog-card-home h3 {
    font-size: 16px;
  }
}

/* MAIN */
.blog-page {
  padding: 30px 60px;
}

/* BANNER */
/* BLOG BANNER FIX */
.blog-banner {
  width: 100%;
  height: 420px; /* 🔥 control height */
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 25px;
  position: relative;
}

.blog-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.6)
  );
}
.blog-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 crop properly */
}

/* CONTAINER */
.blog-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

/* MAIN CONTENT */
.blog-main h1 {
  font-size: 28px;
  color: #000000;
  margin-bottom: 10px;
}

.blog-meta {
  font-size: 13px;
  color: #000000;
  margin-bottom: 20px;
}

.blog-main p {
  font-size: 14px;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 15px;
}
.blog-main li {
  font-size: 13px;
  color: #000000;
  margin: 10px 10px 10px;
}

.blog-main h2 {
  font-size: 20px;
  color: #000000;
  margin: 20px 0 10px;
}

/* IMAGE */
.blog-img {
  width: 100%;
  border-radius: 10px;
  margin: 15px 0;
}

/* SIDEBAR */
.blog-sidebar {
  padding: 15px;
}

.blog-sidebar h3 {
  color: #000000;
  margin-bottom: 15px;
}

.side-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  text-decoration: none;
}

.side-item img {
  width: 70px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.side-item p {
  font-size: 13px;
  color: #000000;
}

@media (max-width: 768px) {
  .blog-page {
    padding: 20px 15px;
  }

  .blog-container {
    display: block;
  }
  .blog-banner {
    height: 200px;
  }

  /* TITLE */
  .blog-main h1 {
    font-size: 22px;
  }

  .blog-main h2 {
    font-size: 18px;
  }

  .blog-main p {
    font-size: 13px;
  }

  /* SIDEBAR BELOW */
  .blog-sidebar {
    margin-top: 25px;
  }

  .side-item img {
    width: 60px;
    height: 50px;
  }

  .side-item p {
    font-size: 12px;
  }
}

/* PAGE */
.blog-page {
  padding: 30px 60px;
}

/* TITLE */
.blog-page-title {
  color: #000000;
  font-size: 26px;
  margin-bottom: 20px;
}

/* GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* CARD */
.blog-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

/* IMAGE */
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* OVERLAY */
.blog-card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

/* TITLE */
.blog-card-content h3 {
  font-size: 14px;
  color: #ffffff;
}

/* HOVER */
.blog-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .blog-page {
    padding: 20px 15px;
  }

  .blog-page-title {
    font-size: 20px;
  }

  /* GRID MOBILE */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .blog-card img {
    height: 140px;
  }

  .blog-card-content h3 {
    font-size: 13px;
  }
}

/* ===== SECTION ===== */

.games-section {
  padding: 20px;
  color: #000000;
}

/* HEADER */

/* HEADER */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.game-home-layout {
  width: 100%;
  padding: 10px;
  margin: auto;
}
.game-list-2 {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-item {
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.game-item .game-icon {
  aspect-ratio: 1;
}

.game-item .game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.game-item .game-title {
  color: #fff;
  opacity: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.25rem;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  --bezier: cubic-bezier(0.25, 0.1, 0.25, 1);
  transition:
    transform 0.3s var(--bezier) 0.1s,
    opacity 0.3s var(--bezier) 0.1s;
  transform: translate3d(0px, 8px, 0px);
  font-weight: 700;
}

.game-item:hover {
  transform: scale(1.07);
}

.game-item:hover .game-title {
  transform: translate3d(0px, 0px, 0px);
  opacity: 1;
}

/* ===== FEATURED SHOWCASE ===== */
.featured-showcase {
  max-width: 1160px;
  margin: 28px auto 44px;
  padding: 24px;
  color: #10223f;
  background:
    radial-gradient(circle at 92% 8%, rgba(26, 115, 232, 0.12), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(26, 115, 232, 0.08), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf5ff 58%, #ffffff 100%);
  border: 1px solid rgba(26, 115, 232, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 47, 92, 0.08);
  overflow: hidden;
}

.featured-showcase .section-header {
  align-items: center;
  margin-bottom: 18px;
}

.featured-showcase .section-title {
  color: #10223f;
  margin-bottom: 6px;
}

.featured-showcase .section-desc {
  color: #516173;
  margin-bottom: 0;
}

.featured-showcase .game-grid {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.featured-showcase .game-list-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  --quil-top-cell: clamp(82px, 8vw, 112px);
  grid-auto-rows: var(--quil-top-cell);
  grid-auto-flow: dense;
  gap: 6px;
}

.featured-showcase .game-item {
  position: relative;
  min-height: 0;
  aspect-ratio: auto;
  display: grid;
  align-content: end;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  background:
    url("/assets/logos/quilplay-favicon.svg") center / 44% no-repeat,
    linear-gradient(135deg, rgba(26, 115, 232, 0.16), rgba(34, 197, 94, 0.08)),
    #101827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(8px);
  animation: quilTileIn 0.45s ease forwards;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.featured-showcase .game-item:nth-child(1),
.featured-showcase .game-item:nth-child(5),
.featured-showcase .game-item:nth-child(9),
.featured-showcase .game-item:nth-child(14),
.featured-showcase .game-item:nth-child(20) {
  grid-column: span 2;
  grid-row: span 2;
}

.featured-showcase .game-item .game-icon {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.featured-showcase .game-item .game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition:
    filter 0.28s ease,
    transform 0.28s ease;
}

.featured-showcase .game-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.14) 100%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.featured-showcase .game-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -48%;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-16deg);
  transition: left 0.42s ease;
  pointer-events: none;
}

.featured-showcase .game-title {
  display: none;
}

.featured-showcase .game-item:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 115, 232, 0.78);
  box-shadow: 0 18px 42px rgba(26, 115, 232, 0.22);
}

.featured-showcase .game-item:hover .game-icon img {
  filter: saturate(1.18) contrast(1.05);
  transform: scale(1.08);
}

.featured-showcase .game-item:hover::before {
  opacity: 1;
}

.featured-showcase .game-item:hover::after {
  left: 112%;
}

.featured-showcase .game-item:hover .game-title {
  transform: none;
  opacity: 1;
}

.featured-showcase .install-badge {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 7px;
  padding: 4px 8px 5px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7a18, #e53935);
  border-radius: 0 0 7px 7px;
  box-shadow: 0 4px 10px rgba(120, 20, 10, 0.34);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
  pointer-events: none;
}

.featured-showcase .install-badge.badge-5m {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 4px 10px rgba(49, 46, 129, 0.34);
}

@keyframes quilTileIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .featured-showcase {
    margin: 20px 14px 34px;
    padding: 16px 12px;
  }

  .featured-showcase .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .featured-showcase .section-right {
    display: flex;
    width: 100%;
    margin-top: 12px;
  }

  .featured-showcase .section-right .view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 700;
  }

  .featured-showcase .game-grid {
    padding: 0;
  }

  .featured-showcase .mobile-grid-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 14px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    box-sizing: border-box;
  }

  .featured-showcase .game-list-2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    --quil-top-cell: calc((100vw - 56px) / 4);
    grid-auto-rows: var(--quil-top-cell);
    gap: 4px;
  }

  .featured-showcase .game-item {
    display: grid;
    grid-column: span 1;
    grid-row: span 1;
  }

  .featured-showcase .game-list-2 .game-item:nth-last-child(-n + 1) {
    display: grid;
  }

  .featured-showcase .game-list-2 .game-item.desktop-extra-game {
    display: none;
  }

  .featured-showcase .game-item:nth-child(1),
  .featured-showcase .game-item:nth-child(5),
  .featured-showcase .game-item:nth-child(9),
  .featured-showcase .game-item:nth-child(14),
  .featured-showcase .game-item:nth-child(20) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .featured-showcase .game-title {
    display: none;
  }
}
@media (min-width: 104px) and (max-width: 543px) {
  .game-list-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 544px) and (max-width: 763px) {
  .game-list-2 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 764px) and (max-width: 1204px) {
  .game-list-2 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (min-width: 1204px) and (max-width: 1313px) {
  .game-list-2 {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

@media (min-width: 1314px) and (max-width: 1533px) {
  .game-list-2 {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

@media (min-width: 1534px) and (max-width: 1863px) {
  .game-list-2 {
    grid-template-columns: repeat(11, minmax(0, 1fr));
  }
}

@media (min-width: 1864px) {
  .game-list-2 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

/* ============================= */
/* 🔥 MOBILE GAMES SECTION */
/* ============================= */

.mobile-games {
  padding: 40px 20px;
  color: #000000;
}

.mobile-games .container {
  max-width: 1200px;
  margin: auto;
}

/* TOP ROW */
.mobile-games .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* LEFT CONTENT */
.mobile-games .content {
  flex: 1;
}

/* TITLE */
.mobile-games h2 {
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  line-height: 1.3;
}

/* ICON */
.mobile-games .icon img {
  width: 26px;
  height: 26px;
}

/* PARAGRAPH */
.mobile-games p {
  font-size: 14px;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* HIGHLIGHT TEXT */
.mobile-games .highlight {
  color: #000000;
  font-weight: 600;
}

/* 🔥 LIST STYLE (IMPORTANT FIX) */
.mobile-games ul {
  margin: 12px 0 18px;
  padding-left: 20px;
}

.mobile-games ul li {
  font-size: 14px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 6px;
  position: relative;
}

/* OPTIONAL BULLET STYLE */
.mobile-games ul li::marker {
  color: #000000;
}

/* RIGHT IMAGE */
.mobile-games .image {
  flex: 1;
  text-align: center;
}

.mobile-games .image img {
  max-width: 85%;
}

/* BOTTOM CONTENT */
.mobile-games .bottom-content {
  margin-top: 30px;
  max-width: 90%;
}

/* SUBTITLE */
.mobile-games h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 18px;
  line-height: 1.4;
}

/* ============================= */
/* 🔥 TAG SECTION */
/* ============================= */

.game-tags {
  width: calc(100% - 28px);
  max-width: 1160px;
  margin: 36px auto 44px;
  padding: 0;
  text-align: center;
}

.game-tags .container {
  max-width: none;
  margin: 0;
  padding: 28px;
  background: linear-gradient(135deg, #f1f8ff, #ffffff);
  border: 1px solid #d4eaff;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 47, 92, 0.08);
}

/* TITLE */
.game-tags .section-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #10223f;
  margin-bottom: 18px;
  text-decoration: none;
}

.game-tags .section-title::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #1a73e8;
  box-shadow: 0 0 0 5px #dbeeff;
}

/* SECOND TITLE */
.game-tags .section-title.second {
  margin-top: 30px;
}

/* TAG GRID */
.game-tags .tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  justify-content: center;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}

/* TAG STYLE */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #183554;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #cde5ff;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(26, 115, 232, 0.06);
  transition: 0.25s ease;
  white-space: normal;
}

/* HOVER */
.tag:hover {
  transform: translateY(-2px);
  color: #0d47a1;
  background: #eaf4ff;
  border-color: #93c5fd;
  box-shadow: 0 12px 24px rgba(26, 115, 232, 0.12);
}

/* ============================= */
/* 📱 TABLET */
/* ============================= */

@media (max-width: 992px) {
  .mobile-games .top-row {
    flex-direction: column;
    text-align: center;
  }

  .mobile-games .image {
    display: none;
  }

  .mobile-games h2 {
    justify-content: center;
  }

  .mobile-games .bottom-content {
    max-width: 100%;
    text-align: center;
  }
}

/* ============================= */
/* 📱 MOBILE */
/* ============================= */

@media (max-width: 768px) {
  .mobile-games {
    padding: 30px 15px;
  }

  .mobile-games h2 {
    font-size: 24px;
  }

  .mobile-games h3 {
    font-size: 18px;
  }

  .mobile-games p,
  .mobile-games ul li {
    font-size: 13px;
  }

  .game-tags .tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================= */
/* 📱 SMALL MOBILE */
/* ============================= */

@media (max-width: 480px) {
  .game-tags {
    width: calc(100% - 28px);
    margin: 26px auto 34px;
  }

  .game-tags .container {
    padding: 18px 14px;
  }

  .game-tags .tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tag {
    min-width: 0;
    min-height: 44px;
    padding: 8px 7px;
    font-size: clamp(10px, 3vw, 12px);
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

/* ===== WRAPPER ===== */
.wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 15px;
}

/* ===== MAIN CARD ===== */
.entry {
  width: 100%;
  max-width: 900px;
  padding: 40px;
  border-radius: 20px;

  background: rgba(236, 236, 236, 0.379);
  backdrop-filter: blur(20px);

  border: 1px solid rgba(0, 0, 0, 0.08);

  box-shadow:
    0 0 40px rgba(235, 235, 235, 0.15),
    0 0 80px rgba(237, 237, 237, 0.1);
}

/* ===== HEADINGS ===== */
.entry h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;

  background: linear-gradient(90deg, #000000, #141414);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.entry h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #000000;

  border-left: 3px solid #000000;
  padding-left: 10px;
}

/* ===== TEXT ===== */
.entry p {
  margin-bottom: 12px;
  color: #000000;
  font-size: 15px;
}

.entry strong {
  color: #000000;
}

/* ===== LIST ===== */
.entry ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.entry ul li {
  margin-bottom: 8px;
  position: relative;
  color: #000000;
}

/* custom bullet */
.entry ul li::marker {
  color: #000000;
}

/* ===== LINKS ===== */
.entry a {
  color: #000000;
  text-decoration: none;
}

.entry a:hover {
  text-decoration: underline;
}

/* ===== SEPARATION LINE (OPTIONAL) ===== */
.entry h3:not(:first-of-type) {
  margin-top: 40px;
}

/* ===== GLOW EFFECT ===== */
.entry:hover {
  box-shadow:
    0 0 60px rgba(211, 211, 211, 0.25),
    0 0 100px rgba(140, 140, 140, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .entry {
    padding: 25px;
    border-radius: 15px;
  }

  .entry h2 {
    font-size: 24px;
  }

  .entry h3 {
    font-size: 18px;
  }

  .entry p {
    font-size: 14px;
  }
}

/* ================= FOOTER BASE ================= */
.site-footer {
  color: #000000;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, #000000, transparent) 1;
  font-size: 14px;
  padding: 25px;
}

.footer-top-logo {
  width: 100%;
  display: flex;
  justify-content: left;
  margin-bottom: 10px;
}

.footer-top-logo img {
  width: 220px; /* desktop default */
  max-width: 90%;
  height: auto;
  display: block;
}
/* Remove old left logo spacing */
.footer-left .footer-logo {
  display: none;
}

/* ================= CONTAINER ================= */
.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 60px;
}

/* ================= LOGO ================= */
.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

/* ================= HEADINGS ================= */
.footer-col h3 {
  color: #000000;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* ================= TEXT ================= */
.footer-left p {
  line-height: 1.8;
  color: #000000;
}

/* ================= LISTS ================= */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  color: #000000;
  line-height: 1.7;
}

/* Blue bullet style */
.footer-col ul li::before {
  content: "•";
  color: #000000;
  margin-right: 8px;
}

/* ================= LINKS ================= */
.footer-right a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #000000;
}

/* ================= BOTTOM STRIP ================= */
.footer-bottom {
  text-align: center;
  padding: 18px;
  color: #000000;
  font-size: 13px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-top-logo img {
    width: 180px;
  }

  .footer-left p {
    max-width: 600px;
    margin: auto;
  }

  .footer-col ul li::before {
    display: none;
  }
}
/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: left; /* 🔥 default left alignment */
  }

  .footer-top-logo {
    justify-content: center;
    align-items: center;
  }

  .footer-top-logo img {
    width: 140px;
  }

  /* Logo center */
  .footer-logo {
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto 20px;
    display: block;
  }

  /* Description left */
  .footer-left p {
    text-align: left;
  }

  /* Disclaimer heading center */
  .footer-center h3 {
    text-align: center;
  }

  /* Disclaimer list left */
  .footer-center ul {
    text-align: left;
  }

  .footer-center ul li {
    padding-left: 0;
  }
  .footer-right h3 {
    text-align: center;
  }
  /* About links left */
  .footer-right ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 🔥 2 columns */
    gap: 12px 20px;
    text-align: left;
  }

  .footer-right ul li {
    margin-bottom: 0;
  }
  /* Disclaimer bullets */
  .footer-center ul li::before,
  .footer-right ul li::before {
    content: "•";
    color: #000000;
    margin-right: 8px;
    display: inline-block;
  }

  .footer-center ul li,
  .footer-right ul li {
    position: relative;
    padding-left: 14px;
  }
}
 .gam-ad-wrapper {
    width: 100%;
    margin: 18px auto;
    text-align: center;
  }

  .gam-ad-wrapper[hidden] {
    display: none !important;
  }

  .gam-ad-label {
    margin-bottom: 5px;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
  }

  .gam-native-slot {
    display: flex;
    width: 100%;
    min-height: 250px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
  }

  .gam-native-slot iframe {
    max-width: 100%;
  }

/* ===== MOBILE GAMES CONTENT REDESIGN ===== */
.mobile-games {
  width: calc(100% - 28px);
  max-width: 1160px;
  margin: 42px auto;
  padding: 0;
  color: #10223f;
}

.mobile-games .container {
  max-width: none;
}

.mobile-games .top-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
  border: 1px solid rgba(26, 115, 232, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 47, 92, 0.08);
}

.mobile-games .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-games h2 {
  margin-bottom: 14px;
  color: #10223f;
  font-size: 32px;
  font-weight: 800;
}

.mobile-games .icon img {
  width: 30px;
  height: 30px;
}

.mobile-games p {
  max-width: 680px;
  color: #52657c;
  font-size: 14px;
  line-height: 1.75;
}

.mobile-games .features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mobile-games .features li {
  min-height: 56px;
  margin: 0;
  padding: 12px 12px 12px 42px;
  color: #183554;
  background: #eaf4ff;
  border: 1px solid #cfe5ff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.mobile-games .features li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a73e8;
  box-shadow: inset 0 0 0 4px #d8ecff;
}

.mobile-games .features li::marker {
  content: "";
}

.mobile-games .image {
  display: block;
  min-height: 100%;
  text-align: left;
}

.mobile-games .gaming-banner-card,
.mobile-games .info-banner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf4ff;
  border: 1px solid rgba(26, 115, 232, 0.14);
}

.mobile-games .gaming-banner-card::after,
.mobile-games .info-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 42%, rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.mobile-games .image img,
.mobile-games .info-banner img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.5s ease;
}

.mobile-games .gaming-banner-card:hover img,
.mobile-games .info-banner:hover img {
  transform: scale(1.05);
}

.mobile-games .bottom-content {
  display: grid;
  gap: 18px;
  max-width: none;
  margin-top: 18px;
}

.mobile-games .info-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(26, 115, 232, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(18, 47, 92, 0.07);
}

.mobile-games .info-row-reverse {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.mobile-games .info-row-reverse .info-copy {
  order: 2;
}

.mobile-games .info-row-reverse .info-banner {
  order: 1;
}

.mobile-games .info-copy h3,
.mobile-games .faq-block h3 {
  margin: 0 0 12px;
  color: #10223f;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.mobile-games .info-copy p:last-child {
  margin-bottom: 0;
}

.mobile-games .info-banner img {
  min-height: 230px;
}

.mobile-games .faq-block {
  padding: 22px;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid rgba(26, 115, 232, 0.14);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(18, 47, 92, 0.07);
}

.mobile-games .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mobile-games .faq-card {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d6eaff;
  border-radius: 8px;
}

.mobile-games .faq-card h4 {
  margin: 0 0 8px;
  color: #10223f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.mobile-games .faq-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .mobile-games .top-row,
  .mobile-games .info-row,
  .mobile-games .info-row-reverse {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .mobile-games .image {
    display: block;
  }

  .mobile-games h2 {
    justify-content: flex-start;
  }

  .mobile-games .bottom-content {
    text-align: left;
  }

  .mobile-games .info-row-reverse .info-copy,
  .mobile-games .info-row-reverse .info-banner {
    order: initial;
  }

  .mobile-games .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-games {
    width: calc(100% - 28px);
    margin: 30px auto;
  }

  .mobile-games .top-row,
  .mobile-games .info-row,
  .mobile-games .faq-block {
    padding: 16px;
  }

  .mobile-games h2 {
    font-size: 25px;
  }

  .mobile-games .info-copy h3,
  .mobile-games .faq-block h3 {
    font-size: 21px;
  }

  .mobile-games .features {
    grid-template-columns: 1fr;
  }

  .mobile-games .image img,
  .mobile-games .info-banner img {
    min-height: 190px;
  }
}
