:root {
    --bg: #050307;
    --bg-soft: #0b0710;
    --panel: rgba(18, 12, 24, 0.76);
    --panel-strong: rgba(28, 17, 37, 0.9);
    --brand: #a349a4;
    --brand-hot: #d865da;
    --brand-bright: #f09df2;
    --brand-soft: #7a2e84;
    --brand-deep: #37113f;
    --text: #f4edf7;
    --muted: #b9a7c1;
    --line: rgba(211, 107, 214, 0.22);
    --green: #57e389;
    --orange: #ff9f43;
    --gray: #9b95a6;
    --purple: #b86cff;
    --gold: #ffd36a;
    --gold-hot: #fff0a8;
    --github: #161b22;
    --discord: #5865f2;
    --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-color: var(--brand) #07040a;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 8%, rgba(163, 73, 164, 0.22), transparent 28rem),
        radial-gradient(circle at 86% 28%, rgba(89, 22, 110, 0.18), transparent 30rem),
        linear-gradient(135deg, #030204 0%, #09060d 48%, #050207 100%);
    font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #07040a;
}

body::-webkit-scrollbar-thumb {
    border: 3px solid #07040a;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand), var(--brand-soft));
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--brand-bright), var(--brand));
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -3;
    content: "";
    background-image:
        linear-gradient(rgba(163, 73, 164, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(163, 73, 164, 0.07) 1px, transparent 1px);
    background-position:
        calc(var(--grid-x, 0px) * 0.05) calc(var(--grid-y, 0px) * 0.05),
        calc(var(--grid-x, 0px) * 0.05) calc(var(--grid-y, 0px) * 0.05);
    background-size: 58px 58px;
    transition: background-position 180ms ease-out;
}

body::after {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    background: linear-gradient(115deg, transparent, rgba(163, 73, 164, 0.05), transparent);
    animation: slow-sweep 10s ease-in-out infinite alternate;
}

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

#background-canvas {
    position: fixed;
    inset: 0;
    z-index: -4;
    width: 100%;
    height: 100%;
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 38rem;
    height: 38rem;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(240, 157, 242, 0.22), transparent 35%),
        radial-gradient(circle, rgba(163, 73, 164, 0.16), transparent 68%);
    filter: blur(7px);
    opacity: 0.9;
    transform: translate3d(calc(var(--mouse-x, 50vw) - 50%), calc(var(--mouse-y, 50vh) - 50%), 0);
    transition: opacity 220ms ease;
}

.site-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    min-height: 100svh;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
    gap: 72px;
    align-items: center;
    min-height: 100svh;
    padding: clamp(42px, 7svh, 78px) 0 clamp(82px, 11svh, 126px);
}

.hero-copy {
    margin-top: -24px;
    animation: rise-in 700ms ease both;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-hot);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 22px;
    font-family: Impact, Haettenschweiler, "Arial Black", "Segoe UI Black", sans-serif;
    font-size: clamp(3.4rem, 7.4vw, 5.9rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.012em;
    text-transform: uppercase;
    color: #f8effa;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.78),
        0 0 28px rgba(163, 73, 164, 0.42),
        0 0 52px rgba(216, 101, 218, 0.18);
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.tagline {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.82;
}

.profile-panel {
    position: relative;
    display: grid;
    min-height: 420px;
    place-items: center;
    animation: rise-in 700ms 120ms ease both;
}

.profile-picture {
    position: relative;
    z-index: 2;
    width: min(315px, 78vw);
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid rgba(216, 101, 218, 0.46);
    border-radius: 38px;
    background: var(--panel);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(163, 73, 164, 0.34);
    transform: rotate(2deg);
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.profile-panel:hover .profile-picture {
    box-shadow:
        0 34px 100px rgba(0, 0, 0, 0.58),
        0 0 110px rgba(216, 101, 218, 0.42);
    transform: rotate(0deg) translateY(-6px);
}

.profile-orbit {
    position: absolute;
    border: 1px solid rgba(163, 73, 164, 0.2);
    border-radius: 999px;
    box-shadow: inset 0 0 50px rgba(163, 73, 164, 0.1);
}

.orbit-one {
    width: 360px;
    height: 360px;
    animation: spin 20s linear infinite;
}

.orbit-two {
    width: 250px;
    height: 250px;
    border-color: rgba(216, 101, 218, 0.22);
    animation: spin 14s linear infinite reverse;
}

.social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.social-button {
    position: relative;
    display: inline-flex;
    height: 48px;
    min-width: 132px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 850;
    letter-spacing: 0.015em;
    line-height: 1;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.34);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.social-button::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-130%);
    transition: transform 680ms ease;
}

.social-button:hover,
.social-button:focus-visible {
    transform: translateY(-3px);
    outline: none;
}

.social-button:hover::before,
.social-button:focus-visible::before {
    transform: translateX(130%);
}

.social-button span,
.social-icon {
    position: relative;
    z-index: 1;
}

.social-icon {
    display: block;
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
}

.github-button {
    background:
        linear-gradient(135deg, rgba(22, 27, 34, 0.98), rgba(8, 10, 14, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.14), transparent 52%);
}

.github-button:hover,
.github-button:focus-visible {
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow:
        0 18px 58px rgba(0, 0, 0, 0.48),
        0 0 36px rgba(255, 255, 255, 0.1),
        0 0 46px rgba(163, 73, 164, 0.22);
}

.discord-button {
    background:
        linear-gradient(135deg, rgba(88, 101, 242, 1), rgba(66, 74, 190, 1)),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 54%);
}

.discord-button:hover,
.discord-button:focus-visible {
    border-color: rgba(221, 225, 255, 0.62);
    box-shadow:
        0 18px 58px rgba(24, 32, 118, 0.42),
        0 0 46px rgba(88, 101, 242, 0.46),
        0 0 42px rgba(163, 73, 164, 0.24);
}

.products-section {
    padding: clamp(86px, 12svh, 132px) 0 112px;
}

.section-heading {
    max-width: 660px;
    margin-bottom: 34px;
}

.section-heading p:last-child {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

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

.product-card {
    position: relative;
    display: flex;
    min-height: 520px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(211, 107, 214, 0.23);
    border-radius: 30px;
    background:
        radial-gradient(circle at var(--card-x, 50%) var(--card-y, 30%), rgba(240, 157, 242, 0.24), transparent 32%),
        linear-gradient(145deg, rgba(26, 17, 34, 0.93), rgba(10, 6, 14, 0.96));
    box-shadow: var(--shadow);
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    outline: none;
    transform-style: preserve-3d;
    transition: border-color 240ms ease, box-shadow 240ms ease, transform 160ms ease, background 240ms ease;
}

.product-card::before {
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 28%, rgba(163, 73, 164, 0.09)),
        radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(255, 255, 255, 0.075), transparent 22%);
    opacity: 0.85;
}

.product-card::after {
    position: absolute;
    right: -120px;
    bottom: -140px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    content: "";
    background: radial-gradient(circle, rgba(163, 73, 164, 0.3), transparent 65%);
    filter: blur(8px);
}

.product-card:hover,
.product-card:focus-visible {
    border-color: rgba(240, 157, 242, 0.78);
    box-shadow:
        0 32px 108px rgba(0, 0, 0, 0.58),
        0 0 82px rgba(163, 73, 164, 0.42),
        inset 0 0 42px rgba(163, 73, 164, 0.1);
}

.card-border {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.card-border::before {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    content: "";
    border: 1px solid rgba(240, 157, 242, 0);
    box-shadow:
        inset 0 0 0 1px rgba(240, 157, 242, 0),
        0 0 0 rgba(240, 157, 242, 0);
    transition: border-color 240ms ease, box-shadow 240ms ease;
}

.product-card:hover .card-border::before,
.product-card:focus-visible .card-border::before {
    border-color: rgba(240, 157, 242, 0.62);
    box-shadow:
        inset 0 0 28px rgba(240, 157, 242, 0.08),
        0 0 32px rgba(240, 157, 242, 0.18);
}

.card-light {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(255, 255, 255, 0.24), transparent 22%),
        linear-gradient(115deg, transparent 18%, rgba(216, 101, 218, 0.11), transparent 72%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.product-card:hover .card-light,
.product-card:focus-visible .card-light {
    opacity: 1;
}

.logo-wrap,
.product-copy,
.product-button {
    position: relative;
    z-index: 1;
}

.logo-wrap {
    display: grid;
    min-height: 170px;
    place-items: center;
    padding: 24px;
    border: 1px solid rgba(163, 73, 164, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(circle, rgba(163, 73, 164, 0.16), transparent 60%),
        rgba(255, 255, 255, 0.026);
}

.product-logo {
    display: block;
    width: min(78%, 250px);
    max-height: 118px;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(163, 73, 164, 0.28));
    transform: translateZ(32px);
    transition: transform 260ms ease, filter 260ms ease;
}

.logo-rust {
    width: min(76%, 240px);
    max-height: 80px;
}

.logo-marvel-rivals {
    width: min(68%, 220px);
    max-height: 104px;
}

.product-card:hover .product-logo,
.product-card:focus-visible .product-logo {
    filter: drop-shadow(0 0 40px rgba(216, 101, 218, 0.52));
    transform: translateZ(42px) scale(1.04);
}

.product-copy {
    margin: 28px 0;
}

.product-status {
    --status-color: var(--brand-hot);
    display: flex;
    gap: 8px;
    align-items: center;
    width: fit-content;
    margin-bottom: 9px;
    color: var(--status-color);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.product-status::before {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    content: "";
    background: var(--status-color);
    box-shadow: 0 0 16px var(--status-color);
    flex: 0 0 auto;
}

.status-active {
    --status-color: var(--green);
}

.status-updating,
.status-in-development {
    --status-color: var(--orange);
}

.status-paused {
    --status-color: var(--gray);
}

.status-private {
    --status-color: var(--purple);
}

.product-copy h3 {
    margin-bottom: 18px;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.feature-list {
    display: grid;
    gap: 10px;
    padding-left: 1.2rem;
    margin: 0;
    list-style: disc;
}

.feature-item {
    position: relative;
    max-width: 100%;
    padding: 0;
    color: var(--muted);
    background: transparent;
    font-size: 0.95rem;
    line-height: 1.45;
}

.feature-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    vertical-align: middle;
}

.feature-text {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    transform: translateY(-2px);
}

.has-tooltip {
    cursor: help;
}

.has-tooltip:hover,
.has-tooltip:focus,
.has-tooltip.tooltip-open {
    z-index: 10;
    color: var(--text);
    background: transparent;
    outline: none;
}

.feature-info {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(240, 157, 242, 0.28);
    border-radius: 999px;
    color: var(--brand-bright);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    transform: translateY(0);
    flex: 0 0 18px;
}

.feature-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: max-content;
    max-width: min(280px, calc(100vw - 56px));
    padding: 11px 12px;
    border: 1px solid rgba(240, 157, 242, 0.28);
    border-radius: 14px;
    color: var(--text);
    background:
        linear-gradient(145deg, rgba(25, 14, 33, 0.98), rgba(9, 5, 13, 0.98)),
        radial-gradient(circle at 20% 0%, rgba(163, 73, 164, 0.28), transparent 55%);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.44),
        0 0 34px rgba(163, 73, 164, 0.18);
    font-size: 0.82rem;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.98);
    transition: opacity 160ms ease, transform 160ms ease;
}

.has-tooltip:hover .feature-tooltip,
.has-tooltip:focus .feature-tooltip,
.has-tooltip.tooltip-open .feature-tooltip {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.special-feature {
    overflow: visible;
    color: var(--gold);
    background: transparent;
}

.special-text {
    position: relative;
    display: inline-flex;
    transform: translateY(-2px);
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow:
        0 0 12px rgba(255, 211, 106, 0.52),
        0 0 24px rgba(255, 176, 56, 0.18);
    animation: gold-shimmer 2.8s ease-in-out infinite;
}

.special-char {
    position: relative;
    display: inline-block;
}

.char-sparkle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    pointer-events: none;
    background: var(--gold-hot);
    box-shadow:
        0 0 7px rgba(255, 240, 168, 0.9),
        0 0 14px rgba(255, 211, 106, 0.54);
    transform: translate(-50%, -50%) scale(0);
    animation: char-sparkle var(--sparkle-duration, 820ms) ease-out forwards;
}

.product-button {
    display: inline-flex;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(240, 157, 242, 0.32);
    border-radius: 18px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(163, 73, 164, 0.98), rgba(93, 34, 111, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
    box-shadow: 0 18px 48px rgba(163, 73, 164, 0.22);
    font-weight: 900;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-button:hover,
.product-button:focus-visible {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 24px 64px rgba(163, 73, 164, 0.34),
        0 0 44px rgba(216, 101, 218, 0.3);
    transform: translateY(-2px);
    outline: none;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slow-sweep {
    from {
        opacity: 0.45;
        transform: translateX(-8%);
    }

    to {
        opacity: 1;
        transform: translateX(8%);
    }
}

@keyframes gold-shimmer {
    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.32);
    }
}

@keyframes char-sparkle {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(0, 0) scale(0.15);
    }

    18% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(calc(var(--sparkle-x) * 0.35), calc(var(--sparkle-y) * 0.35)) scale(1.35);
    }

    68% {
        opacity: 0.88;
        transform: translate(-50%, -50%) translate(calc(var(--sparkle-x) * 0.8), calc(var(--sparkle-y) * 0.8)) scale(0.82);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(var(--sparkle-x), var(--sparkle-y)) scale(0.18);
    }
}

@media (max-width: 900px) {
    .site-shell {
        width: min(100% - 30px, 680px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        align-content: center;
        padding: 46px 0 70px;
        text-align: center;
    }

    .hero-copy {
        margin-top: 0;
    }

    .tagline {
        margin: 0 auto;
    }

    .social-actions {
        justify-content: center;
    }

    .profile-panel {
        min-height: 290px;
    }

    .profile-picture {
        width: min(238px, 68vw);
        border-radius: 32px;
    }

    .orbit-one {
        width: 280px;
        height: 280px;
    }

    .orbit-two {
        width: 198px;
        height: 198px;
    }

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

@media (max-width: 520px) {
    .site-shell {
        width: min(100% - 24px, 460px);
    }

    h1 {
        font-size: clamp(2.7rem, 16vw, 4rem);
    }

    .hero-grid {
        gap: 22px;
        padding-bottom: 58px;
    }

    .social-button {
        width: min(100%, 220px);
    }

    .product-card {
        min-height: 470px;
        padding: 22px;
        border-radius: 24px;
    }

    .logo-wrap {
        min-height: 132px;
    }

    .feature-tooltip {
        left: 50%;
        transform: translate(-50%, 8px) scale(0.98);
    }

    .has-tooltip:hover .feature-tooltip,
    .has-tooltip:focus .feature-tooltip,
    .has-tooltip.tooltip-open .feature-tooltip {
        transform: translate(-50%, 0) scale(1);
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }

    .cursor-glow {
        opacity: 0.45;
    }
}