:root {
  --primary: #0f7ae5;
  --primary-dark: #0c5fb4;
  --secondary: #ffaa2b;
  --bg: #050b14;
  --bg-alt: #0c1522;
  --text: #f5f7fb;
  --muted: #9ca3af;
  --border: #1f2933;
  --danger: #f97373;
  --container-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #06061e;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 20, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  justify-content: center;
  max-width: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
}

.brand img {
  width: 90px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.25rem 0.1rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  border-color: var(--secondary);
}

.nav-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.nav-buttons .nav-whatsapp {
  background-color: #3bc33b;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding: 4px 16px;
}

.nav-buttons .nav-play-now {
  background-color: #FFd700;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding: 4px 16px;
  color: black;
}

.nav-buttons p {
  font-size: 16px;
  font-weight: 600;
  padding: 4px;
  color: black;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn-cta {
  background: #062B3A;
  border-color: #1e40af;
  color: #f9fafb;
  padding: 12px 3rem;
}

.btn-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: #1e40af;
  color: #f9fafb;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-outline {
  background: #bf7c00;
  border-color: var(--border);
  color: #f9fafb;
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--text);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-play-now {
  background: #a3bd32;
  border-color: #3bc33b;
  color: #000000;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: #e5e7eb;
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #020617;
  width: 10;
}

@media (max-width: 800px) {

  
}

@media (max-width: 899px) {
  .header-container {
    display: block;
  }

  .nav-links,
  .nav-buttons {
    display: none;
  }

  .nav-toggle,
  .mobile-menu.open {
    display: block;
  }

  .mobile-menu-inner {
    padding: 0.75rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mobile-menu a {
    font-size: 0.95rem;
    color: var(--muted);
  }

  .mobile-menu a:hover {
    color: var(--text);
  }

  .nav-inner {
    width: 100%;
  }
}


.hero {
  padding: 40px 0 0;
  background-color: #153a87;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 2.25rem;
  align-items: center;
  grid-template-areas: "content image";
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

h1.hero-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
}

.badge {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.hero-cta-row .btn {
  min-width: 260px;
  justify-content: center;
}


.hero-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero-visual {
  background: radial-gradient(circle at top, #1e293b 0%, #020617 60%);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-app-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-app-info img {
  width: 48px;
  border-radius: 14px;
}

.hero-app-meta small {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  font-size: 0.8rem;
}

.stat-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 0.6rem 0.7rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.3));
}

.stat-label {
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}

.stat-value {
  font-weight: 600;
  font-size: 0.9rem;
}

.intro-content {
  grid-area: content;
}

.intro-img {
  grid-area: image;
}

.section-games {
  padding: 2.5rem 0 2rem;
}

.section-games-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.section-cta-header {
  text-align: center;
}

.cta-content {
  color: rgb(224, 224, 224);
  margin-top: 1rem;
}

.section-games-header p {
  max-width: 32rem;
}

.games-track {
  position: relative;
  padding: 0 2.5rem;
}

.games-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 0.55rem) / 2);
  column-gap: 0.85rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.4rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
}

.games-scroller > a{
  display: block;
  height: 100%;
}

.games-scroller > a > .game-card{
  height: 100%;
}

.games-scroller::-webkit-scrollbar {
  display: none;
}

.game-card {
  scroll-snap-align: start;
  background: var(--bg-alt);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.8rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.game-card-all-game {
  scroll-snap-align: start;
  background: var(--bg-alt);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 160px;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
}

.game-title {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0.5rem;
}

.game-title-all-game {
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0.5rem;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* margin-top: 0.15rem; */
  font-size: 0.8rem;
  margin-top: auto;
}

.game-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.7rem;
}

.game-rating .star {
  font-size: 0.9rem;
  color: #facc15;
}

.game-tag {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.6rem;
}

.games-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  z-index: 2;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.games-nav:hover {
  background: rgba(30, 64, 175, 0.95);
  border-color: rgba(59, 130, 246, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.games-nav-prev {
  left: 0;
}

.games-nav-next {
  right: 0;
}


@media (min-width: 320px) {
  .games-scroller.all-game {
    grid-auto-columns: calc((100% - 2 * 0.85rem) / 10);
  }
}

@media (min-width: 768px) {
  .games-scroller {
    grid-auto-columns: calc((100% - 2 * 0.85rem) / 3);
  }
  .game-title {
    font-size: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .games-scroller {
    grid-auto-columns: calc((100% - 4 * 0.85rem) / 5);
  }

  #allGameScroller {
    overflow-x: visible;
    scroll-snap-type: none;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    column-gap: 0.85rem;
    row-gap: 0.85rem;
  }

  #allGame2Scroller {
    overflow-x: visible;
    scroll-snap-type: none;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    column-gap: 0.85rem;
    row-gap: 0.85rem;
  }

  .app-hero {
    margin: 0 auto;
    padding: 1.25rem 1.125rem;
    width: 900px;
  }
}

main {
  padding-bottom: 2.5rem;
}

section {
  padding: 2rem 0 1.5rem;
}

section:last-of-type {
  border-bottom: none;
}

section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

section p {
  font-size: 0.95rem;
  color: var(--muted);
}

.section-faq {
  background: radial-gradient(circle at top left, rgba(23, 37, 84, 0.55) 0%, transparent 55%);
}

#faq h2 {
  display: flex;
  justify-content: center;
  font-size: 38px;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.35));
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  cursor: pointer;
  padding: 1rem 1rem;
  font-weight: 650;
  font-size: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-q::after {
  content: "▾";
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.faq-a {
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.55);
}

.faq-q:focus {
  outline: none;
}

.faq-item[open] {
  border-color: rgba(59, 130, 246, 0.75);
}

.faq-item[open] .faq-q::after {
  transform: rotate(180deg);
  color: var(--text);
}

@media (max-width: 600px) {
  .faq-q {
    padding: 0.95rem 0.95rem;
  }

  .faq-a {
    padding: 0 0.95rem 0.95rem;
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #020617;
  padding: 1.75rem 0 1.25rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  /* width: 80%;
  max-width: none; */
}

.footer-flex {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 16px;
}

.footer-col {
  min-width: 0;
}

.footer-col-brand,
.footer-col-payment,
.footer-col-nav,
.footer-col-social {
  flex: 1;
}

.footer-col-brand p {
  font-size: 15px;
  font-weight: 600;
}

.footer-social-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer-social-row img {
  width: 44px;
  height: auto;
}

@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
  }

  .footer-col-payment {
    width: 100%;
  }
}

.footer-logo img {
  width: 90px;
  margin-bottom: 0.5rem;
}

.footer-social {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
  grid-template-columns: repeat(4, max-content);
  justify-content: start;
}

.footer-payment {
  display: grid;
  gap: 14px;
  align-items: center;
  margin-top: 0.5rem;
  grid-template-columns: repeat(4, max-content);
  grid-auto-columns: max-content;
}

@media (max-width: 1023px) {
  .footer-payment {
    grid-template-columns: repeat(4, max-content);
  }
}

.footer-heading-licence {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer-payment img, .footer-social img, .footer-licence img {
  width: 40px;
  height: auto;
}

.footer-licence {
  overflow-wrap: anywhere;
  display: grid;
  align-items: center;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 14px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer-links ul {
  list-style: none;
  margin-top: 0.35rem;
}

.footer-links li {
  margin: 0.15rem 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--text);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.footer-bottom {
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .intro-img img {
    width: 70%;
    margin: 0 auto;
  }

}

.download-hero {
  padding: 60px 0;
}

.download-hero .container {
  max-width: none;
  /* width: 75%; */
  padding: 0;
  height: 400px;
}

.download-hero-card {
  position: relative;
  /* border-radius: 28px; */
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: url("/img/download-banner.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  height: 100%;
}

.download-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(15, 23, 42, 0.1) 0%,
      rgba(15, 23, 42, 0.7) 40%,
      rgba(37, 99, 235, 0.9) 75%,
      rgba(56, 189, 248, 0.95) 100%);
}

.download-hero-content {
  position: relative;
  margin-left: auto;
  padding: 50px 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
  gap: 18px;
}

.download-hero-title {
  font-size: 36px;
  display: flex;
  justify-content: center;
}

.download-hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  display: flex;
  justify-content: center;
}

.download-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.download-hero-actions .btn {
  padding: 10px 18px;
  font-size: 20px;
  border: 2px solid #000000;
}

.download-hero-actions .btn-outline {
  padding: 10px 18px;
  font-size: 20px;
  background-color: #FFFFFF;
  color: #000000;
}

@media (max-width: 900px) {
  .download-hero .container {
    width: 100%;
    height: auto;
  }

  .download-hero-card {
    height: auto;
    min-height: 320px;
    align-items: flex-end;
  }

  .download-hero-content {
    width: 100%;
    margin-left: 0;
    padding: 1.25rem 1.25rem 1.4rem;
    text-align: left;
  }

  .download-hero-title,
  .download-hero-subtitle {
    justify-content: flex-start;
    text-align: left;
  }

  .download-hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .download-hero-actions .btn {
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
    border-width: 1px;
    width: 100%;
  }
}

@media (max-width: 1279px) {
  .download-hero .container {
    width: 100%;
    height: auto;
  }
  
  .download-hero-card{
    border-radius: unset;
  }
}

.section-download-picker {
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 55%);
}

.download-picker-title {
  text-align: center;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}

.download-picker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: center;
}

.download-picker-left {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 420px;
  border-radius: 1.25rem;
}

.download-picker-phone {
  object-fit: contain;
  /* transform: translateX(-18%); */
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, .45));
  opacity: 0.95;
}

.download-picker-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(2, 6, 23, 0.0) 0%,
      rgba(2, 6, 23, 0.0) 55%,
      rgba(2, 6, 23, 0.45) 100%);
  pointer-events: none;
}

.download-picker-mark {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: 3rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(56, 189, 248, 0.18));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.65);
}

.download-picker-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}

.download-picker-panel {
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.55));
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.55);
}

.download-picker {
  padding: 1.1rem 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.download-os {
  /* display: inline-flex; */
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 650;
  color: var(--text);
}

.download-os small {
  color: var(--muted);
  font-weight: 500;
}

.download-picker-rows {
  padding: 0.6rem 0.85rem 1rem;
  display: grid;
  gap: 0.65rem;
}

.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.9rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.35));
}

.download-row:hover {
  border-color: rgba(59, 130, 246, 0.55);
}

.download-row-title {
  font-weight: 650;
  color: var(--text);
  line-height: 1.25;
}

.download-row-sub {
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.download-row-btn {
  min-width: 120px;
  justify-content: center;
}

@media (max-width: 900px) {
  .download-picker-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-picker-left {
    display: none;
  }

  .download-emulator {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .download-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-row-btn {
    width: 100%;
  }
}

.section-contact {
  background: radial-gradient(circle at top left, rgba(23, 37, 84, 0.55) 0%, transparent 55%);
}

.section-cta {
  position: relative;
  overflow: hidden;
  /* background:
    radial-gradient(circle at 18% 25%,
      rgba(21, 58, 135, 0.85) 0%,
      rgba(21, 58, 135, 0.35) 38%,
      rgba(2, 6, 23, 0.92) 75%),
    radial-gradient(circle at 85% 10%,
      rgba(56, 189, 248, 0.16) 0%,
      transparent 55%),
    linear-gradient(180deg,
      rgba(2, 6, 23, 0.88) 0%,
      rgba(2, 6, 23, 0.96) 100%); */
  background-color: #6a83fb;

  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  padding: 5rem 0;
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: -120px;
  /* background:
    radial-gradient(circle at 25% 30%,
      rgba(21, 58, 135, 0.30) 0%,
      rgba(21, 58, 135, 0.12) 35%,
      transparent 65%); */
  pointer-events: none;
}

.section-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(920px, 92%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 58, 135, 0.75), transparent);
  pointer-events: none;
}

.section-cta .btn-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: rgba(59, 130, 246, 0.75);
  color: #fff;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.28);
}

.section-cta .btn-cta:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-card {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.55);
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.contact-subtitle {
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
}

.form-field span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(59, 130, 246, 0.75);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-fieldset {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: rgba(15, 23, 42, 0.35);
}

.form-fieldset legend {
  padding: 0 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.radio {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0.45rem 0.25rem;
  cursor: pointer;
}


.radio input {
  accent-color: var(--primary);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.aside-card {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.35);
}

.aside-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.aside-icons {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.aside-icons a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.45);
  color: var(--text);
}

.aside-icons a:hover {
  border-color: rgba(59, 130, 246, 0.75);
}

.aside-btn {
  width: 100%;
}

.aside-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.5rem;
}

.aside-list a {
  color: var(--muted);
}

.aside-list a:hover {
  color: var(--text);
}

.contact-form input[type="radio"],
.contact-form input[type="checkbox"] {
  width: auto !important;
  height: auto !important;
  margin: 0;
  flex: 0 0 auto;
}


@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.section-about-hero {
  text-align: center;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.18), transparent 60%);
}

.about-hero-text {
  max-width: 680px;
  margin: 0.75rem auto 0;
  color: var(--muted);
}

.section-about.alt {
  background: rgba(2, 6, 23, 0.35);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.about-card {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.about-card h3 {
  margin-bottom: 0.5rem;
}

.about-card ul {
  list-style: none;
  padding-left: 0;
}

.about-card li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.about-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.fact-item {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1rem;
  padding: 1rem;
}

.fact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.fact-value {
  font-weight: 650;
}

.section-about-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.85));
}

.section-about-cta p {
  max-width: 520px;
  margin: 0.5rem auto 1rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.70), rgba(15, 23, 42, 0.35));
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--text);
  font-size: 0.9rem;
  justify-content: center;
}

.trust-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: rgba(34, 197, 94, 1);
  font-weight: 800;
  flex: 0 0 auto;
}


@media (max-width: 700px) {
  .trust-bar {
    grid-template-columns: 1fr;
  }
}

.trend-btn {
  display: none;
}

.new-btn {
  display: none;
}

@media (max-width: 1023px) {
  .trend-btn {
    display: block;
  }

  .new-btn {
    display: block;
  }

}

@media (max-width: 767px) {
  #allGameScroller {
    grid-auto-columns: 80px;
  }

  #allGame2Scroller {
    grid-auto-columns: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "content";
  }
}

.section-guide {
  padding-top: 4rem;
  padding-bottom: 0rem;
}

.section-guide.new-game {
  padding-bottom: 4rem;
}

.guide-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 60%),
    linear-gradient(135deg, rgba(2, 6, 23, 0.78), rgba(15, 23, 42, 0.35));
  padding: 1.15rem 1.2rem;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.55);
}

.guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.guide-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.guide-chip {
  font-size: 0.75rem;
  color: var(--text);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.45);
}

.guide-sub {
  margin: 0.35rem 0 0.9rem;
  color: var(--muted);
  max-width: 60rem;
}

.guide-sub.bullet {
  padding-left: 2rem;
}

.guide-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.guide-points li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.35);
}

.guide-points.new-game li {
  display: flex;
  flex-direction: column;
  grid-template-columns: 1fr;
  gap: unset;
  align-items: start;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.35);
}

.point-label {
  font-weight: 650;
  color: rgba(226, 232, 240, 0.95);
}

.point-label.new-game {
  font-weight: 650;
  color: rgba(226, 232, 240, 0.95);
  font-size: 1.1rem;
}

.point-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.point-items.new-game {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.point-items a {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
  font-size: 0.7rem;
}

.point-items a:hover {
  border-color: rgba(59, 130, 246, 0.7);
  background: rgba(59, 130, 246, 0.18);
  color: #e0f2fe;
}

.guide-note {
  margin-top: 0.85rem;
  background: rgba(15, 23, 42, 0.35);
  color: var(--muted);
  font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 767px) {
  .guide-card {
    padding: 1rem;
  }

  .guide-points li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.page-game {
  padding: unset;
}

.app-hero {
  margin: 0 auto;
  padding: 2rem 2rem;
}

.app-hero__top {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.app-hero__icon {
  width: 150px;
}

.app-hero__icon img {
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, .35);
  width: 100%;
  height: 100%;
}

.app-hero__head {
  flex: 1;
  min-width: 0;
}

.app-hero__title {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--text);
  word-break: break-word;
}

.app-hero__publisher {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--secondary);
}

.app-hero__date {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.app-version {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.app-rate {
  font-size: 0.8rem;
  color: var(--muted);
}

.app-hero__stats {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.app-hero__stats .app-stat {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 0;
}

.app-stat {
  position: relative;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 6rem;
}

.app-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: var(--border);
}

.app-stat__top {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.app-stat__bottom {
  font-size: 0.75rem;
  color: var(--muted);
}

.app-hero__actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-hero__actions .btn {
  padding: 0.55rem 1.2rem;
  border-radius: 0.9rem;
}

@media (max-width: 600px) {
  .app-hero__icon {
    width: 90px;
  }

  .app-hero__icon img {
    width: 100%;
    height: auto;
  }

  .app-hero__title {
    font-size: 1.35rem;
  }
}

.game-detail-title {
  margin-top: 2rem;
}

.ratings {
  padding: 1.25rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.ratings__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: .85rem;
}

.ratings__header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.ratings__link {
  color: #b8d7ff;
  text-decoration: none;
  opacity: .9;
}

.ratings__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.ratings__tabs {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: .75rem 0 1rem;
}

.tab {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .18);
  color: #eaf2ff;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .95rem;
}

.tab.is-active {
  background: rgba(46, 204, 113, .16);
  border-color: rgba(46, 204, 113, .35);
}

.ratings__panel {
  display: block;
}

.ratings__grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.score__value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.score__stars {
  margin-top: .35rem;
  letter-spacing: 2px;
  color: #00ff6c;
  font-size: 1.05rem;
}

.score__stars .muted {
  color: rgba(255, 255, 255, .25);
}

.score__stars .half {
  opacity: .8;
}

.score__count {
  margin-top: .35rem;
  opacity: .75;
  font-size: .9rem;
}

.dist__row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: .65rem;
  align-items: center;
  margin: .35rem 0;
  opacity: .95;
}

.dist__row span {
  opacity: .8;
  font-size: .9rem;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  overflow: hidden;
  position: relative;
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #2ecc71;
  border-radius: 999px;
}

.dist__note {
  margin: .7rem 0 0;
  font-size: .85rem;
  opacity: .7;
}

@media (max-width: 720px) {
  .ratings__grid {
    grid-template-columns: 1fr;
  }

  .score__value {
    font-size: 2.5rem;
  }
}

.reviews {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: .9rem;
}

.reviews__header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.reviews__sort {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .18);
  color: #eaf2ff;
  padding: .45rem .75rem;
  border-radius: 999px;
  cursor: pointer;
  opacity: .9;
}

.reviews__sort:hover {
  opacity: 1;
}

.reviews__list {
  display: grid;
  gap: .9rem;
}

.review-card {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .10);
}

.review-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
}

.review-user {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  min-width: 0;
}

.review-user__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(46, 204, 113, .16);
  border: 1px solid rgba(46, 204, 113, .30);
  color: #eafff3;
  flex: 0 0 auto;
}

.review-user__meta {
  min-width: 0;
}

.review-user__name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-user__sub {
  margin-top: .15rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  opacity: .8;
  font-size: .9rem;
}

@media (max-width: 374px) {
  .review-user__sub {
    flex-direction: column;
    align-items: start;
  }
}

.review-stars {
  color: #2ecc71;
  letter-spacing: 1px;
}

.review-date {
  opacity: .85;
}

.review-card__text {
  margin: .75rem 0 .85rem;
  opacity: .92;
  line-height: 1.55;
}

.review-card__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.review-helpful {
  opacity: .75;
  font-size: .9rem;
}

.review-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .review-card__bottom {
    flex-direction: column;
    align-items: start;
    gap: unset;
  }
}

.review-q {
  opacity: .75;
  font-size: .9rem;
  margin-right: .15rem;
}

.pill {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .18);
  color: #eaf2ff;
  padding: .35rem .75rem;
  border-radius: 999px;
  cursor: pointer;
}

.pill:hover {
  background: rgba(255, 255, 255, .06);
}

.pill:active {
  transform: scale(.98);
}

.pill--yes.is-selected {
  background: rgba(46, 204, 113, .6);
  border-color: rgba(46, 204, 113, .45);
  color: #eafff3;
}

.pill--no.is-selected {
  background: rgba(231, 76, 60, .6);
  border-color: rgba(231, 76, 60, .45);
  color: #ffecec;
}

.reviews__footer {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 720px) {
  .review-card {
    padding: .9rem;
  }
}

.tools-container {
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.tools-page .section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 0 0 .35rem;
}

.tools-page .section-subtitle {
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
}

.tools-layout {
  display: flex;
  gap: 1.25rem;
  align-items: start;
}

.tool-card,
.tool-wide,
.info-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.25rem;
  background: rgba(2, 6, 23, 0.55);
  box-shadow: 0 20px 55px rgba(2, 6, 23, 0.6);
  overflow: hidden;
}

.tool-card {
  padding: 1.25rem 1.25rem 1.1rem;
  width: 100%;
}

.tool-card-head {
  margin-bottom: 0.85rem;
}

.tool-card-title {
  margin: 0 0 .25rem;
  font-size: 1.25rem;
}

.tool-card-desc {
  margin: 0;
  color: var(--muted);
}

.tool-tabs {
  display: inline-flex;
  gap: .4rem;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.16);
  padding: .35rem;
  border-radius: 999px;
  margin: .75rem 0 1rem;
}

.tool-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: .55rem .85rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: .9rem;
}

.tool-tab.is-active {
  background: rgba(21, 58, 135, 0.75);
  color: #fff;
}

.tool-panel {
  display: none;
}

.tool-panel.is-active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.field {
  display: grid;
  gap: .35rem;
}

.field-label {
  font-size: .85rem;
  color: rgba(226, 232, 240, .88);
}

.input,
.select {
  width: 100%;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text);
  padding: .75rem .85rem;
  border-radius: .85rem;
  outline: none;
}

.input:focus,
.select:focus {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 4px rgba(21, 58, 135, 0.35);
}

.tool-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.result {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: .9rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
}

.result-label {
  color: var(--muted);
}

.result-note {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.side-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(226, 232, 240, .88);
}

.side-list li {
  margin: .35rem 0;
}

.side-link {
  display: block;
  padding: .6rem .75rem;
  border-radius: .85rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.35);
  color: var(--text);
  text-decoration: none;
}

.side-link:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.tool-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  padding: 1.2rem;
  align-items: start;
}

.tool-wide-title {
  margin: 0 0 .25rem;
  font-size: 1.2rem;
}

.tool-wide-desc {
  margin: 0 0 1rem;
  color: var(--muted);
}

.info-card {
  padding: 1rem;
}

.info-title {
  margin: 0 0 .6rem;
  font-size: 1rem;
}

.tools-tabs {
  padding: .55rem;
  display: flex;
  gap: .4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(2, 6, 23, .55);
  box-shadow: 0 16px 45px rgba(2, 6, 23, .55);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tools-tabs::-webkit-scrollbar {
  display: none;
}

.tools-tablink {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(226, 232, 240, .78);
  padding: .62rem 1rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: .92rem;
  cursor: pointer;
  position: relative;
  transition: background .18s ease, color .18s ease, transform .12s ease;
  flex: 0 0 auto;
}

.tools-tablink:hover {
  color: #fff;
  background: rgba(148, 163, 184, .10);
}

.tools-tablink:active {
  transform: translateY(1px);
}

.tools-tablink:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(21, 58, 135, .35);
}

.tools-tablink.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(21, 58, 135, .75), rgba(21, 58, 135, .45));
  box-shadow:
    0 10px 22px rgba(21, 58, 135, .28),
    inset 0 0 0 1px rgba(56, 189, 248, .18);
}

.tools-tablink.is-active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: rgba(56, 189, 248, .95);
  box-shadow: 0 8px 18px rgba(56, 189, 248, .18);
}

.tools-page .container {
  max-width: 980px;
}


@media (max-width: 900px) {
  .tool-wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .tool-tab {
    flex: 1;
    text-align: center;
  }

  .tools-tabs {
    max-width: 100%;
  }

  .tools-tablink {
    padding: .58rem .85rem;
  }
}

.blog-home {
  background: #f3f4f6;
  color: #0b1220;
}

.blog-hero {
  padding: 72px 0 56px;
  background: #153a87;
}

.blog-hero-inner {
  text-align: center;
  max-width: 980px;
}

.blog-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.blog-hero-title {
  margin: 18px 0 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}

.blog-hero-subtitle {
  margin: 0 auto;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.6;
}

.blog-hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform .12s ease, filter .18s ease, background .18s ease, border-color .18s ease;
}

.blog-btn:hover {
  transform: translateY(-1px);
}

.blog-btn-primary {
  background: #0f172a;
  color: #fff;
  border-color: rgba(0, 0, 0, 0.15);
}

.blog-btn-primary:hover {
  filter: brightness(1.08);
}

.blog-btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.blog-btn-ghost:hover {
  filter: brightness(1.05);
}

.blog-latest {
  padding: 52px 0 64px;
}

.blog-section-title {
  text-align: center;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  margin: 0 0 26px;
  font-weight: 850;
  color: #0b1220;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-card-link {
  display: block;
  color: inherit;
}

.blog-thumb {
  padding: 18px 18px 0;
}

.blog-thumb img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.blog-card-body {
  padding: 16px 18px 18px;
}

.blog-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.35;
  color: #0b1220;
}

.blog-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(2, 6, 23, 0.6);
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 122, 229, 0.10);
  border: 1px solid rgba(15, 122, 229, 0.18);
  color: #0f172a;
  font-weight: 750;
}

.blog-card:hover {
  border-color: rgba(15, 122, 229, 0.30);
  transform: translateY(-2px);
  transition: transform .14s ease, border-color .14s ease;
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .blog-hero {
    padding: 54px 0 44px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-thumb img {
    height: 190px;
  }
}

.blog-post {
  background: #f3f4f6;
  color: #0b1220;
}

.post-hero {
  padding: 46px 0 38px;
  background: #153a87;
}

.post-breadcrumb {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-breadcrumb a {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
}

.post-breadcrumb a:hover {
  text-decoration: underline;
}

.post-breadcrumb .sep {
  opacity: .75;
}

.post-breadcrumb .current {
  opacity: .9;
}

.post-hero-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  backdrop-filter: blur(10px);
}

.post-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  align-items: center;
}

.post-tag {
  display: inline-flex;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .2);
  font-weight: 750;
}

.post-kicker .dot {
  opacity: .7;
}

.post-title {
  margin: 10px 0 10px;
  color: #fff;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  font-weight: 850;
}

.post-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, .90);
  line-height: 1.6;
  max-width: 62ch;
}

.post-hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.post-cover img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  display: block;
}

/* BODY GRID */
.post-body {
  padding: 34px 0 66px;
}

.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.post-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  padding: 22px;
}

.post-author {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.post-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 850;
  background: rgba(15, 122, 229, 0.12);
  border: 1px solid rgba(15, 122, 229, 0.20);
  color: #0b1220;
}

.post-author-name {
  font-weight: 850;
}

.post-author-sub {
  color: rgba(2, 6, 23, 0.55);
  font-size: .9rem;
}

.post-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.share-label {
  color: rgba(2, 6, 23, 0.55);
  font-size: .9rem;
}

.share-btn {
  display: inline-flex;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: #0b1220;
  font-weight: 700;
  font-size: .88rem;
}

.share-btn:hover {
  border-color: rgba(15, 122, 229, 0.30);
}

.post-divider {
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  margin: 16px 0 18px;
}

.post-content h2 {
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #0b1220;
}

.post-content p {
  color: rgba(2, 6, 23, 0.72);
  margin: 10px 0;
}

.post-content ul {
  margin: 10px 0 14px 18px;
  color: rgba(2, 6, 23, 0.72);
}

.post-content li {
  margin: 6px 0;
}

.post-cta {
  margin-top: 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 122, 229, 0.16);
  background: rgba(15, 122, 229, 0.06);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.post-cta h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.post-cta p {
  margin: 0;
}

.post-toc {
  position: sticky;
  top: 92px;
}

.toc-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  padding: 16px;
}

.toc-title {
  font-weight: 900;
  margin-bottom: 10px;
}

.toc-list {
  margin: 0;
  padding-left: 18px;
}

.toc-list a {
  color: rgba(2, 6, 23, 0.78);
  text-decoration: none;
}

.toc-list a:hover {
  text-decoration: underline;
}

.toc-mini {
  margin-top: 14px;
}

.toc-mini-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: .55rem .8rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.04);
  font-weight: 800;
}

.post-related {
  margin-top: 18px;
}

.related-title {
  margin: 18px 0 14px;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0b1220;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.related-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.related-body {
  padding: 12px 14px 14px;
}

.related-body h3 {
  margin: 0 0 6px;
  font-size: .98rem;
  line-height: 1.3;
}

.related-body p {
  margin: 0;
  color: rgba(2, 6, 23, 0.62);
  font-size: .9rem;
}

@media (max-width: 980px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-toc {
    position: static;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-hero-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    padding: 18px;
  }

  .post-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}