:root {
    --font-body: "Segoe UI Variable Text", "Aptos", "Segoe UI", sans-serif;
    --font-heading: "Constantia", "Palatino Linotype", "Book Antiqua", "Georgia", serif;
    --font-display: "Aptos Display", "Segoe UI Variable Display", "Trebuchet MS", "Segoe UI", sans-serif;
    --font-mono: "Cascadia Mono", "Consolas", monospace;
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 18px;
    --shadow-lg: 0 28px 70px rgba(58, 42, 30, 0.14);
    --shadow-md: 0 18px 42px rgba(58, 42, 30, 0.1);
    --shadow-sm: 0 10px 24px rgba(58, 42, 30, 0.08);
    --shadow-xl: 0 40px 90px rgba(58, 42, 30, 0.16);
    --transition: 0.25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    --bg-primary: #f7f1e7;
    --bg-secondary: rgba(255, 251, 245, 0.9);
    --bg-tertiary: rgba(242, 231, 214, 0.82);
    --surface: rgba(255, 250, 243, 0.9);
    --surface-strong: rgba(255, 253, 249, 0.96);
    --surface-soft: rgba(255, 255, 255, 0.74);
    --panel-contrast: rgba(255, 247, 236, 0.96);
    --card-solid: rgba(255, 252, 247, 0.98);
    --border: rgba(109, 83, 58, 0.14);
    --border-strong: rgba(109, 83, 58, 0.24);
    --text-primary: #2f2319;
    --text-secondary: #645241;
    --text-muted: #8b7865;
    --accent: #c9a26d;
    --accent-strong: #8d6546;
    --accent-soft: rgba(201, 162, 109, 0.14);
    --button-ink: #fffaf4;
    --button-shadow: 0 16px 30px rgba(141, 101, 70, 0.18);
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-primary);
    background:
        radial-gradient(circle at top left, rgba(208, 182, 147, 0.24), transparent 26%),
        radial-gradient(circle at 85% 12%, rgba(255, 243, 221, 0.76), transparent 22%),
        linear-gradient(180deg, #fbf8f2 0%, #f3ebdf 48%, #eadcc8 100%);
    transition: background 0.35s ease, color 0.35s ease;
    overflow-x: hidden;
}

body.dark-theme {
    --bg-primary: #14110f;
    --bg-secondary: rgba(28, 22, 19, 0.88);
    --bg-tertiary: rgba(44, 34, 28, 0.8);
    --surface: rgba(28, 22, 19, 0.9);
    --surface-strong: rgba(36, 28, 23, 0.95);
    --surface-soft: rgba(46, 36, 30, 0.64);
    --panel-contrast: rgba(33, 26, 22, 0.96);
    --card-solid: rgba(34, 27, 23, 0.98);
    --border: rgba(223, 196, 160, 0.12);
    --border-strong: rgba(223, 196, 160, 0.2);
    --text-primary: #f7efe3;
    --text-secondary: #eadfce;
    --text-muted: #d6c0a2;
    --accent: #d1ab79;
    --accent-strong: #f0d9b3;
    --accent-soft: rgba(209, 171, 121, 0.14);
    --button-ink: #211710;
    --button-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    background:
        radial-gradient(circle at top left, rgba(151, 112, 76, 0.14), transparent 26%),
        radial-gradient(circle at 80% 14%, rgba(89, 68, 56, 0.2), transparent 24%),
        linear-gradient(180deg, #130f0d 0%, #181311 44%, #211915 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(107, 84, 63, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 84, 63, 0.045) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.4;
}

body::after {
    content: "";
    position: fixed;
    inset: auto -12vw 12vh auto;
    width: 42vw;
    height: 42vw;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(255, 244, 219, 0.55), rgba(255, 244, 219, 0.08) 44%, transparent 72%);
    filter: blur(12px);
    opacity: 0.9;
}

body.dark-theme::before {
    background-image:
        linear-gradient(rgba(255, 239, 221, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 239, 221, 0.04) 1px, transparent 1px);
}

body.dark-theme::after {
    background:
        radial-gradient(circle, rgba(209, 171, 121, 0.18), rgba(209, 171, 121, 0.04) 44%, transparent 72%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

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

.gh-icon {
    display: inline-block;
    width: 1.05em;
    height: 1.05em;
    flex: 0 0 1.05em;
    vertical-align: -0.14em;
    fill: currentColor;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.96;
    background: none;
    -webkit-mask: none;
    mask: none;
    overflow: visible;
    pointer-events: none;
}

.gh-icon-play { --gh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 5.5v13l10-6.5z'/%3E%3C/svg%3E"); }
.gh-icon-heart { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 20.7 10.7 19.5C5.7 14.9 2.5 12 2.5 8.2 2.5 5.5 4.6 3.5 7.2 3.5c1.7 0 3.4.8 4.4 2.1 1-1.3 2.7-2.1 4.4-2.1 2.6 0 4.7 2 4.7 4.7 0 3.8-3.2 6.7-8.2 11.3Z'/%3E%3C/svg%3E\"); }
.gh-icon-moon { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14.8 2.7a8.9 8.9 0 1 0 6.5 15.5A9.7 9.7 0 0 1 14.8 2.7Z'/%3E%3C/svg%3E\"); }
.gh-icon-sun { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='black' stroke='none'/%3E%3Cpath d='M12 2.4v2.5M12 19.1v2.5M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M2.4 12h2.5M19.1 12h2.5M4.9 19.1l1.8-1.8M17.3 6.7l1.8-1.8'/%3E%3C/svg%3E\"); }
.gh-icon-gamepad { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.2 8.2h11.6c1.5 0 2.7 1 3 2.4l1 4.8c.4 1.8-1 3.4-2.7 3.4-1 0-1.9-.4-2.5-1.1l-1.6-1.8H9.1l-1.6 1.8c-.6.7-1.5 1.1-2.5 1.1-1.7 0-3.1-1.6-2.7-3.4l1-4.8c.3-1.4 1.5-2.4 2.9-2.4Z'/%3E%3Cpath d='M8.2 11.5v3M6.7 13h3M15.9 12.2h.1M18 14.1h.1'/%3E%3C/svg%3E\"); }
.gh-icon-folder { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5h6l2 2H21v6.8A2.2 2.2 0 0 1 18.8 19.5H5.2A2.2 2.2 0 0 1 3 17.3Z'/%3E%3Cpath d='M3 8.5V6.7A2.2 2.2 0 0 1 5.2 4.5h4.1l2 2H15'/%3E%3C/svg%3E\"); }
.gh-icon-layers { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 4 8 4.3-8 4.3L4 8.3 12 4Z' fill='black' stroke='none'/%3E%3Cpath d='m4 12 8 4.3 8-4.3M4 15.7 12 20l8-4.3'/%3E%3C/svg%3E\"); }
.gh-icon-search { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='5.8'/%3E%3Cpath d='m15 15 5.2 5.2'/%3E%3C/svg%3E\"); }
.gh-icon-chevron-down { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5 5.5-5'/%3E%3C/svg%3E\"); }
.gh-icon-arrow-up { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6.5 10.5 12 5l5.5 5.5'/%3E%3C/svg%3E\"); }
.gh-icon-bolt { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.2 2 5.7 13h4.7l-1 9 7.8-11.4h-4.5z'/%3E%3C/svg%3E\"); }
.gh-icon-unlock { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10V8a5 5 0 0 1 9.7-1.7'/%3E%3Crect x='4.5' y='10' width='15' height='10' rx='2.5'/%3E%3Ccircle cx='12' cy='15' r='1.4' fill='black' stroke='none'/%3E%3C/svg%3E\"); }
.gh-icon-star { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 3.2 2.6 5.3 5.9.9-4.3 4.2 1 5.9L12 16.8 6.8 19.5l1-5.9-4.3-4.2 5.9-.9z'/%3E%3C/svg%3E\"); }
.gh-icon-clock { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.4v5l3.2 1.9'/%3E%3C/svg%3E\"); }
.gh-icon-info { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 10.4v5.2M12 7.5h.01'/%3E%3C/svg%3E\"); }
.gh-icon-file-code { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h7l4 4V20.5H7z'/%3E%3Cpath d='M14 3.5v4h4M11 11l-2 2 2 2M13 15l2-2-2-2'/%3E%3C/svg%3E\"); }
.gh-icon-fire { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.3 2.6c.6 2.4-.3 4.2-1.7 5.9-1.2 1.4-2.7 2.8-2.7 5a4.4 4.4 0 0 0 8.8 0c0-1.5-.7-2.7-1.7-3.9-.6 1.4-1.9 2.4-3.4 2.8.8-1.7.6-3.2.7-4.8Z'/%3E%3C/svg%3E\"); }
.gh-icon-user { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.2 19.2a8.2 8.2 0 0 1 13.6 0'/%3E%3C/svg%3E\"); }
.gh-icon-tag { --gh-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12.3V5.5h6.8l8.2 8.2-6.8 6.8z'/%3E%3Ccircle cx='8.2' cy='8.2' r='1.1' fill='black' stroke='none'/%3E%3C/svg%3E\"); }

.ambient-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ambient-dot {
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(201, 162, 109, 0.08) 70%);
    filter: blur(2px);
    animation: driftY linear infinite alternate;
}

body.dark-theme .ambient-dot {
    background: radial-gradient(circle, rgba(240, 217, 179, 0.5), rgba(240, 217, 179, 0.02) 70%);
}

.site-header,
main,
.site-footer,
#hamburger-menu,
.scroll-to-top,
.loading-overlay,
.toast,
.custom-cursor {
    position: relative;
    z-index: 1;
}

.site-header {
    padding: 28px 20px 10px;
}

.header-inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 24px;
    align-items: stretch;
    padding: 22px 26px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, white), color-mix(in srgb, var(--panel-contrast) 94%, transparent));
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.header-inner::after {
    content: "";
    position: absolute;
    inset: auto -16% -42% auto;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 182, 138, 0.22), transparent 72%);
    pointer-events: none;
}

.brand-lockup {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.brand-note {
    display: grid;
    gap: 4px;
    align-content: center;
}

.brand-note-top {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.brand-note-bottom {
    font-weight: 600;
    color: var(--text-secondary);
}

.brand-note code {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    font-family: var(--font-mono);
}

.header-panel {
    min-width: 0;
    display: grid;
    gap: 18px;
    align-content: center;
    padding-left: 24px;
    border-left: 1px solid var(--border);
}

.header-panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.header-panel-copy {
    display: grid;
    gap: 5px;
    max-width: 28ch;
}

.header-panel-eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.header-panel-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
}

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

.site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 11px 16px;
    border-radius: 20px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.34);
    text-align: center;
    transition: transform var(--transition), color var(--transition), background var(--transition), border-color var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--border);
    transform: translateY(-1px);
}

.public-release-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.public-release-badge {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 34px;
    padding: 8px 13px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-strong) 72%, var(--accent) 28%);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(246, 235, 220, 0.48)),
        var(--surface-strong);
    color: var(--text-secondary);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        0 10px 22px rgba(58, 42, 30, 0.08);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    animation: publicReleaseFloat 4.8s ease-in-out infinite;
}

.public-release-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 0 24%, color-mix(in srgb, var(--accent) 30%, transparent) 42%, transparent 62% 100%);
    transform: translateX(-120%);
    animation: publicReleaseSweep 5.6s ease-in-out infinite;
}

.public-release-badge strong {
    color: var(--accent-strong);
    letter-spacing: 0.16em;
}

.public-release-badge-version {
    padding-inline: 11px;
    color: color-mix(in srgb, var(--accent-strong) 76%, var(--text-primary) 24%);
    animation-delay: 0.6s;
}

.public-release-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 42%, transparent);
    animation: publicReleasePulse 2.4s ease-in-out infinite;
}

body.dark-theme .public-release-badge {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(240, 217, 179, 0.06)),
        var(--surface-strong);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.18);
    color: var(--text-secondary);
}

body.dark-theme .site-nav a {
    background: rgba(255, 255, 255, 0.04);
}

body.dark-theme .site-nav a:hover,
body.dark-theme .site-nav a.active {
    background: rgba(255, 255, 255, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-pill,
.theme-toggle,
.cta,
.play-button,
.favorite-button,
.favorite-icon,
.recent-chip,
.scroll-to-top {
    border: 1px solid var(--border);
    background: var(--surface-strong);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.header-pill,
.theme-toggle,
.cta,
.play-button,
.favorite-button,
.recent-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    cursor: pointer;
}

.header-pill:hover,
.theme-toggle:hover,
.cta:hover,
.play-button:hover,
.favorite-button:hover,
.recent-chip:hover,
.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.header-pill {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(240, 226, 206, 0.88));
}

.header-pill-premium {
    background: linear-gradient(135deg, rgba(212, 228, 255, 0.96), rgba(209, 171, 121, 0.88));
    border-color: rgba(122, 158, 212, 0.24);
}

body.dark-theme .header-pill {
    background: linear-gradient(135deg, rgba(46, 36, 30, 0.95), rgba(65, 49, 40, 0.9));
}

body.dark-theme .header-pill-premium {
    background: linear-gradient(135deg, rgba(19, 34, 58, 0.94), rgba(86, 63, 41, 0.92));
    border-color: rgba(122, 199, 255, 0.22);
}

body.dark-theme .hero-eyebrow,
body.dark-theme .section-kicker,
body.dark-theme .headline-kicker {
    background: linear-gradient(180deg, rgba(55, 42, 34, 0.9), rgba(38, 29, 24, 0.94));
    border-color: rgba(223, 196, 160, 0.18);
    color: #ddc7aa;
    box-shadow: inset 0 1px 0 rgba(255, 244, 226, 0.06);
}

.theme-toggle {
    user-select: none;
}

.theme-toggle .theme-icon {
    font-size: 1rem;
}

#hamburger-menu {
    display: none;
}

.hero-section,
.search-section,
.headline-section,
.quick-launch-section,
.feature-strip,
.favorites-section,
.games-section,
.workflow-section,
.site-footer {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto 28px;
}

.hero-section,
.search-section,
.headline-card,
.quick-launch-section,
.feature,
.favorites-section,
.games-section,
.workflow-card,
.site-footer {
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, white), color-mix(in srgb, var(--panel-contrast) 94%, transparent));
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 38px;
    box-shadow: var(--shadow-xl);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -10% auto auto -8%;
    width: 42%;
    height: 64%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 180, 126, 0.18), transparent 72%);
    filter: blur(10px);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -18%;
    width: 44%;
    height: 64%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 237, 212, 0.82), rgba(248, 237, 212, 0.06) 54%, transparent 72%);
    pointer-events: none;
}

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

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 700px;
    display: grid;
    align-content: start;
    gap: 16px;
}

.hero-eyebrow,
.section-kicker,
.headline-kicker {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.56);
}

.floating-text {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6.4vw, 6.6rem);
    line-height: 0.88;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    text-wrap: balance;
    text-shadow: 0 6px 24px rgba(92, 67, 42, 0.08);
}

.floating-text::after {
    content: attr(data-caption);
    display: block;
    max-width: 560px;
    margin-top: 18px;
    font-family: var(--font-body);
    font-size: 0.3em;
    line-height: 1.7;
    color: var(--text-secondary);
    text-transform: none;
    letter-spacing: normal;
}

.hero-subtitle,
.section-copy,
.headline-subtitle,
.feature p,
.favorite-copy p,
.game-summary,
.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.hero-subtitle {
    margin: 0;
    max-width: 600px;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.cta {
    padding: 0 24px;
    font-weight: 600;
}

.cta.primary,
.play-button,
.favorite-button.active,
.theme-toggle.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-color: transparent;
    color: var(--button-ink);
    box-shadow: var(--button-shadow);
}

.cta.secondary,
.favorite-button,
.favorite-button.compact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(246, 235, 220, 0.86));
}

body.dark-theme .cta.secondary,
body.dark-theme .favorite-button,
body.dark-theme .favorite-button.compact,
body.dark-theme .theme-toggle {
    background: linear-gradient(135deg, rgba(42, 33, 28, 0.96), rgba(60, 46, 38, 0.92));
}

.hero-badges,
.card-footer,
.game-badge-row,
.game-card-topline,
.game-card-meta,
.favorite-copy-top,
.favorite-actions,
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badges {
    margin-top: 2px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 4px;
}

.hero-stat-card {
    padding: 16px 18px;
    border-radius: 24px;
    border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 238, 223, 0.92));
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hero-stat-card::after {
    content: "";
    position: absolute;
    inset: auto -18% -50% auto;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 178, 127, 0.22), transparent 72%);
    pointer-events: none;
}

.hero-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

body.dark-theme .hero-stat-card {
    background:
        linear-gradient(180deg, rgba(47, 37, 31, 0.96), rgba(34, 26, 22, 0.96));
}

.hero-stat-label,
.hero-stat-meta {
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hero-stat-card strong {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 0.95;
}

.hero-stat-meta {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.hero-runtime-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.runtime-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.66);
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
}

.runtime-chip strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
}

.runtime-chip--2d { border-color: rgba(152, 114, 68, 0.22); }
.runtime-chip--3d { border-color: rgba(102, 148, 186, 0.34); }
.runtime-chip--io { border-color: rgba(101, 169, 136, 0.34); }
.runtime-chip--static { border-color: rgba(153, 138, 120, 0.28); }

.runtime-chip--waiting {
    background: var(--surface-strong);
}

.hero-badge,
.chip,
.pill,
.game-category-pill,
.game-age-pill,
.section-status-pill,
.favorite-tag,
.workflow-stats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.82rem;
}

body.dark-theme .hero-badge,
body.dark-theme .chip,
body.dark-theme .pill,
body.dark-theme .game-category-pill,
body.dark-theme .game-age-pill,
body.dark-theme .favorite-tag,
body.dark-theme .workflow-stats {
    background: linear-gradient(180deg, rgba(47, 37, 31, 0.95), rgba(33, 25, 21, 0.96));
    border-color: rgba(223, 196, 160, 0.16);
    color: var(--text-secondary);
}

.section-status-pill {
    min-width: 172px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.62), transparent 48%),
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 26%, white), var(--surface-strong));
    border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(91, 64, 40, 0.1);
}

body.dark-theme .section-status-pill {
    background:
        radial-gradient(circle at top, rgba(255, 248, 237, 0.14), transparent 48%),
        linear-gradient(135deg, rgba(68, 52, 41, 0.98), rgba(35, 27, 22, 0.98));
    border-color: rgba(223, 196, 160, 0.24);
    color: var(--text-primary);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
}

.section-status-pill .gh-icon {
    width: 1rem;
    height: 1rem;
    flex-basis: 1rem;
}

.section-status-pill .status-copy {
    display: grid;
    gap: 2px;
    text-align: left;
}

.section-status-pill strong {
    font-family: var(--font-display);
    font-size: 1.16rem;
    line-height: 1;
}

.section-status-pill .status-label,
.section-status-pill .status-detail {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

body.dark-theme .section-status-pill .status-label,
body.dark-theme .section-status-pill .status-detail,
body.dark-theme .quick-launch-insight-kicker,
body.dark-theme .quick-launch-insight-grid span,
body.dark-theme .quick-launch-kicker,
body.dark-theme .game-card-topline,
body.dark-theme .game-card-meta,
body.dark-theme .favorite-copy-top,
body.dark-theme .filter-label,
body.dark-theme .search-bar .gh-icon {
    color: #d8c3a8;
}

body.dark-theme .runtime-chip {
    background: rgba(41, 31, 26, 0.92);
    border-color: rgba(223, 196, 160, 0.16);
    color: var(--text-secondary);
}

body.dark-theme .runtime-chip strong {
    color: var(--text-primary);
}

.section-status-pill .status-detail {
    display: block;
    width: 100%;
    padding-top: 2px;
    text-align: left;
}

.hero-showcase {
    display: grid;
    gap: 18px;
    position: relative;
    z-index: 1;
    perspective: 1200px;
}

.showcase-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--showcase-accent, var(--accent)) 30%, transparent), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(244, 232, 214, 0.54));
    border: 1px solid color-mix(in srgb, var(--showcase-accent, var(--accent)) 16%, var(--border));
    box-shadow: var(--shadow-md);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.showcase-card::after,
.game-card::after,
.quick-launch-card::after,
.favorite-spotlight::after,
.workflow-card::after {
    content: "";
    position: absolute;
    top: -32%;
    left: -36%;
    width: 36%;
    height: 170%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: rotate(18deg) translateX(-180%);
    transition: transform 0.9s ease;
    pointer-events: none;
}

body.dark-theme .showcase-card {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--showcase-accent, var(--accent)) 20%, transparent), transparent 34%),
        linear-gradient(180deg, rgba(52, 40, 33, 0.88), rgba(33, 25, 20, 0.84));
}

body.dark-theme .showcase-card::after,
body.dark-theme .game-card::after,
body.dark-theme .quick-launch-card::after,
body.dark-theme .favorite-spotlight::after,
body.dark-theme .workflow-card::after {
    background: linear-gradient(90deg, transparent, rgba(255, 244, 226, 0.08), transparent);
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.showcase-card:hover::after,
.game-card:hover::after,
.quick-launch-card:hover::after,
.favorite-spotlight:hover::after,
.workflow-card:hover::after {
    transform: rotate(18deg) translateX(420%);
}

.showcase-card.main h3,
.favorite-copy h3,
.game-card h3,
.workflow-card h3,
.feature h3,
.headline-card h2,
.footer-brand h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
}

.showcase-card.main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 42%);
    align-items: stretch;
    min-height: 320px;
    padding: 0;
}

.showcase-copy-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    gap: 14px;
    padding: 28px;
}

.showcase-card.main > .showcase-copy-wrap:only-child {
    grid-column: 1 / -1;
}

.showcase-visual {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
}

.showcase-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(0.92) contrast(0.94);
}

.showcase-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(270deg, rgba(255, 251, 244, 0.02) 0%, rgba(255, 251, 244, 0.68) 86%),
        linear-gradient(180deg, rgba(38, 29, 22, 0.04), transparent 40%);
}

body.dark-theme .showcase-visual::after {
    background:
        linear-gradient(270deg, rgba(20, 15, 13, 0.18) 0%, rgba(20, 15, 13, 0.76) 86%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
}

.showcase-visual-glow {
    position: absolute;
    inset: auto -18% -22% auto;
    width: 58%;
    height: 58%;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--showcase-accent, var(--accent)) 22%, white), transparent 70%);
    opacity: 0.9;
    filter: blur(16px);
    animation: slowPulse 8s ease-in-out infinite;
}

.showcase-side {
    display: grid;
    gap: 18px;
}

.showcase-card.mini {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 132px;
}

.showcase-icon,
.feature-icon,
.favorite-rank,
.workflow-step {
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--button-ink);
    box-shadow: var(--button-shadow);
}

.showcase-icon,
.feature-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.showcase-icon .gh-icon,
.feature-icon .gh-icon {
    width: 1.28rem;
    height: 1.28rem;
}

.scroll-cue .gh-icon,
.scroll-to-top .gh-icon {
    width: 1rem;
    height: 1rem;
}

.showcase-card.mini h4 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.06rem;
}

.showcase-card.mini p {
    margin: 0;
    line-height: 1.6;
}

.scroll-cue {
    width: 54px;
    height: 54px;
    margin: 26px auto 0;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    animation: bounce 2.2s infinite;
}

.search-section,
.favorites-section,
.games-section,
.workflow-section {
    padding: 30px;
}

.search-section {
    display: grid;
    gap: 20px;
}

.section-heading {
    max-width: 760px;
    display: grid;
    gap: 10px;
}

.section-heading h2,
.headline-card h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-heading);
    line-height: 0.96;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.section-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: start;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 238, 225, 0.92));
    border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
    box-shadow: 0 18px 34px rgba(58, 42, 30, 0.08);
}

body.dark-theme .search-bar {
    background:
        linear-gradient(180deg, rgba(44, 34, 28, 0.96), rgba(30, 23, 19, 0.98));
    border-color: rgba(223, 196, 160, 0.16);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.22);
}

.search-bar .gh-icon {
    color: var(--text-muted);
}

.search-bar input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
}

body.dark-theme .search-bar input::placeholder {
    color: rgba(234, 223, 206, 0.66);
}

.filter-toolbar {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

body.dark-theme .filter-chip {
    background: rgba(39, 30, 25, 0.92);
    border-color: rgba(223, 196, 160, 0.14);
    color: var(--text-secondary);
}

.filter-chip:hover {
    transform: translateY(-2px);
}

.filter-chip.active {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 26%, transparent), rgba(255, 255, 255, 0.92));
    border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
    color: var(--text-primary);
    box-shadow: 0 14px 28px rgba(141, 101, 70, 0.12);
}

body.dark-theme .filter-chip.active {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 26%, rgba(24, 18, 15, 0.82)), rgba(33, 25, 21, 0.94));
}

.headline-card {
    padding: 34px;
    text-align: center;
}

.headline-card span {
    color: var(--accent-strong);
}

.headline-card code,
.feature code,
.workflow-card code {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--text-primary);
    font-family: inherit;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature {
    padding: 26px;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature::after {
    content: "";
    position: absolute;
    inset: auto -18% -30% auto;
    width: 58%;
    height: 58%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 180, 126, 0.18), transparent 72%);
    pointer-events: none;
}

.feature-icon {
    margin-bottom: 18px;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.favorites-container,
.game-cards,
.quick-launch-grid {
    margin-top: 20px;
}

.favorite-game-cards,
.game-cards,
.quick-launch-grid,
.workflow-grid {
    display: grid;
    gap: 20px;
}

.game-cards {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.quick-launch-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch;
}

.quick-launch-section .section-heading-row > div {
    max-width: 46rem;
}

.quick-launch-section .section-heading h2 {
    margin: 0;
    max-width: 10ch;
    font-size: clamp(2.6rem, 3.7vw, 4.05rem);
    font-family: var(--font-display);
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.quick-launch-section {
    position: relative;
    overflow: hidden;
}

.quick-launch-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 22px;
}

.quick-launch-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 18%, rgba(224, 203, 171, 0.34), transparent 28%),
        radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.48), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 36%);
    pointer-events: none;
}

.quick-launch-section .section-heading-row {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 24px 26px;
    border-bottom: 0;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.78), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 233, 217, 0.88));
    border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
    box-shadow: 0 22px 46px rgba(58, 42, 30, 0.09);
}

body.dark-theme .quick-launch-section .section-heading-row {
    background:
        radial-gradient(circle at top right, rgba(78, 58, 46, 0.26), transparent 30%),
        linear-gradient(180deg, rgba(37, 28, 23, 0.96), rgba(25, 19, 16, 0.96));
}

.quick-launch-section .section-heading-row::before,
.quick-launch-section .section-heading-row::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.quick-launch-section .section-heading-row::before {
    right: 48px;
    top: 34px;
    width: 142px;
    height: 142px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 180, 126, 0.18), rgba(214, 180, 126, 0.02) 72%, transparent 100%);
    filter: blur(2px);
}

.quick-launch-section .section-heading-row::after {
    right: 34px;
    bottom: 26px;
    width: 176px;
    height: 112px;
    border-radius: 28px;
    border: 1px solid rgba(201, 162, 109, 0.24);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(248, 234, 212, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    transform: rotate(-8deg);
}

.quick-launch-section .section-heading-row > div {
    display: grid;
    gap: 12px;
    align-content: start;
    position: relative;
    z-index: 1;
}

.quick-launch-section .section-copy {
    max-width: 29ch;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.78;
}

.quick-launch-section .section-kicker {
    margin-bottom: 2px;
}

.quick-launch-section .section-status-pill {
    position: relative;
    z-index: 1;
    min-width: 196px;
    justify-self: end;
    align-self: start;
}

.quick-launch-insight {
    position: relative;
    z-index: 1;
}

.quick-launch-insight-card {
    height: 100%;
    padding: 24px 24px 22px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--card-accent, var(--accent)) 26%, transparent), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 235, 220, 0.88));
    border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 18%, var(--border));
    box-shadow: 0 22px 46px rgba(58, 42, 30, 0.1);
    display: grid;
    gap: 16px;
    align-content: start;
}

body.dark-theme .quick-launch-insight-card {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--card-accent, var(--accent)) 18%, transparent), transparent 38%),
        linear-gradient(180deg, rgba(43, 33, 27, 0.98), rgba(28, 21, 18, 0.96));
}

body.dark-theme .quick-launch-insight-grid article {
    background: rgba(53, 40, 33, 0.82);
    border-color: rgba(223, 196, 160, 0.16);
}

.quick-launch-insight-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.quick-launch-insight-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.quick-launch-insight-top strong {
    font-family: var(--font-display);
    font-size: 0.96rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: right;
}

.quick-launch-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.quick-launch-insight-grid article {
    padding: 13px 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--border));
    display: grid;
    gap: 6px;
}

body.dark-theme .quick-launch-insight-grid article {
    background: rgba(49, 37, 31, 0.72);
}

.quick-launch-insight-grid span {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.quick-launch-insight-grid strong {
    font-family: var(--font-display);
    font-size: 1.44rem;
    line-height: 1;
}

.quick-launch-insight-copy {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.74;
    max-width: 34ch;
}

.quick-launch-insight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.favorite-game-cards {
    grid-template-columns: 1fr;
}

.game-card,
.quick-launch-card,
.favorite-spotlight,
.workflow-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--card-accent, var(--accent)) 24%, transparent), transparent 35%),
        linear-gradient(180deg, var(--card-solid), rgba(247, 237, 224, 0.94));
    border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 14%, var(--border));
    box-shadow: 0 22px 46px rgba(58, 42, 30, 0.09);
    transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}

body.dark-theme .game-card,
body.dark-theme .quick-launch-card,
body.dark-theme .favorite-spotlight,
body.dark-theme .workflow-card {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--card-accent, var(--accent)) 18%, transparent), transparent 34%),
        linear-gradient(180deg, rgba(43, 33, 27, 0.98), rgba(28, 21, 18, 0.96));
}

.game-card::before,
.quick-launch-card::before,
.favorite-spotlight::before,
.workflow-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--card-accent, var(--accent)) 76%, transparent), transparent 84%);
    opacity: 0.98;
}

.game-card:hover,
.quick-launch-card:hover,
.favorite-spotlight:hover,
.workflow-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.game-card,
.quick-launch-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    cursor: pointer;
}

.favorite-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 999px;
    cursor: pointer;
    z-index: 2;
}

.favorite-icon.active {
    background: linear-gradient(135deg, #d48e88, #b35d5d);
    border-color: transparent;
    color: #fff7f3;
}

.game-thumbnail {
    position: relative;
    padding: 18px 18px 0;
}

.game-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.game-badge-row {
    position: absolute;
    left: 30px;
    bottom: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.game-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px 20px;
}

.game-card-topline,
.game-card-meta,
.favorite-copy-top {
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.game-card h3 {
    font-size: 1.2rem;
}

.quick-launch-card {
    padding: 0;
    gap: 0;
    isolation: isolate;
}

.quick-launch-visual {
    position: relative;
    min-height: 190px;
    overflow: hidden;
}

.quick-launch-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.94) contrast(0.92);
    transform: scale(1.03);
}

.quick-launch-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(34, 26, 22, 0.04), rgba(34, 26, 22, 0.26)),
        linear-gradient(180deg, rgba(255, 251, 244, 0.08), rgba(255, 251, 244, 0.02) 40%, rgba(255, 251, 244, 0.78) 100%);
}

body.dark-theme .quick-launch-visual-overlay {
    background:
        linear-gradient(180deg, rgba(16, 12, 10, 0.18), rgba(16, 12, 10, 0.48)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 40%, rgba(16, 12, 10, 0.72) 100%);
}

.quick-launch-top,
.quick-launch-meta,
.quick-launch-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-launch-top {
    align-items: flex-start;
    position: absolute;
    inset: 18px 18px auto 18px;
    z-index: 1;
}

.quick-launch-top .chip,
.quick-launch-top .runtime-pill {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.82);
}

body.dark-theme .quick-launch-top .chip,
body.dark-theme .quick-launch-top .runtime-pill {
    background: rgba(35, 27, 22, 0.88);
    border-color: rgba(223, 196, 160, 0.18);
    color: var(--text-secondary);
}

.quick-launch-body {
    display: grid;
    gap: 16px;
    padding: 22px;
    min-height: 100%;
    align-content: start;
}

.quick-launch-copy-block {
    display: grid;
    gap: 10px;
}

.quick-launch-kicker {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.quick-launch-title {
    margin: 0;
    font-size: 1.44rem;
    line-height: 0.94;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.quick-launch-copy {
    margin: 0;
    color: var(--text-secondary);
    min-height: 4.4em;
    max-width: 32ch;
    line-height: 1.64;
}

.runtime-pill,
.load-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-strong) 74%, white);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.dark-theme .runtime-pill,
body.dark-theme .load-pill {
    background: rgba(40, 31, 27, 0.92);
    border-color: rgba(223, 196, 160, 0.16);
    color: var(--text-secondary);
}

.game-summary {
    margin: 0;
    min-height: 5.2em;
}

.quick-launch-meta {
    margin-top: auto;
    padding-top: 2px;
}

.quick-launch-actions {
    padding: 4px 0 0;
}

.quick-launch-actions .play-button,
.quick-launch-actions .favorite-button {
    flex: 1 1 140px;
}

.quick-launch-actions .play-button {
    font-weight: 700;
}

.quick-launch-card.is-lead {
    grid-column: span 2;
    min-height: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
}

.quick-launch-card.is-lead .quick-launch-visual {
    min-height: 100%;
}

.quick-launch-card.is-lead .quick-launch-title {
    font-size: clamp(1.76rem, 2.7vw, 2.4rem);
    font-family: var(--font-heading);
    line-height: 0.92;
}

.quick-launch-card.is-lead .quick-launch-copy {
    max-width: 44ch;
    min-height: 0;
}

.quick-launch-card.is-lead .quick-launch-body {
    padding: 26px;
    align-content: center;
}

.quick-launch-card:hover .quick-launch-visual img {
    transform: scale(1.06);
}

.game-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.game-actions button {
    flex: 1 1 140px;
}

.favorite-spotlight {
    display: grid;
    grid-template-columns: 76px 200px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    cursor: pointer;
}

.favorite-rank,
.workflow-step {
    width: 76px;
    height: 76px;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.favorite-thumb img {
    width: 200px;
    height: 128px;
    object-fit: cover;
    border-radius: 20px;
}

.favorite-copy h3,
.workflow-card h3 {
    font-size: 1.08rem;
}

.favorite-copy p {
    margin: 0;
}

.favorite-actions {
    justify-content: flex-end;
}

.compact {
    min-width: 132px;
}

.no-favorites-message,
.empty-grid {
    display: none;
    justify-items: center;
    text-align: center;
    gap: 12px;
    padding: 32px 20px;
    border-radius: 28px;
    background: var(--surface-strong);
    border: 1px dashed var(--border-strong);
    color: var(--text-secondary);
}

.no-favorites-message.visible,
.empty-grid {
    display: grid;
}

.empty-heart,
.empty-grid .gh-icon {
    font-size: 1.8rem;
    color: var(--accent);
}

.workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}

.workflow-card {
    padding: 26px;
}

.workflow-step {
    margin-bottom: 18px;
}

.workflow-stats {
    margin-top: 16px;
}

.site-footer {
    padding: 32px;
    margin-bottom: 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.72fr));
    gap: 26px;
}

.footer-brand h3 {
    font-size: 1.4rem;
}

.footer-summary {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 20px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
}

.footer-links {
    display: grid;
    gap: 12px;
    align-content: start;
}

.footer-links h4 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
}

.footer-links a {
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: transform var(--transition), color var(--transition), border-color var(--transition);
}

.footer-links a:hover {
    transform: translateY(-2px);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.footer-bottom {
    justify-content: space-between;
    align-items: center;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.public-release-strip-footer {
    margin-left: auto;
    justify-content: flex-end;
}

@keyframes publicReleaseFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    45% {
        transform: translateY(-1px);
    }
}

@keyframes publicReleaseSweep {
    0%,
    54% {
        transform: translateX(-120%);
    }

    76%,
    100% {
        transform: translateX(120%);
    }
}

@keyframes publicReleasePulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 36%, transparent);
    }

    48% {
        box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 0%, transparent);
    }
}

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(248, 244, 236, 0.95);
    backdrop-filter: blur(12px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.dark-theme .loading-overlay {
    background: rgba(17, 13, 11, 0.95);
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-container {
    display: grid;
    justify-items: center;
    gap: 18px;
}

.loader {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    border: 3px solid rgba(201, 162, 109, 0.18);
    border-top-color: var(--accent);
    border-right-color: var(--accent-strong);
    animation: spin 1s linear infinite;
}

.loading-text {
    margin: 0;
    color: var(--text-secondary);
}

.custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 109, 0.7);
    background: rgba(201, 162, 109, 0.14);
    pointer-events: none;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
    will-change: transform;
}

.custom-cursor.hover {
    width: 34px;
    height: 34px;
    background: rgba(201, 162, 109, 0.22);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%) translateY(10px);
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--button-ink);
    box-shadow: var(--button-shadow);
    opacity: 0;
    visibility: hidden;
}

.toast.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.section-reveal {
    opacity: 0;
    filter: blur(18px);
    transform: translateY(34px);
    transition:
        opacity 0.7s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.section-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

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

.gamehub-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 232, 214, 0.92));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-sm);
    perspective: 1200px;
}

body.dark-theme .gamehub-container {
    background: linear-gradient(135deg, rgba(40, 31, 25, 0.95), rgba(57, 43, 35, 0.92));
}

.gamehub-text {
    display: flex;
    gap: 8px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 2.15rem;
    line-height: 1;
}

.letter {
    position: relative;
    width: 38px;
    height: 52px;
    transform-style: preserve-3d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

.letter::before,
.letter::after,
.letter .face-top,
.letter .face-bottom,
.letter .face-left,
.letter .face-right {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    color: var(--button-ink);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 10px 18px rgba(141, 101, 70, 0.2);
    backface-visibility: hidden;
}

.letter::before {
    content: attr(data-letter);
    transform: translateZ(16px);
}

.letter::after {
    content: attr(data-letter);
    transform: rotateY(180deg) translateZ(16px);
}

.letter .face-top {
    transform: rotateX(90deg) translateZ(16px);
}

.letter .face-bottom {
    transform: rotateX(-90deg) translateZ(16px);
}

.letter .face-left {
    transform: rotateY(-90deg) translateZ(16px);
}

.letter .face-right {
    transform: rotateY(90deg) translateZ(16px);
}

.letter.rotating {
    animation: rotateCube 0.76s ease-in-out forwards;
}

.gamehub-container.animating {
    box-shadow: 0 0 0 1px var(--border-strong), 0 18px 38px rgba(201, 162, 109, 0.18);
}

#hamburger-menu {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 5;
}

.hamburger-icon {
    width: 56px;
    height: 56px;
    display: none;
    border-radius: 18px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-primary);
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger-icon.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu {
    position: absolute;
    top: 68px;
    right: 0;
    min-width: 220px;
    padding: 14px;
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    background: transparent;
    color: var(--text-secondary);
}

.menu a:hover,
.menu a.active {
    background: var(--accent-soft);
    color: var(--text-primary);
}

.menu-release-strip {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.menu-release-strip .public-release-badge {
    width: 100%;
    justify-content: center;
    font-size: 0.62rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes driftY {
    from {
        transform: translate3d(0, -12px, 0);
    }

    to {
        transform: translate3d(0, 16px, 0);
    }
}

@keyframes slowPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.82;
    }

    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg) translateY(0);
    }

    50% {
        transform: rotateX(24deg) rotateY(180deg) translateY(-4px);
    }

    100% {
        transform: rotateX(0deg) rotateY(360deg) translateY(0);
    }
}

@media (max-width: 1100px) {
    .header-inner,
    .hero-grid,
    .feature-strip,
    .workflow-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        align-items: start;
    }

    .header-panel {
        width: 100%;
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .header-panel-top {
        flex-wrap: wrap;
    }

    .header-actions {
        justify-content: flex-start;
    }

    .site-nav {
        width: 100%;
    }

    .showcase-card.main {
        grid-template-columns: 1fr;
    }

    .showcase-visual {
        min-height: 220px;
    }

    .quick-launch-shell {
        grid-template-columns: 1fr;
    }

    .quick-launch-section .section-heading-row::before,
    .quick-launch-section .section-heading-row::after {
        display: none;
    }

    .quick-launch-card.is-lead {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .favorite-spotlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .favorite-rank,
    .favorite-thumb img {
        margin: 0 auto;
    }

    .favorite-actions,
    .favorite-copy-top {
        justify-content: center;
    }
}

@media (max-width: 860px) {
    .header-panel {
        display: none;
    }

    .hamburger-icon {
        display: flex;
    }

    #hamburger-menu {
        display: block;
    }

    .site-header {
        padding-right: 92px;
    }
}

@media (max-width: 720px) {
    .hero-section,
    .search-section,
    .quick-launch-section,
    .favorites-section,
    .games-section,
    .workflow-section,
    .site-footer,
    .headline-card {
        padding: 22px;
    }

    .hero-section,
    .search-section,
    .headline-section,
    .quick-launch-section,
    .feature-strip,
    .favorites-section,
    .games-section,
    .workflow-section,
    .site-footer {
        width: min(100%, calc(100% - 20px));
    }

    .site-header {
        padding: 18px 10px 6px;
    }

    .header-inner {
        padding: 18px;
    }

    .brand-lockup {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .gamehub-text {
        gap: 6px;
        font-size: 1.6rem;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .quick-launch-section .section-heading-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 18px;
    }

    .quick-launch-section .section-heading h2 {
        max-width: 11ch;
        font-size: clamp(2.2rem, 8.8vw, 3.15rem);
    }

    .quick-launch-section .section-copy {
        max-width: 100%;
        font-size: 0.98rem;
    }

    .quick-launch-section .section-status-pill {
        justify-self: start;
        min-width: 0;
    }

    .hero-runtime-strip {
        gap: 8px;
    }

    .letter {
        width: 28px;
        height: 42px;
    }

    .favorite-game-cards,
    .quick-launch-grid,
    .workflow-grid,
    .feature-strip {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        grid-template-columns: 1fr;
    }

    .quick-launch-insight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-release-strip,
    .public-release-strip-footer {
        justify-content: flex-start;
        margin-left: 0;
    }

    .public-release-badge {
        min-height: 32px;
        padding: 7px 11px;
        font-size: 0.66rem;
        letter-spacing: 0.11em;
    }

    .game-cards {
        grid-template-columns: 1fr;
    }

    .game-actions button,
    .compact {
        width: 100%;
        min-width: 0;
    }

    .quick-launch-card {
        padding: 0;
    }

    .quick-launch-body {
        padding: 18px;
    }

    .quick-launch-insight-card {
        padding: 20px;
    }

    .quick-launch-insight-grid {
        grid-template-columns: 1fr;
    }

    .quick-launch-card.is-lead .quick-launch-visual {
        min-height: 190px;
    }

    .scroll-cue {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-release-badge,
    .public-release-badge::after,
    .public-release-dot {
        animation: none !important;
    }
}

/* Restored public header scale with horizontal quick actions. */
.site-header {
    padding: 28px 20px 10px;
}

.header-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    align-items: center;
    gap: 24px;
    padding: 22px 26px;
    border-radius: 30px;
}

.header-inner::after {
    width: 24rem;
    height: 24rem;
    opacity: 1;
}

.brand-lockup {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.gamehub-container {
    padding: 14px 18px;
    border-radius: 26px;
}

.gamehub-text {
    gap: 8px;
    font-size: 2.15rem;
}

.letter {
    width: 38px;
    height: 52px;
}

.letter::before {
    transform: translateZ(16px);
}

.letter::after {
    transform: rotateY(180deg) translateZ(16px);
}

.letter .face-top {
    transform: rotateX(90deg) translateZ(16px);
}

.letter .face-bottom {
    transform: rotateX(-90deg) translateZ(16px);
}

.letter .face-left {
    transform: rotateY(-90deg) translateZ(16px);
}

.letter .face-right {
    transform: rotateY(90deg) translateZ(16px);
}

.brand-note-top {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
}

.brand-note-bottom {
    font-size: 1rem;
}

.header-panel {
    min-width: 0;
    display: grid;
    gap: 18px;
    padding-left: 24px;
    border-left: 1px solid var(--border);
}

.header-panel-top {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-content: stretch;
    gap: 14px;
}

.header-panel-copy {
    display: grid;
    width: 100%;
    max-width: none;
}

.header-panel-text {
    max-width: none;
    text-wrap: balance;
}

.site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.site-nav a {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 20px;
}

.header-actions {
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.header-actions::-webkit-scrollbar {
    display: none;
}

.header-pill,
.theme-toggle {
    flex: 0 0 auto;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    white-space: nowrap;
}

.public-release-strip {
    justify-content: flex-start;
    gap: 8px;
}

.public-release-badge {
    min-height: 34px;
    padding: 8px 14px;
    font-size: 0.7rem;
}

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .header-panel {
        width: 100%;
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .header-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .header-panel {
        display: none;
    }

    .site-header {
        padding-right: 92px;
    }
}

@media (max-width: 720px) {
    .site-header {
        padding: 14px 10px 6px;
    }

    .header-inner {
        padding: 18px;
    }

    .brand-lockup {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .gamehub-text {
        font-size: 1.8rem;
    }

    .letter {
        width: 28px;
        height: 42px;
    }
}

/* Public GameHub reveal stability */
@media (max-width: 720px) {
    .section-reveal {
        transform: translateY(18px);
        filter: blur(7px);
        transition:
            opacity 0.52s ease,
            transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
            filter 0.52s ease;
    }

    .games-section.section-reveal,
    .game-card {
        will-change: opacity, transform, filter;
    }
}
