:root {
    --bg: #0f0b24;
    --bg-alt: #160f33;
    --card: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.1);
    --text: #f3f1ff;
    --muted: #b3acd6;
    --primary: #8b5cf6;
    --pink: #ec4899;
    --cyan: #22d3ee;
    --yellow: #facc15;
    --grad: linear-gradient(135deg, #8b5cf6 0%, #ec4899 55%, #f59e0b 100%);
    --radius: 22px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Fredoka', 'Poppins', sans-serif; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { color: var(--muted); }
strong { color: var(--text); }
.muted { color: var(--muted); font-size: .9rem; }
.accent { color: var(--pink); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* buttons */
.btn {
    display: inline-flex; align-items: center; gap: .55em;
    padding: .9em 1.6em;
    border-radius: 999px;
    background: var(--grad);
    color: #fff; font-weight: 600; font-size: .98rem;
    box-shadow: 0 10px 25px rgba(236, 72, 153, .35);
    transition: transform .2s, box-shadow .2s;
    border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(236, 72, 153, .5); }
.btn--small { padding: .6em 1.15em; font-size: .88rem; }
.btn--ghost {
    background: transparent; box-shadow: none;
    border: 2px solid rgba(255,255,255,.25);
}
.btn--ghost:hover { border-color: #fff; box-shadow: none; }

.pill {
    display: inline-flex; align-items: center; gap: .45em;
    padding: .35em 1em;
    border-radius: 999px;
    background: rgba(139, 92, 246, .16);
    border: 1px solid rgba(139, 92, 246, .4);
    color: #d8c8ff; font-size: .82rem; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 1rem;
}

/* nav */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    padding: 18px 0;
    transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.is-scrolled {
    background: rgba(15, 11, 36, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
    display: inline-flex; align-items: center; gap: .55em;
    font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.4rem;
}
.brand__icon {
    width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--grad); font-size: 1.1rem;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links > a:not(.btn) { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav__links > a:not(.btn):hover { color: #fff; }
.nav__toggle {
    display: none; background: none; border: 0; cursor: pointer;
    width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: space-between;
}
.nav__toggle span { display: block; height: 3px; background: #fff; border-radius: 3px; transition: .3s; }

/* hero */
.hero {
    position: relative; overflow: hidden;
    min-height: 100vh; display: flex; align-items: center;
    padding: 130px 0 80px;
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; z-index: 0; }
.blob--1 { width: 480px; height: 480px; background: #7c3aed; top: -120px; left: -120px; }
.blob--2 { width: 420px; height: 420px; background: #db2777; bottom: -140px; right: -80px; }
.blob--3 { width: 300px; height: 300px; background: #0891b2; top: 35%; left: 45%; opacity: .35; }
.hero__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero__text p { font-size: 1.12rem; margin: 1.2rem 0 2rem; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__stats { display: flex; gap: 36px; margin-top: 2.6rem; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: 'Fredoka', sans-serif; font-size: 2rem; line-height: 1.1; }
.hero__stats span { color: var(--muted); font-size: .88rem; }


@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* sections */
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { margin-top: .8rem; font-size: 1.05rem; }

/* filters */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 2.5rem; }
.filter {
    font: inherit; font-weight: 500; font-size: .92rem;
    padding: .5em 1.3em; border-radius: 999px; cursor: pointer;
    background: var(--card); color: var(--muted);
    border: 1px solid var(--card-border);
    transition: .2s;
}
.filter:hover { color: #fff; }
.filter.is-active { background: var(--grad); color: #fff; border-color: transparent; }

/* games grid */
.games {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.game {
    min-width: 0;
    position: relative;
    display: flex; flex-direction: column;
    padding: 26px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.game:hover {
    transform: translateY(-8px);
    border-color: rgba(236, 72, 153, .5);
    box-shadow: 0 20px 45px rgba(139, 92, 246, .25);
}
.game.is-hidden { display: none; }
.game__head { display: flex; align-items: center; gap: 18px; }
.game__info { display: flex; flex-direction: column; min-width: 0; }
.game__info h3 { font-size: 1.35rem; }
.game__info .tags { margin-top: .5rem; }
.game__icon {
    width: 92px; height: 92px; border-radius: 22px; flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,.4);
    transition: transform .3s;
}
.game:hover .game__icon { transform: scale(1.06) rotate(-3deg); }
.game__badge {
    display: inline-block; align-self: flex-start; margin-bottom: 6px;
    background: rgba(250, 204, 21, .15); color: var(--yellow);
    font-size: .8rem; font-weight: 600;
    padding: .25em .75em; border-radius: 999px;
}
.game p { font-size: .93rem; margin: .6rem 0 1.3rem; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .6rem; }
.tags span {
    font-size: .74rem; font-weight: 500;
    padding: .2em .7em; border-radius: 999px;
    background: rgba(34, 211, 238, .12); color: #a5f3fc;
}
.game__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.link { color: #d8c8ff; font-weight: 500; font-size: .9rem; }
.link:hover { color: #fff; }
.link i { font-size: .75em; margin-left: 4px; transition: transform .2s; }
.link:hover i { transform: translateX(4px); }

.game__badge--new { background: rgba(34, 211, 238, .15); color: #a5f3fc; }
.btn--soon {
    background: rgba(255,255,255,.08); box-shadow: none; cursor: default;
    color: var(--muted);
}
.btn--soon:hover { transform: none; box-shadow: none; }
.link--btn {
    background: none; border: 0; cursor: pointer; font: inherit;
    font-weight: 500; font-size: .9rem; color: #d8c8ff;
}
.link--btn:hover { color: #fff; }
.link--btn i { margin: 0 4px 0 0; font-size: .95em; }

/* screenshot strip on cards */
.game__shots {
    display: flex; gap: 8px;
    margin: 1rem -26px 0; padding: 0 26px 6px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent;
}
.game__shots::-webkit-scrollbar { height: 6px; }
.game__shots::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 6px; }
.game__shot {
    flex: 0 0 auto; height: 150px; padding: 0; border: 0; cursor: zoom-in;
    border-radius: 12px; overflow: hidden; background: #000;
    scroll-snap-align: start;
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
    transition: transform .2s;
}
.game__shot img { height: 100%; width: auto; }
.game__shot:hover { transform: translateY(-3px); }

/* lightbox */
body.no-scroll { overflow: hidden; }
.lightbox {
    position: fixed; inset: 0; z-index: 100;
    display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto;
    align-items: center; gap: 12px; padding: 20px;
    background: rgba(8, 5, 22, .94);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .25s;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__stage {
    grid-column: 2; min-height: 0; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.lightbox__stage img {
    max-height: calc(100vh - 190px); max-width: 100%; width: auto;
    border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.6);
}
.lightbox__stage figcaption { color: var(--muted); font-size: .9rem; text-align: center; }
.lightbox__nav, .lightbox__close {
    width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.1); color: #fff; font-size: 1.1rem;
    transition: background .2s;
}
.lightbox__nav:hover, .lightbox__close:hover { background: var(--pink); }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.lightbox__thumbs {
    grid-column: 1 / -1; grid-row: 2;
    display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 4px;
}
.lightbox__thumb {
    flex: 0 0 auto; height: 64px; padding: 0; border: 2px solid transparent; cursor: pointer;
    border-radius: 8px; overflow: hidden; opacity: .5; background: none; transition: .2s;
}
.lightbox__thumb img { height: 100%; width: auto; }
.lightbox__thumb.is-active, .lightbox__thumb:hover { opacity: 1; border-color: var(--pink); }

/* featured */
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.featured__img img { filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); margin: 0 auto; }
.featured__text p { margin: 1.1rem 0 1.4rem; font-size: 1.05rem; }
.checks { list-style: none; margin-bottom: 2rem; }
.checks li { display: flex; align-items: center; gap: .8em; margin-bottom: .7rem; }
.checks i {
    width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; font-size: .7rem;
    background: rgba(139, 92, 246, .25); color: #d8c8ff;
}
.store-badge img { height: 56px; width: auto; transition: transform .2s; }
.store-badge:hover img { transform: translateY(-3px); }

/* about */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.about__card {
    text-align: center; padding: 40px 30px;
    background: var(--card); border: 1px solid var(--card-border);
    border-radius: var(--radius); position: relative; overflow: hidden;
}
.about__card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 110px;
    background: var(--grad); opacity: .85;
}
.about__avatar {
    position: relative; width: 140px; height: 140px; border-radius: 50%;
    margin: 30px auto 18px; border: 5px solid var(--bg);
    background: var(--bg); object-fit: cover;
}
.about__card h3 { font-size: 1.6rem; }
.about__socials { display: flex; justify-content: center; gap: 12px; margin-top: 1.3rem; }
.about__socials a {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08); transition: .2s;
}
.about__socials a:hover { background: var(--grad); transform: translateY(-3px); }
.about__text p { margin-top: 1rem; font-size: 1.04rem; }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 2rem; }
.skill {
    display: flex; align-items: center; gap: .8em;
    padding: 14px 18px; border-radius: 16px;
    background: var(--card); border: 1px solid var(--card-border);
    font-weight: 500;
}
.skill i { color: var(--pink); font-size: 1.15rem; width: 22px; text-align: center; }

/* contact */
.cta {
    text-align: center; padding: 60px 40px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 15% 20%, rgba(139,92,246,.35), transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(236,72,153,.3), transparent 50%),
        var(--card);
    border: 1px solid var(--card-border);
}
.cta > p { max-width: 560px; margin: 1rem auto 2.4rem; font-size: 1.05rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 26px 16px; border-radius: 20px;
    background: rgba(15, 11, 36, .55); border: 1px solid var(--card-border);
    transition: .25s; min-width: 0;
}
.contact-item:hover { transform: translateY(-5px); border-color: rgba(236,72,153,.5); }
.contact-item i { font-size: 1.5rem; margin-bottom: 8px; color: var(--pink); }
.contact-item span { color: var(--muted); font-size: .85rem; }
.contact-item strong { font-size: .95rem; word-break: break-word; }

/* footer */
.footer { padding: 40px 0; border-top: 1px solid var(--card-border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: #fff; }

.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 40;
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--grad); box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 960px) {
    .hero__inner, .featured, .about { grid-template-columns: 1fr; gap: 40px; }
    .hero { min-height: auto; padding-top: 120px; text-align: center; }
    .hero__text p { margin-left: auto; margin-right: auto; }
    .hero__cta, .hero__stats { justify-content: center; }
    .featured__img { order: 2; }
    .about__card { max-width: 400px; margin: 0 auto; width: 100%; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .nav__toggle { display: flex; }
    .nav__links {
        position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw);
        flex-direction: column; align-items: flex-start; gap: 22px;
        padding: 100px 30px 30px;
        background: rgba(22, 15, 51, .97);
        backdrop-filter: blur(16px);
        transform: translateX(100%); transition: transform .35s ease;
        box-shadow: -20px 0 50px rgba(0,0,0,.4);
    }
    .nav__links > a:not(.btn) { font-size: 1.15rem; color: #fff; }
    .nav.is-open .nav__links { transform: none; }
    .nav__toggle { position: relative; z-index: 2; }
    .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
    .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
    .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
}

@media (max-width: 560px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }
    .section { padding: 70px 0; }
    .brand { font-size: 1.2rem; }
    .brand__icon { width: 36px; height: 36px; }
    .hero__stats { gap: 22px; }
    .hero__stats strong { font-size: 1.6rem; }
    .skills { grid-template-columns: 1fr; }
    .cta { padding: 40px 18px; }
    .games { grid-template-columns: 1fr; }
    .lightbox { grid-template-columns: 1fr; padding: 60px 12px 16px; }
    .lightbox__stage { grid-column: 1; }
    .lightbox__nav { display: none; }
    .lightbox__thumbs { grid-column: 1; justify-content: flex-start; }
    .lightbox__stage img { max-height: calc(100vh - 200px); }
    .footer__inner { flex-direction: column; text-align: center; }
    .footer__links { justify-content: center; }
}

/* ===== game details page ===== */
.back-link {
    display: inline-flex; align-items: center; gap: .5em;
    color: var(--muted); font-weight: 500; font-size: .92rem; margin-bottom: 1.4rem;
}
.back-link:hover { color: #fff; }
.game-title { display: flex; align-items: center; gap: 22px; }
.game-title .pill { margin-bottom: .6rem; }
.game-title__icon {
    width: 110px; height: 110px; border-radius: 26px; flex-shrink: 0;
    box-shadow: 0 18px 40px rgba(236, 72, 153, .35);
}
.hero--game .hero__text p { margin-top: 1.6rem; }

.hero__art { position: relative; }
.phone {
    position: relative; z-index: 2;
    width: min(290px, 70%); margin: 0 auto;
    border-radius: 34px; padding: 10px;
    background: #1b1440; border: 2px solid rgba(255,255,255,.12);
    box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.03);
    transform: rotate(3deg);
    animation: float 6s ease-in-out infinite;
}
.phone img { border-radius: 26px; width: 100%; }
.phone--back {
    position: absolute; z-index: 1; top: 8%; left: 50%;
    width: min(240px, 58%);
    transform: translateX(-95%) rotate(-9deg);
    opacity: .55; filter: blur(1px);
    animation: none;
}

.gallery {
    display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 6px 4px 18px;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 8px; }
.gallery__item {
    flex: 0 0 auto; height: 420px; padding: 0; border: 0; cursor: zoom-in;
    border-radius: 20px; overflow: hidden; background: #000;
    scroll-snap-align: start;
    box-shadow: 0 16px 35px rgba(0,0,0,.45);
    transition: transform .25s, box-shadow .25s;
}
.gallery__item img { height: 100%; width: auto; }
.gallery__item:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(139, 92, 246, .35); }

.features {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 22px;
}
.feature {
    padding: 28px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--card-border);
    transition: transform .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(236, 72, 153, .5); }
.feature__icon {
    width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px;
    display: grid; place-items: center; font-size: 1.3rem;
    background: var(--grad); box-shadow: 0 10px 25px rgba(236, 72, 153, .3);
}
.feature p { margin-top: .5rem; font-size: .95rem; }

.steps {
    list-style: none;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
    counter-reset: none;
}
.step {
    position: relative; padding: 30px 24px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--card-border);
}
.step__num {
    display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
    font-family: 'Fredoka', sans-serif; font-size: 1.3rem; font-weight: 700;
    background: rgba(139, 92, 246, .2); border: 2px solid var(--primary); color: #fff;
}
.step p { margin-top: .5rem; font-size: .95rem; }

.cta__icon {
    width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 1.4rem;
    box-shadow: 0 16px 40px rgba(236, 72, 153, .35);
}

@media (max-width: 960px) {
    .game-title { justify-content: center; text-align: left; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .gallery__item { height: 360px; }
}
@media (max-width: 560px) {
    .game-title { flex-direction: column; text-align: center; gap: 14px; }
    .game-title__icon { width: 92px; height: 92px; }
    .steps { grid-template-columns: 1fr; }
    .gallery__item { height: 320px; }
    .phone--back { display: none; }
}

/* game grid breakpoints */
@media (max-width: 1080px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .games { grid-template-columns: 1fr; } }
@media (max-width: 400px)  {
    .game { padding: 22px; }
    .game__shots { margin: 1rem -22px 0; padding: 0 22px 6px; }
    .game__icon { width: 76px; height: 76px; border-radius: 18px; }
    .game__head { gap: 14px; }
    .game__info h3 { font-size: 1.2rem; }
}

/* ===== hero: profile + game carousel ===== */
.hero__art { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.profile { text-align: center; }
.profile__photo {
    position: relative; width: 170px; height: 170px; margin: 0 auto 16px;
    border-radius: 50%; padding: 5px;
    background: var(--grad);
    box-shadow: 0 20px 50px rgba(236, 72, 153, .35);
}
.profile__photo::after {
    content: ""; position: absolute; inset: -12px; border-radius: 50%;
    border: 2px dashed rgba(255,255,255,.18);
    animation: spin 30s linear infinite;
}
.profile__photo img {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
    border: 4px solid var(--bg);
}
.profile__status {
    position: absolute; right: 4px; bottom: 8px; z-index: 1;
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; font-size: .95rem;
    background: var(--grad); border: 3px solid var(--bg);
}
.profile__name { font-size: 1.7rem; }
.profile__role { color: #d8c8ff; font-weight: 500; font-size: .92rem; margin-top: 2px; }
.profile__intro { max-width: 340px; margin: .6rem auto 0; font-size: .95rem; }

.carousel {
    position: relative; width: min(680px, 100%); margin-top: 20px;
    overflow: hidden; padding: 60px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.carousel__track { display: flex; will-change: transform; }
.carousel__item {
    flex: 0 0 33.3333%;
    display: grid; place-items: center;
}
.carousel__item img {
    width: 160px; height: 160px; border-radius: 24%;
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
    transform: scale(var(--s, .8));
    opacity: var(--o, .6);
    will-change: transform;
}
.carousel__item.is-center img { box-shadow: 0 14px 34px rgba(236, 72, 153, .4); }
.carousel__caption {
    margin-top: 2px; font-family: 'Fredoka', sans-serif; font-weight: 600;
    font-size: 1.35rem; color: #fff; min-height: 1.6em; margin-top: -6px; text-align: center;
}

@media (max-width: 560px) {
    .profile__photo { width: 140px; height: 140px; }
    .carousel__item img { width: 104px; height: 104px; }
    .carousel { padding: 40px 0; }
}
