
.item-1 {
    grid-area: 1 / 1 / 3 / 3 !important;
}

.item-2 {
    grid-area: 6/1/8/3
}

.ad-1 {
    grid-row: 4;
    grid-column: 1 / -1;
    width: 100%;
}

.view-more-btn {
  background: linear-gradient(135deg, #016780, #016780);
  color: #fff;
  border: none;
  padding: 14px 32px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(175, 227, 250, 0.35);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

/* 🔥 Hover effect */
.view-more-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(175, 227, 250, 0.5);
}

/* 👇 Click effect */
.view-more-btn:active {
  transform: scale(0.96);
}

/* ✨ Glow animation (optional but powerful) */
.view-more-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #016780, #016780);
  filter: blur(12px);
  opacity: 0.6;
  z-index: -1;
}

/* 🧠 Center properly */
.view-more-btn {
  position: relative;
  display: inline-block;
}

.ads-tips {
    color: #999;
    font-size: 12px;

}

.ad-300x250 {
        max-width: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
      }

@media (min-width: 500px) {
  .ad-1 {
    grid-row: 4;
    grid-column: 1 / -1;
    width: 100%;
}


}

@media (min-width: 640px) {
  .ad-1 {
    grid-row: 4;
    grid-column: 1 / -1;
    width: 100%;
}
}

@media (min-width: 768px) {
  .ad-1 {
    grid-row: 4;
    grid-column: 1 / -1;
    width: 100%;
}

}

@media (min-width: 1024px) {
  .ad-1 {
    grid-row: 4;
    grid-column: 1 / -1;
    width: 100%;
}

}

@media (min-width: 1280px) {
  .ad-1 {
    grid-row: 4;
    grid-column: 1 / -1;
    width: 100%;
}


}

@media (min-width: 1536px) {
  .ad-1 {
    grid-row: 4;
    grid-column: 1 / -1;
    width: 100%;
}
}

@media (min-width: 500px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 !important;
    }
    .item-2 {
        grid-area:4/3/6/5
    }


}

@media (min-width: 640px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 !important;
    }
    .item-2 {
        grid-area:3/3/5/5
    }

}

@media (min-width: 768px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 !important;
    }
    .item-2 {
        grid-area:3/4/5/6
    }


}

@media (min-width: 1024px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 !important;
    }

    .item-2 {
        grid-area:3/4/5/6
    }


}

@media (min-width: 1280px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 !important;
    }
    .item-2 {
        grid-area:2/5/4/7
    }


}

@media (min-width: 1536px) {
    .item-1 {
    grid-area: 1 / 1 / 3 / 3 !important;
    }

    .item-2 {
        grid-area:2/6/4/8
    }
}


.game-list-2 {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3,minmax(0,1fr))
}


@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))
    }
}
.game-list-2 .game-item
{
    padding: 0;
}
/*******/
.game-home-layout {
    width: 100%;
    padding: 10px;
    margin: auto;
}

/* === Codex unified theme start === */
:root {
  --lufigames-page-bg: #ffffff;
  --lufigames-ink: #0f172a;
  --lufigames-muted: #475569;
  --lufigames-line: #cfdde2;
  --lufigames-accent: #0f766e;
}

html,
body,
.wrapper,
.game-list {
  background: var(--lufigames-page-bg);
  color: var(--lufigames-ink);
}

.app-card,
.game-item {
  background: transparent;
  border-color: var(--lufigames-line);
  box-shadow: none;
}

.app-card:hover,
.game-item:hover {
  background: rgba(255, 255, 255, 0.38);
}

.app-title,
.game-title {
  color: var(--lufigames-ink);
}

.app-meta,
.game-meta {
  color: var(--lufigames-muted);
}

.view-more-btn {
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 48%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
}

.view-more-btn:hover {
  background: linear-gradient(135deg, #10b981 0%, #0f766e 45%, #1d4ed8 100%);
}

/* === Codex unified theme end === */

/* === Codex final global footer start === */
.site-footer,
.play-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  color: #536179;
  background: #ffffff;
  border-top: 1px solid #dbe4ee;
  border-image: none;
  box-shadow: none;
  font-family: Saira, Inter, Arial, Helvetica, sans-serif;
}

.site-footer *,
.play-footer * {
  box-sizing: border-box;
}

.site-footer .footer-container,
.play-footer .footer-container {
  width: min(1240px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 44px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.72fr) minmax(180px, 0.72fr);
  gap: 64px;
  text-align: left;
}

.site-footer .footer-col,
.play-footer .footer-col {
  min-width: 0;
}

.site-footer .footer-top-logo,
.play-footer .footer-top-logo {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin: 0 0 24px;
}

.site-footer .footer-top-logo img,
.play-footer .footer-top-logo img,
.site-footer .footer-logo img,
.play-footer .footer-logo img {
  display: block;
  width: min(220px, 62vw);
  max-width: 100%;
  height: auto;
  margin: 0;
}

.site-footer .footer-col h3,
.site-footer .footer-disclaimer h3,
.play-footer .footer-col h3,
.play-footer .footer-disclaimer h3 {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #07111f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

.site-footer .footer-disclaimer h3,
.play-footer .footer-disclaimer h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.site-footer .footer-left p,
.play-footer .footer-left p,
.site-footer .footer-col li,
.play-footer .footer-col li,
.site-footer .footer-col a,
.play-footer .footer-col a,
.site-footer .footer-disclaimer li,
.play-footer .footer-disclaimer li {
  margin: 0;
  color: #536179;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.58;
  text-decoration: none;
  text-align: left;
}

.site-footer .footer-left p + p,
.play-footer .footer-left p + p {
  margin-top: 8px;
}

.site-footer .footer-col ul,
.play-footer .footer-col ul,
.site-footer .footer-disclaimer ul,
.play-footer .footer-disclaimer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-col li,
.play-footer .footer-col li {
  position: relative;
  margin: 0 0 12px;
  padding: 0;
}

.site-footer .footer-col ul li::before,
.play-footer .footer-col ul li::before {
  content: none;
}

.site-footer .footer-links a:hover,
.site-footer .footer-legal a:hover,
.play-footer .footer-links a:hover,
.play-footer .footer-legal a:hover {
  color: #0ea5a4;
}

.site-footer .footer-disclaimer,
.play-footer .footer-disclaimer {
  width: min(1240px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 28px;
}

.site-footer .footer-disclaimer-list,
.play-footer .footer-disclaimer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 44px;
}

.site-footer .footer-disclaimer-list li,
.play-footer .footer-disclaimer-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: #536179;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.site-footer .footer-disclaimer-list li::before,
.play-footer .footer-disclaimer-list li::before {
  content: "\2022";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  color: #0ea5a4;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}

.site-footer .footer-bottom,
.play-footer .footer-bottom {
  width: min(1240px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 0 30px;
  color: #536179;
  border-top: 1px solid #dbe4ee;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
}

@media (max-width: 920px) {
  .site-footer .footer-container,
  .play-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 34px;
  }

  .site-footer .footer-disclaimer-list,
  .play-footer .footer-disclaimer-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .site-footer .footer-top-logo,
  .play-footer .footer-top-logo {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-container,
  .site-footer .footer-disclaimer,
  .site-footer .footer-bottom,
  .play-footer .footer-container,
  .play-footer .footer-disclaimer,
  .play-footer .footer-bottom {
    width: min(100% - 24px, 1240px);
  }

  .site-footer .footer-container,
  .play-footer .footer-container {
    padding: 30px 0 24px;
    gap: 24px;
  }

  .site-footer .footer-disclaimer,
  .play-footer .footer-disclaimer {
    padding-bottom: 24px;
  }

  .site-footer .footer-top-logo,
  .play-footer .footer-top-logo {
    justify-content: center;
  }

  .site-footer .footer-top-logo img,
  .play-footer .footer-top-logo img {
    width: min(180px, 70vw);
  }

  .site-footer .footer-col h3,
  .play-footer .footer-col h3 {
    font-size: 20px;
  }

  .site-footer .footer-disclaimer h3,
  .play-footer .footer-disclaimer h3 {
    font-size: 17px;
  }

  .site-footer .footer-left p,
  .play-footer .footer-left p,
  .site-footer .footer-col li,
  .play-footer .footer-col li,
  .site-footer .footer-col a,
  .play-footer .footer-col a {
    font-size: 14px;
  }

  .site-footer .footer-disclaimer-list li,
  .play-footer .footer-disclaimer-list li {
    padding-left: 17px;
    font-size: 13px;
    line-height: 1.45;
  }
}
/* === Codex final global footer end === */
