:root {
    --bg: #07071A;
    --bg2: #0C0C22;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --primary: #6B3EFF;
    --primary-dim: rgba(107, 62, 255, 0.18);
    --primary-glow: rgba(107, 62, 255, 0.35);
    --secondary: #FF4F7A;
    --secondary-dim: rgba(255, 79, 122, 0.15);
    --teal: #2BCDE4;
    --teal-dim: rgba(43, 205, 228, 0.15);
    --green: #3ECF8E;
    --green-dim: rgba(62, 207, 142, 0.15);
    --text: #DCE8FF;
    --text-dim: #8A9DC0;
    --text-muted: #4A5878;
    --code-bg: #0D0D28;
    --font-head: 'Manrope', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-logo: 'League Spartan', system-ui, sans-serif;
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 62, 255, .3) transparent;
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: transparent
}

::-webkit-scrollbar-thumb {
    background: rgba(107, 62, 255, .3);
    border-radius: 99px
}

canvas.starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.lead {
    font-size: .95rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 32px;
}

.aurora::before {
    content: '';
    position: absolute;
    width: 900px;
    height: 700px;
    left: -200px;
    top: -200px;
    background: radial-gradient(ellipse, rgba(107, 62, 255, .18) 0%, transparent 70%);
    border-radius: 50%;
    animation: drift1 22s ease-in-out infinite;
}

.aurora::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 600px;
    right: -150px;
    bottom: -100px;
    background: radial-gradient(ellipse, rgba(255, 79, 122, .12) 0%, transparent 70%);
    border-radius: 50%;
    animation: drift2 28s ease-in-out infinite;
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) scale(1) }
    50% { transform: translate(60px, -40px) scale(1.1) }
}

@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1) }
    50% { transform: translate(-50px, 40px) scale(1.08) }
}

.wrap {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1
}

main.page-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

header.site-header {
    width: calc(100% - 40px);
    margin: 16px auto 0;
    padding: 10px 20px;
    background: rgba(7, 7, 26, 0.75);
    border: 1px solid var(--border);
    border-radius: 99px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 16px;
    z-index: 100;
    box-shadow: 0 4px 32px rgba(0, 0, 0, .4), 0 0 0 1px rgba(107, 62, 255, .06);
    transition: background .3s, box-shadow .3s;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: contain;
}

.logo-title {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
    margin-left: 12px;
    white-space: nowrap;
    line-height: 1;
    transform: translateY(2px);
}

.header-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.header-nav a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .88rem;
    color: var(--text-dim);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 99px;
    transition: color .2s, background .2s;
    letter-spacing: .2px;
}

.header-nav a:hover {
    color: var(--text);
    background: var(--surface)
}

.header-nav a.active {
    color: var(--text);
    background: var(--surface);
    font-weight: 600
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .2s var(--ease-spring), box-shadow .2s, background .2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #9B6FFF);
    color: #fff;
    box-shadow: 0 8px 32px var(--primary-glow), 0 0 0 1px rgba(107, 62, 255, .3);
}

.btn-primary:hover {
    transform: scale(1.04) translateY(-1px);
    box-shadow: 0 16px 48px var(--primary-glow);
}

.btn-secondary,
.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    transform: scale(1.04) translateY(-1px);
}

.btn-ghost:hover {
    background: var(--surface-hover);
    transform: scale(1.04);
}

.btn-github {
    background: rgba(255, 255, 255, .08);
    color: var(--text);
    border: 1px solid var(--border);
    gap: 10px;
}

.btn-github:hover {
    background: rgba(255, 255, 255, .12);
    transform: scale(1.04);
}

.btn-github img {
    width: 18px;
    height: 18px;
    filter: invert(1) brightness(.8);
}

.cta-group,
.btn-row,
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta {
    justify-content: flex-start;
    align-items: center
}

.btn-row {
    margin-bottom: 24px;
    margin-top: 24px;
}

.eyebrow,
.hero-eyebrow,
.page-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 7px 14px;
    border-radius: 99px;
    background: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.hero-eyebrow {
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.eyebrow.green {
    color: var(--green);
    background: var(--green-dim);
    border-color: rgba(62, 207, 142, .2);
}

.hero-eyebrow span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--teal);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1) }
    50% { opacity: .6; transform: scale(.8) }
}

.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-dim);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: color .2s, background .2s, transform .2s;
}

.back-link:hover {
    color: var(--text);
    background: var(--surface-hover);
    transform: scale(1.03)
}

.small-muted {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 20px
}

.small-muted a {
    color: var(--text-dim);
    text-decoration: underline;
    text-underline-offset: 3px
}

.muted {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: 8px;
    margin-bottom: 24px
}

.inner {
    width: 100%;
    max-width: 600px;
    text-align: center
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background: url("assets/hero-bg4.png") center/cover no-repeat;
    opacity: .75;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(38px, 6vw, 80px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-dim);
    max-width: 52ch;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.games-section {
    padding: 60px 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

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

.game-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5), 0 0 0 1px var(--border-strong);
    border-color: rgba(107, 62, 255, .3);
}

.game-thumb {
    position: relative;
    background: #0A0A1C;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease-out);
}

.game-card:hover .game-thumb img {
    transform: scale(1.04)
}

.game-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .3px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .1);
}

.game-body {
    padding: 18px
}

.game-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 6px;
}

.game-desc {
    font-size: .85rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 16px
}

.game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.game-players {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-dim);
}

.game-players::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #3ECF8E;
    border-radius: 50%;
    box-shadow: 0 0 8px #3ECF8E;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), #9B6FFF);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px var(--primary-glow);
    transition: transform .2s var(--ease-spring), box-shadow .2s;
}

.play-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 24px var(--primary-glow)
}

.cta-section {
    padding: 60px 24px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(107, 62, 255, .12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.cta-card p {
    color: var(--text-dim);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 28px
}

.about-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background: url("assets/hero-bg6.png") center/cover no-repeat;
    opacity: .75;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px
}

.about-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 18px;
}

.about-hero .lead {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--text-dim);
    max-width: 54ch;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cards-section {
    padding: 40px 24px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.about-card {
    height: 100%;
    box-sizing: border-box;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 32px 28px;
    transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-dim), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .45), 0 0 0 1px rgba(107, 62, 255, .25);
    border-color: rgba(107, 62, 255, .25);
}

.about-card:hover::after {
    opacity: 1
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    background: var(--primary-dim);
    border: 1px solid rgba(107, 62, 255, .2);
}

.about-card h2 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px
}

.about-card p {
    font-size: .9rem;
    color: var(--text-dim);
    line-height: 1.6
}

.founder-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 16px
}

.founder-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 220, 100, .4);
    box-shadow: 0 8px 32px rgba(255, 220, 100, .15);
    display: block;
}

.founder-x-btn {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg2);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: transform .2s, background .2s;
}

.founder-x-btn:hover {
    transform: scale(1.15);
    background: var(--surface-hover)
}

.founder-x-btn img {
    width: 11px;
    height: 11px;
    filter: invert(1) brightness(.8)
}

.code-404 {
    font-family: var(--font-head);
    font-size: clamp(100px, 20vw, 160px);
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1;
    background: linear-gradient(135deg, rgba(107, 62, 255, .6), rgba(43, 205, 228, .4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    display: block;
}

.contact-page {
    width: 100%;
    max-width: 860px
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
    border-color: rgba(107, 62, 255, .25);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--primary-dim);
    border: 1px solid rgba(107, 62, 255, .2);
    margin-bottom: 18px;
}

.contact-card h3 {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px
}

.contact-card p {
    font-size: .85rem;
    color: var(--text-dim);
    margin-bottom: 16px;
    line-height: 1.5
}

.mail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #9B6FFF);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: transform .2s var(--ease-spring), box-shadow .2s;
}

.mail-link:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px var(--primary-glow)
}

.followus-page {
    width: 100%;
    max-width: 600px;
    text-align: center
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.soc-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 12px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-dim);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .3px;
    transition: transform .25s var(--ease-spring), background .2s, border-color .2s, color .2s, box-shadow .25s;
}

.soc-btn:hover {
    transform: translateY(-6px) scale(1.04);
    background: var(--surface-hover);
    border-color: rgba(107, 62, 255, .35);
    color: var(--text);
    box-shadow: 0 16px 40px rgba(107, 62, 255, .2);
}

.soc-btn img {
    width: 26px;
    height: 26px;
    filter: invert(1) brightness(.7);
    transition: filter .2s
}

.soc-btn:hover img {
    filter: invert(1) brightness(1)
}

.os-hero {
    padding: 100px 24px 60px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.os-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 20px;
    max-width: 14ch;
}

.os-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--green), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.os-hero .lead {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--text-dim);
    max-width: 52ch;
    margin-bottom: 40px;
    line-height: 1.7;
}

.stats-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.stat-num {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.os-content {
    padding: 0 24px 80px;
    max-width: 1100px;
    margin: 0 auto
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.section-title-row h2 {
    font-family: var(--font-head);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.view-all {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-dim);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}

.view-all:hover {
    color: var(--text)
}

.repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 64px;
}

.repo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.repo-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(62, 207, 142, .08) 0%, transparent 70%);
}

.repo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5), 0 0 0 1px rgba(62, 207, 142, .2);
    border-color: rgba(62, 207, 142, .25);
}

.repo-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px
}

.repo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-dim);
    border: 1px solid rgba(62, 207, 142, .2);
    font-size: 18px;
    flex-shrink: 0;
}

.repo-ext-link {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: background .2s, transform .2s;
}

.repo-ext-link:hover {
    background: rgba(255, 255, 255, .1);
    transform: scale(1.1)
}

.repo-ext-link img {
    width: 14px;
    height: 14px;
    filter: invert(1) brightness(.7)
}

.repo-name {
    font-family: var(--font-mono);
    font-size: .9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px
}

.repo-desc {
    font-size: .85rem;
    color: var(--text-dim);
    line-height: 1.5
}

.repo-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.repo-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.tag-luau {
    background: rgba(0, 112, 245, .15);
    color: #60A5FA;
    border: 1px solid rgba(0, 112, 245, .2)
}

.tag-stars {
    background: rgba(255, 200, 0, .1);
    color: #FACC15;
    border: 1px solid rgba(255, 200, 0, .15)
}

.tag-topic {
    background: rgba(107, 62, 255, .15);
    color: #A78BFA;
    border: 1px solid rgba(107, 62, 255, .2)
}

.code-preview {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    font-family: var(--font-mono);
    font-size: .78rem;
    line-height: 1.7;
    color: var(--text-dim);
    overflow: hidden;
    margin-top: 4px;
}

.code-preview .kw {
    color: #C084FC
}

.code-preview .fn {
    color: #60D4FA
}

.code-preview .str {
    color: #A3E635
}

.code-preview .cm {
    color: #4A5878
}

.code-preview .num {
    color: #FB923C
}

.oss-cta {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.oss-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(62, 207, 142, .08) 0%, transparent 70%);
    pointer-events: none;
}

.oss-cta h3 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -.3px;
}

.oss-cta p {
    color: var(--text-dim);
    max-width: 48ch;
    margin: 0 auto 28px;
    font-size: .95rem;
    line-height: 1.7
}

.coming-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #FF9B3D;
    padding: 7px 14px;
    border-radius: 99px;
    background: rgba(255, 155, 61, .1);
    border: 1px solid rgba(255, 155, 61, .25);
    margin-bottom: 28px;
}

.shop-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: var(--primary-dim);
    border: 1px solid rgba(107, 62, 255, .25);
    margin: 0 auto 28px;
}

footer.site-footer {
    background: rgba(6, 6, 18, .8);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(20px);
    margin-top: auto;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 32px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px
}

.footer-tagline {
    font-size: .875rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 28ch;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.fsocial {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
}

.fsocial:hover {
    background: var(--surface-hover);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3)
}

.fsocial img {
    width: 15px;
    height: 15px;
    filter: invert(1) brightness(.7);
    pointer-events: none
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none
}

.footer-col ul li {
    margin-bottom: 10px
}

.footer-col ul li a {
    font-size: .88rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color .2s
}

.footer-col ul li a:hover {
    color: var(--text)
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 32px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: .8rem;
    color: var(--text-muted)
}

.footer-slogan {
    font-size: .8rem;
    color: var(--text-muted)
}

.policy-wrap {
    max-width: 740px;
    margin: 0 auto;
    padding: 72px 24px 100px;
}

.policy-heading {
    margin-bottom: 52px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.policy-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    border-radius: 99px;
}

.policy-heading .page-label {
    margin-bottom: 18px;
}

.policy-heading h1 {
    font-family: var(--font-head);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.05;
}

.policy-heading .policy-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .3px;
}

.policy-heading .policy-meta::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--teal);
}

.policy-highlight {
    background: var(--primary-dim);
    border: 1px solid rgba(107, 62, 255, .22);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 48px;
    font-size: .92rem;
    color: var(--text-dim);
    line-height: 1.75;
}

.policy-highlight strong {
    color: var(--text);
    font-weight: 700;
}

.prose {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.prose h2 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.2px;
    margin-top: 44px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    font-size: .9rem;
    color: var(--text-dim);
    line-height: 1.85;
    margin-bottom: 14px;
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose strong {
    color: var(--text);
    font-weight: 600;
}

.prose a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}

.prose a:hover {
    color: #9B6FFF;
}

.prose ul {
    list-style: none;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prose ul li {
    font-size: .9rem;
    color: var(--text-dim);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    opacity: .7;
}

.prose ul li strong {
    color: var(--text);
    font-weight: 600;
}

.policy-ext-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--primary-dim);
    border: 1px solid rgba(107, 62, 255, .25);
    transition: background .2s, transform .2s var(--ease-spring), box-shadow .2s;
    margin-top: 4px;
}

.policy-ext-link:hover {
    background: rgba(107, 62, 255, .3);
    transform: scale(1.04);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.news-section {
    padding: 60px 24px 100px;
}

.news-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 24px 140px;
}

.news-hero {
    position: relative;
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.news-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    border-radius: 99px;
}

.news-hero .page-label {
    margin-bottom: 20px;
}

.news-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.02;
}

.news-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-hero .lead {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.75;
    max-width: 52ch;
    margin-bottom: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 62, 255, .4), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 72px rgba(0, 0, 0, .55), 0 0 0 1px rgba(107, 62, 255, .25);
    border-color: rgba(107, 62, 255, .3);
}

.news-card:hover::after {
    opacity: 1;
}

.news-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg2);
    text-decoration: none;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out);
}

.news-card:hover .news-thumb img {
    transform: scale(1.06);
}

.news-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 7, 26, .5) 0%, transparent 60%);
    pointer-events: none;
}

.news-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(107, 62, 255, .7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .15);
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.news-date-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.news-date {
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.news-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}

.news-title a {
    color: #fff;
    text-decoration: none;
    transition: color .2s;
    background: linear-gradient(var(--text), var(--text)) no-repeat;
    background-size: 0% 1px;
    background-position: 0 100%;
    transition: background-size .3s, color .2s;
}

.news-title a:hover {
    color: #fff;
    background-size: 100% 1px;
}

.news-desc {
    font-size: .875rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--primary-dim);
    border: 1px solid rgba(107, 62, 255, .2);
    transition: background .2s, transform .2s var(--ease-spring), box-shadow .2s, gap .2s;
}

.news-read-more:hover {
    background: rgba(107, 62, 255, .3);
    transform: scale(1.05);
    box-shadow: 0 4px 16px var(--primary-glow);
    gap: 10px;
}

.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
    font-size: .95rem;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px
    }

    .footer-brand {
        grid-column: 1 / -1
    }

    .about-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 720px) {
    header.site-header {
        border-radius: 20px;
        top: 12px
    }

    .header-nav {
        display: none
    }

    .hero h1 {
        letter-spacing: -1px
    }

    .games-grid {
        grid-template-columns: 1fr
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .footer-bottom {
        justify-content: center;
        text-align: center
    }

    .os-hero {
        padding-top: 80px
    }

    .oss-cta {
        padding: 32px 24px
    }
}

@media (max-width: 680px) {
    header.site-header {
        border-radius: 20px;
        top: 12px
    }

    .header-nav {
        display: none
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .contact-cards {
        grid-template-columns: 1fr
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .footer-bottom {
        justify-content: center;
        text-align: center
    }

    .news-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 520px) {
    header.site-header {
        border-radius: 20px;
        top: 12px
    }

    .header-nav {
        display: none
    }

    .socials-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .footer-bottom {
        justify-content: center;
        text-align: center
    }
}

@media (max-width: 480px) {
    header.site-header {
        width: calc(100% - 20px)
    }

    .footer-brand {
        grid-column: 1 / -1
    }

    .cta-card {
        padding: 32px 20px
    }

    .repos-grid {
        grid-template-columns: 1fr
    }

    .stats-row {
        gap: 24px
    }

    .policy-block {
        padding: 24px 20px
    }

    .policy-page,
    .news-page {
        padding-top: 56px
    }
}

@media (max-width: 380px) {
    .socials-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}