:root {
    --bg: #0a070c;
    --bg-card: #15101a;
    --pink: #ff9dbc;
    --pink-light: #ffc2d5;
    --pink-dark: #d86f96;
    --purple: #b993dc;
    --cream: #fff6f7;
    --text: #f8edf1;
    --text-soft: #bcaeb7;
    --text-muted: #81737e;
    --border: rgba(255, 180, 207, .14);
    --radius: 26px;
    --max-width: 1180px;
    --grad: linear-gradient(120deg, #ffc2d5, #ff9dbc 40%, #b993dc)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
    line-height: 1.6
}

img {
    display: block;
    width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer
}

::selection {
    background: var(--pink);
    color: #240b16
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: .07;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

h1,
h2,
h3 {
    font-family: "Nunito", sans-serif;
    line-height: 1.02;
    letter-spacing: -.03em
}

h1 span,
h2 span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

/* NAV */
.navbar {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, calc(100% - 28px));
    height: 62px;
    z-index: 100;
    border-radius: 99px;
    background: rgba(20, 14, 24, .6);
    backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
    transition: background .3s
}

.nav-inner {
    height: 100%;
    padding: 0 12px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 900 19px "Nunito", sans-serif
}

.brand-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 16px var(--pink);
    animation: pulse 2.4s infinite
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 28px 4px rgba(255, 157, 188, .7)
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: var(--text-soft);
    font-size: 13.5px;
    font-weight: 500
}

.nav-links a {
    padding: 9px 16px;
    border-radius: 99px;
    transition: .25s
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cream);
    background: rgba(255, 255, 255, .07)
}

.nav-links .nav-button {
    order: 5;
    margin-left: 8px;
    color: #2a0d1b;
    font-weight: 700;
    background: var(--grad);
    box-shadow: 0 0 26px rgba(255, 157, 188, .35)
}

.nav-links .nav-button:hover {
    color: #2a0d1b;
    background: var(--grad);
    transform: translateY(-1px);
    box-shadow: 0 0 34px rgba(255, 157, 188, .6)
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 12px
}

.mobile-menu span {
    width: 22px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: .3s
}

.mobile-menu.active span:first-child {
    transform: translateY(7px) rotate(45deg)
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0
}

.mobile-menu.active span:last-child {
    transform: translateY(-7px) rotate(-45deg)
}

/* BUTTONS */
.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 15px;
    transition: .3s cubic-bezier(.22, 1, .36, 1)
}

.button-primary {
    color: #2a0d1b;
    background: var(--grad);
    box-shadow: 0 10px 40px rgba(255, 130, 175, .35)
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 54px rgba(255, 130, 175, .55)
}

.button-primary span {
    transition: transform .3s
}

.button-primary:hover span {
    transform: translateX(4px)
}

.button-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(10px)
}

.button-secondary:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-3px)
}

.small-button {
    padding: 12px 22px;
    font-size: 14px
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 130px 32px 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(60% 50% at 75% 45%, rgba(255, 130, 175, .14), transparent 70%)
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 180, 207, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 180, 207, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent)
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .5;
    animation: drift 14s ease-in-out infinite alternate
}

.glow-one {
    width: 520px;
    height: 520px;
    background: #ff6fa5;
    top: -120px;
    left: -100px
}

.glow-two {
    width: 560px;
    height: 560px;
    background: #8b5cf6;
    bottom: -200px;
    right: -80px;
    opacity: .38;
    animation-delay: -6s
}

@keyframes drift {
    to {
        transform: translate(60px, 40px) scale(1.15)
    }
}

.hero-word {
    position: absolute;
    right: 2vw;
    bottom: clamp(15px, 9vw, 50px);
    font: 900 clamp(180px, 26vw, 400px)/.82 "Nunito", sans-serif;
    letter-spacing: -.06em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 180, 207, .13);
    user-select: none;
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--pink-light);
    margin-bottom: 28px
}

.eyebrow-dot,
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6dffb0;
    box-shadow: 0 0 12px #6dffb0;
    animation: pulse 2s infinite
}

.hero h1 {
    font-size: clamp(46px, 7vw, 98px);
    font-weight: 900;
    margin-bottom: 26px
}

.hero h1 span {
    font-size: 1.18em
}

.hero-description {
    font-size: 19px;
    max-width: 480px;
    color: var(--text-soft);
    margin-bottom: 38px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.hero-character {
    position: relative;
    display: flex;
    justify-content: center;
    transition: transform .2s ease-out
}

.character-halo {
    position: absolute;
    width: 105%;
    aspect-ratio: 1;
    top: 6%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff9dbc, #b993dc, #ff6fa5, #ff9dbc);
    filter: blur(70px);
    opacity: .42;
    animation: spin 16s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.hero-image-frame {
    position: relative;
    z-index: 2;
    width: min(480px, 88%);
    height: 620px;
    overflow: hidden;
    border-radius: 240px 240px 32px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 157, 188, .05));
    border: 1px solid rgba(255, 200, 220, .22);
    backdrop-filter: blur(6px);
    box-shadow: 0 40px 110px rgba(0, 0, 0, .6), 0 0 90px rgba(255, 130, 175, .2), inset 0 0 60px rgba(255, 157, 188, .08);
    animation: floatLilly 7s ease-in-out infinite
}

@keyframes floatLilly {
    50% {
        transform: translateY(-14px)
    }
}

.hero-image-frame img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    max-width: none;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .4))
}

.hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 70%, rgba(10, 7, 12, .7))
}

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(24, 17, 28, .7);
    backdrop-filter: blur(16px);
    font-size: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
    animation: bob 5s ease-in-out infinite
}

.floating-card i {
    color: var(--pink)
}

.card-top {
    top: 14%;
    left: -2%
}

.card-bottom {
    bottom: 16%;
    right: -3%;
    animation-delay: -2.5s
}

@keyframes bob {
    50% {
        transform: translateY(-10px) rotate(-1.5deg)
    }
}

.hero-scroll {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--text-muted)
}

.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--pink), transparent);
    animation: scrollLine 2s ease-in-out infinite;
    transform-origin: top
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0)
    }

    60% {
        transform: scaleY(1)
    }

    100% {
        transform: scaleY(1);
        opacity: 0
    }
}

/* MARQUEE */
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: rgba(255, 157, 188, .05);
    padding: 18px 0;
    transform: rotate(-1.2deg);
    margin: -20px -20px 40px;
    position: relative;
    z-index: 4
}

.marquee-track {
    display: flex;
    gap: 34px;
    width: max-content;
    align-items: center;
    animation: marq 32s linear infinite;
    font: 900 26px "Nunito", sans-serif;
    letter-spacing: .06em;
    color: var(--pink-light);
    white-space: nowrap
}

.marquee-track i {
    font-size: 16px;
    color: var(--pink-dark)
}

.marquee-track span:nth-of-type(even) {
    color: transparent;
    -webkit-text-stroke: 1px var(--pink)
}

@keyframes marq {
    to {
        transform: translateX(-33.333%)
    }
}

/* SECTIONS */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 110px 32px
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .24em;
    color: var(--pink);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px
}

.section-label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--pink)
}

h2 {
    font-size: clamp(38px, 5.4vw, 70px);
    font-weight: 900
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 44px
}

.text-link {
    color: var(--pink-light);
    font-weight: 600;
    white-space: nowrap
}

.text-link span {
    display: inline-block;
    transition: transform .3s
}

.text-link:hover span {
    transform: translateX(6px)
}

/* NEWS */
.news-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45)
}

.news-track {
    display: flex;
    transition: transform .8s cubic-bezier(.22, 1, .36, 1)
}

.featured-news {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 440px
}

.news-image {
    position: relative;
    overflow: hidden
}

.news-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s
}

.featured-news:hover .news-image img {
    transform: scale(1.06)
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, var(--bg-card))
}

.news-tag {
    position: absolute;
    top: 22px;
    left: 22px;
    padding: 7px 14px;
    border-radius: 99px;
    background: var(--grad);
    color: #2a0d1b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em
}

.news-content {
    padding: 48px 48px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 18px
}

.news-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--text-muted);
    font-weight: 600
}

.news-content h3 {
    font-size: clamp(28px, 3.2vw, 44px)
}

.news-content p {
    color: var(--text-soft)
}

.news-controls {
    position: absolute;
    right: 28px;
    bottom: 22px;
    left: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none
}

.news-controls>* {
    pointer-events: auto
}

.news-dots {
    display: flex;
    gap: 8px
}

.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .2);
    transition: .3s
}

.news-dot.active {
    width: 28px;
    background: var(--pink)
}

.news-arrows {
    display: flex;
    gap: 8px
}

.news-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .05);
    transition: .25s
}

.news-arrow:hover {
    background: var(--pink);
    color: #2a0d1b
}

.news-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left
}

.news-progress.running {
    animation: prog linear forwards
}

@keyframes prog {
    to {
        transform: scaleX(1)
    }
}

/* ABOUT */
.about-section {
    position: relative;
    padding: 110px 32px;
    overflow: hidden
}

.about-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 60% at 25% 50%, rgba(185, 147, 220, .2), transparent 70%), radial-gradient(40% 50% at 85% 70%, rgba(255, 130, 175, .12), transparent 70%)
}

.about-grid {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 5/6;
    border: 1px solid var(--border);
    background: linear-gradient(160deg, rgba(255, 157, 188, .18), rgba(185, 147, 220, .08));
    transform: rotate(-2.5deg);
    transition: transform .5s
}

.about-image:hover {
    transform: rotate(0) scale(1.02)
}

.about-image img {
    position: absolute;
    bottom: 0;
    height: 130%;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    object-fit: contain
}

.about-image-glow {
    position: absolute;
    inset: auto -20% -30% -20%;
    height: 60%;
    background: radial-gradient(closest-side, rgba(255, 130, 175, .5), transparent);
    filter: blur(30px)
}

.image-caption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 9px 16px;
    border-radius: 99px;
    background: rgba(10, 7, 12, .65);
    backdrop-filter: blur(12px);
    font-size: 12px;
    letter-spacing: .2em;
    font-weight: 700
}

.image-caption i {
    color: var(--pink)
}

.about-copy h2 {
    margin-bottom: 26px
}

.about-copy>p {
    color: var(--text-soft);
    font-size: 18px;
    margin-bottom: 16px;
    max-width: 520px
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 34px 0
}

.stat {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    transition: .3s
}

.stat:hover {
    border-color: var(--pink);
    transform: translateY(-4px)
}

.stat strong {
    display: block;
    font: 900 34px "Nunito", sans-serif;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.stat span {
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--text-muted)
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.tag,
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 99px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    font-size: 14px;
    transition: .3s
}

.tag:hover,
.social-link:hover {
    background: var(--pink);
    color: #2a0d1b;
    border-color: var(--pink);
    transform: translateY(-3px)
}

/* LINKS */
.links-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px
}

.links-heading .section-label {
    justify-content: center
}

.links-heading h2 {
    margin-bottom: 16px
}

.links-heading p:last-child {
    color: var(--text-soft)
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.link-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    transition: .4s cubic-bezier(.22, 1, .36, 1)
}

.link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 157, 188, .18), transparent 55%);
    opacity: 0;
    transition: .4s
}

.link-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 157, 188, .5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5)
}

.link-card:hover::before {
    opacity: 1
}

.link-icon {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 27px;
    flex-shrink: 0;
    transition: .4s
}

.link-card:hover .link-icon {
    transform: rotate(-8deg) scale(1.08)
}

.twitch-icon {
    background: #9146ff
}

.youtube-icon {
    background: #ff2e4d
}

.discord-icon {
    background: #5865f2
}

.shop-icon {
    background: var(--grad);
    color: #2a0d1b
}

.link-card h3 {
    font-size: 24px;
    position: relative
}

.link-card p {
    color: var(--text-muted);
    font-size: 14px;
    position: relative
}

.link-arrow {
    margin-left: auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    transition: .4s;
    position: relative
}

.link-card:hover .link-arrow {
    background: var(--pink);
    color: #2a0d1b;
    transform: rotate(45deg)
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 36px
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border);
    padding: 56px 32px 28px;
    background: linear-gradient(transparent, rgba(255, 157, 188, .05))
}

.footer-top,
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.footer-top {
    padding-bottom: 34px;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft)
}

.footer-bottom {
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-muted)
}

.footer-bottom i {
    color: var(--pink)
}

.back-top {
    color: var(--pink-light);
    font-weight: 600
}

.back-top:hover i {
    transform: translateY(-3px)
}

.back-top i {
    transition: .3s
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(.98);
    transition: opacity .9s, transform .9s cubic-bezier(.22, 1, .36, 1)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.links-grid .reveal:nth-child(2) {
    transition-delay: .1s
}

.links-grid .reveal:nth-child(3) {
    transition-delay: .2s
}

.links-grid .reveal:nth-child(4) {
    transition-delay: .3s
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

/* RESPONSIVE */
@media(max-width:900px) {
    .mobile-menu {
        display: flex
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px;
        border-radius: 24px;
        background: rgba(20, 14, 24, .95);
        border: 1px solid var(--border);
        backdrop-filter: blur(20px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: .3s
    }

    .nav-links.mobile-open {
        opacity: 1;
        pointer-events: auto;
        transform: none
    }

    .nav-links a {
        text-align: center
    }

    .nav-links .nav-button {
        order: 0;
        margin: 0 0 6px
    }

    .hero {
        padding-top: 110px
    }

    .hero-content,
    .about-grid,
    .featured-news,
    .links-grid {
        grid-template-columns: 1fr
    }

    .hero-content {
        gap: 56px;
        text-align: center
    }

    .hero-description {
        margin-inline: auto
    }

    .hero-actions {
        justify-content: center
    }

    .hero-image-frame {
        height: 520px
    }

    .hero-image-frame img {
        margin-top: -150px
    }

    .news-image {
        height: 240px
    }

    .image-overlay {
        background: linear-gradient(transparent 55%, var(--bg-card))
    }

    .news-content {
        padding: 30px 26px 80px
    }

    .about-grid {
        gap: 50px
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start
    }

    .card-top {
        left: 2%
    }

    .card-bottom {
        right: 2%
    }

    .hero-scroll {
        display: none
    }
}

/* ═══ Kill3rKai × Lilly page additions (built on Lilly's own styles above) ═══ */
:root {
    --green: #6dffb0
}

.hero h1 .big {
    font-size: 1.5em;
    display: inline-block;
    line-height: .95
}

.hero h1 {
    font-size: clamp(40px, 6vw, 84px)
}

.card-mid {
    top: 46%;
    left: -6%;
    animation-delay: -1.2s
}

.hero-word {
    font-size: clamp(150px, 24vw, 360px)
}

.nav-links .back-link {
    color: var(--pink-light)
}

.stats {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 32px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.stats .stat {
    padding: 26px 24px
}

.stats .stat strong {
    font-size: 44px
}

.features-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 48px
}

.features-header .sub,
.sub {
    color: var(--text-soft);
    font-size: 17px;
    max-width: 420px
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: .4s cubic-bezier(.22, 1, .36, 1)
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 157, 188, .16), transparent 55%);
    opacity: 0;
    transition: .4s;
    pointer-events: none
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 157, 188, .5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5)
}

.card:hover::before {
    opacity: 1
}

.feature-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 23px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    margin-bottom: 8px;
    transition: .4s
}

.feature-card:hover .feature-icon {
    transform: rotate(-8deg) scale(1.08)
}

.feature-name {
    font: 800 22px "Nunito", sans-serif;
    letter-spacing: -.02em;
    position: relative
}

.feature-desc {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.55;
    position: relative
}

.feature-tag {
    align-self: flex-start;
    margin-top: auto;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    border: 1px solid var(--border);
    position: relative
}

.feature-tag.active {
    color: var(--green);
    background: rgba(109, 255, 176, .08);
    border-color: rgba(109, 255, 176, .3)
}

.feature-tag.wip {
    color: var(--pink-light);
    background: rgba(255, 157, 188, .1);
    border-color: rgba(255, 157, 188, .35)
}

.feature-card .feature-desc {
    margin-bottom: 8px
}

.personality-inner {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 70px;
    align-items: center
}

.personality-inner h2 {
    margin-bottom: 24px
}

.personality-inner p {
    color: var(--text-soft);
    font-size: 18px;
    margin-bottom: 16px;
    max-width: 500px
}

.chat-demo {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
    overflow: hidden
}

.chat-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .03)
}

.chat-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18)
}

.chat-dot.r {
    background: #ff7a9c
}

.chat-dot.y {
    background: #ffd27a
}

.chat-dot.g {
    background: var(--green)
}

.chat-name {
    margin-left: 10px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500
}

.chat-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 88%;
    opacity: 0
}

.msg.user {
    align-self: flex-end;
    flex-direction: row-reverse
}

.chat-demo.visible .msg {
    animation: msgIn .55s cubic-bezier(.22, 1, .36, 1) both
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 14px;
    background: var(--grad);
    color: #2a0d1b
}

.msg.user .msg-avatar {
    background: rgba(255, 255, 255, .14);
    color: #cbbcc6
}

.msg-name {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--text-muted);
    margin-bottom: 5px
}

.msg.user .msg-name {
    text-align: right
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 18px 18px 18px 6px;
    background: rgba(255, 157, 188, .12);
    border: 1px solid rgba(255, 157, 188, .22);
    font-size: 15px;
    line-height: 1.45
}

.msg.user .msg-bubble {
    border-radius: 18px 18px 6px 18px;
    background: rgba(255, 255, 255, .06);
    border-color: var(--border)
}

.typing {
    display: flex;
    gap: 5px;
    padding: 4px 2px
}

.typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink);
    animation: typ 1.2s infinite
}

.typing span:nth-child(2) {
    animation-delay: .15s
}

.typing span:nth-child(3) {
    animation-delay: .3s
}

@keyframes typ {

    0%,
    60%,
    100% {
        transform: none;
        opacity: .4
    }

    30% {
        transform: translateY(-6px);
        opacity: 1
    }
}

.banner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center;
    padding: 56px 56px 0;
    border-radius: 36px;
    border: 1px solid rgba(255, 157, 188, .28);
    background: radial-gradient(70% 90% at 90% 100%, rgba(255, 130, 175, .28), transparent 70%), radial-gradient(60% 80% at 0% 0%, rgba(185, 147, 220, .22), transparent 70%), var(--bg-card)
}

.banner h2 {
    font-size: clamp(44px, 6vw, 84px);
    margin-bottom: 16px
}

.banner .banner-copy>p {
    color: var(--text-soft);
    font-size: 17px;
    max-width: 480px;
    margin-bottom: 24px
}

.banner-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 56px;
    font-size: 15px
}

.banner-list li {
    list-style: none;
    display: flex;
    gap: 12px;
    align-items: center
}

.banner-list i {
    color: var(--green)
}

.banner-list .dim {
    color: var(--text-muted)
}

.banner-list .dim i {
    color: var(--text-muted)
}

.banner-art {
    position: relative;
    align-self: end;
    height: 100%;
    min-height: 360px
}

.banner-art img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 118%;
    max-width: none;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45))
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 40px
}

.tech-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 26px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: .3s
}

.tech-row:hover {
    border-color: var(--pink);
    transform: translateY(-3px)
}

.tech-key {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .2em;
    color: var(--pink)
}

.tech-val {
    font-weight: 600;
    text-align: right
}

.tech-val.ok {
    color: var(--green)
}

.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 44px
}

.arch-node {
    padding: 30px 28px 32px
}

.arch-num {
    display: block;
    font: 900 54px/1 "Nunito", sans-serif;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
    position: relative
}

.arch-title {
    font: 800 21px "Nunito", sans-serif;
    margin-bottom: 8px;
    position: relative
}

.arch-desc {
    color: var(--text-soft);
    font-size: 15px;
    position: relative
}

.arch-note {
    margin-top: 30px;
    font-size: 13px;
    color: var(--text-muted)
}

.arch-note i {
    color: #ffd27a;
    margin-right: 6px
}

.section-sub {
    color: var(--text-soft);
    font-size: 17px;
    max-width: 620px;
    margin-top: 14px
}

.reveal-d {
    transition-delay: calc(var(--i, 0)*70ms)
}

.footer-top p {
    max-width: 46ch
}

.footer-top a.back-top:hover {
    color: var(--cream)
}

@media(max-width:1000px) {

    .features-grid,
    .arch-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:900px) {

    .personality-inner,
    .banner,
    .tech-grid {
        grid-template-columns: 1fr
    }

    .personality-inner {
        gap: 44px
    }

    .features-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px
    }

    .banner {
        padding: 40px 28px 0
    }

    .banner-art {
        min-height: 300px
    }

    .card-mid {
        left: 0
    }
}

@media(max-width:620px) {

    .features-grid,
    .arch-grid {
        grid-template-columns: 1fr
    }

    .tech-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px
    }

    .tech-val {
        text-align: left
    }

    .stats .stat strong {
        font-size: 34px
    }
}

/* ── LIVE TOAST (built by live.js) ── */
#live-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    width: 260px;
    background: rgba(2, 8, 18, 0.94);
    border: 1px solid rgba(255, 45, 120, 0.4);
    border-left: 3px solid var(--pink);
    box-shadow: 0 0 18px rgba(255, 45, 120, 0.3);
    overflow: hidden;
    animation: toastIn 0.5s ease both;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#live-toast .lt-link {
    display: block;
    color: var(--text);
}

#live-toast .lt-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #071323;
}

#live-toast .lt-info {
    padding: 10px 12px 12px;
    font-family: 'Share Tech Mono', monospace;
}

#live-toast .lt-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

#live-toast .lt-live {
    color: var(--pink);
}

#live-toast .lt-viewers {
    margin-left: auto;
    color: var(--muted);
}

#live-toast .lt-title {
    margin-top: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#live-toast .lt-game {
    margin-top: 2px;
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
}

#live-toast .lt-link:hover .lt-title {
    color: var(--pink);
}

#live-toast .lt-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    line-height: 22px;
    background: rgba(2, 8, 18, 0.7);
    border: 0;
    border-radius: 50%;
    color: var(--text);
    font-size: 1.1rem;
}

:root {
    --cyan: var(--pink-light);
    --muted: var(--text-muted)
}

html,
body {
    overflow-x: clip
}

main {
    overflow-x: clip
}

/* ── pose switcher ── */
.hero-image-frame {
    cursor: pointer
}

.hero-image-frame img.pose {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: auto;
    max-width: none;
    height: var(--h, 104%);
    margin: 0;
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(.95);
    transition: opacity .5s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .4))
}

.hero-image-frame img.pose.on {
    opacity: 1;
    transform: translateX(-50%)
}

.mood-now {
    color: var(--pink-light);
    font-size: 12px;
    letter-spacing: .06em;
    padding-left: 10px;
    border-left: 1px solid var(--border)
}

.pose-dots {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px
}

.pose-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .22);
    transition: .3s
}

.pose-dot:hover {
    background: var(--pink-light)
}

.pose-dot.on {
    width: 26px;
    background: var(--pink)
}

.banner-art img {
    height: 96%
}

@media(max-width:900px) {
    .pose-dots {
        bottom: -30px
    }

    .hero-character {
        margin-bottom: 24px
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero-image-frame img.pose {
        transition: opacity .2s
    }
}