.home-gameover {
  font-family: 'Exo 2', sans-serif;
  background: var(--gradient-bg);
  background-color: var(--primary-navy);
  color: var(--text-light);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  padding-top: 0;
  /* Prevent extra scrolling on mobile */
  position: relative;
  overflow-x: hidden;
}

/* When container has padding, break out to full width */
.container:not(.home-active) .home-gameover {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
}

.home-gameover.hidden {
  display: none !important;
}

.home-gameover * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.home-gameover .background-home-page {
  background-image: url('images/Home/p46.png');
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 550px;
  background-position: top;
  background-attachment: fixed;
  margin-top: 0;
  position: relative;
  z-index: 0;
}

.home-gameover .background-shadow-button {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.home-gameover .text-background {
  padding-top: 100px;
  width: 800px;
  height: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.home-gameover .text-background p {
  font-size: 40px;
  color: var(--accent-neon);
  padding-top: 40px;
  text-shadow: 0 0 10px rgba(255, 235, 59, 0.6);
}

.home-gameover .text-background h1 {
  color: var(--text-light);
  font-size: 130px;
  line-height: 110px;
  margin-bottom: 0;
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.home-gameover .text-background form {
  margin-top: 60px;
  display: block;
  position: relative;
  z-index: 2;
}

.home-gameover .button-background {
  position: relative;
  display: block;
  height: 70px;
  width: 240px;
  padding: 20px 60px;
  margin: 0 auto;
  border: 1.5px solid rgba(255, 235, 59, 0.6);
  cursor: pointer;
  border-radius: 50px;
  overflow: visible;
  background: linear-gradient(135deg, rgba(255, 235, 59, 0.9) 0%, rgba(255, 241, 118, 0.9) 100%);
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  box-shadow: 
    0 0 20px rgba(255, 235, 59, 0.6),
    0 0 40px rgba(255, 235, 59, 0.4),
    0 0 60px rgba(255, 235, 59, 0.2),
    0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.home-gameover .button-background::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255, 235, 59, 0.95) 0%, rgba(255, 241, 118, 0.95) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.home-gameover .button-background::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255, 235, 59, 0.3) 0%, rgba(255, 241, 118, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.home-gameover .button-background div {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-gameover .button-background div::before,
.home-gameover .button-background div::after {
  position: absolute;
  left: 0;
  right: 0;
  color: #000000;
  font-size: 30px;
  font-family: 'Oxanium', 'Exo 2', sans-serif;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding: 0;
  text-shadow: 
    0 0 10px rgba(0, 0, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.home-gameover .button-background div::before {
  content: "GO";
  opacity: 1;
  transform: scale(1);
}

.home-gameover .button-background div::after {
  content: "YEAH !";
  letter-spacing: -10px;
  transform: scale(0);
  opacity: 0;
}

.home-gameover .button-background:hover {
  border-color: rgba(255, 235, 59, 0.9);
  box-shadow: 
    0 0 30px rgba(255, 235, 59, 0.8),
    0 0 60px rgba(255, 235, 59, 0.6),
    0 0 90px rgba(255, 235, 59, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255, 235, 59, 0.95) 0%, rgba(255, 241, 118, 0.95) 100%);
}

.home-gameover .button-background:hover::before {
  opacity: 1;
}

.home-gameover .button-background:hover::after {
  opacity: 1;
}

.home-gameover .button-background:hover div::before {
  letter-spacing: 3px;
  opacity: 0;
  transform: scale(4);
}

.home-gameover .button-background:hover div::after {
  letter-spacing: 0;
  opacity: 1;
  transform: scale(1);
}

.home-gameover .button-background:active {
  transform: translateY(0);
  box-shadow: 
    0 0 15px rgba(255, 235, 59, 0.6),
    0 0 30px rgba(255, 235, 59, 0.4),
    0 2px 10px rgba(0, 0, 0, 0.3);
}

.home-gameover .photo1-home {
  width: 100%;
  min-height: 350px;
  padding: 30px 0 0 100px;
  display: inline-flex;
  align-items: flex-start;
  gap: 40px;
}

.home-gameover .photo1-first {
  box-shadow: 0 13px 10px -7px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 33.333%;
  aspect-ratio: 600 / 280;
  border-radius: 15px;
  overflow: hidden;
}

.home-gameover .photo1-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.home-gameover .photo1-home hr {
  height: 260px;
  background-color: var(--accent-neon);
  border: none;
  width: 4px;
  box-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
}

.home-gameover .text-nextTo-photo1 {
  flex: 2;
  max-width: 66.667%;
}

.home-gameover .text-games-p1 {
  font-weight: bold;
  color: var(--accent-neon);
  line-height: 30px;
  font-size: 30px;
  text-shadow: 0 0 8px rgba(255, 235, 59, 0.5);
}

.home-gameover .text-nextTo-photo1 h1 {
  font-size: 70px;
  line-height: 70px;
  color: var(--text-light);
}

.home-gameover .text-games-p2 {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-muted);
}

.home-gameover .start-game {
  width: 100%;
  height: 100px;
  margin-top: 35px;
  text-align: center;
  padding: 30px;
}

.home-gameover .start-game h1 a {
  font-size: 65px;
  text-decoration: none;
  color: var(--text-light);
  transition: 0.2s;
}

.home-gameover .start-game h1 a:hover {
  font-size: 75px;
  color: var(--accent-neon);
  text-shadow: 0 0 15px rgba(255, 235, 59, 0.7);
}

.home-gameover .list1-top-games {
  width: 100%;
  padding: 100px 60px 50px;
}

.home-gameover .text-top-games {
  font-weight: bold;
  padding: 0 0 20px 10px;
  font-size: 25px;
  color: var(--text-light);
}

.home-gameover .cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

/* Games Bán Chạy - Hình ảnh */
#list1-topgames .card--1 .card__img,
#list1-topgames .card--1 .card__img--hover {
  background-image: url('images/blackmythwukong.jpg');
}
#list1-topgames .card--2 .card__img,
#list1-topgames .card--2 .card__img--hover {
  background-image: url('images/wallpaper.jpg');
}
#list1-topgames .card--3 .card__img,
#list1-topgames .card--3 .card__img--hover {
  background-image: url('images/eldenring.jpg');
}
#list1-topgames .card--4 .card__img,
#list1-topgames .card--4 .card__img--hover {
  background-image: url('images/spiderman2.jpg');
}
#list1-topgames .card--5 .card__img,
#list1-topgames .card--5 .card__img--hover {
  background-image: url('images/gtav.jpg');
}
#list1-topgames .card--6 .card__img,
#list1-topgames .card--6 .card__img--hover {
  background-image: url('images/ghostoftsushima.jpg');
}

/* Games Mới - Hình ảnh */
#list2-newgames .card--1 .card__img,
#list2-newgames .card--1 .card__img--hover {
  background-image: url('images/ea-sports-fc-26-ultimate-edition.jpg');
}
#list2-newgames .card--2 .card__img,
#list2-newgames .card--2 .card__img--hover {
  background-image: url('images/no-im-not-a-human.jpg');
}
#list2-newgames .card--3 .card__img,
#list2-newgames .card--3 .card__img--hover {
  background-image: url('images/dying-light-the-beast-deluxe-edition.jpg');
}
#list2-newgames .card--4 .card__img,
#list2-newgames .card--4 .card__img--hover {
  background-image: url('images/little-nightmares-iii-deluxe-edition.jpg');
}
#list2-newgames .card--5 .card__img,
#list2-newgames .card--5 .card__img--hover {
  background-image: url('images/SILENT-HILL-f.jpg');
}
#list2-newgames .card--6 .card__img,
#list2-newgames .card--6 .card__img--hover {
  background-image: url('images/mafia-the-old-country-key-art.jpg');
}

.home-gameover .card__like {
  width: 18px;
}

.home-gameover .card__clock {
  width: 15px;
  vertical-align: middle;
  fill: var(--text-muted);
}

.home-gameover .card__time {
  font-size: 12px;
  color: var(--text-muted);
  vertical-align: middle;
  margin-left: 5px;
}

.home-gameover .card__clock-info {
  float: right;
}

.home-gameover .card__img {
  visibility: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 235px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.home-gameover .card__info-hover {
  position: absolute;
  padding: 16px;
  width: 100%;
  opacity: 0;
  top: 0;
}

.home-gameover .card__img--hover {
  transition: 0.2s all ease-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  position: absolute;
  height: 235px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  top: 0;
}

.home-gameover .card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0, 1);
  background-color: var(--card-bg);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 13px 10px -7px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 235, 59, 0.1);
}

.home-gameover .card:hover {
  box-shadow: 0 30px 18px -8px rgba(255, 235, 59, 0.3);
  transform: scale(1.1);
  border-color: var(--accent-neon);
}

.home-gameover .card__info {
  z-index: 2;
  background-color: var(--card-bg);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 16px 24px 24px 24px;
}

.home-gameover .card__category {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--text-muted);
}

.home-gameover .card__title {
  margin: 5px 0 10px;
  color: var(--text-light);
}

.home-gameover .card__by {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
}

.home-gameover .card__by h3 {
  color: var(--accent-neon);
  text-shadow: 0 0 8px rgba(255, 235, 59, 0.5);
}

.home-gameover .card__author {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-neon);
  text-shadow: 0 0 6px rgba(255, 235, 59, 0.4);
}

.home-gameover .card:hover .card__img--hover {
  height: 100%;
  opacity: 0.3;
}

.home-gameover .card:hover .card__info {
  background-color: transparent;
  position: relative;
}

.home-gameover .card:hover .card__info-hover {
  opacity: 1;
}

.home-gameover .list2-3photo {
  width: 100%;
  padding: 0 60px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.home-gameover .list2-3photo > div {
  flex: 1 1 280px;
  border-radius: 12px;
}

.home-gameover .list2-3photo img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  box-shadow: 0 13px 10px -7px rgba(0, 0, 0, 0.1);
}

.home-gameover .list2-3photo h1 {
  padding: 10px 0 10px 10px;
  color: var(--text-light);
}

.home-gameover .text1-3photo,
.home-gameover .text2-3photo,
.home-gameover .text3-3photo {
  padding-left: 10px;
  color: var(--text-muted);
}

.home-gameover .price1-3photo,
.home-gameover .price2-3photo,
.home-gameover .price3-3photo {
  padding-left: 10px;
  font-weight: bold;
  font-size: 25px;
  color: var(--accent-neon);
  text-shadow: 0 0 10px rgba(255, 235, 59, 0.6);
}

.home-gameover .games-free {
  margin: 150px 60px 0;
  border-radius: 10px;
  background-image: url('images/Home/p31.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 530px;
  padding: 20px;
}

.home-gameover .games-free p {
  padding: 10px 0 25px 5px;
  font-weight: bold;
  font-size: 32px;
  color: var(--text-light);
}

.home-gameover .game-free1 {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.home-gameover .game-free1 .card__author {
  font-size: 22px;
}

.home-gameover .games-free i {
  color: var(--accent-neon);
  margin: 10px 0 0 10px;
  width: 50px;
  height: 50px;
}

.home-gameover .icon-free {
  display: flex;
  align-items: center;
}

.home-gameover .button-free {
  border: var(--text-light) 1px solid;
  color: var(--text-light);
  background-color: transparent;
  margin-left: auto;
  width: 140px;
  height: 45px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.home-gameover .button-free:hover {
  background-color: var(--primary-navy);
  border: var(--accent-neon) 1px solid;
  color: var(--accent-neon);
}

.home-gameover .all-games {
  width: 100%;
  margin-top: 50px;
  padding: 20px 60px 60px;
}

.home-gameover .all-games p {
  margin-top: 60px;
  padding-bottom: 20px;
  font-weight: bolder;
  font-size: 22px;
  color: var(--text-light);
}

.home-gameover .see-more {
  display: flex;
  align-items: center;
}

.home-gameover .see-more a {
  text-decoration: none;
  margin-left: auto;
  font-weight: bold;
  color: var(--text-muted);
}

.home-gameover .see-more a:hover {
  color: var(--accent-neon);
  text-shadow: 0 0 8px rgba(255, 235, 59, 0.5);
}

.home-gameover .all-list1-game,
.home-gameover .all-list2-game,
.home-gameover .all-list3-game,
.home-gameover .all-list4-game {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

.home-gameover .footer-section {
  background: var(--secondary-dark);
  position: relative;
  padding: 48px 0 0;
  margin-top: 60px;
}

.home-gameover .footer-cta {
  border-bottom: 1px solid rgba(255, 235, 59, 0.2);
  padding: 0 60px 30px;
}

.home-gameover .footer-cta-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.home-gameover .single-cta i {
  color: var(--accent-neon);
  font-size: 30px;
  margin-right: 20px;
  text-shadow: 0 0 8px rgba(255, 235, 59, 0.5);
  filter: drop-shadow(0 0 4px rgba(255, 235, 59, 0.4));
}

.home-gameover .single-cta {
  display: flex;
  align-items: center;
  min-width: 220px;
}

.home-gameover .cta-text h4 {
  color: var(--text-light);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}

.home-gameover .cta-text span {
  color: var(--text-muted);
  font-size: 15px;
}

.home-gameover .footer-content {
  padding: 30px 60px 30px;
}

.home-gameover .footer-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.home-gameover .footer-widget {
  flex: 1 1 260px;
  color: var(--text-muted);
}

.home-gameover .footer-logo img {
  max-width: 200px;
}

.home-gameover .footer-text p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 28px;
  color: var(--text-muted);
}

.home-gameover .footer-social-icon span {
  color: var(--text-light);
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.home-gameover .footer-social-icon a {
  color: var(--text-light);
  font-size: 16px;
  margin-right: 15px;
  transition: color 0.3s;
}

.home-gameover .footer-social-icon a:hover {
  color: var(--accent-neon);
  text-shadow: 0 0 8px rgba(255, 235, 59, 0.5);
}

.home-gameover .footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}

.home-gameover .facebook-bg {
  background: #3b5998;
}

.home-gameover .twitter-bg {
  background: #55acee;
}

.home-gameover .google-bg {
  background: #dd4b39;
}

.home-gameover .discord-bg {
  background: #5865F2;
}

.home-gameover .tiktok-bg {
  background: #000000;
}

.home-gameover .footer-widget-heading h3 {
  color: var(--text-light);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.home-gameover .footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: var(--accent-neon);
  box-shadow: 0 0 8px rgba(255, 235, 59, 0.5);
}

.home-gameover .footer-widget2 ul {
  list-style: none;
  padding-left: 0;
}

.home-gameover .footer-widget2 ul li {
  padding-bottom: 6px;
}

.home-gameover .footer-widget2 ul li a {
  color: var(--text-muted);
  text-transform: capitalize;
  text-decoration: none;
  transition: color 0.3s;
}

.home-gameover .footer-widget2 ul li a:hover {
  color: var(--accent-neon);
  text-shadow: 0 0 6px rgba(255, 235, 59, 0.4);
}

.home-gameover .subscribe-form {
  position: relative;
  overflow: hidden;
}

.home-gameover .subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 235, 59, 0.2);
  color: var(--text-light);
  transition: border-color 0.3s;
}

.home-gameover .subscribe-form input:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 0 8px rgba(255, 235, 59, 0.3);
}

.home-gameover .subscribe-form button {
  position: absolute;
  right: 0;
  background: var(--accent-neon);
  color: #000000;
  padding: 13px 20px;
  border: 1px solid var(--accent-neon);
  top: 0;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(255, 235, 59, 0.3);
}

.home-gameover .subscribe-form button:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 4px 12px rgba(255, 235, 59, 0.5);
}

.home-gameover .subscribe-form button i {
  color: #000000;
  font-size: 22px;
  transform: rotate(-6deg);
}

.home-gameover .copyright-area {
  background: var(--primary-navy);
  padding: 25px 0;
  text-align: center;
}

.home-gameover .copyright-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.home-gameover .copyright-text p a {
  color: var(--accent-neon);
  text-decoration: none;
  transition: color 0.3s;
}

.home-gameover .copyright-text p a:hover {
  color: var(--accent-light);
}

@media (max-width: 1200px) {
  .home-gameover .text-background {
    width: 100%;
    padding-top: 100px;
  }
  .home-gameover .text-background h1 {
    font-size: 90px;
    line-height: 90px;
  }
  .home-gameover .text-background form {
    margin-top: 50px;
  }
  .home-gameover .photo1-home {
    padding-left: 40px;
    gap: 30px;
    min-height: 280px;
  }
  
  .home-gameover .photo1-first {
    aspect-ratio: 600 / 280;
  }
  
  .home-gameover .photo1-home hr {
    height: 220px;
  }
  
  .home-gameover .text-games-p1 {
    font-size: 24px;
    line-height: 28px;
  }
  
  .home-gameover .text-nextTo-photo1 h1 {
    font-size: 56px;
    line-height: 60px;
  }
  
  .home-gameover .text-games-p2 {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .home-gameover .background-home-page {
    background-attachment: scroll;
    will-change: auto;
  }
  .home-gameover .background-home-page,
  .home-gameover .background-shadow-button {
    height: 420px;
  }
  .home-gameover .text-background h1 {
    font-size: 64px;
    line-height: 72px;
  }
  .home-gameover .text-background p {
    font-size: 28px;
  }
  .home-gameover .text-background form {
    margin-top: 40px;
  }
  /* Tablet - Button GO */
  .home-gameover .button-background {
    width: 220px;
    padding: 18px 50px;
  }
  .home-gameover .button-background div::before,
  .home-gameover .button-background div::after {
    font-size: 28px;
  }
  .home-gameover .photo1-home {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    min-height: auto;
    align-items: stretch;
  }
  .home-gameover .photo1-home hr {
    display: none;
  }
  .home-gameover .photo1-first {
    display: none;
  }
  .home-gameover .photo1-home img {
    border-radius: 15px;
  }
  .home-gameover .text-nextTo-photo1 {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }
  .home-gameover .text-nextTo-photo1 h1 {
    font-size: 42px;
    line-height: 48px;
    text-align: left;
  }
  
  .home-gameover .text-games-p1 {
    font-size: 20px;
    line-height: 24px;
    color: var(--accent-neon);
  }
  
  .home-gameover .text-games-p2 {
    font-size: 14px;
    line-height: 1.6;
  }
  .home-gameover .start-game h1 a {
    font-size: 48px;
  }
  .home-gameover .cards {
    justify-content: center;
  }
  .home-gameover .list2-3photo,
  .home-gameover .all-games,
  .home-gameover .games-free {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .home-gameover .background-home-page {
    background-attachment: scroll;
    will-change: auto;
  }
  .home-gameover .background-home-page,
  .home-gameover .background-shadow-button {
    height: 360px;
  }
  .home-gameover .text-background {
    padding-top: 40px;
  }
  .home-gameover .text-background h1 {
    font-size: 48px;
    line-height: 56px;
  }
  .home-gameover .text-background p {
    font-size: 22px;
  }
  .home-gameover .text-background form {
    margin-top: 30px;
  }
  /* Mobile - Button GO */
  .home-gameover .button-background {
    width: 180px;
    padding: 16px 40px;
  }
  .home-gameover .button-background div::before,
  .home-gameover .button-background div::after {
    font-size: 24px;
  }
  .home-gameover .button-background {
    box-shadow: 
      0 0 15px rgba(255, 235, 59, 0.5),
      0 0 30px rgba(255, 235, 59, 0.3),
      0 0 45px rgba(255, 235, 59, 0.15),
      0 3px 12px rgba(0, 0, 0, 0.3);
  }
  .home-gameover .button-background:hover {
    box-shadow: 
      0 0 25px rgba(255, 235, 59, 0.7),
      0 0 50px rgba(255, 235, 59, 0.5),
      0 0 75px rgba(255, 235, 59, 0.3),
      0 5px 18px rgba(0, 0, 0, 0.4);
  }
  .home-gameover .photo1-home {
    flex-direction: column;
    padding: 15px 15px 15px 30px;
    gap: 20px;
    min-height: auto;
    align-items: stretch;
  }
  
  .home-gameover .photo1-home hr {
    display: none;
  }
  
  .home-gameover .photo1-first {
    display: none;
  }
  
  .home-gameover .text-nextTo-photo1 {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }
  
  .home-gameover .text-games-p1 {
    font-size: 16px;
    line-height: 20px;
    color: var(--accent-neon);
  }
  
  .home-gameover .text-nextTo-photo1 h1 {
    font-size: 32px;
    line-height: 38px;
    text-align: left;
  }
  
  .home-gameover .text-games-p2 {
    font-size: 13px;
    line-height: 1.6;
  }
  .home-gameover .start-game h1 a {
    font-size: 36px;
  }
  .home-gameover .games-free {
    margin: 60px 10px 0;
  }
  .home-gameover .footer-columns {
    flex-direction: column;
  }
  .home-gameover .footer-cta-row {
    flex-direction: column;
  }
  .home-gameover .game-free1 {
    flex-direction: column;
  }
}

/* Fix extra scrolling on mobile for home page */
@media (max-width: 768px) {
  .home-gameover {
    /* Ensure home section doesn't cause extra scrolling */
    overflow-x: hidden;
    position: relative;
  }
  
  /* Fix background image disappearing issue on tablet/mobile */
  .home-gameover .background-home-page {
    background-attachment: scroll;
    will-change: auto;
  }
  
  /* Ensure footer doesn't extend beyond viewport */
  .home-gameover .footer-section {
    position: relative;
    overflow-x: hidden;
  }
  
  /* Prevent any child elements from causing horizontal scroll */
  .home-gameover * {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ============================================
   RESPONSIVE DESIGN CHO CARD GAMES
   Layout: Desktop 6 cột, Tablet 3 cột, Mobile 2 cột
   ============================================ */

/* Desktop lớn (>= 1600px) - 6 cột x 1 hàng = 6 cards */
@media (min-width: 1600px) {
  .home-gameover .cards,
  .home-gameover .all-list1-game,
  .home-gameover .all-list2-game,
  .home-gameover .all-list3-game,
  .home-gameover .all-list4-game {
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    padding: 0 40px;
  }
  
  .home-gameover .card__img,
  .home-gameover .card__img--hover {
    height: 200px;
  }
  
  .home-gameover .card__info {
    padding: 14px 16px 18px 16px;
  }
  
  .home-gameover .card__title {
    font-size: 0.95em;
  }
}

/* Desktop vừa (1400px - 1599px) - 6 cột x 1 hàng = 6 cards */
@media (min-width: 1400px) and (max-width: 1599px) {
  .home-gameover .cards,
  .home-gameover .all-list1-game,
  .home-gameover .all-list2-game,
  .home-gameover .all-list3-game,
  .home-gameover .all-list4-game {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 0 30px;
  }
  
  .home-gameover .card__img,
  .home-gameover .card__img--hover {
    height: 190px;
  }
  
  .home-gameover .card__info {
    padding: 12px 14px 16px 14px;
  }
  
  .home-gameover .card__title {
    font-size: 0.9em;
  }
}

/* Desktop nhỏ (1200px - 1399px) - 6 cột x 1 hàng = 6 cards */
@media (min-width: 1200px) and (max-width: 1399px) {
  .home-gameover .cards,
  .home-gameover .all-list1-game,
  .home-gameover .all-list2-game,
  .home-gameover .all-list3-game,
  .home-gameover .all-list4-game {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    padding: 0 20px;
  }
  
  .home-gameover .card__img,
  .home-gameover .card__img--hover {
    height: 180px;
  }
  
  .home-gameover .card__info {
    padding: 12px 12px 14px 12px;
  }
  
  .home-gameover .card__title {
    font-size: 0.85em;
    margin: 4px 0 6px;
  }
  
  .home-gameover .card__category {
    font-size: 11px;
  }
}

/* Tablet lớn (992px - 1199px) - 3 cột x 2 hàng = 6 cards */
@media (min-width: 992px) and (max-width: 1199px) {
  .home-gameover .cards,
  .home-gameover .all-list1-game,
  .home-gameover .all-list2-game,
  .home-gameover .all-list3-game,
  .home-gameover .all-list4-game {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
  }
  
  .home-gameover .card__img,
  .home-gameover .card__img--hover {
    height: 220px;
  }
  
  .home-gameover .card__info {
    padding: 14px 18px 20px 18px;
  }
  
  .home-gameover .card__title {
    font-size: 1.05em;
  }
  
  /* Tablet lớn - Button GO */
  .home-gameover .button-background {
    width: 230px;
    padding: 19px 55px;
  }
  .home-gameover .button-background div::before,
  .home-gameover .button-background div::after {
    font-size: 29px;
  }
  
  /* Căn chỉnh phần "VỀ CHÚNG TÔI" thẳng hàng với cards */
  .home-gameover .photo1-home {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* Tablet vừa (768px - 991px) - 3 cột x 2 hàng = 6 cards */
@media (min-width: 768px) and (max-width: 991px) {
  /* Fix background image disappearing issue on tablet */
  .home-gameover .background-home-page {
    background-attachment: scroll;
    will-change: auto;
  }
  
  .home-gameover .cards,
  .home-gameover .all-list1-game,
  .home-gameover .all-list2-game,
  .home-gameover .all-list3-game,
  .home-gameover .all-list4-game {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 0 15px;
  }
  
  .home-gameover .card__img,
  .home-gameover .card__img--hover {
    height: 210px;
  }
  
  .home-gameover .card__info {
    padding: 14px 16px 18px 16px;
  }
  
  .home-gameover .card__title {
    font-size: 1em;
  }
  
  .home-gameover .card__category {
    font-size: 12px;
  }
  
  /* Tablet - Button GO */
  .home-gameover .button-background {
    width: 220px;
    padding: 18px 50px;
  }
  .home-gameover .button-background div::before,
  .home-gameover .button-background div::after {
    font-size: 28px;
  }
  
  /* Căn chỉnh phần "VỀ CHÚNG TÔI" thẳng hàng với cards */
  .home-gameover .photo1-home {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* Mobile lớn (576px - 767px) - 2 cột x 3 hàng = 6 cards */
@media (min-width: 576px) and (max-width: 767px) {
  .home-gameover .cards,
  .home-gameover .all-list1-game,
  .home-gameover .all-list2-game,
  .home-gameover .all-list3-game,
  .home-gameover .all-list4-game {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  
  .home-gameover .card__img,
  .home-gameover .card__img--hover {
    height: 200px;
  }
  
  .home-gameover .card__info {
    padding: 12px 14px 16px 14px;
  }
  
  .home-gameover .card__title {
    font-size: 0.95em;
    margin: 4px 0 8px;
  }
  
  .home-gameover .card__category {
    font-size: 11px;
  }
  
  .home-gameover .card__by h3 {
    font-size: 0.9em;
  }
}

/* Mobile nhỏ (< 576px) - 2 cột x 3 hàng = 6 cards */
@media (max-width: 575px) {
  .home-gameover .cards,
  .home-gameover .all-list1-game,
  .home-gameover .all-list2-game,
  .home-gameover .all-list3-game,
  .home-gameover .all-list4-game {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 10px;
  }
  
  .home-gameover .card__img,
  .home-gameover .card__img--hover {
    height: 180px;
  }
  
  .home-gameover .card__info {
    padding: 10px 12px 14px 12px;
  }
  
  .home-gameover .card__title {
    font-size: 0.9em;
    margin: 3px 0 6px;
  }
  
  .home-gameover .card__category {
    font-size: 10px;
    letter-spacing: 1px;
  }
  
  .home-gameover .card__by h3 {
    font-size: 0.85em;
  }
}

/* Điều chỉnh hover effect cho mobile */
@media (max-width: 767px) {
  .home-gameover .card:hover {
    transform: scale(1.03);
  }
}

/* Đảm bảo container padding phù hợp */
@media (min-width: 1200px) {
  .home-gameover .list1-top-games,
  .home-gameover .all-games {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .home-gameover .list1-top-games,
  .home-gameover .all-games {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .home-gameover .list1-top-games,
  .home-gameover .all-games {
    padding-left: 30px;
    padding-right: 30px;
  }
}

