@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');

        :root {

            --accent-glow: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.3);
            --accent-border: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.25);
            --accent-bg: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.08);
            --accent-bg-subtle: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.02);
            --bg-color: #050505;
            --card-bg: #0f0f0f;
            --card-border: #27272a;
            --text-main: #ffffff;
            --text-muted: #a1a1aa;
            --grid-line: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.06);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Unbounded', sans-serif;
        }

        html {
            width: 100%;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        body {
            width: 100%;
            background-color: var(--bg-color);
            color: var(--text-main);
            font-family: 'Unbounded', sans-serif;
            overflow-x: hidden;
            min-height: 100vh;
            position: relative;
            padding-top: 72px;
        }

        body:has(.space-background) {
            background-color: #0a1531;
        }

        .space-background {
            position: fixed;
            inset: 0;
            z-index: -2;
            overflow: hidden;
            pointer-events: none;
            background: linear-gradient(180deg, #060f27, #101f46);
        }

        .space-background::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(180, 205, 255, .025) 1px, transparent 1px),
                              linear-gradient(90deg, rgba(180, 205, 255, .025) 1px, transparent 1px);
            background-size: 64px 64px;
            mask-image: linear-gradient(#000, transparent 90%);
        }

        .space-background::after {
            content: "";
            position: absolute;
            inset: -4%;
            opacity: .16;
            background: url('../images/sky-clouds.webp') center / cover no-repeat;
            animation: smoke-drift 36s ease-in-out infinite alternate;
        }

        @keyframes smoke-drift {
            from { transform: translate3d(-4%, -1%, 0) scale(1.06); }
            to { transform: translate3d(4%, 2%, 0) scale(1.12); }
        }

        .space-stars { position: absolute; inset: 0; z-index: 1; }
        .space-stars::before {
            content: "";
            position: absolute;
            inset: -8%;
            background: url('../images/sky-clouds.webp') center / cover no-repeat;
            opacity: .12;
            pointer-events: none;
            animation: smoke-drift-mirrored 44s ease-in-out infinite alternate;
        }
        @keyframes smoke-drift-mirrored {
            from { transform: scaleX(-1) translate3d(-4%, 1%, 0) scale(1.08); }
            to { transform: scaleX(-1) translate3d(4%, -2%, 0) scale(1.13); }
        }
        .space-star {
            position: absolute;
            width: var(--size);
            height: var(--size);
            border-radius: 50%;
            background: #eaf3ff;
            box-shadow: 0 0 6px 1px rgba(190, 218, 255, .65);
            animation: star-twinkle var(--duration) ease-in-out var(--delay) infinite alternate;
        }
        @keyframes star-twinkle { from { opacity: .15; } to { opacity: .9; } }
        @media (prefers-reduced-motion: reduce) {
            .space-star { animation: none; opacity: .5; }
            .space-background::after, .space-stars::before { animation: none; }
        }
        body:has(.space-background)::after { display: none; }

        button, input, select, textarea, optgroup, option {
            font-family: 'Unbounded', sans-serif;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: -3;
            opacity: 0.5;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
        }

        .bg-grid,
        .bg-grid-glow,
        .bg-gradient-1,
        .bg-gradient-2,
        .bg-gradient-3 {
            display: none;
        }

        .client-name {
  font-family: 'Unbounded', sans-serif;
}

        .bg-gradient-1 {
            position: fixed;
            top: -50%;
            left: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, var(--accent-bg) 0%, transparent 50%);
            pointer-events: none;
            z-index: -2;
        }

        .bg-gradient-2 {
            position: fixed;
            bottom: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.04) 0%, transparent 50%);
            pointer-events: none;
            z-index: -2;
        }

        .bg-gradient-3 {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 150%;
            height: 150%;
            background: radial-gradient(ellipse at center, rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.02) 0%, transparent 60%);
            pointer-events: none;
            z-index: -2;
        }

        body::after {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 80%);
            pointer-events: none;
            z-index: -1;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 max(24px, calc((100% - 1200px) / 2 + 20px));
            height: 72px;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            background: rgba(5, 5, 5, 0.92);
            border: none;
            border-bottom: 1px solid var(--card-border);
            border-radius: 0;
            box-shadow: none;
            transition: all 0.3s ease;
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: 40px;
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }

        .nav-left:hover,
        .nav-left:focus,
        .nav-left:active,
        .nav-left:visited {
            text-decoration: none;
            color: inherit;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: 'Unbounded', sans-serif;
            font-weight: 700;
            font-size: 1.15rem;
            cursor: pointer;
            transition: transform 0.25s ease, filter 0.25s ease;
            color: var(--text-main);
        }

        .logo:hover {
            transform: scale(1.03);
        }
        
        .logo-icon {
            width: 34px;
            height: 34px;
            object-fit: contain;
            transition: transform 0.3s ease;
            border-radius: 4px;
        }

        .logo:hover .logo-icon {
            transform: rotate(10deg) scale(1.08);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 500;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            border-radius: 4px;
            border-bottom: 2px solid transparent;
        }

        .nav-links a:hover {
            color: var(--text-main);
            background: rgba(255, 255, 255, 0.06);
        }

        .nav-links a.active {
            color: #fff;
            background: transparent;
            border-bottom: 2px solid transparent;
            font-weight: 600;
        }

        .nav-dropdown { position: relative; flex: 0 0 auto; }
        .nav-dropdown summary {
            display: flex;
            align-items: center;
            gap: 7px;
            padding: 9px 8px;
            color: var(--text-muted);
            font-size: .7rem;
            font-weight: 500;
            cursor: pointer;
            list-style: none;
            white-space: nowrap;
        }
        .nav-dropdown summary::-webkit-details-marker { display: none; }
        .nav-dropdown summary::after {
            content: '';
            width: 5px;
            height: 5px;
            margin-top: -3px;
            border-right: 1px solid currentColor;
            border-bottom: 1px solid currentColor;
            transform: rotate(45deg);
        }
        .nav-dropdown[open] summary, .nav-dropdown summary:hover, .nav-dropdown summary.active { color: #fff; }
        .nav-dropdown-menu {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            min-width: 190px;
            padding: 6px;
            border: 1px solid rgba(190, 205, 255, .12);
            border-radius: 10px;
            background: #111b32;
            box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
            z-index: 1001;
        }
        .nav-links .nav-dropdown-menu a,
        body:has(.space-background) #header-container .nav-dropdown-menu a {
            display: block;
            padding: 11px 12px;
            border: 0;
            border-radius: 6px;
            color: #c8d0df;
            font-size: .7rem;
        }
        .nav-links .nav-dropdown-menu a:hover,
        body:has(.space-background) #header-container .nav-dropdown-menu a:hover {
            color: #fff;
            background: rgba(255, 255, 255, .08);
        }

        .lang-switcher {
            display: flex;
            align-items: center;
            gap: 4px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--card-border);
            border-radius: 4px;
            padding: 4px;
        }

        .lang-btn {
            padding: 5px 10px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-size: 0.82rem;
            cursor: pointer;
            border-radius: 2px;
            transition: all 0.2s ease;
            font-weight: 500;
        }

        .lang-btn:hover {
            color: var(--text-main);
            background: rgba(255, 255, 255, 0.06);
        }

        .lang-btn.active {
            background: #fff;
            color: #000;
            font-weight: 600;
        }

        .auth-buttons {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn {
            padding: 9px 18px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            font-size: 0.88rem;
            transition: all 0.25s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-ghost {
            background: rgba(255, 255, 255, 0.03);
            color: var(--text-main);
            border: 1px solid rgba(255, 255, 255, 0.09);
        }

        .btn-ghost:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.18);
            color: var(--text-main);
            transform: translateY(-1px);
        }

        .btn-primary {
            background-color: #fff;
            color: #1a1a1a;
            border: none;
            font-family: 'Unbounded', sans-serif;
            font-weight: 500;
        }

        .btn-primary:hover {
            background-color: #e6eaf2;
            transform: scale(1.05);
        }

        .hero {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            position: relative;
            min-height: calc(100svh - 72px);
            padding: 105px 20px 20px;
            overflow: hidden;
            isolation: isolate;
            width: 100%;
        }

        .hero-cloud {
            position: absolute;
            z-index: -1;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 150%;
            height: 95%;
            mask-image: linear-gradient(to bottom, #000 20%, rgba(0,0,0,.85) 38%, rgba(0,0,0,.35) 56%, rgba(0,0,0,.08) 72%, transparent 86%);
            display: grid;
            place-items: center;
            pointer-events: none;
        }
        .hero-cloud-art {
            width: 100%;
            height: 100%;
            overflow: visible;
            opacity: .48;
            transform-origin: center bottom;
            animation: hero-cloud-drift 40s ease-in-out infinite alternate;
        }
        @keyframes hero-cloud-drift {
            from { transform: translate3d(-2%, 0, 0) scale(1.02); }
            to { transform: translate3d(2%, 1%, 0) scale(1.06); }
        }
        @media (prefers-reduced-motion: reduce) {
            .hero-cloud-art { animation: none; }
        }

        .scroll-hint {
            position: absolute;
            z-index: 2;
            left: 50%;
            bottom: 22px;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            color: rgba(232, 240, 255, .78);
            font-size: .7rem;
            text-decoration: none;
            white-space: nowrap;
            opacity: 1;
            visibility: visible;
            transition: color .2s ease, opacity .35s ease, visibility 0s linear 0s;
        }
        .scroll-hint:hover, .scroll-hint:focus-visible { color: #fff; }
        .scroll-hint.is-hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity .35s ease, visibility 0s linear .35s;
        }
        .scroll-hint-arrow {
            width: 10px;
            height: 10px;
            border-right: 1.5px solid currentColor;
            border-bottom: 1.5px solid currentColor;
            transform: rotate(45deg);
            animation: scroll-hint-bounce 1.8s ease-in-out infinite;
        }
        @keyframes scroll-hint-bounce {
            0%, 100% { transform: translateY(0) rotate(45deg); opacity: .6; }
            50% { transform: translateY(5px) rotate(45deg); opacity: 1; }
        }
        @media (prefers-reduced-motion: reduce) {
            .scroll-hint-arrow { animation: none; }
            .scroll-hint, .scroll-hint.is-hidden { transition: none; }
        }
        #features { scroll-margin-top: 90px; }

        .hero .badge {
            color: #eaf0fa;
            background: rgba(255,255,255,.05);
            border-color: rgba(255,255,255,.15);
            box-shadow: none;
        }
        .hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.18; }
        .hero .feature-chip i { color: #e5edfa; }

        .hero-content {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 960px;
            width: 100%;
            margin: 0 auto;
            padding: 0;
            position: relative;
        }

        .badge {
            background: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.08);
            color: var(--accent-color);
            padding: 8px 18px;
            border-radius: 999px;
            border: 1px solid var(--accent-border);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin-bottom: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: default;
            box-shadow: 0 0 15px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.1);
        }

        .feature-chips {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin-top: 0;
            max-width: 800px;
        }

        .feature-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            border: 1px solid var(--card-border);
            background: rgba(255, 255, 255, 0.03);
            border-radius: 6px;
            font-size: 0.82rem;
            font-weight: 500;
            color: var(--text-muted);
            transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
        }

        .feature-chip:hover {
            border-color: var(--accent-border);
            color: var(--text-main);
            background: var(--accent-bg-subtle);
        }

        .feature-chip i {
            color: var(--accent-color);
            font-size: 0.78rem;
        }

        h1 {
            font-family: 'Unbounded', sans-serif;
            font-weight: 700;
            font-size: clamp(2rem, 3.8vw, 3rem);
            line-height: 1.25;
            margin: 0 auto 20px auto;
            color: #ffffff;
            max-width: 880px;
            text-align: center;
            text-wrap: balance;
            width: 100%;
        }

        h2 {
            font-family: 'Unbounded', sans-serif;
            font-weight: 600;
        }

        h4 {
            font-family: 'Unbounded', sans-serif;
            font-weight: 500;
        }

        .subtitle {
            color: var(--text-muted);
            max-width: 640px;
            line-height: 1.65;
            margin: 0 auto 28px;
            text-align: center;
            font-size: clamp(0.92rem, 1.6vw, 1.05rem);
            text-wrap: balance;
        }

        .hero-btns {
            display: flex;
            gap: 16px;
            justify-content: center;
            align-items: center;
            margin-bottom: 36px;
        }

        .hero-btns .btn {
            padding: 14px 30px;
            font-size: 1.02rem;
            border-radius: 6px;
            font-weight: 600;
        }

        .hero-btns .btn-primary {
            box-shadow: none;
        }

        .section-container {
            max-width: 1200px;
            margin: 0 auto 90px auto;
            padding: 0 24px;
            width: 100%;
        }

        .section-header {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 40px;
            width: 100%;
        }
        
        .section-header h2 {
            font-size: clamp(1.8rem, 3.2vw, 2.4rem);
            margin-bottom: 12px;
            text-align: center;
            color: #ffffff;
        }
        
        .section-header p {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
            max-width: 620px;
            margin: 0 auto;
            text-align: center;
            text-wrap: balance;
        }

        body:has(.space-background) .section-header .badge {
            color: #fff;
            background: rgba(255, 255, 255, .06);
            border-color: rgba(255, 255, 255, .16);
            box-shadow: none;
        }

        .bento-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
        }

        .adv-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            width: 100%;
            max-width: 1000px;
            margin: 0 auto;
            align-items: stretch;
        }

        .adv-card {
            background: rgba(13, 23, 47, .65);
            border: 1px solid rgba(177, 193, 230, .12);
            border-radius: 16px;
            padding: 38px 26px 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: border-color 0.3s ease, transform 0.3s ease;
            height: 100%;
        }

        .adv-card:hover {
            border-color: rgba(255, 255, 255, 0.22);
            transform: translateY(-2px);
        }

        .adv-icon-wrap {
            width: 68px;
            height: 68px;
            background: rgba(255, 255, 255, .06);
            border: 1px solid rgba(255, 255, 255, .14);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 26px;
            font-size: 21px;
            color: #fff;
            flex-shrink: 0;
        }

        .adv-title {
            font-family: 'Unbounded', sans-serif;
            font-size: .95rem;
            font-weight: 600;
            margin: 0 0 12px;
            color: #fff;
            min-height: 2.8em;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.4;
        }

        .adv-desc {
            font-family: 'Unbounded', sans-serif;
            font-size: 0.78rem;
            color: var(--text-muted);
            line-height: 1.65;
            margin: 0;
            flex-grow: 1;
        }

        .adv-chips {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin: 28px auto 0;
            width: 100%;
            max-width: 820px;
        }

        .adv-chip {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 10px 14px;
            border: 1px solid rgba(177, 193, 230, .12);
            border-radius: 10px;
            font-family: 'Unbounded', sans-serif;
            font-size: 0.72rem;
            color: rgba(255, 255, 255, 0.7);
            background: rgba(13, 23, 47, .5);
            text-align: center;
            transition: all 0.2s ease;
        }

        .adv-chip:hover {
            border-color: rgba(255, 255, 255, .25);
            background: rgba(255, 255, 255, .06);
            color: var(--text-main);
        }

        .adv-chip i {
            font-size: 0.85rem;
            color: #fff;
            flex-shrink: 0;
        }

        .getting-started {
            max-width: 1000px;
            margin: 70px auto 0;
            padding: 0 0 20px;
            text-align: center;
        }
        .getting-started-label {
            margin-bottom: 14px;
            color: #c6d7f3;
            font-size: .76rem;
            font-weight: 500;
            letter-spacing: .06em;
            text-transform: uppercase;
        }
        .getting-started h2 {
            max-width: 850px;
            margin-inline: auto;
            color: #fff;
            font-size: clamp(1.6rem, 3vw, 2.4rem);
            line-height: 1.25;
        }
        .getting-started-steps {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 48px;
            margin: 56px 0 0;
            padding: 0;
            list-style: none;
        }
        .getting-started-steps li { position: relative; }
        .step-number {
            display: grid;
            place-items: center;
            width: 52px;
            height: 52px;
            margin: 0 auto 26px;
            border: 2px solid rgba(221, 233, 255, .7);
            border-radius: 50%;
            color: #fff;
            font-size: .9rem;
        }
        .getting-started-steps h3 { margin-bottom: 12px; color: #fff; font-size: .95rem; line-height: 1.5; }
        .getting-started-steps p { color: #a1adc3; font-size: .77rem; line-height: 1.7; }
        @media (max-width: 700px) {
            .getting-started { margin-top: 55px; }
            .getting-started-steps { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
            .step-number { margin-bottom: 16px; }
        }

        .card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 6px;
            padding: 30px;
            position: relative;
            overflow: hidden;
            transition: border-color 0.3s ease;
        }

        .card:hover {
            border-color: rgba(255, 255, 255, 0.22);
        }

        .chat-layout {
            display: flex;
            flex-direction: column;
            gap: 20px;
            position: relative;
        }
        
        .chat-layout::before {
            content: '';
            position: absolute;
            left: 20px;
            top: 0;
            bottom: 0;
            width: 1px;
            background: linear-gradient(to bottom, transparent, var(--card-border) 20%, var(--card-border) 80%, transparent);
        }

        .chat-message {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 15px;
            border-radius: 4px;
            background: rgba(255,255,255,0.03);
            border: 1px solid var(--card-border);
            position: relative;
            transition: background 0.3s ease;
        }

        .chat-message:hover {
            background: rgba(255,255,255,0.04);
        }

        .chat-message::before {
            content: '';
            position: absolute;
            left: -26px;
            top: 50%;
            width: 10px;
            height: 1px;
            background: var(--card-border);
        }

        .user-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: var(--accent-color);
            display: flex;
            justify-content: center;
            align-items: center;
            color: #000;
            font-size: 1.2rem;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .chat-message:hover .user-icon {
            transform: scale(1.1);
        }
        
        .user-icon.support {
            background: #333;
            color: #fff;
        }

        .user-icon.avatar {
            background: transparent;
            overflow: hidden;
            padding: 0;
            border: 2px solid var(--accent-border);
        }

        .user-icon.avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            display: block;
        }

        .msg-content h4 {
            font-size: 0.9rem;
            margin-bottom: 4px;
        }

        .msg-content p {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .modules-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .character-wireframe {
            height: 300px;
            border: 1px dashed var(--accent-color);
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            opacity: 0.9;
            position: relative;
            perspective: 1000px;
            overflow: hidden;
            background: var(--accent-bg-subtle);
            transition: border-style 0.3s ease, transform 0.3s ease;
        }

        .character-wireframe:hover {
            border-style: solid;
            transform: scale(1.02);
        }

        .minecraft-skin {
            position: relative;
            width: 80px;
            height: 160px;
            transform-style: preserve-3d;
            transition: none;
        }

        .minecraft-skin.is-3d {
            animation: rotate3d 8s linear infinite;
        }

        .minecraft-skin.is-running {
            animation: rotate3d 8s linear infinite;
        }

        @keyframes rotate3d {
            0% { transform: rotateY(0deg); }
            100% { transform: rotateY(360deg); }
        }

        .skin-part {
            position: absolute;
            box-sizing: border-box;
            transition: all 0.3s ease;
            transform-style: preserve-3d;
        }

        .face {
            position: absolute;
            border: none;
            background: var(--accent-bg);
            border-radius: 2px;
            box-sizing: border-box;
            display: none;
        }
        
        .skin-part:not(.is-3d) {
            border: 2px solid var(--accent-color);
            background: var(--accent-bg);
            border-radius: 4px;
        }

        .is-3d .face {
            display: block;
        }
        
        .is-3d.skin-part {
            border: none !important;
            background: transparent !important;
        }

        .skin-head {
            width: 40px;
            height: 40px;
            top: 0;
            left: 50%;
            margin-left: -20px;
            z-index: 5;
            transform-origin: center bottom;
        }

        .skin-crosshair {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 24px;
            height: 24px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 10;
        }

        .skin-crosshair.active {
            opacity: 1;
        }

        .crosshair-line {
            position: absolute;
            background: var(--accent-color);
            box-shadow: 0 0 8px var(--accent-color), 0 0 16px var(--accent-color);
        }

        .crosshair-line.horizontal {
            width: 100%;
            height: 2px;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
        }

        .crosshair-line.vertical {
            width: 2px;
            height: 100%;
            left: 50%;
            top: 0;
            transform: translateX(-50%);
        }

        .crosshair-dot {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            box-shadow: 0 0 8px var(--accent-color), 0 0 16px var(--accent-color);
            animation: crosshairPulse 1.5s ease-in-out infinite;
        }

        @keyframes crosshairPulse {
            0%, 100% { box-shadow: 0 0 8px var(--accent-color), 0 0 16px var(--accent-color); }
            50% { box-shadow: 0 0 12px var(--accent-color), 0 0 24px var(--accent-color), 0 0 36px var(--accent-color); }
        }

        .skin-crosshair-3d {
            position: absolute;
            width: 24px;
            height: 24px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) translateZ(21px);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .skin-crosshair-3d.active {
            opacity: 1;
        }

        .skin-head.head-fall {
            animation: headFallAndRecover 3s ease-in-out infinite;
        }

        @keyframes headFallAndRecover {
            0% { transform: translateY(0) rotateZ(0deg); }
            15% { transform: translateY(60px) rotateZ(90deg); }
            30% { transform: translateY(120px) rotateZ(180deg); }
            50% { transform: translateY(120px) rotateZ(180deg); }
            65% { transform: translateY(60px) rotateZ(90deg); }
            80% { transform: translateY(0) rotateZ(0deg); }
            100% { transform: translateY(0) rotateZ(0deg); }
        }

        .skin-head .face.front, .skin-head .face.back { width: 40px; height: 40px; }
        .skin-head .face.left, .skin-head .face.right { width: 40px; height: 40px; }
        .skin-head .face.top, .skin-head .face.bottom { width: 40px; height: 40px; }
        .skin-head .face.front { transform: translateZ(20px); }
        .skin-head .face.back { transform: rotateY(180deg) translateZ(20px); }
        .skin-head .face.left { transform: rotateY(-90deg) translateZ(20px); }
        .skin-head .face.right { transform: rotateY(90deg) translateZ(20px); }
        .skin-head .face.top { transform: rotateX(90deg) translateZ(20px); }
        .skin-head .face.bottom { transform: rotateX(-90deg) translateZ(20px); }

        .skin-body {
            width: 40px;
            height: 60px;
            top: 42px;
            left: 50%;
            margin-left: -20px;
        }

        .skin-body .face.front, .skin-body .face.back { width: 40px; height: 60px; }
        .skin-body .face.left, .skin-body .face.right { width: 20px; height: 60px; }
        .skin-body .face.top, .skin-body .face.bottom { width: 40px; height: 20px; }
        .skin-body .face.front { transform: translateZ(10px); }
        .skin-body .face.back { transform: rotateY(180deg) translateZ(10px); }
        .skin-body .face.left { transform: rotateY(-90deg) translateZ(10px); left: 10px; }
        .skin-body .face.right { transform: rotateY(90deg) translateZ(10px); right: 10px; }
        .skin-body .face.top { transform: rotateX(90deg) translateZ(10px); top: -10px; }
        .skin-body .face.bottom { transform: rotateX(-90deg) translateZ(50px); top: 0px; }

        .skin-arm {
            width: 20px;
            height: 60px;
            top: 42px;
            transform-origin: center top;
        }

        .skin-arm.left { left: 0px; }
        .skin-arm.right { right: 0px; }
        .skin-arm.left.running { animation: armSwingLeft 0.4s ease-in-out infinite; }
        .skin-arm.right.running { animation: armSwingRight 0.4s ease-in-out infinite; }

        @keyframes armSwingLeft {
            0%, 100% { transform: rotateX(-45deg); }
            50% { transform: rotateX(45deg); }
        }

        @keyframes armSwingRight {
            0%, 100% { transform: rotateX(45deg); }
            50% { transform: rotateX(-45deg); }
        }

        .skin-arm .face.front, .skin-arm .face.back { width: 20px; height: 60px; }
        .skin-arm .face.left, .skin-arm .face.right { width: 20px; height: 60px; }
        .skin-arm .face.top, .skin-arm .face.bottom { width: 20px; height: 20px; }
        .skin-arm .face.front { transform: translateZ(10px); }
        .skin-arm .face.back { transform: rotateY(180deg) translateZ(10px); }
        .skin-arm .face.left { transform: rotateY(-90deg) translateZ(10px); }
        .skin-arm .face.right { transform: rotateY(90deg) translateZ(10px); }
        .skin-arm .face.top { transform: rotateX(90deg) translateZ(10px); top: -10px; }
        .skin-arm .face.bottom { transform: rotateX(-90deg) translateZ(50px); top: 0px; }

        .skin-leg {
            width: 20px;
            height: 60px;
            top: 104px;
            transform-origin: center top;
        }

        .skin-leg.left { left: 50%; margin-left: -20px; }
        .skin-leg.right { left: 50%; margin-left: 0px; }
        .skin-leg.left.running { animation: legSwingLeft 0.4s ease-in-out infinite; }
        .skin-leg.right.running { animation: legSwingRight 0.4s ease-in-out infinite; }

        @keyframes legSwingLeft {
            0%, 100% { transform: rotateX(45deg); }
            50% { transform: rotateX(-45deg); }
        }

        @keyframes legSwingRight {
            0%, 100% { transform: rotateX(-45deg); }
            50% { transform: rotateX(45deg); }
        }

        .skin-leg .face.front, .skin-leg .face.back { width: 20px; height: 60px; }
        .skin-leg .face.left, .skin-leg .face.right { width: 20px; height: 60px; }
        .skin-leg .face.top, .skin-leg .face.bottom { width: 20px; height: 20px; }
        .skin-leg .face.front { transform: translateZ(10px); }
        .skin-leg .face.back { transform: rotateY(180deg) translateZ(10px); }
        .skin-leg .face.left { transform: rotateY(-90deg) translateZ(10px); }
        .skin-leg .face.right { transform: rotateY(90deg) translateZ(10px); }
        .skin-leg .face.top { transform: rotateX(90deg) translateZ(10px); top: -10px; }
        .skin-leg .face.bottom { transform: rotateX(-90deg) translateZ(50px); top: 0px; }

        .hitbox-outline {
            position: absolute;
            width: 140px;
            height: 240px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transform-style: preserve-3d;
            pointer-events: none;
            opacity: 0;
            transition: none;
        }

        .hitbox-outline.visible {
            opacity: 1;
            animation: hitboxRotate 8s linear infinite;
        }

        @keyframes hitboxRotate {
            0% { transform: translate(-50%, -50%) rotateY(0deg); }
            100% { transform: translate(-50%, -50%) rotateY(360deg); }
        }

        .hitbox-face {
            position: absolute;
            border: 2px solid var(--accent-color);
            background: transparent;
            border-radius: 8px;
            opacity: 0.5;
        }

        .hitbox-face.front { width: 140px; height: 240px; transform: translateZ(70px); }
        .hitbox-face.back { width: 140px; height: 240px; transform: translateZ(-70px); }
        .hitbox-face.left { width: 140px; height: 240px; left: -70px; transform: rotateY(-90deg) translateZ(0px); }
        .hitbox-face.right { width: 140px; height: 240px; right: -70px; transform: rotateY(90deg) translateZ(0px); }
        .hitbox-face.top { width: 140px; height: 140px; top: -70px; left: 0; transform: rotateX(90deg) translateZ(0px); }
        .hitbox-face.bottom { width: 140px; height: 140px; bottom: -70px; left: 0; transform: rotateX(-90deg) translateZ(0px); }

        .module-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-top: 1px solid var(--card-border);
            transition: background 0.3s ease;
            border-radius: 2px;
        }

        .module-item:hover {
            background: rgba(255,255,255,0.02);
        }

        .module-info {
            display: flex;
            gap: 15px;
        }

        .module-info i {
            color: var(--text-muted);
            margin-top: 3px;
            transition: color 0.3s ease;
        }

        .module-item:hover .module-info i {
            color: var(--accent-color);
        }
        
        .module-text h4 { 
            font-size: 0.9rem; 
            transition: color 0.3s ease;
        }

        .module-item:hover .module-text h4 {
            color: var(--accent-color);
        }

        .module-text p { 
            font-size: 0.7rem; 
            color: var(--text-muted); 
            max-width: 150px; 
        }

        .toggle {
            width: 40px;
            height: 22px;
            background: #333;
            border-radius: 20px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .toggle:hover {
            transform: scale(1.1);
        }

        .toggle::after {
            content: '';
            position: absolute;
            top: 3px;
            left: 3px;
            width: 16px;
            height: 16px;
            background: #fff;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .toggle.active { 
            background: var(--accent-color);
            box-shadow: 0 0 15px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.5);
        }

        .toggle.active::after { left: 21px; }

        .divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
            margin: 40px 0;
            opacity: 0.4;
        }

        .deco-dot {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 50%;
        }

        .info-section {
            margin-top: 20px;
        }

        .info-block {
            margin-bottom: 25px;
            padding: 15px;
            border-radius: 12px;
            margin-left: -15px;
            margin-right: -15px;
            transition: background 0.3s ease, transform 0.3s ease;
        }

        .info-block:hover {
            background: rgba(255,255,255,0.015);
            transform: scale(1.02);
        }

        .info-block h4 {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .info-block h4 i {
            color: var(--accent-color);
            width: 20px;
            text-align: center;
            font-size: 1rem;
        }

        .info-block p {
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .stats-row {
            display: flex;
            gap: 20px;
            margin-top: 15px;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 2px;
            border: 1px solid var(--card-border);
            cursor: default;
        }

        .stat-item i {
            color: var(--accent-color);
            font-size: 0.85rem;
        }

        .stat-item span {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .stat-item strong {
            color: var(--text-main);
            font-family: 'Unbounded', sans-serif;
            font-weight: 600;
        }

        .screenshots-section {
            margin-top: 48px;
        }

        .screenshots-header {
            text-align: center;
            margin-bottom: 32px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .video-preview-wrapper {
            max-width: 960px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 24px;
        }

        .video-container {
            width: 100%;
            position: relative;
            border-radius: 6px;
            overflow: hidden;
            border: 1px solid var(--card-border);
            background: var(--card-bg);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
            aspect-ratio: 16/9;
            transition: border-color 0.3s ease;
        }

        .video-container:hover {
            border-color: rgba(255, 255, 255, 0.22);
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .video-actions {
            display: flex;
            justify-content: center;
        }

        .video-link-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            padding: 14px 28px;
            border-radius: 6px;
            font-size: 1rem;
            border: 1px solid var(--card-border);
            background: rgba(255, 255, 255, 0.03);
            transition: all 0.3s ease;
        }

        .video-link-btn:hover {
            background: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.1);
            border-color: var(--accent-border);
        }

        .screenshot-slider {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
        }

        .slider-container {
            position: relative;
            border-radius: 6px;
            overflow: hidden;
            border: 1px solid var(--card-border);
            background: var(--card-bg);
            aspect-ratio: 16/9;
        }

        .slider-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slider-slide {
            min-width: 100%;
            height: 100%;
        }

        .slider-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .slider-slide img:hover {
            transform: scale(1.03);
        }

        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(10px);
            border: 1px solid var(--card-border);
            color: #fff;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 15px 18px;
            border-radius: 4px;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .slider-nav:hover {
            background: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.3);
            border-color: var(--accent-border);
            transform: translateY(-50%) scale(1.1);
        }

        .slider-prev { left: 20px; }
        .slider-next { right: 20px; }

        .slider-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }

        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--card-border);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .slider-dot:hover {
            background: var(--text-muted);
            transform: scale(1.2);
        }

        .slider-dot.active {
            background: var(--accent-color);
            transform: scale(1.2);
        }

        .slider-counter {
            text-align: center;
            margin-top: 15px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .slider-counter span {
            color: var(--accent-color);
            font-family: 'Unbounded', sans-serif;
            font-weight: 600;
        }

        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .lightbox.active {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 85vh;
            border-radius: 12px;
            border: 1px solid var(--card-border);
        }

        .lightbox-close {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 10px;
            transition: all 0.3s ease;
        }

        .lightbox-close:hover {
            color: var(--accent-color);
            transform: scale(1.2);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid var(--card-border);
            color: #fff;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 15px 20px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-50%) scale(1.1);
        }

        .lightbox-prev { left: -80px; }
        .lightbox-next { right: -80px; }

        .lightbox-counter {
            text-align: center;
            margin-top: 15px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

.modal {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 35px;
    width: 100%;
    max-width: 380px;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

        .modal-overlay.active .modal {
            transform: scale(1) translateY(0);
        }

        .modal-close {
            position: absolute;
            top: 18px;
            right: 18px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--card-border);
            color: var(--text-muted);
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 32px;
            height: 32px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-close:hover {
            color: var(--text-main);
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .modal h2 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            text-align: center;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-input {
            width: 100%;
            padding: 14px 18px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--card-border);
            border-radius: 4px;
            color: var(--text-main);
            font-size: 0.95rem;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-input::placeholder {
            color: var(--text-muted);
        }

        .form-input:focus {
            border-color: var(--accent-color);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 3px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.1);
        }

        .btn-modal {
            width: 100%;
            padding: 14px;
            margin-top: 10px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            font-size: 0.95rem;
            background: #fff;
            color: #000;
            border: none;
            font-family: 'Unbounded', sans-serif;
            transition: all 0.3s ease;
        }

        .btn-modal:hover {
            background: #e6eaf2;
            transform: scale(1.02);
            box-shadow: 0 10px 30px -10px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.5);
        }

        .modal-footer {
            text-align: center;
            margin-top: 25px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .modal-footer a {
            color: var(--accent-color);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .modal-footer a:hover {
            text-decoration: underline;
        }

        body:has(.space-background) .modal-overlay {
            z-index: 1100;
            padding: 20px;
            overflow-y: auto;
            background: rgba(3, 9, 24, .74);
        }
        body:has(.space-background) .modal {
            max-width: 430px;
            max-height: calc(100dvh - 40px);
            overflow-y: auto;
            margin: auto;
            padding: 36px;
            border: 1px solid rgba(190, 205, 235, .16);
            border-radius: 18px;
            background: linear-gradient(150deg, rgba(22, 35, 65, .97), rgba(9, 19, 39, .98));
            box-shadow: 0 24px 80px rgba(1, 5, 17, .55);
        }
        body:has(.space-background) .modal h2 { margin: 0 42px 8px 0; text-align: left; font-size: 1.35rem; }
        body:has(.space-background) .auth-description { margin-bottom: 27px; color: #a7b4c9; font-size: .72rem; line-height: 1.6; }
        body:has(.space-background) .modal-close { border-radius: 9px; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
        body:has(.space-background) .form-group { margin-bottom: 17px; }
        body:has(.space-background) .form-group label { display: block; margin-bottom: 8px; color: #d9e2f1; font-size: .7rem; }
        body:has(.space-background) .form-input {
            padding: 13px 14px;
            border: 1px solid rgba(177, 196, 229, .15);
            border-radius: 9px;
            background: rgba(5, 14, 32, .5);
            font-size: .8rem;
        }
        body:has(.space-background) .form-input::placeholder { color: #7f8ca5; }
        body:has(.space-background) .form-input:focus { border-color: rgba(218, 232, 255, .65); background: rgba(5, 14, 32, .65); box-shadow: 0 0 0 3px rgba(192, 215, 255, .1); }
        body:has(.space-background) .btn-modal { border-radius: 9px; margin-top: 6px; }
        body:has(.space-background) .btn-modal:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
        body:has(.space-background) .modal-footer { margin-top: 24px; font-size: .72rem; line-height: 1.6; }
        body:has(.space-background) .modal-footer a { color: #fff; }
        @media (max-width: 480px) { body:has(.space-background) .modal { padding: 28px 22px; } }

        /* Footer Styles */
        footer {
            background: rgba(10, 10, 10, 0.9);
            border-top: 1px solid var(--card-border);
            padding: 60px 50px 30px;
            margin-top: 100px;
            position: relative;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 16px;
            max-width: 780px;
        }

        .footer-doc-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: 6px;
        }

        .footer-doc-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 16px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--card-border);
            color: var(--text-main);
            text-decoration: none;
            font-size: 0.82rem;
            font-weight: 500;
            transition: all 0.25s ease;
        }

        .footer-doc-btn i {
            color: var(--accent-color);
            font-size: 0.9rem;
        }

        .footer-doc-btn:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--accent-color);
            color: #fff;
            transform: translateY(-2px);
        }

        .footer-support-note {
            color: var(--text-muted);
            font-size: 0.8rem;
            line-height: 1.6;
        }

        .footer-support-note a {
            color: var(--accent-color);
            text-decoration: none;
        }

        .footer-support-note a:hover {
            text-decoration: underline;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 34px auto 0;
            padding-top: 22px;
            border-top: 1px solid var(--card-border);
            display: flex;
            flex-wrap: wrap;
            gap: 12px 24px;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .footer-verification {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 12px;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.28);
            color: var(--accent-color);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.4px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            font-family: 'Unbounded', sans-serif;
            font-weight: 600;
            font-size: 1.3rem;
        }

        .footer-logo img {
            width: 36px;
            height: 36px;
            object-fit: contain;
            border-radius: 4px;
        }

        .footer-description {
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.7;
            max-width: 480px;
            text-align: center;
        }

        .footer-socials {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 8px;
        }

        .social-link {
            width: 42px;
            height: 42px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--card-border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--accent-color);
            border-color: var(--accent-color);
            color: #000;
            transform: translateY(-3px);
        }

        .footer-column h4 {
            font-size: 1rem;
            margin-bottom: 20px;
            color: var(--text-main);
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-links a:hover {
            color: var(--accent-color);
            transform: translateX(5px);
        }

        .footer-links a i {
            font-size: 0.8rem;
            width: 16px;
        }

        .footer-copyright {
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .footer-copyright span {
            color: var(--accent-color);
            font-family: 'Unbounded', sans-serif;
        }

        /* Compact footer on the starry home page. */
        body:has(.space-background) #footer-container footer {
            max-width: 1200px;
            margin: 80px auto 0;
            padding: 32px 24px 26px;
            background: transparent;
            border-top: 1px solid rgba(255, 255, 255, .12);
        }
        body:has(.space-background) .footer-brand { max-width: 100%; gap: 18px; }
        body:has(.space-background) .footer-logo,
        body:has(.space-background) .footer-description,
        body:has(.space-background) .footer-doc-btn i { display: none; }
        body:has(.space-background) .footer-doc-actions { margin: 0; gap: 12px 28px; }
        body:has(.space-background) .footer-doc-btn {
            padding: 0;
            border: 0;
            border-radius: 0;
            background: none;
            color: #aab5c9;
            font-size: .75rem;
            font-weight: 400;
        }
        body:has(.space-background) .footer-doc-btn:hover {
            background: none;
            color: #fff;
            transform: none;
        }
        body:has(.space-background) .footer-support-note {
            max-width: 850px;
            color: #8794ad;
            font-size: .65rem;
        }
        body:has(.space-background) .footer-bottom {
            margin: 14px auto 0;
            padding: 0;
            border: 0;
            gap: 8px 18px;
        }
        body:has(.space-background) .footer-copyright,
        body:has(.space-background) .footer-verification { font-size: .65rem; }
        body:has(.space-background) .footer-copyright span { color: inherit; }
        body:has(.space-background) .footer-verification {
            padding: 0;
            border: 0;
            background: none;
            color: #aab5c9;
            font-weight: 400;
            letter-spacing: 0;
        }

        /* Floating home navigation. */
        body:has(.space-background) #header-container nav {
            top: 12px;
            left: 50%;
            width: calc(100% - 40px);
            max-width: 850px;
            height: 56px;
            padding: 0 18px;
            transform: translateX(-50%);
            border: 1px solid rgba(190, 205, 255, .08);
            border-radius: 15px;
            background: rgba(12, 21, 42, .94);
            box-shadow: 0 8px 28px rgba(3, 8, 22, .2);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }
        body:has(.space-background) #header-container .logo {
            gap: 10px;
            font-size: .95rem;
            white-space: nowrap;
        }
        body:has(.space-background) #header-container .nav-right { gap: 18px; }
        body:has(.space-background) #header-container .nav-links { gap: 5px; }
        body:has(.space-background) #header-container .nav-links a {
            padding: 9px 6px;
            border: 0;
            border-bottom: 1px solid transparent;
            border-radius: 0;
            color: #aab6d0;
            font-size: .7rem;
            white-space: nowrap;
        }
        body:has(.space-background) #header-container .nav-links a i { display: none; }
        body:has(.space-background) #header-container .nav-links a:hover { color: #fff; background: transparent; }
        body:has(.space-background) #header-container .nav-links a.active {
            color: #fff;
            background: transparent;
            border-bottom-color: transparent;
            box-shadow: none;
        }
        body:has(.space-background) #header-container .auth-buttons .btn {
            padding: 10px 12px;
            border-radius: 6px;
            font-size: .7rem;
            white-space: nowrap;
        }
        @media (max-width: 1050px) {
            body:has(.space-background) { padding-top: 130px; }
            body:has(.space-background) #header-container nav {
                top: 10px;
                width: calc(100% - 24px);
                height: auto;
                min-height: 108px;
                padding: 10px 12px;
                flex-wrap: wrap;
                gap: 8px;
            }
            body:has(.space-background) #header-container .nav-left { order: 1; }
            body:has(.space-background) #header-container .nav-right { display: contents; }
            body:has(.space-background) #header-container .auth-buttons { display: flex; order: 2; gap: 6px; }
            body:has(.space-background) #header-container .nav-links {
                display: flex;
                order: 3;
                width: 100%;
                overflow: visible;
                flex-wrap: wrap;
                scrollbar-width: none;
            }
            body:has(.space-background) #header-container .nav-links::-webkit-scrollbar { display: none; }
            body:has(.space-background) #header-container .nav-links a { flex: 0 0 auto; }
        }
        @media (max-width: 480px) {
            body:has(.space-background) #header-container .logo { font-size: .7rem; gap: 6px; }
            body:has(.space-background) #header-container .auth-buttons .btn { padding: 8px; font-size: .6rem; }
            body:has(.space-background) #header-container .auth-buttons .btn i { display: none; }
        }

        @media (max-width: 1200px) {
            .lightbox-prev { left: 10px; }
            .lightbox-next { right: 10px; }
        }

        @media (max-width: 992px) {
            .adv-grid {
                grid-template-columns: 1fr;
                max-width: 540px;
                margin: 0 auto;
            }
            .adv-chips {
                grid-template-columns: repeat(2, 1fr);
                max-width: 540px;
                margin: 20px auto 0;
            }
            .footer-content {
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .hero {
                min-height: calc(100svh - 130px);
                padding: 55px 16px 25px;
            }
            .hero-cloud { width: 190%; height: 75%; }
            .hero-btns { flex-wrap: wrap; gap: 10px; }
            .hero-btns .btn { padding: 12px 18px; font-size: .85rem; }
            h1 { 
                font-size: clamp(1.75rem, 5.5vw, 2.2rem); 
                max-width: 100%; 
            }
            .feature-chips { 
                margin-top: 0; 
                gap: 8px;
            }
            .bento-grid { grid-template-columns: 1fr; }
            .nav-links { display: none; }
            nav {
                top: 0;
                width: 100%;
                padding: 0 16px;
                height: 60px;
            }
            body { padding-top: 60px; }
            .stats-row { flex-direction: column; }
            .slider-nav { padding: 10px 14px; font-size: 1rem; }
            .slider-prev { left: 10px; }
            .slider-next { right: 10px; }
            .nav-right { gap: 10px; }
            .auth-buttons { display: none; }
            .modal { margin: 20px; padding: 25px; }
            footer { padding: 40px 20px 20px; }
            .footer-content { gap: 20px; }
        }

        @media (max-width: 600px) {
            .adv-chips {
                grid-template-columns: 1fr;
                max-width: 100%;
            }
        }
