/* Page-specific overrides for Home. Add only if needed; keep base CSS unchanged. */

/* Homepage: main content block (dark blue) full width, small side margins, rounded corners */
#game-page.main-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}
/* Override .container max-width: 1838px from all.css — content block full width, 20px side padding, rounded corners */
#game-page .container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  overflow: hidden;
}
#game-page .row.game__control-height-one {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  width: 100%;
  max-width: 100%;
}
#game-page .overbox-game {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  max-width: 100%;
}
#game-page .game-middle.box-frame {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin-left: 0; /* remove left margin so both sides are even, less gap */
}

/* Game iframe: cùng chiều rộng với khung bên dưới (Trending / Snow Rider section) */
#game-page .game-iframe-wrap {
  flex-shrink: 0;
  min-height: 280px;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  max-height: calc(56.25vw - 40px);
  box-sizing: border-box;
}
/* Dark blue block (Play free online games + Comments): stretch to remaining height, rounded corners */
#game-page .game-show-category + .us-content.game-flow-b,
#game-page .us-content.game-flow-b {
  flex: 1 1 auto;
  min-height: 280px;
  border-radius: 24px;
  box-sizing: border-box;
}

/* Content block only: full width, centered, 20px each side.
   .us-content is inside .game-middle (left column); do not use 50%-50vw (would use 50% of left column and misalign).
   Block starts at left edge of .game-middle (= 20px from viewport due to container padding), width 100vw-40px,
   negative margin-right so layout is not pushed. */
#game-page .game-middle.box-frame {
  overflow: visible;
}
#game-page .us-content.game-flow-b {
  width: calc(100vw - 40px);
  max-width: calc(100vw - 40px);
  margin-left: 0;
  margin-right: calc(-100vw + 40px + 100%);
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Homepage breadcrumb: Home » Casual (items close together, not pushed apart by .sp) */
.game-about .bread-crumb {
  margin-bottom: 1rem;
}
.game-about .bread-crumb-list {
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-start; /* override .sp (space-between) so items stay close */
}
.game-about .bread-crumb-item {
  color: #fff;
  display: inline-flex; /* keep inline so it does not take full row */
}
.game-about .bread-crumb-sep {
  color: #fff;
  margin: 0 0.35rem;
  user-select: none;
}
.game-about .bread-crumb-current {
  color: #fff;
}

/* Homepage category tags: Hot Games, Snow Rider Games, Sports */
.home-cate {
  margin-top: 1rem;
  margin-bottom: 0;
}
/* When tag is below SEO content: increase spacing above */
.home-content + .home-cate {
  margin-top: 2rem;
}
.home-cate .game-cate-link {
  background: #e8a84a;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  padding: 6px 16px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}
.home-cate .game-cate-link:hover {
  background: #d99738;
  color: #fff;
  text-decoration: underline;
}

/* Homepage comments (Facebook Comments Plugin) */
.home-cmt {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  min-height: 120px;
}
.home-cmt-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}
.home-cmt .fb-comments {
  display: block;
  min-height: 200px;
  width: 100%;
}

/* Custom comments: form + list (English), clear contrast */
.home-cmt.us-comments .us-comment-form {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.home-cmt.us-comments .us-comment-form-row {
  margin-bottom: 1rem;
}
.home-cmt.us-comments .us-comment-form-row:last-child {
  margin-bottom: 0;
}
.home-cmt.us-comments .us-comment-form-row--message {
  margin-bottom: 1rem;
}
.home-cmt.us-comments .us-comment-form-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 88px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}
.home-cmt.us-comments .us-comment-form-textarea:focus {
  outline: none;
  border-color: #fccc00;
  background: rgba(255, 255, 255, 0.15);
}
.home-cmt.us-comments .us-comment-form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.home-cmt.us-comments .us-comment-form-row--fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-cmt.us-comments .us-comment-form-input {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.home-cmt.us-comments .us-comment-form-input:focus {
  outline: none;
  border-color: #fccc00;
  background: rgba(255, 255, 255, 0.15);
}
.home-cmt.us-comments .us-comment-form-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.home-cmt.us-comments .us-comment-form-row--submit {
  margin-top: 0.5rem;
}
.home-cmt.us-comments .us-comment-form-submit {
  padding: 12px 24px;
  background: #fccc00;
  color: #1a1a1a;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}
.home-cmt.us-comments .us-comment-form-submit:hover {
  background: #e6b800;
}
.home-cmt.us-comments .us-comment-form-submit:active {
  transform: scale(0.98);
}
.home-cmt.us-comments .us-comment-form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}
.home-cmt.us-comments .us-comment-form-agree a {
  color: #fccc00;
  text-decoration: underline;
}
.home-cmt.us-comments .us-comment-form-success {
  margin-top: 1rem;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}
.home-cmt.us-comments .us-comment-form-success[hidden] {
  display: none;
}
.home-cmt.us-comments .us-comments-list {
  margin-top: 1rem;
  padding-top: 1rem;
  padding-right: 6px;
  border-top: 1px solid rgba(255,255,255,0.2);
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.home-cmt.us-comments .us-comments-list::-webkit-scrollbar {
  width: 8px;
}
.home-cmt.us-comments .us-comments-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
.home-cmt.us-comments .us-comments-list::-webkit-scrollbar-thumb {
  background: rgba(252,204,0,0.5);
  border-radius: 4px;
}
.home-cmt.us-comments .us-comment-item {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  min-height: 72px;
  box-sizing: border-box;
}
.home-cmt.us-comments .us-comment-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.home-cmt.us-comments .us-comment-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(252,204,0,0.35);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-cmt.us-comments .us-comment-body {
  flex: 1;
  min-width: 0;
}
.home-cmt.us-comments .us-comment-meta {
  margin-bottom: 4px;
  font-size: 0.9rem;
}
.home-cmt.us-comments .us-comment-author {
  font-weight: 600;
  color: #fff;
  margin-right: 8px;
}
.home-cmt.us-comments .us-comment-date {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.home-cmt.us-comments .us-comment-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Remove black line under Trending games and Snow Rider Games titles */
.game-show-category .wiget-title {
    border-bottom: none;
}

/* Trending rail: up to 10 games per row. data-rows="1" = 1 row (< 10 games), data-rows="2" = 2 rows (>= 10 games). Empty cells do not scale image. */
.home-trending-rail {
    display: grid;
    grid-template-columns: repeat(10, 160px);
    grid-template-rows: repeat(2, 160px);
    gap: 10px;
    height: auto;
    min-height: 330px;
    overflow: visible;
}
.home-trending-rail[data-rows="1"] {
    grid-template-rows: repeat(1, 160px);
    min-height: 170px;
}
.home-trending-rail .us-grid-game {
    display: block;
    width: 160px;
    height: 160px;
    min-width: 160px;
    min-height: 160px;
    max-width: 160px;
    max-height: 160px;
    margin: 0;
    overflow: hidden;
}
.home-trending-rail .us-grid-game .us-wrap-image,
.home-trending-rail .us-grid-game .us-wrap-image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
}
.home-trending-rail .us-game-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Snow Rider Games rail: 9 games, 1 row, full width — cards min 160px, grow to fill */
#game-page .game-show-category:has(.home-snowrider-rail) {
    width: 100%;
    max-width: 100%;
}
.home-snowrider-rail {
    display: grid;
    grid-template-columns: repeat(9, minmax(160px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}
.home-snowrider-rail .us-grid-game {
    display: block;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
}
.home-snowrider-rail .us-grid-game .us-wrap-image,
.home-snowrider-rail .us-grid-game .us-wrap-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-snowrider-rail .us-game-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* ---------- Responsive: Trending + Snow Rider rails (PC + tablet + mobile) ---------- */
/* Tablet: Snow Rider 5–6 cols; Trending 5 cols */
@media (max-width: 1200px) {
    .home-snowrider-rail {
        grid-template-columns: repeat(6, minmax(140px, 1fr));
    }
    .home-trending-rail {
        grid-template-columns: repeat(5, minmax(140px, 1fr));
        grid-template-rows: none;
        grid-auto-rows: minmax(140px, auto);
    }
    .home-trending-rail .us-grid-game,
    .home-trending-rail .us-grid-game .us-wrap-image,
    .home-trending-rail .us-grid-game .us-wrap-image img {
        width: 100%;
        height: 100%;
        min-width: 0;
        max-width: none;
    }
    .home-trending-rail .us-grid-game {
        aspect-ratio: 1;
    }
}
@media (max-width: 900px) {
    .home-snowrider-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .home-trending-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* Mobile: 3 cols for Snow Rider (3x3 grid); 3 cols for Trending; smaller gaps, touch-friendly */
@media (max-width: 640px) {
    #game-page .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    #game-page .game-show-category {
        margin-top: 1rem;
    }
    #game-page .game-show-category:first-of-type {
        margin-top: 0;
    }
    .game-show-category .wiget-title {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .game-show-category .wiget-title h2 {
        font-size: 1.1rem;
    }
    .game-show-category .header-wrapper-link {
        font-size: 0.9rem;
    }
    .home-trending-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: minmax(0, 1fr);
        gap: 8px;
        min-height: 0;
    }
    .home-trending-rail .us-grid-game {
        aspect-ratio: 1;
    }
    .home-snowrider-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .home-snowrider-rail .us-grid-game {
        aspect-ratio: 1;
    }
}
@media (max-width: 400px) {
    .home-snowrider-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-trending-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========== Homepage Content (SEO) – two-column layout ========== */
.home-content {
  margin: 0;
  padding: 0 1rem 1rem;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.home-content__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

/* Quick controls + Technical overview: same row, two columns */
.home-content__row {
  width: 100%;
}

.home-content__row--two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.home-content__row--two .home-content__sidebar-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-content__row--two .home-content__sidebar-card .home-content__sidebar-title {
  align-self: stretch;
  text-align: left;
}

.home-content__row--two .home-content__sidebar-card .home-content__table {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .home-content__row--two {
    grid-template-columns: 1fr;
  }
  /* Mobile: content block full-width, không tràn ngang */
  #game-page .us-content.game-flow-b {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
  .home-content {
    padding: 0 0.75rem 1rem;
  }
}

.home-content__main {
  min-width: 0;
}

.home-content__aside {
  position: sticky;
  top: 1rem;
  flex-shrink: 0;
}

.home-content__sidebar-card {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.25rem;
  box-sizing: border-box;
}

.home-content__sidebar-card:last-child {
  margin-bottom: 0;
}

.home-content__sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-left: 4px solid #FCCC00;
  padding-left: 0.65rem;
  color: #fff;
}

.home-content__sidebar-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(252, 204, 0, 0.95);
  margin: 1rem 0 0.35rem;
}

.home-content__sidebar-label:first-of-type {
  margin-top: 0;
}

.home-content__sidebar-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.home-content__sidebar-list li {
  margin-bottom: 0.25rem;
}

.home-content__table--compact {
  max-width: none;
  margin: 0.6rem 0 1rem;
  font-size: 0.88rem;
}

.home-content__table--compact thead th {
  padding: 0.55rem 0.85rem;
}

.home-content__table--compact tbody td {
  padding: 0.55rem 0.85rem;
}

.home-content__title {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #FCCC00;
}

.home-content__intro {
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.home-content__hero-img {
  margin: 0 auto 2.5rem;
  max-width: 100%;
}

.home-content__hero-img img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Section blocks as cards */
.home-content__block {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.home-content__block h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  border-left: 4px solid #FCCC00;
  line-height: 1.35;
  color: #FCCC00;
}

.home-content__block h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.home-content__block h3:first-child {
  margin-top: 0;
}

.home-content__block p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
}

.home-content__block p:last-child {
  margin-bottom: 0;
}

.home-content__block ul {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
}

.home-content__block ul:last-child {
  margin-bottom: 0;
}

.home-content__block li {
  margin-bottom: 0.4rem;
}

/* Alternating h3 section frames (orange / tan) */
.home-content__blocks-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.home-content__blocks-wrap > .home-content__block,
.home-content__blocks-wrap > .home-content__callout {
  margin-bottom: 0;
}

.home-content__blocks-wrap > *:nth-child(odd) {
  background: #d88f34;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-content__blocks-wrap > *:nth-child(odd) h3 {
  color: #FCCC00;
}

.home-content__blocks-wrap > *:nth-child(even) {
  background: #c4865d;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.home-content__blocks-wrap > *:nth-child(even) h3 {
  color: #fff;
}

.home-content__blocks-wrap > *:nth-child(odd) p,
.home-content__blocks-wrap > *:nth-child(odd) ul,
.home-content__blocks-wrap > *:nth-child(odd) li,
.home-content__blocks-wrap > *:nth-child(even) p,
.home-content__blocks-wrap > *:nth-child(even) ul,
.home-content__blocks-wrap > *:nth-child(even) li {
  color: rgba(255, 255, 255, 0.95);
}

/* Tables – đồng bộ đẹp (trang chủ + static) */
.home-content__table {
  width: 100%;
  max-width: 420px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.08);
}

.home-content__table th,
.home-content__table td {
  padding: 0.7rem 1rem;
  text-align: left;
}

.home-content__table thead th {
  background: linear-gradient(180deg, rgba(252, 204, 0, 0.35) 0%, rgba(252, 204, 0, 0.2) 100%);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(252, 204, 0, 0.5);
}

.home-content__table tbody tr {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}

.home-content__table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.08);
}

.home-content__table tbody tr:hover {
  background: rgba(252, 204, 0, 0.1);
}

.home-content__table tbody tr:last-child {
  border-bottom: none;
}

.home-content__sleds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 720px) {
  .home-content__sleds-grid {
    grid-template-columns: 1fr;
  }
}

.home-content__sleds-grid .home-content__table--sleds {
  max-width: none;
}

.home-content__table--sleds {
  max-width: 600px;
}

.home-content__table-preview-th {
  width: 120px;
  text-align: center;
}

.home-content__table-preview-td {
  width: 120px;
  text-align: center;
  vertical-align: middle;
  perspective: 120px;
}

.home-content__table-preview-td img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-content__table--sleds tbody tr:hover .home-content__table-preview-td img {
  transform: translateY(-6px) rotateX(4deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.home-content__table td {
  color: rgba(255, 255, 255, 0.92);
}

/* Callout – highlight box */
.home-content__callout {
  margin-bottom: 1.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(252, 204, 0, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(252, 204, 0, 0.35);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.home-content__callout h2,
.home-content__callout h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: #FCCC00;
}

.home-content__callout ul {
  margin: 0;
  padding-left: 1.4rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.home-content__callout li {
  margin-bottom: 0.35rem;
}

/* FAQ */
.home-content__faq {
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.home-content__faq h2,
.home-content__faq h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid #FCCC00;
  color: #FCCC00;
}

.home-content__details {
  margin-bottom: 0.5rem;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-content__details summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem 1rem 1.25rem;
  position: relative;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.98rem;
}

.home-content__details summary::-webkit-details-marker {
  display: none;
}

.home-content__details summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: #FCCC00;
}

.home-content__details[open] summary::after {
  content: "−";
}

.home-content__details[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-content__details p {
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

/* Related section — aligned with content block: same background, accent #FCCC00, cards like sidebar/block */
.home-content__related {
  margin-top: 2.5rem;
  margin-bottom: 0;
  padding: 1.75rem 1.25rem 1.5rem;
  background: transparent;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-content__related-title {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  padding: 0.5rem 1.75rem;
  background: linear-gradient(135deg, #f5d76e 0%, #e8a84a 50%, #d4892a 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-align: center;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.home-content__related-title--wide {
  max-width: 720px;
}

.home-content__overview-wrap {
  width: 100%;
  max-width: 52em;
  margin: 0;
}

.related-games {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.related-games__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding: 4px 0 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.related-games__grid::-webkit-scrollbar {
  display: none;
}

.related-games__card {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  padding: 12px;
  background: rgba(232, 210, 180, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.related-games__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(252, 204, 0, 0.25);
}

.related-games__thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.related-games__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-games__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.3;
}

.related-games__play {
  display: inline-block;
  padding: 0.45rem 1.35rem;
  background: linear-gradient(180deg, #f5d76e 0%, #e6b800 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.related-games__card:hover .related-games__play {
  background: linear-gradient(180deg, #fce044 0%, #f0c800 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

@media (min-width: 700px) {
  .related-games__grid {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    scroll-snap-type: none;
  }
}

/* Legacy card/grid (if used elsewhere) */
.home-content__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .home-content__grid {
    grid-template-columns: 1fr;
  }
}

.home-content__card {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-content__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.home-content__card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.home-content__card p,
.home-content__card ul {
  margin: 0 0 0.75rem;
  line-height: 1.6;
}

.home-content__card ul {
  padding-left: 1.35rem;
}

.home-content__card li {
  margin-bottom: 0.4rem;
}
