/* ===== GLOBAL ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  font-family: "Saira", sans-serif;
  background-color: #e0f9ff;

}

/* ===== HEADER ===== */

.site-header {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.277);
  color: #fff;
}

/* ===== HEADER CONTAINER ===== */

.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  /* IMPORTANT FIX */
  gap: 100px;
  justify-content: space-between;
  padding: 14px 86px;
  background-color: rgba(255, 255, 255, 0.227);
}

/* ===== 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;
  }
}

.hero-intro {
  position: relative;
  width: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 80px;
  overflow: hidden;
}

/* LEFT CONTENT */
.hero-content {
  position: relative;
  max-width: 520px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 15px;
  color: #000000;
  line-height: 1.7;
}

/* RIGHT IMAGE */
.hero-visual {
  position: relative;
  z-index: 2;
  max-width: 400px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #000000, transparent);
  filter: blur(90px);
  opacity: 0.2;
}

.hero-visual img {
  width: 100%;
  opacity: 0.85; /* 🔥 transparent feel */
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
  .hero-intro {
    flex-direction: column;
    text-align: center;
    padding: 25px 18px;
  }

  .hero-visual {
    margin-top: 20px;
    max-width: 250px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 13px;
  }
}

/* ===== FEATURED GAMES SECTION ===== */
.featured-games {
  padding: 30px 60px;
}

/* 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: #58deff;
  color: #000000;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
  white-space: nowrap;
}

/* 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: #58deff;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 12px;
  color: black;
}

/* 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;
  }
}

/* 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-downloads {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.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;
}
@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 {
  padding: 40px 20px;
  text-align: center;
}

.game-tags .container {
  max-width: 1100px;
  margin: auto;
}

/* TITLE */
.game-tags .section-title {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
  text-decoration: underline;
}

/* SECOND TITLE */
.game-tags .section-title.second {
  margin-top: 35px;
}

/* TAG GRID */
.game-tags .tags {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  gap: 12px;
}

/* TAG STYLE */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  color: #000000;
  text-decoration: none;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 999px;
  transition: 0.25s ease;
  white-space: nowrap;
}

/* HOVER */
.tag:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(181, 181, 181, 0.2);
  border-color: rgba(197, 197, 197, 0.4);
}

/* ============================= */
/* 📱 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, auto);
  }
}

/* ============================= */
/* 📱 SMALL MOBILE */
/* ============================= */

@media (max-width: 480px) {
  .game-tags {
    padding: 25px 10px;
  }

  .game-tags .tags {
    gap: 10px;
  }

  .tag {
    font-size: 12px;
    padding: 0 12px;
  }
}

/* === Codex static page redesign start === */
body.static-info-page {
  background: #f5f8fb;
}

.static-page {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 58px;
}

.static-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: end;
  padding: 32px 0 30px;
  border-bottom: 1px solid #dbe6f1;
}

.static-page-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 13px;
  padding: 7px 12px;
  border: 1px solid #bfe3dc;
  border-radius: 999px;
  background: #ecfffb;
  color: #0e8d7b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.static-page-hero h1 {
  margin: 0;
  color: #07142b;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.static-page-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: #52647d;
  font-size: 17px;
  line-height: 1.75;
}

.static-page-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.static-page-detail {
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid #d8e4ef;
  border-radius: 16px;
  background: #ffffff;
}

.static-page-detail span {
  display: block;
  margin-bottom: 8px;
  color: #6c7a8d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.static-page-detail strong {
  display: block;
  color: #08162d;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}

.static-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
  padding-top: 34px;
}

.entry.static-page-article {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.entry.static-page-article:hover {
  box-shadow: none;
}

.static-page-article h2,
.static-page-article h3 {
  margin: 0 0 12px;
  padding: 24px 0 0;
  border: 0;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #07142b;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.static-page-article h2:first-child,
.static-page-article h3:first-child {
  padding-top: 0;
}

.static-page-article h2::after,
.static-page-article h3::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b7a3, #2869e6);
}

.static-page-article p {
  margin: 0 0 16px;
  color: #34445c;
  font-size: 16px;
  line-height: 1.82;
}

.static-page-article strong {
  color: #07142b;
  font-weight: 900;
}

.static-page-article ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
}

.static-page-article li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 38px;
  border: 1px solid #dbe6f1;
  border-radius: 14px;
  background: #ffffff;
  color: #34445c;
  font-size: 15px;
  line-height: 1.55;
}

.static-page-article li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #11ad9b;
  box-shadow: 0 0 0 4px #e5fbf7;
}

.static-page-article a {
  color: #1463d9;
  font-weight: 800;
  text-decoration: none;
}

.static-page-article a:hover {
  color: #0e8d7b;
  text-decoration: underline;
}

.static-page-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.static-side-block,
.static-side-note {
  border: 1px solid #d8e4ef;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
}

.static-side-block h2 {
  margin: 0 0 14px;
  color: #07142b;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.static-side-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 13px;
  border: 1px solid #e3ebf4;
  border-radius: 12px;
  background: #f8fbfe;
  color: #314159;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.static-side-link:hover,
.static-side-link.is-active {
  border-color: #11ad9b;
  background: #ecfffb;
  color: #087d6d;
}

.static-side-note strong {
  display: block;
  margin-bottom: 8px;
  color: #07142b;
  font-size: 16px;
  font-weight: 900;
}

.static-side-note p {
  margin: 0 0 14px;
  color: #52647d;
  font-size: 14px;
  line-height: 1.55;
}

.static-side-note a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b7a3, #2869e6);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 920px) {
  .static-page {
    width: min(100% - 24px, 760px);
    padding: 26px 0 42px;
  }

  .static-page-hero,
  .static-page-layout {
    grid-template-columns: 1fr;
  }

  .static-page-hero {
    gap: 20px;
    padding: 24px 0 24px;
  }

  .static-page-hero h1 {
    font-size: 33px;
  }

  .static-page-details {
    grid-template-columns: 1fr;
  }

  .static-page-detail {
    min-height: 0;
  }

  .static-page-side {
    position: static;
  }
}

@media (max-width: 560px) {
  .static-page {
    width: min(100% - 18px, 520px);
    padding-top: 18px;
  }

  .static-page-hero h1 {
    font-size: 29px;
  }

  .static-page-hero p,
  .static-page-article p {
    font-size: 15px;
  }

  .static-page-layout {
    gap: 24px;
    padding-top: 24px;
  }

  .static-page-article h2,
  .static-page-article h3 {
    font-size: 20px;
  }

  .static-page-article li {
    padding: 11px 12px 11px 34px;
  }

  .static-page-article li::before {
    left: 13px;
  }
}
/* === Codex static page redesign end === */

/* ================= 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;
  }
}

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

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

a {
  color: var(--lufigames-ink);
}

.site-header,
.hero,
.featured-games,
.category-section,
.blog-section,
.mobile-tags,
.site-footer {
  background: transparent;
}

.site-header,
.featured-games,
.category-section,
.blog-section,
.mobile-tags,
.game-card,
.blog-card {
  border-color: var(--lufigames-line);
  box-shadow: none;
}

.nav-link:hover,
.mobile-nav a:hover,
.site-nav a:hover,
.footer-right a:hover,
.category-card:hover .category-title {
  color: var(--lufigames-accent);
}

.section-title,
.hero-title,
.game-title,
.blog-title,
.category-title {
  color: var(--lufigames-ink);
}

.hero-subtitle,
.game-meta,
.blog-excerpt,
.section-subtitle,
.footer-left p,
.footer-col ul li,
.footer-bottom,
.footer-right a {
  color: var(--lufigames-muted);
}

.game-card,
.blog-card,
.category-card {
  background: transparent;
}

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

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

.footer-col ul li::before {
  color: var(--lufigames-accent);
}

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

/* === Codex new 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;
  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;
  color: #07111f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.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;
}

.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;
  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: "•";
  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 new global footer 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 === */

/* === Codex home redesign start === */
body {
  background: #f6f8fb;
}

.home-redesign {
  background: #f6f8fb;
  color: #07142b;
}

.home-redesign a {
  color: inherit;
  text-decoration: none;
}

.home-hero,
.home-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 32px;
  align-items: stretch;
  padding: 42px 0 34px;
}

.home-hero-copy {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  padding: 36px 0;
  border-bottom: 1px solid #dbe6f1;
}

.home-eyebrow,
.home-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border: 1px solid #bfe3dc;
  border-radius: 999px;
  background: #ecfffb;
  color: #0e8d7b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #07142b;
  font-size: 54px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.home-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #52647d;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.72;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-primary-btn,
.home-secondary-btn,
.home-link-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.home-primary-btn {
  padding: 0 22px;
  background: linear-gradient(90deg, #10b7a3, #2869e6);
  color: #ffffff;
}

.home-secondary-btn,
.home-link-btn {
  padding: 0 18px;
  border: 1px solid #cbd9e6;
  background: #ffffff;
  color: #1f314a;
}

.home-hero-board {
  align-self: stretch;
  padding: 22px;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.home-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2ebf4;
}

.home-board-head span,
.home-board-head strong {
  display: block;
}

.home-board-head span {
  color: #07142b;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}

.home-board-head strong {
  color: #0e8d7b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.home-hero-games {
  display: grid;
  gap: 0;
}

.home-hero-game {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}

.home-hero-game:last-child {
  border-bottom: 0;
}

.home-hero-game img,
.home-app-card img,
.home-ranked-card img,
.home-browser-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.home-hero-game strong,
.home-hero-game small {
  display: block;
}

.home-hero-game strong {
  overflow: hidden;
  color: #07142b;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hero-game small {
  margin-top: 4px;
  color: #61718a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.home-section {
  padding: 42px 0;
  border-top: 1px solid #dbe6f1;
}

.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.home-section h2,
.home-faq-intro h2,
.home-copy-main h2 {
  margin: 0;
  color: #07142b;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-section-head p,
.home-copy-main p,
.home-faq-intro p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #52647d;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.72;
}

.home-browser-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.home-browser-card {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.home-browser-card img {
  border: 1px solid #d8e4ef;
  background: #ffffff;
}

.home-browser-card span {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  color: #07142b;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-copy-grid,
.home-faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: start;
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-benefits div,
.home-faq-list article,
.home-app-card,
.home-ranked-card,
.home-article-card {
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.home-benefits div {
  min-height: 132px;
  padding: 18px;
}

.home-benefits strong,
.home-benefits span {
  display: block;
}

.home-benefits strong {
  color: #07142b;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.home-benefits span {
  margin-top: 8px;
  color: #52647d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.home-article-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
}

.home-article-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.home-article-large {
  grid-row: span 2;
}

.home-article-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-article-large img {
  aspect-ratio: 16 / 15;
}

.home-article-card div {
  padding: 18px;
}

.home-article-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #07142b;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-article-card p {
  display: -webkit-box;
  margin: 10px 0 14px;
  overflow: hidden;
  color: #52647d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-article-card span {
  color: #0e8d7b;
  font-size: 14px;
  font-weight: 900;
}

.home-faq-list {
  display: grid;
  gap: 14px;
}

.home-faq-list article {
  padding: 18px;
}

.home-faq-list h3 {
  margin: 0;
  color: #07142b;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.home-faq-list p {
  margin: 8px 0 0;
  color: #52647d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.home-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-app-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 104px;
  padding: 14px;
}

.home-app-card img {
  grid-row: 1 / 3;
}

.home-app-title,
.home-app-meta {
  display: block;
  min-width: 0;
}

.home-app-title {
  overflow: hidden;
  color: #07142b;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-app-meta {
  margin-top: 6px;
  overflow: hidden;
  color: #61718a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-ranked-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-ranked-card {
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 90px;
  padding: 12px;
}

.home-rank-number {
  color: #0e8d7b;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.home-ranked-copy {
  min-width: 0;
}

.home-ranked-copy strong,
.home-ranked-copy small {
  display: block;
  min-width: 0;
}

.home-ranked-copy strong {
  overflow: hidden;
  color: #07142b;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-ranked-copy small {
  margin-top: 5px;
  overflow: hidden;
  color: #61718a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-browser-card:hover span,
.home-app-card:hover .home-app-title,
.home-ranked-card:hover strong,
.home-hero-game:hover strong,
.home-article-card:hover h3 {
  color: #0e8d7b;
}

@media (max-width: 1020px) {
  .home-hero,
  .home-copy-grid,
  .home-faq-section {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    min-height: 0;
    padding: 28px 0;
  }

  .home-browser-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-app-grid,
  .home-ranked-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-hero,
  .home-section {
    width: min(100% - 20px, 1240px);
  }

  .home-hero {
    padding: 24px 0 28px;
  }

  .home-hero h1 {
    font-size: 35px;
  }

  .home-section {
    padding: 32px 0;
  }

  .home-section-head {
    display: grid;
    gap: 16px;
  }

  .home-section h2,
  .home-faq-intro h2,
  .home-copy-main h2 {
    font-size: 26px;
  }

  .home-browser-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .home-benefits,
  .home-app-grid,
  .home-ranked-list,
  .home-article-grid {
    grid-template-columns: 1fr;
  }

  .home-article-large {
    grid-row: auto;
  }

  .home-article-large img,
  .home-article-card img {
    aspect-ratio: 16 / 9;
  }

  .home-app-card {
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 94px;
  }
}

@media (max-width: 430px) {
  .home-browser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-board {
    padding: 16px;
  }
}
/* === Codex home redesign end === */
/* === Codex home mobile tuning start === */
@media (max-width: 680px) {
  .home-hero {
    gap: 14px;
    padding: 18px 0 22px;
  }

  .home-hero-copy {
    padding: 10px 0 4px;
  }

  .home-hero h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .home-hero p,
  .home-section-head p,
  .home-copy-main p,
  .home-faq-intro p {
    font-size: 14px;
    line-height: 1.6;
  }

  .home-hero p {
    margin-top: 10px;
  }

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

  .home-primary-btn,
  .home-secondary-btn,
  .home-link-btn {
    min-height: 40px;
    font-size: 13px;
  }

  .home-hero-board {
    padding: 14px;
  }

  .home-board-head {
    gap: 8px;
    padding-bottom: 10px;
  }

  .home-board-head span {
    font-size: 18px;
  }

  .home-board-head strong {
    font-size: 10px;
  }

  .home-hero-game {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
  }

  .home-hero-game strong {
    font-size: 14px;
  }

  .home-hero-game small {
    font-size: 11px;
  }

  .home-section {
    padding: 26px 0;
  }

  .home-section-head {
    margin-bottom: 16px;
  }

  .home-browser-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .home-browser-card span {
    min-height: 32px;
    font-size: 12px;
  }

  .home-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-benefits div {
    min-height: 0;
    padding: 14px;
  }

  .home-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-app-card {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 8px;
    min-height: 74px;
    padding: 9px;
  }

  .home-app-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-app-meta {
    margin-top: 2px;
    font-size: 10.5px;
  }

  .home-ranked-card {
    grid-template-columns: 32px 48px minmax(0, 1fr);
    gap: 9px;
    min-height: 74px;
    padding: 9px;
  }

  .home-rank-number {
    font-size: 16px;
  }

  .home-ranked-copy strong {
    font-size: 13px;
  }

  .home-ranked-copy small {
    font-size: 10.5px;
  }
}

@media (max-width: 430px) {
  .home-browser-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-app-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .home-browser-grid,
  .home-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* === Codex home mobile tuning end === */
/* === Codex home disliked sections redesign start === */
.home-redesign {
  background: #f5f9fd;
}

.home-hero {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  gap: 28px;
  align-items: center;
  margin-top: 26px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #10b7a3, #2869e6);
}

.home-hero-copy {
  min-height: 0;
  padding: 14px 0;
  border-bottom: 0;
}

.home-eyebrow,
.home-kicker {
  border-color: #b8e6dd;
  background: #e9fff9;
}

.home-hero h1 {
  max-width: 680px;
  font-size: 52px;
  line-height: 1.05;
}

.home-hero p {
  max-width: 640px;
  margin-top: 14px;
}

.home-primary-btn,
.home-secondary-btn,
.home-link-btn {
  border-radius: 8px;
}

.home-primary-btn {
  background: linear-gradient(90deg, #0db19f, #236fe2);
  color: #ffffff;
}

.home-secondary-btn,
.home-link-btn {
  border-color: #c8d9e9;
  background: #ffffff;
}

.home-hero-board {
  align-self: stretch;
  padding: 18px;
  border: 0;
  border-radius: 8px;
  background: #f1f7fc;
}

.home-board-head {
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}

.home-board-head span {
  font-size: 20px;
}

.home-board-head strong {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #b8e6dd;
  border-radius: 8px;
  background: #ffffff;
  color: #0e8d7b;
  font-size: 10px;
  text-align: left;
}

.home-hero-games {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-hero-game {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  min-height: 76px;
  padding: 10px;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.home-hero-game:last-child {
  border-bottom: 1px solid #d8e4ef;
}

.home-hero-game:first-child {
  grid-column: 1 / -1;
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 104px;
  border-color: #173b65;
  background: linear-gradient(135deg, #07142b, #164b78);
}

.home-hero-game:first-child strong {
  color: #ffffff;
  font-size: 20px;
}

.home-hero-game:first-child small {
  color: #bdeee6;
}

.home-hero-game img {
  border: 1px solid rgba(7, 20, 43, 0.08);
}

.home-hero-game:first-child img {
  border-color: rgba(255, 255, 255, 0.22);
}

.home-browser-section {
  border-top: 0;
}

.home-browser-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.home-browser-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.home-browser-card::after {
  content: "\203A";
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0e8d7b;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.home-browser-card img {
  border: 0;
  background: #eef5fb;
}

.home-browser-card span {
  min-height: 38px;
  font-size: 13px;
}

.home-articles .home-section-head {
  align-items: center;
}

.home-article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home-article-large {
  grid-row: auto;
}

.home-article-card {
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.home-article-large img,
.home-article-card img {
  aspect-ratio: 16 / 10;
}

.home-article-card div {
  display: flex;
  min-height: 184px;
  flex-direction: column;
  padding: 16px;
}

.home-article-card h3 {
  font-size: 18px;
}

.home-article-card p {
  flex: 1;
  margin-bottom: 14px;
}

.home-article-card span {
  display: inline-flex;
  min-height: 34px;
  width: fit-content;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #b8e6dd;
  border-radius: 8px;
  background: #e9fff9;
  color: #0e8d7b;
}

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

  .home-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-hero {
    width: min(100% - 20px, 1240px);
    gap: 16px;
    margin-top: 16px;
    padding: 16px;
  }

  .home-hero-copy {
    padding: 8px 0 0;
  }

  .home-hero h1 {
    font-size: 31px;
  }

  .home-hero-board {
    padding: 12px;
  }

  .home-board-head {
    display: grid;
    gap: 8px;
  }

  .home-board-head strong {
    width: fit-content;
  }

  .home-hero-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-hero-game,
  .home-hero-game:first-child {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 72px;
    padding: 8px;
  }

  .home-hero-game:first-child strong {
    font-size: 15px;
  }

  .home-hero-game strong {
    font-size: 12.5px;
  }

  .home-hero-game small {
    font-size: 10.5px;
  }

  .home-browser-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .home-browser-card {
    padding: 8px;
  }

  .home-browser-card::after {
    width: 22px;
    height: 22px;
    font-size: 18px;
  }

  .home-browser-card span {
    min-height: 32px;
    font-size: 11.5px;
  }

  .home-article-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-article-card div {
    min-height: 0;
  }
}

@media (max-width: 360px) {
  .home-hero-games,
  .home-browser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* === Codex home disliked sections redesign end === */
/* === Codex home full width sections start === */
html,
body {
  overflow-x: hidden;
}

.home-redesign {
  background: #f5f9fd;
}

.home-hero,
.home-section {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  box-sizing: border-box;
}

.home-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(460px, 0.88fr);
  gap: clamp(22px, 3vw, 52px);
  margin-top: 0;
  padding: 52px clamp(18px, 4vw, 76px) 50px;
  border: 0;
  border-bottom: 1px solid #dbe6f1;
  border-radius: 0;
  background: #ffffff;
}

.home-hero::before {
  right: 0;
  left: 0;
  height: 6px;
}

.home-hero-copy {
  padding: 0;
}

.home-hero h1 {
  max-width: 820px;
}

.home-hero p {
  max-width: 760px;
}

.home-hero-board {
  min-height: 100%;
}

.home-section {
  padding: 46px clamp(18px, 4vw, 76px);
}

.home-browser-section,
.home-articles,
.home-app-section {
  background: #ffffff;
}

.home-mobile-copy,
.home-faq-section,
.home-played-section {
  background: #f5f9fd;
}

.home-section-head {
  width: 100%;
  max-width: none;
}

.home-browser-grid {
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
}

.home-article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-app-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.home-ranked-list {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

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

  .home-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-hero,
  .home-section {
    width: 100%;
  }

  .home-hero {
    padding: 24px 12px 28px;
  }

  .home-section {
    padding: 30px 12px;
  }

  .home-browser-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-article-grid,
  .home-ranked-list {
    grid-template-columns: 1fr;
  }

  .home-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .home-browser-grid,
  .home-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* === Codex home full width sections end === */
/* === Codex home intro only start === */
.home-intro-section {
  display: block;
  padding: 64px clamp(18px, 6vw, 110px) 58px;
  border: 0;
  border-bottom: 1px solid #dbe6f1;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(16, 183, 163, 0.1), rgba(40, 105, 230, 0.08)),
    #ffffff;
}

.home-intro-section::before {
  height: 6px;
  background: linear-gradient(90deg, #10b7a3, #2869e6);
}

.home-intro-section .home-hero-copy {
  display: block;
  width: min(100%, 1120px);
  min-height: 0;
  padding: 0;
  border: 0;
}

.home-intro-section .home-eyebrow {
  margin-bottom: 18px;
}

.home-intro-section h1 {
  max-width: 920px;
  font-size: clamp(38px, 5.1vw, 76px);
  line-height: 1.02;
}

.home-intro-section p {
  max-width: 850px;
  margin-top: 18px;
  color: #445674;
  font-size: 18px;
  line-height: 1.72;
}

.home-intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin-top: 30px;
}

.home-intro-highlights div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid #cfe0ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.home-intro-highlights strong,
.home-intro-highlights span {
  display: block;
}

.home-intro-highlights strong {
  color: #07142b;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.home-intro-highlights span {
  margin-top: 8px;
  color: #52647d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 780px) {
  .home-intro-section {
    padding: 38px 14px 34px;
  }

  .home-intro-section p {
    font-size: 15px;
    line-height: 1.62;
  }

  .home-intro-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .home-intro-highlights div {
    min-height: 0;
    padding: 14px;
  }
}
/* === Codex home intro only end === */
/* === Codex home policy note start === */
.home-store-note {
  display: grid;
  gap: 8px;
  max-width: 980px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #cfe0ef;
  border-left: 5px solid #10b7a3;
  border-radius: 8px;
  background: #ffffff;
}

.home-store-note strong {
  color: #07142b;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.home-store-note p {
  max-width: none;
  margin: 0;
  color: #52647d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

@media (max-width: 780px) {
  .home-store-note {
    padding: 14px;
  }

  .home-store-note p {
    font-size: 13px;
  }
}
/* === Codex home policy note end === */
/* === Codex home intro responsive scale start === */
.home-intro-section {
  padding: clamp(30px, 3.8vw, 48px) clamp(14px, 4vw, 72px) clamp(32px, 3.8vw, 46px);
}

.home-intro-section .home-hero-copy {
  width: min(100%, 960px);
}

.home-intro-section .home-eyebrow {
  margin-bottom: 14px;
  padding: 6px 11px;
  font-size: 11px;
}

.home-intro-section h1 {
  max-width: 780px;
  font-size: clamp(32px, 3.45vw, 54px);
  line-height: 1.08;
}

.home-intro-section p {
  max-width: 740px;
  margin-top: 12px;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.62;
}

.home-intro-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 880px;
  margin-top: 22px;
}

.home-intro-highlights div {
  min-height: 92px;
  padding: 14px 16px;
}

.home-intro-highlights strong {
  font-size: 16px;
}

.home-intro-highlights span {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
}

.home-store-note {
  max-width: 880px;
  margin-top: 14px;
  padding: 14px 16px;
}

.home-store-note strong {
  font-size: 16px;
}

.home-store-note p {
  font-size: 13px;
  line-height: 1.58;
}

@media (max-width: 1280px) {
  .home-intro-section {
    padding: 38px 48px 38px;
  }

  .home-intro-section h1 {
    max-width: 720px;
    font-size: clamp(32px, 4vw, 48px);
  }
}

@media (max-width: 1024px) {
  .home-intro-section {
    padding: 34px 28px 34px;
  }

  .home-intro-section h1 {
    max-width: 660px;
    font-size: 40px;
  }

  .home-intro-section p {
    max-width: 680px;
    font-size: 15px;
  }
}

@media (max-width: 780px) {
  .home-intro-section {
    padding: 30px 16px 30px;
  }

  .home-intro-section h1 {
    max-width: 100%;
    font-size: 34px;
  }

  .home-intro-section p {
    max-width: 100%;
    font-size: 14px;
  }

  .home-intro-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .home-intro-highlights div {
    padding: 12px;
  }

  .home-intro-highlights strong,
  .home-store-note strong {
    font-size: 14px;
  }

  .home-intro-highlights span,
  .home-store-note p {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .home-intro-section {
    padding: 28px 12px 28px;
  }

  .home-intro-section .home-eyebrow {
    font-size: 10px;
  }

  .home-intro-section h1 {
    font-size: 29px;
    line-height: 1.1;
  }

  .home-intro-section p {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .home-intro-highlights {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .home-intro-highlights div {
    min-height: 0;
  }

  .home-store-note {
    margin-top: 12px;
    padding: 12px;
  }
}

@media (max-width: 380px) {
  .home-intro-section h1 {
    font-size: 26px;
  }
}
/* === Codex home intro responsive scale end === */
/* === Codex logo only header start === */
.site-header .header-container {
  justify-content: flex-start;
}

.site-header .nav-menu,
.site-header .mobile-icons,
.site-header .mobile-menu {
  display: none !important;
}
/* === Codex logo only header end === */
/* === Codex home game sections align start === */
.home-browser-section,
.home-app-section {
  background: #ffffff;
}

.home-browser-section {
  border-bottom: 1px solid #dbe6f1;
}

.home-browser-grid,
.home-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.home-browser-card,
.home-app-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 0;
  align-items: center;
  min-width: 0;
  min-height: 104px;
  padding: 14px;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.home-browser-card::after {
  display: none;
  content: none;
}

.home-browser-card img,
.home-app-card img {
  grid-row: 1 / 3;
  width: 74px;
  height: 74px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 8px;
  object-fit: cover;
}

.home-browser-title,
.home-browser-meta,
.home-app-title,
.home-app-meta {
  display: block;
  min-width: 0;
}

.home-browser-title,
.home-app-title {
  overflow: hidden;
  color: #07142b;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-browser-meta,
.home-app-meta {
  margin-top: 6px;
  overflow: hidden;
  color: #61718a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-browser-card:hover .home-browser-title,
.home-app-card:hover .home-app-title {
  color: #0e8d7b;
}

@media (max-width: 680px) {
  .home-browser-grid,
  .home-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-browser-card,
  .home-app-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 74px;
    padding: 9px;
    column-gap: 8px;
  }

  .home-browser-card img,
  .home-app-card img {
    width: 48px;
    height: 48px;
  }

  .home-browser-title,
  .home-app-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-browser-meta,
  .home-app-meta {
    margin-top: 2px;
    font-size: 10.5px;
  }
}

@media (max-width: 360px) {
  .home-browser-grid,
  .home-app-grid {
    grid-template-columns: 1fr;
  }
}
/* === Codex home game sections align end === */
/* === Codex browser category card polish start === */
.home-browser-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.home-browser-card {
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 104px;
}

.home-browser-card .home-browser-title,
.home-browser-card .home-browser-meta {
  display: block;
  min-height: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-browser-card .home-browser-title {
  color: #07142b;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.home-browser-card .home-browser-meta {
  margin-top: 6px;
  color: #61718a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .home-browser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-browser-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 74px;
  }

  .home-browser-card .home-browser-title {
    display: -webkit-box;
    font-size: 12.5px;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-browser-card .home-browser-meta {
    margin-top: 2px;
    font-size: 10.5px;
  }
}
/* === Codex browser category card polish end === */
/* === Codex blogs index redesign start === */
.blog-index-page {
  width: 100%;
  max-width: none;
  padding: clamp(18px, 2.2vw, 34px) clamp(12px, 3vw, 48px) clamp(30px, 4vw, 54px);
  background: #f4f8fb;
}

.blog-index-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.blog-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(12px, 1.4vw, 22px);
  align-items: stretch;
  margin-bottom: clamp(22px, 2.4vw, 34px);
}

.blog-hero-copy,
.blog-feature-card,
.blog-index-card {
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.blog-hero-copy {
  padding: clamp(18px, 3vw, 40px);
}

.blog-eyebrow,
.blog-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  width: fit-content;
  padding: 5px 12px;
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  color: #008b7d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-hero-copy h1 {
  margin: 16px 0 12px;
  color: #06142e;
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.blog-hero-copy p,
.blog-section-head p,
.blog-index-card p,
.blog-feature-card p {
  color: #52647d;
  font-weight: 700;
  line-height: 1.6;
}

.blog-hero-copy p {
  max-width: 860px;
  margin: 0;
  font-size: clamp(14px, 1.05vw, 17px);
}

.blog-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.blog-topic-row span {
  padding: 8px 12px;
  border: 1px solid #d8e4ef;
  border-radius: 999px;
  background: #f8fbfd;
  color: #344766;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.blog-feature-card {
  display: grid;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.blog-feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-feature-card div {
  display: flex;
  min-height: clamp(150px, 12vw, 190px);
  flex-direction: column;
  padding: clamp(14px, 1.3vw, 20px);
}

.blog-feature-card span {
  color: #0e8d7b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-feature-card h2 {
  margin: 8px 0 10px;
  color: #07142b;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.blog-feature-card p {
  margin: 0;
  font-size: 14px;
}

.blog-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.blog-section-head h2 {
  margin: 10px 0 0;
  color: #06142e;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.blog-section-head p {
  max-width: 520px;
  margin: 0;
  font-size: 15px;
  text-align: right;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.35vw, 20px);
}

.blog-index-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}

.blog-index-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-index-card .blog-card-content {
  position: static;
  display: flex;
  min-height: clamp(168px, 13vw, 200px);
  flex-direction: column;
  width: auto;
  padding: clamp(12px, 1.2vw, 16px);
  background: none;
}

.blog-index-card .blog-card-content h3 {
  display: -webkit-box;
  margin: 10px 0 10px;
  overflow: hidden;
  color: #07142b;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-index-card p {
  display: -webkit-box;
  flex: 1;
  margin: 0 0 14px;
  overflow: hidden;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-index-card strong {
  color: #0e8d7b;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.blog-feature-card:hover,
.blog-index-card:hover {
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.blog-feature-card:hover h2,
.blog-index-card:hover h3 {
  color: #0e8d7b;
}

@media (max-width: 1440px) {
  .blog-index-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .blog-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .blog-hero-panel {
    grid-template-columns: 1fr;
  }

  .blog-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .blog-index-page {
    padding: 18px 12px 30px;
  }

  .blog-hero-panel {
    gap: 14px;
  }

  .blog-hero-copy {
    padding: 18px;
  }

  .blog-hero-copy h1 {
    font-size: 30px;
  }

  .blog-section-head {
    display: block;
  }

  .blog-section-head p {
    max-width: none;
    margin-top: 8px;
    font-size: 14px;
    text-align: left;
  }

  .blog-feature-card div,
  .blog-index-card .blog-card-content {
    min-height: 0;
    padding: 14px;
  }
}

@media (max-width: 520px) {
  .blog-index-grid {
    grid-template-columns: 1fr;
  }

  .blog-topic-row span {
    font-size: 12px;
  }

  .blog-feature-card h2 {
    font-size: 20px;
  }
}
/* === Codex blogs index redesign end === */
/* === Codex blog article redesign start === */
.blog-article-page {
  width: 100%;
  max-width: none;
  padding: clamp(14px, 2vw, 28px) clamp(12px, 3vw, 48px) clamp(30px, 4vw, 54px);
  background: #f4f8fb;
}

.blog-article-page .blog-banner {
  position: relative;
  width: 100%;
  height: clamp(220px, 30vw, 440px);
  margin: 0 0 clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.blog-article-page .blog-banner::after {
  content: none;
}

.blog-article-page .blog-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-page .blog-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(16px, 1.8vw, 26px);
  align-items: start;
  width: 100%;
  max-width: none;
}

.blog-article-page .blog-main,
.blog-article-page .blog-sidebar {
  min-width: 0;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.blog-article-page .blog-main {
  padding: clamp(18px, 3vw, 42px);
}

.blog-article-page .blog-main h1 {
  max-width: 980px;
  margin: 0 0 12px;
  color: #06142e;
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.blog-article-page .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  color: #0e8d7b;
  font-size: 13px;
  font-weight: 900;
}

.blog-article-page .blog-main .intro {
  margin: 0 0 24px;
  padding: clamp(14px, 1.6vw, 20px);
  border: 1px solid #cfe0ef;
  border-left: 5px solid #12b8a6;
  border-radius: 8px;
  background: #f8fbfd;
  color: #344766;
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 700;
  line-height: 1.75;
}

.blog-article-page .blog-main h2 {
  margin: clamp(24px, 2.4vw, 34px) 0 10px;
  padding-top: 16px;
  border-top: 1px solid #d8e4ef;
  color: #07142b;
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.blog-article-page .blog-main p,
.blog-article-page .blog-main li {
  color: #445674;
  font-size: clamp(14px, 0.98vw, 16px);
  font-weight: 650;
  line-height: 1.75;
}

.blog-article-page .blog-main p {
  margin: 0 0 14px;
}

.blog-article-page .blog-main ul,
.blog-article-page .blog-main ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 20px;
  padding-left: 22px;
}

.blog-article-page .blog-main li {
  margin: 0;
}

.blog-article-page .blog-main strong {
  color: #07142b;
  font-weight: 900;
}

.blog-article-page .blog-sidebar {
  position: sticky;
  top: 16px;
  padding: 16px;
}

.blog-article-page .blog-sidebar h3 {
  margin: 0 0 14px;
  color: #06142e;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.blog-article-page .side-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #f8fbfd;
  color: inherit;
  text-decoration: none;
}

.blog-article-page .side-item + .side-item {
  margin-top: 10px;
}

.blog-article-page .side-item img {
  display: block;
  width: 86px;
  height: 66px;
  border-radius: 8px;
  object-fit: cover;
}

.blog-article-page .side-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #07142b;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-article-page .side-item:hover {
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.blog-article-page .side-item:hover p {
  color: #0e8d7b;
}

@media (max-width: 1100px) {
  .blog-article-page .blog-container {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  }
}

@media (max-width: 920px) {
  .blog-article-page .blog-container {
    grid-template-columns: 1fr;
  }

  .blog-article-page .blog-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .blog-article-page {
    padding: 12px 12px 30px;
  }

  .blog-article-page .blog-banner {
    height: 190px;
  }

  .blog-article-page .blog-main {
    padding: 16px;
  }

  .blog-article-page .blog-main h1 {
    font-size: 28px;
  }

  .blog-article-page .blog-meta {
    width: 100%;
    border-radius: 8px;
    font-size: 12px;
  }

  .blog-article-page .blog-main .intro,
  .blog-article-page .blog-main p,
  .blog-article-page .blog-main li {
    font-size: 14px;
    line-height: 1.65;
  }

  .blog-article-page .side-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .blog-article-page .side-item img {
    width: 76px;
    height: 58px;
  }
}

@media (max-width: 380px) {
  .blog-article-page .blog-main h1 {
    font-size: 25px;
  }

  .blog-article-page .side-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 9px;
  }

  .blog-article-page .side-item img {
    width: 64px;
    height: 54px;
  }
}

.blog-article-page .blog-main .article-title-banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 18px 0 24px;
  overflow: hidden;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #ffffff;
}

.blog-article-page .blog-main .article-title-banner::after {
  content: none;
}

.blog-article-page .blog-main .article-title-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.blog-article-page .blog-main .blog-meta {
  margin-bottom: 0;
}

.blog-article-page .blog-main .intro {
  margin-top: 0;
}

@media (max-width: 640px) {
  .blog-article-page .blog-main .article-title-banner {
    margin: 14px 0 18px;
  }
}
/* === Codex blog article banner placement end === */
/* === Codex home balanced hero layout start === */
.home-redesign .home-intro-section {
  display: block;
  width: 100%;
  margin: 0;
  padding: clamp(34px, 4vw, 58px) clamp(44px, 5vw, 86px);
}

.home-redesign .home-intro-section .home-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.76fr);
  gap: clamp(28px, 4.8vw, 78px);
  width: 100%;
  max-width: none;
  align-items: stretch;
}

.home-redesign .home-copy-left,
.home-redesign .home-copy-right {
  min-width: 0;
}

.home-redesign .home-copy-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 1.55vw, 24px);
}

.home-redesign .home-copy-left .home-eyebrow {
  align-self: flex-start;
  margin-bottom: clamp(10px, 1.2vw, 16px);
}

.home-redesign .home-copy-left h1 {
  max-width: 900px;
  margin: 0;
}

.home-redesign .home-copy-left p {
  max-width: 890px;
  margin: 0;
}

.home-redesign .home-copy-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
  height: 100%;
}

.home-redesign .home-intro-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.home-redesign .home-intro-highlights div {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
}

.home-redesign .home-intro-highlights strong,
.home-redesign .home-store-note strong {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-redesign .home-feature-emoji {
  display: inline-flex;
  width: 22px;
  flex: 0 0 22px;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
}

.home-redesign .home-store-note {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  padding: 20px 22px;
}

.home-redesign .home-store-note p {
  margin-top: 14px;
  line-height: 1.62;
}

@media (max-width: 1100px) {
  .home-redesign .home-intro-section {
    padding: 34px 24px;
  }

  .home-redesign .home-intro-section .home-hero-copy {
    grid-template-columns: 1fr;
  }

  .home-redesign .home-copy-left {
    justify-content: flex-start;
  }

  .home-redesign .home-intro-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-redesign .home-store-note {
    flex: none;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .home-redesign .home-intro-section {
    padding: 28px 12px;
  }

  .home-redesign .home-copy-left {
    gap: 14px;
  }

  .home-redesign .home-intro-highlights {
    grid-template-columns: 1fr;
  }
}
/* === Codex home balanced hero layout end === */
