:root {
    color-scheme: dark;
    --bg: #090611;
    --bg-soft: #100a1d;
    --surface: #151020;
    --surface-2: #1c1429;
    --ink: #fff9ff;
    --muted: #b8adc2;
    --pink: #ff078b;
    --pink-bright: #ff3ca7;
    --purple: #8b2cff;
    --cyan: #20e4ff;
    --gold: #ffc552;
    --border: rgba(255, 255, 255, .13);
    --content: 1180px;
    --header-height: 82px;
    font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 15% 12%, rgba(139, 44, 255, .08), transparent 28rem),
        var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

body::selection {
    color: #120717;
    background: var(--pink-bright);
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

.content-width {
    width: min(var(--content), calc(100% - 48px));
    margin-inline: auto;
}

.section-space {
    padding-block: clamp(90px, 11vw, 150px);
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 11px 18px;
    border-radius: 0 0 8px 8px;
    background: var(--cyan);
    color: #071014;
    font-weight: 800;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: rgba(9, 6, 17, .88);
    backdrop-filter: blur(20px);
}

.nav-shell {
    width: min(1320px, calc(100% - 48px));
    min-height: var(--header-height);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 230px 1fr auto;
    align-items: center;
    gap: 32px;
}

.brand-link {
    display: inline-flex;
    width: 188px;
    text-decoration: none;
}

.brand-link img {
    width: 100%;
    height: 58px;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    gap: 38px;
}

.desktop-nav a {
    position: relative;
    padding: 8px 0;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 0;
    left: 50%;
    height: 2px;
    background: var(--pink);
    transition: inset .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    right: 0;
    left: 0;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.header-cta:hover {
    border-color: var(--pink);
    background: rgba(255, 7, 139, .1);
    transform: translateY(-2px);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 5px rgba(255, 7, 139, .13), 0 0 14px var(--pink);
    animation: live-pulse 1.8s ease-in-out infinite;
}

.menu-button,
.mobile-nav {
    display: none;
}

[hidden] {
    display: none !important;
}

.hero {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    padding: clamp(70px, 8vw, 120px) 0 70px;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .34;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to right, #000, transparent 70%);
}

.hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.hero-glow-one {
    top: 14%;
    right: -9%;
    width: min(58vw, 760px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(139, 44, 255, .35), rgba(255, 7, 139, .08) 54%, transparent 70%);
}

.hero-glow-two {
    bottom: -30%;
    left: 13%;
    width: 420px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(32, 228, 255, .14), transparent 68%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(48px, 8vw, 110px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 21px;
    color: var(--pink-bright);
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 30px;
    height: 2px;
    background: currentColor;
    box-shadow: 10px 0 18px currentColor;
}

.hero-copy h1,
.page-hero h1,
.legal-hero h1,
.not-found-page h1 {
    margin-bottom: 28px;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(4.6rem, 8.6vw, 8.6rem);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: .82;
    text-transform: uppercase;
}

.hero-copy h1 span,
h2 em,
.page-hero h1 em {
    color: var(--pink);
    font-style: normal;
    text-shadow: 0 0 32px rgba(255, 7, 139, .22);
}

.hero-copy h1,
.page-hero h1,
.legal-hero h1 {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(3.9rem, 5.2vw, 5.6rem);
    font-weight: 400;
    letter-spacing: -.015em;
    line-height: .96;
}

.hero-lede {
    max-width: 610px;
    margin-bottom: 34px;
    color: #c8bdcf;
    font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 52px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: linear-gradient(135deg, var(--pink), #e70070);
    color: white;
    box-shadow: 0 14px 35px rgba(255, 7, 139, .24);
}

.button-primary:hover {
    box-shadow: 0 18px 44px rgba(255, 7, 139, .36);
}

.button-secondary {
    border-color: var(--border);
    background: rgba(255, 255, 255, .035);
}

.button-secondary:hover {
    border-color: var(--cyan);
    background: rgba(32, 228, 255, .07);
}

.button-light {
    background: white;
    color: #14091a;
}

.hero-note {
    margin-top: 42px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: .78rem;
    letter-spacing: .04em;
    line-height: 1.45;
}

.hero-note strong {
    color: var(--ink);
}

.avatar-stack {
    display: flex;
    padding-left: 17px;
}

.avatar-stack i {
    width: 35px;
    height: 35px;
    margin-left: -17px;
    display: grid;
    place-items: center;
    border: 2px solid var(--bg);
    border-radius: 50%;
    background: var(--purple);
    color: white;
    font-size: .65rem;
    font-style: normal;
    font-weight: 900;
}

.avatar-stack i:nth-child(2) {
    background: var(--cyan);
    color: #071014;
}

.avatar-stack i:nth-child(3) {
    background: var(--pink);
}

.hero-art {
    position: relative;
    min-width: 0;
    perspective: 1000px;
}

.hero-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1.06;
    overflow: hidden;
    border: 1px solid rgba(32, 228, 255, .4);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: 0 35px 100px rgba(0, 0, 0, .52), 0 0 70px rgba(32, 228, 255, .12);
    transform: rotate(2deg);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 52%, rgba(6, 3, 13, .8));
    pointer-events: none;
}

.hero-scene {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.hero-card-label {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.hero-card-label span {
    padding: 5px 9px;
    border: 1px solid var(--cyan);
    border-radius: 999px;
    color: var(--cyan);
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.hero-card-label strong {
    font-size: .95rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.wink-badge {
    position: absolute;
    right: -42px;
    bottom: -48px;
    z-index: 3;
    width: clamp(128px, 15vw, 190px);
    aspect-ratio: 1;
    border: 4px solid var(--pink);
    border-radius: 50%;
    background: #0b0712;
    box-shadow: 0 15px 44px rgba(0, 0, 0, .5), 0 0 40px rgba(255, 7, 139, .28);
    overflow: hidden;
}

.wink-badge img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 112%;
    max-width: none;
    transform: translate(-50%, -44%);
}

.spark {
    position: absolute;
    color: var(--cyan);
    font-size: 2rem;
    filter: drop-shadow(0 0 9px currentColor);
    animation: sparkle 3s ease-in-out infinite;
}

.spark-one {
    top: -33px;
    right: 16%;
}

.spark-two {
    bottom: 6%;
    left: -40px;
    color: var(--pink);
    animation-delay: .9s;
}

.scroll-cue {
    position: absolute;
    bottom: 18px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #776b80;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-cue span {
    width: 1px;
    height: 27px;
    background: linear-gradient(var(--pink), transparent);
}

.brand-banner {
    position: relative;
    z-index: 2;
    height: auto;
    min-height: clamp(170px, 23vw, 270px);
    padding: 28px 24px;
    display: grid;
    place-items: center;
    border-block: 1px solid rgba(255, 255, 255, .11);
    background:
        linear-gradient(90deg, rgba(255, 7, 139, .12), transparent 25%, transparent 75%, rgba(139, 44, 255, .14)),
        #050308;
    overflow: visible;
}

.brand-banner img {
    width: min(1040px, 94%);
    height: auto;
}

.intro-section {
    background: #0d0915;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(50px, 10vw, 150px);
    align-items: end;
}

.section-heading h2,
.spotlight-copy h2,
.social-heading h2,
.story-copy h2,
.values-section h2,
.about-social-inner h2,
.final-cta h2 {
    margin-bottom: 0;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(3.2rem, 6vw, 6rem);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: .9;
    text-transform: uppercase;
}

.section-heading h2,
.spotlight-copy h2,
.social-heading h2,
.story-copy h2,
.about-social-inner h2,
.final-cta h2 {
    font-size: clamp(3.2rem, 5.2vw, 5.6rem);
    font-weight: 400;
    letter-spacing: -.015em;
    line-height: .96;
}

.intro-copy {
    padding-bottom: 7px;
}

.intro-copy p,
.spotlight-copy > p,
.social-heading > p,
.story-copy > p,
.about-social-inner p {
    color: var(--muted);
}

.intro-copy p {
    margin-bottom: 24px;
    font-size: 1.07rem;
}

.text-link,
.feature-card > a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link span,
.feature-card > a span {
    color: var(--pink);
    transition: transform .2s ease;
}

.text-link:hover span,
.feature-card > a:hover span {
    transform: translateX(4px);
}

.feature-grid {
    margin-top: clamp(60px, 8vw, 100px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
}

.feature-card {
    position: relative;
    min-height: 390px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    background: rgba(255, 255, 255, .018);
    overflow: hidden;
    transition: background .25s ease, transform .25s ease;
}

.feature-card:last-child {
    border-right: 0;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: var(--pink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.feature-card:hover {
    z-index: 2;
    background: var(--surface-2);
    transform: translateY(-8px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(255, 255, 255, .18);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.feature-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    background: rgba(255, 7, 139, .09);
    color: var(--pink-bright);
    font-size: .66rem;
    font-weight: 950;
    letter-spacing: .12em;
    transform: rotate(-3deg);
}

.feature-clips .feature-icon {
    background: rgba(32, 228, 255, .08);
    color: var(--cyan);
}

.feature-community .feature-icon {
    background: rgba(139, 44, 255, .12);
    color: #bd8cff;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.24rem;
    line-height: 1.2;
}

.feature-card p {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: .94rem;
}

.feature-card > a {
    margin-top: auto;
}

.spotlight-section {
    position: relative;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 7, 139, .18), transparent 30rem),
        #08050e;
    overflow: hidden;
}

.spotlight-section::after {
    content: "KIKI";
    position: absolute;
    right: -2vw;
    bottom: -10vw;
    color: rgba(255, 255, 255, .025);
    font-family: Impact, sans-serif;
    font-size: 30vw;
    line-height: .8;
    pointer-events: none;
}

.spotlight-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, .9fr) 1.1fr;
    align-items: center;
    gap: clamp(70px, 10vw, 150px);
}

.spotlight-art {
    position: relative;
    min-height: 540px;
    display: grid;
    place-items: center;
}

.portrait-frame {
    width: min(100%, 500px);
    aspect-ratio: .86;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 7, 139, .5);
    border-radius: 180px 180px 16px 16px;
    background: linear-gradient(150deg, #261037, #0b0711 72%);
    box-shadow: inset 0 0 80px rgba(139, 44, 255, .16), 0 25px 80px rgba(0, 0, 0, .5);
    overflow: hidden;
}

.portrait-frame img {
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45));
}

.meow-mark {
    position: absolute;
    right: -28px;
    bottom: 10px;
    width: 170px;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5));
    transform: rotate(7deg);
}

.spotlight-copy h2 {
    margin-bottom: 28px;
}

.spotlight-copy > p {
    max-width: 530px;
    margin-bottom: 34px;
    font-size: 1.05rem;
}

.publisher-section {
    position: relative;
    border-block: 1px solid var(--border);
    background:
        radial-gradient(circle at 12% 30%, rgba(32, 228, 255, .11), transparent 26rem),
        linear-gradient(135deg, #090611, #10081a 60%, #0a0712);
    overflow: hidden;
}

.publisher-section::after {
    content: "PUBLISH";
    position: absolute;
    right: -20px;
    bottom: -80px;
    color: rgba(255, 255, 255, .018);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(8rem, 18vw, 18rem);
    line-height: 1;
    pointer-events: none;
}

.publisher-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: start;
    gap: clamp(55px, 9vw, 130px);
}

.publisher-heading h1,
.publisher-heading h2 {
    margin-bottom: 28px;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(3.2rem, 5.2vw, 5.6rem);
    font-weight: 400;
    letter-spacing: -.015em;
    line-height: .96;
    text-transform: uppercase;
}

.publisher-heading h1 em,
.publisher-heading h2 em {
    color: var(--cyan);
    text-shadow: 0 0 32px rgba(32, 228, 255, .18);
}

.publisher-heading > p:last-child,
.publisher-details article p {
    color: var(--muted);
}

.publisher-details {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .025);
}

.publisher-details article {
    min-height: 185px;
    padding: 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    border-bottom: 1px solid var(--border);
}

.publisher-details article > span {
    color: var(--cyan);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.publisher-details h3 {
    margin-bottom: 11px;
    font-size: 1.2rem;
}

.publisher-policy-links {
    padding: 24px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
}

.publisher-policy-links a {
    color: white;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.publisher-policy-links a:hover {
    color: var(--cyan);
}

.app-product-page {
    min-height: calc(100vh - var(--header-height));
}

.app-product-page .app-legal-nav {
    margin-bottom: clamp(45px, 7vw, 85px);
}

.app-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

.app-legal-nav a {
    padding-bottom: 7px;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.app-legal-nav a:hover,
.app-legal-nav a.active {
    border-color: var(--cyan);
    color: white;
}

.publisher-legal-hero .app-legal-nav {
    margin-bottom: clamp(45px, 6vw, 70px);
}

.legal-content code {
    color: var(--cyan);
    overflow-wrap: anywhere;
}

.social-section {
    background: #100a19;
}

.social-heading {
    margin-bottom: clamp(55px, 8vw, 90px);
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: end;
    gap: 60px;
}

.social-heading > p {
    margin: 0 0 6px;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.social-card {
    min-height: 150px;
    padding: 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    border: 1px solid var(--border);
    background: var(--surface);
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-card .social-abbr {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.social-card .social-abbr img {
    width: 29px;
    height: 29px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-card.youtube .social-abbr {
    background: #ff0033;
}

.social-card.twitch .social-abbr {
    background: #9146ff;
}

.social-card.instagram .social-abbr {
    background: linear-gradient(145deg, #7d2cff, #f00075 56%, #ffbd39);
}

.social-card.facebook .social-abbr {
    background: #1877f2;
}

.social-card > span:nth-child(2) {
    display: grid;
}

.social-card small {
    color: rgba(255, 255, 255, .65);
    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .15em;
}

.social-card strong {
    font-size: 1.35rem;
}

.social-card b {
    font-size: 1.3rem;
    transition: transform .2s ease;
}

.social-card:hover b {
    transform: translate(3px, -3px);
}

.social-card.youtube:hover {
    border-color: #ff3545;
    box-shadow: 0 16px 45px rgba(255, 53, 69, .13);
}

.social-card.twitch:hover {
    border-color: #a970ff;
    box-shadow: 0 16px 45px rgba(169, 112, 255, .13);
}

.social-card.instagram:hover {
    border-color: var(--pink);
    box-shadow: 0 16px 45px rgba(255, 7, 139, .13);
}

.social-card.facebook:hover {
    border-color: #4095ff;
    box-shadow: 0 16px 45px rgba(64, 149, 255, .13);
}

.final-cta {
    background: linear-gradient(115deg, #fb0786, #9a20ee);
}

.final-cta-inner {
    min-height: 300px;
    display: grid;
    grid-template-columns: 210px 1fr auto;
    align-items: center;
    gap: 40px;
}

.final-cta img {
    align-self: center;
    max-height: 250px;
    object-fit: contain;
}

.final-cta .eyebrow {
    color: white;
}

.final-cta h2 {
    font-size: clamp(3.2rem, 5.2vw, 5.6rem);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #050308;
}

.footer-top {
    min-height: 190px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: clamp(35px, 7vw, 90px);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.footer-brand img {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 7, 139, .4);
    border-radius: 50%;
    object-fit: contain;
    background: var(--surface);
}

.footer-brand span {
    display: grid;
}

.footer-brand strong {
    font-size: .94rem;
}

.footer-brand small {
    color: var(--muted);
    font-size: .74rem;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a.active {
    color: white;
}

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

.footer-socials a {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--muted);
    font-size: .59rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.footer-socials a:hover {
    border-color: var(--pink);
    background: rgba(255, 7, 139, .1);
    color: white;
}

.footer-socials img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: #95899b;
    font-size: .67rem;
    letter-spacing: .04em;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 18px;
}

.powered-by {
    padding-left: 18px;
    border-left: 1px solid var(--border);
}

.powered-by a {
    color: #c6a2ff;
    font-family: "Rock Salt", cursive;
    font-size: .7rem;
    font-weight: 400;
    text-decoration: none;
    transition: color .2s ease;
}

.powered-by a:hover {
    color: var(--pink-bright);
}

.mendev-mendoza {
    color: #00ea0c;
}

.mendev-development {
    color: #ff6d00;
}

/* Interior pages */
.page-hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(9, 6, 17, .94), rgba(9, 6, 17, .55)),
        radial-gradient(circle at 80% 50%, rgba(255, 7, 139, .24), transparent 30rem);
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .25;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 58px 58px;
}

.page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 70px;
}

.page-hero h1 {
    font-size: clamp(4.4rem, 9vw, 8.2rem);
}

.page-hero-grid > div:first-child > p:last-child {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.08rem;
}

.about-portrait {
    position: relative;
    height: 500px;
    display: grid;
    place-items: center;
}

.about-portrait::before {
    content: "";
    position: absolute;
    width: 440px;
    max-width: 100%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 7, 139, .5);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 44, 255, .3), transparent 68%);
}

.about-portrait img {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    height: 100%;
    object-fit: contain;
}

.about-portrait span {
    position: absolute;
    right: -5px;
    bottom: 50px;
    z-index: 2;
    padding: 12px 15px;
    border-left: 3px solid var(--cyan);
    background: rgba(9, 6, 17, .88);
    color: var(--cyan);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1.4;
}

.story-section {
    background: #0e0917;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(60px, 10vw, 130px);
}

.story-image {
    padding: 15px;
    border: 1px solid rgba(32, 228, 255, .28);
    background: rgba(32, 228, 255, .03);
    transform: rotate(-2deg);
}

.story-image img {
    width: 100%;
    min-height: 530px;
    object-fit: cover;
    object-position: 47% center;
}

.story-copy h2 {
    margin-bottom: 30px;
}

.story-copy > p {
    font-size: 1.02rem;
}

.values-section {
    background: #08050e;
}

.section-heading.compact {
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.values-grid article {
    min-height: 290px;
    padding: 34px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.values-grid article > span {
    display: inline-block;
    margin-bottom: 80px;
    color: var(--pink);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.values-grid h3 {
    margin-bottom: 11px;
    font-size: 1.25rem;
}

.values-grid p {
    color: var(--muted);
    font-size: .92rem;
}

.about-social-callout {
    padding-block: 42px;
    background: linear-gradient(110deg, var(--pink), var(--purple));
}

.about-social-inner {
    display: grid;
    grid-template-columns: minmax(260px, 290px) 1fr auto;
    align-items: center;
    gap: 45px;
}

.about-social-inner > img {
    width: min(100%, 290px);
}

.about-social-inner h2 {
    margin-bottom: 8px;
    font-size: clamp(2.5rem, 4.2vw, 4.5rem);
}

.about-social-inner p {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, .8);
}

/* Legal */
.legal-hero {
    min-height: 430px;
    padding-block: 110px 80px;
    display: grid;
    align-items: end;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 80% 25%, rgba(139, 44, 255, .22), transparent 28rem),
        #0c0714;
}

.terms-hero {
    background:
        radial-gradient(circle at 80% 25%, rgba(32, 228, 255, .14), transparent 28rem),
        #0c0714;
}

.legal-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(3.9rem, 5.2vw, 5.6rem);
}

.legal-hero > div > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-section {
    padding-block: clamp(75px, 9vw, 120px);
    background: #0a0710;
}

.legal-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 760px);
    justify-content: space-between;
    gap: clamp(55px, 10vw, 150px);
}

.legal-aside {
    position: sticky;
    top: calc(var(--header-height) + 40px);
    align-self: start;
    padding: 24px 0 24px 22px;
    border-left: 3px solid var(--pink);
}

.legal-aside strong {
    display: block;
    margin-bottom: 8px;
    line-height: 1.3;
}

.legal-aside p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
}

.legal-content h2 {
    margin: 56px 0 14px;
    color: white;
    font-size: 1.32rem;
    line-height: 1.3;
}

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

.legal-content p {
    color: #beb3c5;
    font-size: .98rem;
}

.not-found-page {
    min-height: calc(100svh - var(--header-height));
    padding: 80px 24px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 45%, rgba(255, 7, 139, .16), transparent 26rem);
}

.not-found-page img {
    width: 190px;
    margin-bottom: 15px;
}

.not-found-page h1 {
    margin-bottom: 25px;
    font-size: clamp(4rem, 9vw, 7rem);
}

.not-found-page > p:not(.eyebrow) {
    max-width: 520px;
    margin-bottom: 30px;
    color: var(--muted);
}

/* Blazor loading and error UI */
.app-loading {
    min-height: 100vh;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 16px;
    background: var(--bg);
}

.app-loading img {
    width: 140px;
}

.app-loading strong {
    font-size: .75rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.loading-track {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
}

.loading-track span {
    width: 45%;
    height: 100%;
    display: block;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
    animation: loading-slide 1.2s ease-in-out infinite;
}

#blazor-error-ui {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 1000;
    display: none;
    padding: 14px 48px 14px 18px;
    border: 1px solid var(--pink);
    border-radius: 6px;
    background: #24101d;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
    color: white;
    font-size: .85rem;
}

#blazor-error-ui a {
    margin-left: 8px;
    color: var(--cyan);
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 9px;
    right: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
}

.blazor-error-boundary {
    margin: 24px;
    padding: 20px;
    border: 1px solid var(--pink);
    background: rgba(255, 7, 139, .09);
}

@keyframes live-pulse {
    50% { opacity: .55; transform: scale(.8); }
}

@keyframes sparkle {
    50% { opacity: .35; transform: scale(.7) rotate(35deg); }
}

@keyframes loading-slide {
    from { transform: translateX(-110%); }
    to { transform: translateX(330%); }
}

@media (max-width: 1050px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .desktop-nav {
        gap: 22px;
    }

    .spotlight-grid {
        gap: 70px;
    }

    .final-cta-inner,
    .about-social-inner {
        grid-template-columns: 210px 1fr;
    }

    .final-cta-inner .button,
    .about-social-inner .button {
        grid-column: 2;
        justify-self: start;
        margin-top: -20px;
        margin-bottom: 35px;
    }

    .about-social-inner > img {
        width: 200px;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 72px;
    }

    .content-width,
    .nav-shell {
        width: min(100% - 32px, var(--content));
    }

    .nav-shell {
        min-height: var(--header-height);
        grid-template-columns: 1fr auto;
    }

    .brand-link {
        width: 150px;
    }

    .brand-link img {
        height: 48px;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .menu-button {
        width: 45px;
        height: 42px;
        padding: 10px;
        display: grid;
        align-content: center;
        gap: 5px;
        border: 1px solid var(--border);
        border-radius: 4px;
        background: transparent;
        cursor: pointer;
    }

    .menu-button span {
        width: 100%;
        height: 2px;
        display: block;
        background: white;
    }

    .mobile-nav {
        padding: 12px 16px 20px;
        display: grid;
        border-top: 1px solid var(--border);
        background: rgba(9, 6, 17, .97);
    }

    .mobile-nav a {
        padding: 13px 7px;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
        color: var(--muted);
        font-size: .8rem;
        font-weight: 850;
        letter-spacing: .09em;
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-nav a.active {
        color: var(--pink-bright);
    }

    .hero {
        min-height: auto;
        padding-block: 80px 100px;
    }

    .hero-grid,
    .intro-grid,
    .spotlight-grid,
    .publisher-grid,
    .social-heading,
    .page-hero-grid,
    .story-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 670px;
    }

    .hero-copy h1,
    .legal-hero h1 {
        font-size: clamp(4rem, 11.5vw, 5.8rem);
    }

    .hero-art {
        width: min(620px, 92%);
        margin: 10px auto 0;
    }

    .wink-badge {
        right: -20px;
    }

    .intro-grid {
        gap: 35px;
    }

    .intro-copy {
        max-width: 620px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 340px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .feature-card:last-child {
        border-bottom: 0;
    }

    .spotlight-grid {
        gap: 75px;
    }

    .spotlight-art {
        width: min(520px, 88%);
        margin-inline: auto;
    }

    .spotlight-copy {
        max-width: 650px;
    }

    .social-heading {
        gap: 30px;
    }

    .social-heading > p {
        max-width: 620px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        min-height: auto;
        padding-block: 90px;
    }

    .page-hero-grid {
        gap: 20px;
    }

    .about-portrait {
        height: 430px;
    }

    .story-image img {
        min-height: 380px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-grid article {
        min-height: 240px;
    }

    .values-grid article > span {
        margin-bottom: 50px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .legal-aside {
        position: static;
        max-width: 600px;
    }

    .footer-top {
        padding-block: 48px;
        grid-template-columns: 1fr auto;
    }

    .footer-links {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 560px) {
    .section-space {
        padding-block: 82px;
    }

    .hero {
        padding-block: 65px 80px;
    }

    .hero-copy h1,
    .legal-hero h1 {
        font-size: clamp(3.5rem, 16vw, 4.8rem);
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .hero-art {
        width: 100%;
        margin-top: 20px;
    }

    .hero-card {
        aspect-ratio: .9;
    }

    .hero-scene {
        object-position: 50% center;
    }

    .hero-card-label {
        right: 16px;
        bottom: 15px;
        left: 16px;
    }

    .hero-card-label strong {
        font-size: .75rem;
    }

    .wink-badge {
        right: -9px;
        bottom: -55px;
        width: 130px;
    }

    .scroll-cue {
        display: none;
    }

    .brand-banner {
        height: auto;
        min-height: 140px;
        padding: 18px 8px;
    }

    .brand-banner img {
        width: 100%;
    }

    .section-heading h2,
    .spotlight-copy h2,
    .social-heading h2,
    .story-copy h2,
    .values-section h2,
    .publisher-heading h1,
    .publisher-heading h2 {
        font-size: clamp(3.1rem, 15vw, 4.7rem);
    }

    .publisher-details article {
        padding: 25px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .publisher-policy-links {
        padding: 22px 25px;
        display: grid;
    }

    .feature-card {
        padding: 27px;
    }

    .spotlight-art {
        width: 92%;
        min-height: 410px;
    }

    .meow-mark {
        right: -18px;
        width: 125px;
    }

    .social-card {
        min-height: 130px;
        padding: 22px;
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    .social-card .social-abbr {
        width: 50px;
        height: 50px;
    }

    .social-card strong {
        font-size: 1.1rem;
    }

    .final-cta-inner,
    .about-social-inner {
        padding-block: 55px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-social-callout {
        padding-block: 0;
    }

    .about-social-inner {
        padding-block: 42px;
    }

    .final-cta-inner img {
        max-height: 200px;
        margin-inline: auto;
        align-self: auto;
    }

    .final-cta-inner .button,
    .about-social-inner .button {
        grid-column: auto;
        width: auto;
        justify-self: center;
        margin: 0;
    }

    .final-cta .eyebrow {
        justify-content: center;
    }

    .final-cta h2 {
        font-size: 4.5rem;
    }

    .page-hero h1,
    .not-found-page h1 {
        font-size: clamp(3.65rem, 18vw, 5.6rem);
    }

    .about-portrait {
        height: 350px;
    }

    .story-image img {
        min-height: 280px;
    }

    .about-social-inner > img {
        width: min(240px, 82vw);
        margin-inline: auto;
    }

    .legal-hero {
        min-height: 360px;
        padding-block: 90px 60px;
    }

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

    .footer-links {
        grid-column: auto;
        grid-row: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom {
        padding-block: 24px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-credits {
        flex-direction: column;
        gap: 4px;
    }

    .powered-by {
        padding-left: 0;
        border-left: 0;
    }
}

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

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