:root {
    --gp-bg: #07111f;
    --gp-surface: #0d1b2d;
    --gp-surface-2: #13243a;
    --gp-border: #2c425e;
    --gp-text: #f5f8fc;
    --gp-muted: #b7c6d9;
    --gp-accent: #46e6b0;
    --gp-accent-dark: #062d25;
    --gp-warm: #ffb86b;
    --gp-danger: #ff8c9a;
    --gp-radius: 18px;
    --gp-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body.gamepulse-site {
    margin: 0;
    color: var(--gp-text);
    background:
        radial-gradient(circle at 10% 0, rgba(70, 230, 176, 0.1), transparent 28rem),
        var(--gp-bg);
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.gamepulse-site a {
    color: var(--gp-accent);
}

.gamepulse-site a:hover {
    color: #a2ffdf;
}

.gamepulse-site :focus-visible {
    outline: 3px solid var(--gp-warm);
    outline-offset: 3px;
}

.gp-skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: var(--gp-bg) !important;
    background: var(--gp-warm);
    border-radius: 8px;
    transform: translateY(-150%);
}

.gp-skip-link:focus {
    transform: translateY(0);
}

.gp-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(183, 198, 217, 0.2);
    background: rgba(7, 17, 31, 0.9);
    backdrop-filter: blur(18px);
}

.gp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1240px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
}

.gp-brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--gp-text) !important;
    font-size: 1.25rem;
    text-decoration: none;
}

.gp-brand strong {
    color: var(--gp-accent);
}

.gp-brand-mark {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--gp-accent), #55a7ff);
    border-radius: 7px 7px 7px 2px;
    box-shadow: 0 0 24px rgba(70, 230, 176, 0.45);
    transform: rotate(-8deg);
}

.gp-nav-links {
    display: flex;
    gap: 24px;
}

.gp-nav-links a {
    color: var(--gp-muted);
    font-weight: 700;
    text-decoration: none;
}

.gp-nav-links a:hover {
    color: var(--gp-text);
}

.gp-main {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 90px;
}

.gp-hero,
.gp-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
    gap: 64px;
    align-items: end;
    margin-bottom: 42px;
}

.gp-eyebrow {
    margin: 0 0 10px;
    color: var(--gp-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gp-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    background: var(--gp-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(70, 230, 176, 0.12);
}

.gp-hero h1,
.gp-detail-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.gp-detail-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

.gp-hero h1 span {
    color: var(--gp-accent);
    font-style: italic;
}

.gp-hero-copy,
.gp-detail-hero p:not(.gp-eyebrow) {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--gp-muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.gp-primary-action {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 24px;
    padding: 10px 18px;
    color: var(--gp-accent-dark) !important;
    background: var(--gp-accent);
    border: 2px solid var(--gp-accent);
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
}

.gp-primary-action:hover {
    color: var(--gp-bg) !important;
    background: #a2ffdf;
    border-color: #a2ffdf;
}

.gp-update-card,
.gp-stat-card,
.gp-panel,
.gp-method-grid article {
    border: 1px solid var(--gp-border);
    background: linear-gradient(145deg, rgba(19, 36, 58, 0.96), rgba(10, 25, 42, 0.96));
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow);
}

.gp-update-card {
    padding: 24px;
}

.gp-update-card span,
.gp-update-card small,
.gp-stat-card span,
.gp-stat-card small {
    display: block;
    color: var(--gp-muted);
}

.gp-update-card strong {
    display: block;
    margin: 5px 0;
    font-size: 1.2rem;
}

.gp-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.gp-stat-card {
    min-height: 150px;
    padding: 22px;
}

.gp-stat-card strong {
    display: block;
    margin: 8px 0;
    overflow: hidden;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gp-panel {
    margin: 24px 0;
    padding: 28px;
}

.gp-panel-heading {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.gp-panel-heading h2,
.gp-copy-panel h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    letter-spacing: -0.025em;
}

.gp-panel-heading > p {
    max-width: 480px;
    margin: 0;
    color: var(--gp-muted);
    text-align: right;
}

.gp-chart-wrap {
    position: relative;
    width: 100%;
    height: 370px;
}

.gp-chart-wrap-large {
    height: 500px;
}

.gp-hype-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gp-hype-card {
    padding: 18px;
    border: 1px solid var(--gp-border);
    background: rgba(7, 17, 31, 0.5);
    border-radius: 14px;
}

.gp-hype-card a {
    color: var(--gp-text);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.gp-hype-score {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 18px;
}

.gp-hype-score strong {
    color: var(--gp-accent);
    font-size: 2rem;
}

.gp-hype-score span {
    color: var(--gp-muted);
}

.gp-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
    margin-bottom: 24px;
}

.gp-filters label:first-child {
    grid-column: span 2;
}

.gp-filters label,
.gp-range-control {
    color: var(--gp-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.gp-filters input,
.gp-filters select,
.gp-range-control select {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: 6px;
    padding: 9px 12px;
    color: var(--gp-text);
    border: 1px solid var(--gp-border);
    background: var(--gp-bg);
    border-radius: 9px;
    font: inherit;
}

.gp-check-label {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--gp-border);
    border-radius: 9px;
}

.gp-check-label input {
    width: 18px;
    min-height: 18px;
    margin: 0;
}

.gp-table-wrap {
    overflow-x: auto;
}

.gp-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.gp-table th,
.gp-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--gp-border);
    text-align: left;
}

.gp-table th {
    color: var(--gp-muted);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gp-table th button {
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.gp-game-link {
    display: block;
    color: var(--gp-text) !important;
    font-weight: 800;
    text-decoration: none;
}

.gp-game-link + small,
.gp-table small {
    color: var(--gp-muted);
}

.gp-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid var(--gp-border);
    color: var(--gp-text);
    background: var(--gp-surface-2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.gp-badge-high {
    color: #9fffdc;
    border-color: #23795d;
    background: #0a3529;
}

.gp-badge-medium {
    color: #ffe0a8;
    border-color: #865c1d;
    background: #3b2a0e;
}

.gp-badge-low,
.gp-badge-stale {
    color: #ffc2ca;
    border-color: #8f4150;
    background: #401b23;
}

.gp-value {
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}

.gp-positive {
    color: var(--gp-accent);
}

.gp-negative {
    color: var(--gp-danger);
}

.gp-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 36px 20px;
    color: var(--gp-muted);
    text-align: center;
    border: 1px dashed var(--gp-border);
    border-radius: 12px;
}

.gp-disclosure {
    display: grid;
    grid-template-columns: 0.7fr 1.6fr auto;
    gap: 24px;
    align-items: center;
    margin-top: 26px;
    padding: 24px 28px;
    color: #08251e;
    background: var(--gp-accent);
    border-radius: var(--gp-radius);
}

.gp-disclosure p {
    margin: 0;
}

.gp-disclosure a {
    color: #08251e;
    font-weight: 800;
}

.gp-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 44px;
    color: var(--gp-muted);
}

.gp-range-control {
    min-width: 180px;
}

.gp-series-list,
.gp-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gp-series-card {
    padding: 18px;
    border: 1px solid var(--gp-border);
    border-radius: 12px;
}

.gp-series-card h3 {
    margin: 0 0 6px;
}

.gp-series-card p {
    margin: 0;
    color: var(--gp-muted);
}

.gp-method-grid {
    margin-bottom: 24px;
}

.gp-method-grid article {
    padding: 28px;
}

.gp-method-grid article > span {
    color: var(--gp-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gp-method-grid h2 {
    margin: 7px 0;
}

.gp-method-grid p,
.gp-copy-panel p,
.gp-copy-panel li {
    color: var(--gp-muted);
}

.gp-copy-panel {
    max-width: 900px;
}

.gp-footer {
    display: flex;
    justify-content: space-between;
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 0;
    color: var(--gp-muted);
    border-top: 1px solid var(--gp-border);
}

.gp-footer p {
    margin: 0;
}

.gp-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 960px) {
    .gp-stat-grid,
    .gp-hype-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gp-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .gp-disclosure {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .gp-nav {
        width: min(100% - 28px, 1240px);
        min-height: 64px;
    }

    .gp-nav-links {
        gap: 12px;
        font-size: 0.86rem;
    }

    .gp-nav-links a:last-child {
        display: none;
    }

    .gp-main {
        width: min(100% - 28px, 1240px);
        padding: 45px 0 65px;
    }

    .gp-hero,
    .gp-detail-hero {
        grid-template-columns: 1fr;
        gap: 26px;
        align-items: start;
    }

    .gp-stat-grid,
    .gp-hype-grid,
    .gp-series-list,
    .gp-method-grid,
    .gp-filters {
        grid-template-columns: 1fr;
    }

    .gp-filters label:first-child {
        grid-column: auto;
    }

    .gp-stat-card {
        min-height: 125px;
    }

    .gp-panel {
        padding: 20px;
    }

    .gp-panel-heading {
        display: block;
    }

    .gp-panel-heading > p {
        margin-top: 8px;
        text-align: left;
    }

    .gp-chart-wrap {
        height: 320px;
    }

    .gp-chart-wrap-large {
        height: 430px;
    }

    .gp-footer {
        display: block;
        width: min(100% - 28px, 1240px);
    }

    .gp-footer p + p {
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
