:root {
  --slab-base: #dfe3ea;
  --slab-deep: #c8ced9;
  --ink-charcoal: #2b2d42;
  --brick-ember: #e07a3d;
  --steel-blue: #4a6fa5;
  --cloud-mist: #f4f6f9;
  --soft-muted: #5c6578;
  --header-height: 72px;
  --font-heading: "Teko", sans-serif;
  --font-body: "Nunito Sans", sans-serif;
  --neo-out: 10px 10px 20px #c5cad3, -10px -10px 20px #ffffff;
  --neo-in: inset 6px 6px 12px #c5cad3, inset -6px -6px 12px #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden !important;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-charcoal);
  min-height: 100vh;
  background-color: var(--slab-base);
}

.pv-theme {
  background-color: var(--slab-base);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(43, 45, 66, 0.04) 47px,
      rgba(43, 45, 66, 0.04) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(43, 45, 66, 0.04) 47px,
      rgba(43, 45, 66, 0.04) 48px
    ),
    linear-gradient(160deg, #e8ecf2 0%, var(--slab-base) 45%, #d5dae4 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--steel-blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brick-ember);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 600;
  color: var(--ink-charcoal);
  letter-spacing: 0.02em;
}

.u-flex {
  display: flex;
}

.u-items-center {
  align-items: center;
}

.u-justify-between {
  justify-content: space-between;
}

.u-text-center {
  text-align: center;
}

.u-mx-auto {
  margin-inline: auto;
}

.u-mb-4 {
  margin-bottom: 1rem;
}

.u-mb-8 {
  margin-bottom: 2rem;
}

.u-mt-8 {
  margin-top: 2rem;
}

.u-gap-4 {
  gap: 1rem;
}

.u-rounded-lg {
  border-radius: 1rem;
}

.u-w-full {
  width: 100%;
}

.pv-wrap {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

.pv-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.pv-page__main {
  flex: 1;
  padding-bottom: 3rem;
}

.pv-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 246, 249, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 45, 66, 0.08);
}

.pv-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.pv-header__brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  text-decoration: none;
  color: var(--ink-charcoal);
  letter-spacing: 0.04em;
}

.pv-header__brand span {
  color: var(--brick-ember);
}

.pv-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.55rem;
  border: none;
  border-radius: 0.65rem;
  background: var(--cloud-mist);
  box-shadow: var(--neo-out);
  cursor: pointer;
}

.pv-header__burger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--ink-charcoal);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pv-nav__list {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-nav__link {
  text-decoration: none;
  color: var(--soft-muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.pv-nav__link:hover,
.pv-nav__link--active {
  color: var(--ink-charcoal);
}

.pv-hero {
  padding: 3.25rem 0 2rem;
}

.pv-hero__tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel-blue);
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.pv-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
  max-width: 16ch;
}

.pv-hero__lead {
  margin: 0;
  max-width: 60ch;
  color: var(--soft-muted);
}

.pv-section {
  padding: 2rem 0;
}

.pv-section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
}

.pv-section__sub {
  margin: 0 0 1.75rem;
  color: var(--soft-muted);
  max-width: 58ch;
}

.pv-section__title--center {
  text-align: center;
}

.pv-section__title--spaced {
  margin-bottom: 1.75rem;
}

.pv-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.pv-game-tile {
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
  padding: 0;
  background: var(--cloud-mist);
  border-radius: 1.1rem;
  box-shadow: var(--neo-out);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pv-game-tile:hover {
  transform: translateY(-3px);
  box-shadow: 12px 12px 24px #c0c6d0, -8px -8px 18px #ffffff;
}

.pv-game-tile:active {
  box-shadow: var(--neo-in);
  transform: translateY(0);
}

.pv-game-tile__thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--slab-deep);
}

.pv-game-tile__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-game-tile__body {
  padding: 1rem 1.1rem 1.25rem;
}

.pv-game-tile__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.pv-game-tile__hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--soft-muted);
}

.pv-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pv-feature {
  padding: 1.5rem;
  background: var(--cloud-mist);
  border-radius: 1.1rem;
  box-shadow: var(--neo-out);
}

.pv-feature__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.pv-feature__text {
  margin: 0;
  color: var(--soft-muted);
}

.pv-faq {
  max-width: 720px;
  margin-inline: auto;
}

.pv-faq__item {
  margin-bottom: 0.85rem;
  background: var(--cloud-mist);
  border-radius: 1rem;
  box-shadow: var(--neo-out);
  overflow: hidden;
}

.pv-faq__question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.15rem;
  background: none;
  border: none;
  color: var(--ink-charcoal);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.pv-faq__answer {
  display: none;
  padding: 0 1.15rem 1.1rem;
  color: var(--soft-muted);
}

.pv-faq__item.is-open .pv-faq__answer {
  display: block;
}

.pv-cta {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--cloud-mist);
  border-radius: 1.25rem;
  box-shadow: var(--neo-out);
}

.pv-cta h2 {
  margin-top: 0;
  font-size: 2rem;
}

.pv-cta p {
  color: var(--soft-muted);
}

.pv-btn {
  display: inline-block;
  padding: 0.7rem 1.45rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.pv-btn--solid {
  background: var(--brick-ember);
  color: #fff;
  box-shadow: 6px 6px 14px rgba(224, 122, 61, 0.35);
}

.pv-btn--solid:hover {
  background: #c9652e;
  color: #fff;
}

.pv-btn--ghost {
  background: var(--cloud-mist);
  color: var(--ink-charcoal);
  box-shadow: var(--neo-out);
}

.pv-btn--ghost:hover {
  color: var(--brick-ember);
}

.pv-footer {
  margin-top: auto;
  padding: 2.5rem 0 1.5rem;
  background: var(--ink-charcoal);
  color: #c9cfdb;
}

.pv-footer a {
  color: #e8ecf4;
}

.pv-footer a:hover {
  color: var(--brick-ember);
}

.pv-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.pv-footer__heading {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  color: #fff;
}

.pv-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-footer__links a {
  text-decoration: none;
}

.pv-footer__links li {
  margin-bottom: 0.35rem;
}

.pv-footer__bottom {
  font-size: 0.9rem;
  color: #9aa3b5;
}

.pv-cookie {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 50;
  max-width: min(420px, calc(100% - 2rem));
  padding: 1rem 1.15rem;
  background: var(--cloud-mist);
  border-radius: 1rem;
  box-shadow: var(--neo-out);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.pv-cookie p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--soft-muted);
}

.pv-page-head {
  padding: 2.5rem 0 1rem;
}

.pv-page-head h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.pv-page-head__lead {
  margin: 0;
  color: var(--soft-muted);
  max-width: 58ch;
}

.pv-prose h2 {
  margin-top: 2rem;
  font-size: 1.7rem;
}

.pv-prose p,
.pv-prose li {
  color: var(--soft-muted);
}

.pv-prose ul {
  padding-left: 1.2rem;
}

.pv-form {
  max-width: 520px;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--cloud-mist);
  border-radius: 1.1rem;
  box-shadow: var(--neo-out);
}

.pv-form__group {
  margin-bottom: 1rem;
}

.pv-form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.pv-form__input,
.pv-form__textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: none;
  border-radius: 0.75rem;
  background: var(--slab-base);
  color: var(--ink-charcoal);
  font: inherit;
  box-shadow: var(--neo-in);
}

.pv-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.pv-form__status {
  margin-top: 0.75rem;
  color: var(--steel-blue);
  font-weight: 700;
}

.pv-blog__grid {
  display: grid;
  gap: 1.5rem;
}

.pv-blog-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1.25rem;
  background: var(--cloud-mist);
  border-radius: 1.1rem;
  box-shadow: var(--neo-out);
  overflow: hidden;
}

.pv-blog-card__thumb img {
  height: 100%;
  min-height: 160px;
  width: 100%;
  object-fit: cover;
}

.pv-blog-card__content {
  padding: 1.1rem 1.2rem 1.25rem 0;
}

.pv-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--soft-muted);
  margin: 0.75rem 0 1rem;
}

.pv-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--steel-blue);
  color: #fff;
  font-weight: 800;
}

.pv-article {
  padding: 2rem 0 3rem;
}

.pv-article__header h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.pv-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--soft-muted);
  font-size: 0.9rem;
}

.pv-article__content section {
  margin-bottom: 2rem;
}

.pv-article__content p {
  color: var(--soft-muted);
}

.pv-article__content h2 {
  font-size: 1.65rem;
}

.pv-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(43, 45, 66, 0.72);
}

.pv-modal.is-open {
  display: flex;
}

.pv-modal__panel {
  width: min(960px, 100%);
  height: min(85vh, 720px);
  background: var(--cloud-mist);
  overflow: hidden;
  border-radius: 1.1rem;
  box-shadow: var(--neo-out);
  display: flex;
  flex-direction: column;
}

.pv-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: var(--ink-charcoal);
}

.pv-modal__title {
  margin: 0;
  font-size: 1.35rem;
  font-family: var(--font-heading);
  color: #fff;
}

.pv-modal__close {
  border: none;
  background: var(--brick-ember);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
}

.pv-modal__frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #111;
}

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

@media (max-width: 768px) {
  .pv-header__burger {
    display: flex;
  }

  .pv-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    background: var(--cloud-mist);
    padding: 1rem;
    box-shadow: var(--neo-out);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .pv-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .pv-nav__list {
    flex-direction: column;
  }

  .pv-header__burger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .pv-header__burger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .pv-header__burger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .pv-blog-card {
    grid-template-columns: 1fr;
  }

  .pv-blog-card__content {
    padding: 0 1rem 1.25rem;
  }

  .pv-cookie {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
