@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700');

:root {
    --pv-ink: #10192f;
    --pv-ink-soft: #263451;
    --pv-blue: #1777ff;
    --pv-violet: #b43cff;
    --pv-tangerine: #ff8a38;
    --pv-mint: #25f18b;
    --pv-cloud: #f4f7fb;
    --pv-warm: #fffaf3;
    --pv-white: #ffffff;
    --pv-line: rgba(16, 25, 47, 0.12);
    --pv-shadow: 0 18px 50px rgba(16, 25, 47, 0.14);
    --pv-radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--pv-ink);
    background: var(--pv-warm);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 18px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

[class*="col-sm-"] {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    color: var(--pv-ink);
    background: var(--pv-white);
}

body.pv-modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

a:hover,
a:focus {
    color: var(--pv-blue);
    text-decoration: none;
}

button,
a,
input,
select,
textarea,
summary {
    outline-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(37, 241, 139, 0.9);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -120px;
    z-index: 2000;
    background: var(--pv-ink);
    color: var(--pv-white);
    padding: 10px 14px;
    border-radius: var(--pv-radius);
}

.skip-link:focus {
    top: 16px;
    color: var(--pv-white);
}

.hero-background {
    overflow: hidden;
    position: relative;
    background: linear-gradient(117deg, #1777ff 0%, #b43cff 52%, #ff8a38 100%);
}

.pv-site-header {
    min-height: 104px;
}

.strips {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    min-width: 920px;
    max-width: 1280px;
    opacity: 0.18;
    pointer-events: none;
}

.bold {
    font-weight: 700;
}

.light {
    font-weight: 300;
}

.header {
    padding-top: 28px;
    width: 100%;
    min-height: 100px;
    position: relative;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo,
.pv-brand {
    max-width: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pv-white);
    min-height: 48px;
}

.pv-brand:hover,
.pv-brand:focus {
    color: var(--pv-white);
}

.pv-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--pv-radius);
    background: var(--pv-white);
    color: var(--pv-ink);
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 14px 28px rgba(16, 25, 47, 0.18);
}

.pv-brand-name {
    font-weight: 700;
    font-size: 20px;
}

.header-right {
    display: none;
}

.navbar-item {
    color: rgba(255, 255, 255, 0.88);
    padding: 10px;
    border-radius: var(--pv-radius);
    font-weight: 500;
}

.navbar-item:hover,
.navbar-item:focus,
.navbar-item.is-active {
    color: var(--pv-white);
    background: rgba(255, 255, 255, 0.13);
}

.header-btn {
    background-color: var(--pv-ink);
    border-radius: var(--pv-radius);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--pv-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    min-width: 148px;
    min-height: 46px;
    padding: 0 18px;
    font-weight: 700;
    margin-left: auto;
}

.header-btn:hover,
.header-btn:focus {
    background-color: #0b1328;
    color: var(--pv-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 25, 47, 0.18);
}

.pv-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--pv-radius);
    background: rgba(255, 255, 255, 0.14);
}

.pv-menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 0 auto;
    background: var(--pv-white);
}

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

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

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

.pv-hero {
    position: relative;
    z-index: 1;
    padding: 52px 0 76px;
    margin: 0;
    color: var(--pv-white);
    background:
        linear-gradient(117deg, rgba(23, 119, 255, 0.95), rgba(180, 60, 255, 0.86), rgba(255, 138, 56, 0.82)),
        var(--pv-ink);
    overflow: hidden;
}

.pv-hero::after,
.pv-page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.pv-hero-inner {
    position: relative;
    z-index: 2;
}

.hero-right {
    color: var(--pv-white);
    text-align: left;
}

.pv-eyebrow,
.pv-section-heading span,
.pv-game-eyebrow,
.pv-editor-pick span,
.pv-feature-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pv-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pv-hero .pv-eyebrow,
.pv-page-hero .pv-eyebrow {
    color: var(--pv-mint);
}

.header-headline {
    padding-top: 10px;
    padding-bottom: 18px;
    margin: 0;
    text-align: left;
    max-width: 640px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: 0;
}

.header-running-text {
    text-align: left;
    max-width: 590px;
    line-height: 1.7;
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
}

.pv-hero-actions,
.pv-cta-row,
.pv-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
}

.pv-btn,
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 142px;
    padding: 0 18px;
    border-radius: var(--pv-radius);
    border: 1px solid transparent;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.pv-btn:hover,
.pv-btn:focus,
.hero-btn:hover,
.hero-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 25, 47, 0.18);
}

.pv-btn-primary,
.hero-btn {
    background: var(--pv-blue);
    color: var(--pv-white);
}

.pv-btn-primary:hover,
.pv-btn-primary:focus,
.hero-btn:hover,
.hero-btn:focus {
    color: var(--pv-white);
    background: #0e63d4;
}

.pv-btn-mint {
    background: var(--pv-mint);
    color: var(--pv-ink);
}

.pv-btn-mint:hover,
.pv-btn-mint:focus {
    color: var(--pv-ink);
    background: #6affb4;
}

.pv-btn-ghost,
.pv-btn-ghost-light {
    background: transparent;
    color: var(--pv-ink);
    border-color: var(--pv-line);
}

.pv-btn-ghost-light {
    color: var(--pv-white);
    border-color: rgba(255, 255, 255, 0.38);
}

.pv-board {
    position: relative;
    min-height: 420px;
    margin-top: 38px;
}

.pv-board-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    width: min(76vw, 290px);
    min-height: 154px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--pv-radius);
    color: var(--pv-white);
    box-shadow: 0 28px 60px rgba(16, 25, 47, 0.3);
    overflow: hidden;
    isolation: isolate;
}

.pv-board-card::after,
.pv-thumb::after {
    content: "";
    position: absolute;
    inset: auto 18px 18px auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.pv-board-card em {
    font-style: normal;
    align-self: flex-end;
}

.pv-board-card strong {
    font-size: 20px;
    line-height: 1.2;
}

.pv-board-card span {
    font-size: 12px;
    font-weight: 700;
}

.pv-layer-1 {
    left: 10%;
    top: 4%;
    transform: rotate(-5deg);
}

.pv-layer-2 {
    right: 4%;
    top: 18%;
    transform: rotate(4deg);
}

.pv-layer-3 {
    left: 3%;
    bottom: 18%;
    transform: rotate(3deg);
}

.pv-layer-4 {
    right: 12%;
    bottom: 4%;
    transform: rotate(-4deg);
}

.pv-layer-5 {
    left: 33%;
    top: 43%;
    transform: rotate(-1deg);
}

.pv-puzzle {
    background: linear-gradient(135deg, #1777ff, #25f18b);
}

.pv-racing {
    background: linear-gradient(135deg, #10192f, #1777ff 52%, #ff8a38);
}

.pv-match {
    background: linear-gradient(135deg, #b43cff, #ff8a38);
}

.pv-drawing {
    background: linear-gradient(135deg, #25f18b, #1777ff);
}

.pv-arcade {
    background: linear-gradient(135deg, #ff8a38, #b43cff);
}

.pv-section {
    padding: 82px 0;
}

.features-section {
    background: var(--pv-ink);
    color: var(--pv-white);
    text-align: center;
    position: relative;
}

.logos-section {
    background-color: var(--pv-cloud);
    text-align: left;
}

.white-section {
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    background: var(--pv-white);
}

.pricing-background {
    background-color: var(--pv-cloud);
}

.pv-section-heading {
    max-width: 680px;
    margin-bottom: 32px;
}

.pv-section-heading h2 {
    margin: 8px 0 12px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: 0;
}

.pv-section-heading p {
    color: var(--pv-ink-soft);
    font-size: 16px;
}

.pv-section-heading.pv-invert {
    margin-left: auto;
    margin-right: auto;
    color: var(--pv-white);
    text-align: center;
}

.pv-section-heading.pv-invert p,
.pv-invert span {
    color: rgba(255, 255, 255, 0.8);
}

.pv-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.pv-compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.pv-mixed-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.pv-game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 315px;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    background: var(--pv-white);
    box-shadow: 0 16px 40px rgba(16, 25, 47, 0.08);
    overflow: hidden;
}

.pv-game-card.pv-wide {
    grid-column: span 6;
}

.pv-game-card.pv-standard {
    grid-column: span 3;
}

.pv-game-card.pv-compact {
    min-height: 244px;
}

.pv-thumb {
    position: relative;
    width: 100%;
    min-height: 170px;
    border: 0;
    color: var(--pv-white);
    overflow: hidden;
    text-align: left;
    padding: 18px;
}

.pv-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(16, 25, 47, 0.18), rgba(16, 25, 47, 0.62));
}

.pv-thumb-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pv-thumb:hover .pv-thumb-img,
.pv-thumb:focus .pv-thumb-img {
    transform: scale(1.04);
}

.pv-game-card.pv-compact .pv-thumb {
    min-height: 128px;
}

.pv-thumb-title {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 82%;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.pv-play-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: var(--pv-white);
}

.pv-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.pv-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pv-category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--pv-white);
    font-size: 12px;
    font-weight: 700;
}

.pv-card-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.pv-card-copy {
    color: var(--pv-ink-soft);
    margin: 0;
}

.pv-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.pv-icon-btn {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: var(--pv-radius);
    border: 1px solid var(--pv-line);
    background: var(--pv-white);
    color: var(--pv-ink);
    font-size: 22px;
}

.pv-icon-btn.is-favorite {
    color: #d73a83;
    border-color: rgba(215, 58, 131, 0.35);
    background: #fff2f8;
}

.pv-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    overflow: hidden;
    box-shadow: var(--pv-shadow);
    background: var(--pv-white);
}

.pv-feature-visual {
    min-height: 360px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    color: var(--pv-white);
}

.pv-feature-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    transition: transform 0.35s ease;
}

.pv-feature-visual:hover .pv-feature-img,
.pv-feature-visual:focus .pv-feature-img {
    transform: scale(1.03);
}

.pv-feature-visual::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--pv-radius);
}

.pv-feature-visual strong {
    position: relative;
    z-index: 2;
    max-width: 390px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 0.98;
    letter-spacing: 0;
}

.pv-feature-content {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pv-feature-content h3 {
    margin: 12px 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}

.pv-feature-content p {
    color: var(--pv-ink-soft);
}

.pv-mood-grid,
.pv-category-grid,
.pv-step-grid,
.pv-benefit-grid,
.pv-pick-grid {
    display: grid;
    gap: 18px;
}

.pv-mood-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.pv-category-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pv-mood-card,
.pv-category-link,
.pv-step,
.pv-benefit,
.pv-editor-pick,
.pv-empty-state,
.pv-contact-form,
.pv-contact-copy,
.pv-copy-section article,
.pv-legal article {
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    background: var(--pv-white);
    padding: 22px;
    box-shadow: 0 12px 30px rgba(16, 25, 47, 0.06);
}

.pv-mood-card {
    color: var(--pv-white);
    min-height: 170px;
}

.pv-mood-card:hover,
.pv-mood-card:focus,
.pv-category-link:hover,
.pv-category-link:focus {
    transform: translateY(-3px);
    box-shadow: var(--pv-shadow);
}

.pv-mood-card span,
.pv-mood-card strong,
.pv-mood-card p {
    display: block;
}

.pv-mood-card strong {
    font-size: 24px;
    margin: 16px 0 8px;
}

.pv-mood-card p {
    color: rgba(255, 255, 255, 0.86);
    margin: 0;
}

.pv-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 104px;
    color: var(--pv-white);
}

.pv-step-grid,
.pv-benefit-grid,
.pv-pick-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pv-step span {
    color: var(--pv-tangerine);
    font-weight: 700;
    font-size: 28px;
}

.pv-step h3,
.pv-benefit h3,
.pv-editor-pick h3 {
    margin: 10px 0;
    font-size: 22px;
}

.feature-no-display {
    opacity: 0;
    transform: translateY(15%);
    transition: transform 0.4s ease-out, opacity 0.4s ease;
}

.feature-display {
    opacity: 1;
    transform: translateY(0);
}

.pv-benefit {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--pv-white);
}

.pv-benefit p {
    color: rgba(255, 255, 255, 0.76);
}

.pv-faq-list {
    display: grid;
    gap: 12px;
}

.pv-faq-item {
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    background: var(--pv-white);
    padding: 0 18px;
}

.pv-faq-item summary {
    cursor: pointer;
    padding: 18px 0;
    font-weight: 700;
}

.pv-faq-item p {
    color: var(--pv-ink-soft);
    padding-bottom: 18px;
    margin: 0;
}

.blue-section {
    background: linear-gradient(117deg, #1777ff, #b43cff 56%, #ff8a38);
    color: var(--pv-white);
    margin: auto;
    text-align: center;
    padding-top: 48px;
    padding-bottom: 56px;
}

.blue-section-header {
    margin: 0 auto 12px;
    max-width: 720px;
    font-size: clamp(30px, 5vw, 52px);
}

.blue-section-subtext {
    max-width: 560px;
    line-height: 1.7;
    font-size: 16px;
    margin: auto;
    color: rgba(255, 255, 255, 0.84);
}

.pv-final-cta .pv-cta-row {
    justify-content: center;
}

.pv-page-hero {
    position: relative;
    padding: 76px 0 84px;
    color: var(--pv-white);
    background: linear-gradient(117deg, #10192f, #1777ff 48%, #b43cff);
    overflow: hidden;
}

.pv-page-hero h1 {
    max-width: 800px;
    margin: 10px 0 14px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: 0;
}

.pv-page-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.pv-library-tools {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.pv-search-label {
    font-weight: 700;
}

.pv-search-input {
    min-height: 52px;
    border-radius: var(--pv-radius);
    border: 1px solid var(--pv-line);
    box-shadow: none;
}

.pv-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pv-filter-btn {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    background: var(--pv-white);
    color: var(--pv-ink);
    font-weight: 700;
}

.pv-filter-btn.is-active {
    background: var(--pv-ink);
    color: var(--pv-white);
}

.pv-result-count {
    margin: 0;
    color: var(--pv-ink-soft);
    font-weight: 700;
}

.pv-empty-state {
    text-align: center;
    max-width: 560px;
    margin: 28px auto 0;
}

.pv-empty-state h2 {
    margin-top: 0;
}

.pv-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
}

.pv-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pv-contact-form .form-group {
    margin: 0;
}

.pv-form-wide,
.pv-form-actions,
.pv-form-status {
    grid-column: 1 / -1;
}

.pv-contact-form .form-control {
    min-height: 48px;
    border-radius: var(--pv-radius);
    border-color: var(--pv-line);
    box-shadow: none;
}

.pv-contact-form textarea.form-control {
    min-height: 150px;
}

.pv-form-status {
    margin: 0;
    font-weight: 700;
}

.pv-copy-section .container,
.pv-legal .container {
    display: grid;
    gap: 18px;
}

.pv-copy-section h2,
.pv-legal h2 {
    margin-top: 0;
}

.pv-legal code {
    color: var(--pv-ink);
    background: var(--pv-cloud);
    border-radius: 4px;
    padding: 2px 5px;
}

.footer {
    background-color: #10192f;
    color: rgba(255, 255, 255, 0.78);
    padding-top: 42px;
    padding-bottom: 26px;
}

.pv-footer-grid {
    display: flex;
    flex-wrap: wrap;
}

.pv-footer-brand {
    display: inline-flex;
    color: var(--pv-white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pv-footer-brand:hover,
.pv-footer-brand:focus,
.footer a:hover,
.footer a:focus {
    color: var(--pv-mint);
}

.pv-footer-heading {
    margin: 0 0 12px;
    color: var(--pv-white);
    font-size: 16px;
    font-weight: 700;
}

.pv-footer-links {
    display: grid;
    gap: 8px;
}

.pv-footer-small {
    font-size: 13px;
}

.pv-footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
}

.pv-cookie {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1800;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    max-width: 980px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    background: var(--pv-white);
    box-shadow: var(--pv-shadow);
}

.pv-cookie[hidden] {
    display: none;
}

.pv-cookie p {
    margin: 0;
}

.pv-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pv-game-modal {
    position: fixed;
    inset: 0;
    z-index: 1900;
    display: grid;
    place-items: center;
    padding: 24px;
}

.pv-game-modal[hidden] {
    display: none;
}

.pv-game-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 13, 27, 0.78);
}

.pv-game-panel {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    height: min(820px, calc(100dvh - 48px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--pv-radius);
    background: var(--pv-ink);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.pv-game-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    color: var(--pv-white);
    background: #10192f;
}

.pv-game-toolbar h2 {
    margin: 3px 0 0;
    font-size: clamp(18px, 4vw, 26px);
    line-height: 1.15;
}

.pv-game-actions {
    display: flex;
    gap: 10px;
}

.pv-game-actions button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--pv-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--pv-white);
    font-size: 26px;
}

#game-favorite-toggle.is-favorite {
    color: #ffd6e9;
    background: rgba(215, 58, 131, 0.32);
}

.pv-game-stage {
    position: relative;
    min-height: 0;
    background: #070b16;
}

.pv-game-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    color: var(--pv-white);
    background: linear-gradient(117deg, #10192f, #1777ff);
    font-weight: 700;
}

.pv-game-loader.is-hidden {
    display: none;
}

#game-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #070b16;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
