html,
body {
    background-color: #000000;
    color: #FFFFFF;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

.glass-nav {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(145deg, rgba(20, 13, 10, 0.9) 0%, rgba(8, 5, 5, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-card:hover {
    border: 1px solid rgba(249, 115, 22, 0.4);
    box-shadow: 0 15px 35px -5px rgba(249, 115, 22, 0.2), 0 0 25px rgba(249, 115, 22, 0.15);
}

/* UIverse 3D Card Animation System (smart-liger-5 inspired) */
.card-3d-wrapper {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.card-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
}

.card-3d-wrapper:hover .card-3d,
.card-3d:hover {
    transform: rotateX(7deg) rotateY(-7deg) translateZ(12px);
    border-color: rgba(249, 115, 22, 0.5) !important;
    box-shadow: 0 25px 45px -10px rgba(249, 115, 22, 0.25), 0 0 35px rgba(249, 115, 22, 0.2) !important;
}

/* Layer Z-Depth Pop-out Utilities */
.card-3d-layer-1 {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.card-3d-layer-2 {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.card-3d-layer-3 {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.card-3d-wrapper:hover .card-3d-layer-1,
.card-3d:hover .card-3d-layer-1 {
    transform: translateZ(20px);
}

.card-3d-wrapper:hover .card-3d-layer-2,
.card-3d:hover .card-3d-layer-2 {
    transform: translateZ(40px);
}

.card-3d-wrapper:hover .card-3d-layer-3,
.card-3d:hover .card-3d-layer-3 {
    transform: translateZ(60px);
}

/* Concentric Glow Rings (UIverse 3D depth accent) */
.card-3d-rings-container {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    pointer-events: none;
    transform-style: preserve-3d;
    opacity: 0.8;
}

.card-3d-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 50%;
    border: 1.5px solid rgba(249, 115, 22, 0.2);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}

.card-3d-ring-1 {
    width: 50px;
    height: 50px;
    border-color: rgba(249, 115, 22, 0.4);
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 80%);
}

.card-3d-ring-2 {
    width: 85px;
    height: 85px;
    border-color: rgba(249, 115, 22, 0.25);
}

.card-3d-ring-3 {
    width: 120px;
    height: 120px;
    border-color: rgba(249, 115, 22, 0.15);
}

.card-3d-wrapper:hover .card-3d-ring-1,
.card-3d:hover .card-3d-ring-1 {
    transform: translateZ(50px) scale(1.15);
    border-color: rgba(249, 115, 22, 0.7);
}

.card-3d-wrapper:hover .card-3d-ring-2,
.card-3d:hover .card-3d-ring-2 {
    transform: translateZ(35px) scale(1.1);
    border-color: rgba(249, 115, 22, 0.45);
}

.card-3d-wrapper:hover .card-3d-ring-3,
.card-3d:hover .card-3d-ring-3 {
    transform: translateZ(20px) scale(1.05);
    border-color: rgba(249, 115, 22, 0.3);
}

/* ============================================
   EVA Robot Animation (Sulthan.id Themed)
   Adapted from Uiverse.io by Subaashbala
   ============================================ */
.eva-loader {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eva-modelViewPort {
    perspective: 1000px;
    width: 20rem;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    overflow: visible;
}

.eva {
    --EVA-ROTATION-DURATION: 4s;
    transform-style: preserve-3d;
    animation: eva-rotateRight var(--EVA-ROTATION-DURATION) linear infinite alternate;
}

.eva-head {
    position: relative;
    width: 6rem;
    height: 4rem;
    border-radius: 48% 53% 45% 55% / 79% 79% 20% 22%;
    background: linear-gradient(to right, white 45%, #c0c0c0);
}

.eva-eyeChamber {
    width: 4.5rem;
    height: 2.75rem;
    position: relative;
    left: 50%;
    top: 55%;
    border-radius: 45% 53% 45% 48% / 62% 59% 35% 34%;
    background-color: #1a0a00;
    box-shadow: 0px 0px 2px 2px white, inset 0px 0px 0px 2px black;
    transform: translate(-50%, -50%);
    animation: eva-moveRight var(--EVA-ROTATION-DURATION) linear infinite alternate;
}

.eva-eye {
    width: 1.2rem;
    height: 1.5rem;
    position: absolute;
    border-radius: 50%;
}

.eva-eye:first-child {
    left: 12px;
    top: 50%;
    background: repeating-linear-gradient(
        65deg,
        #fbbf7a 0px,
        #fbbf7a 1px,
        #fff5eb 2px
    );
    box-shadow: inset 0px 0px 5px #EA580C, 0px 0px 15px 1px #F97316;
    transform: translate(0, -50%) rotate(-65deg);
}

.eva-eye:nth-child(2) {
    right: 12px;
    top: 50%;
    background: repeating-linear-gradient(
        -65deg,
        #fbbf7a 0px,
        #fbbf7a 1px,
        #fff5eb 2px
    );
    box-shadow: inset 0px 0px 5px #EA580C, 0px 0px 15px 1px #F97316;
    transform: translate(0, -50%) rotate(65deg);
}

.eva-body {
    width: 6rem;
    height: 8rem;
    position: relative;
    margin-block-start: 0.25rem;
    border-radius: 47% 53% 45% 55% / 12% 9% 90% 88%;
    background: linear-gradient(to right, white 35%, #c0c0c0);
}

.eva-hand {
    position: absolute;
    left: -1.5rem;
    top: 0.75rem;
    width: 2rem;
    height: 5.5rem;
    border-radius: 40%;
    background: linear-gradient(to left, white 15%, #c0c0c0);
    box-shadow: 5px 0px 5px rgba(0, 0, 0, 0.25);
    transform: rotateY(55deg) rotateZ(10deg);
}

.eva-hand:first-child {
    animation: eva-compensateRotation var(--EVA-ROTATION-DURATION) linear infinite alternate;
}

.eva-hand:nth-child(2) {
    left: 92%;
    background: linear-gradient(to right, white 15%, #c0c0c0);
    transform: rotateY(55deg) rotateZ(-10deg);
    animation: eva-compensateRotationRight var(--EVA-ROTATION-DURATION) linear infinite alternate;
}

.eva-scannerThing {
    width: 0;
    height: 0;
    position: absolute;
    left: 60%;
    top: 10%;
    border-top: 180px solid #F97316;
    border-left: 250px solid transparent;
    border-right: 250px solid transparent;
    transform-origin: top left;
    mask: linear-gradient(to right, white, transparent 35%);
    -webkit-mask: linear-gradient(to right, white, transparent 35%);
    animation: eva-glow 2s cubic-bezier(0.86, 0, 0.07, 1) infinite;
}

.eva-scannerOrigin {
    position: absolute;
    width: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    left: 60%;
    top: 10%;
    background: #F97316;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.5), 0 0 10px #F97316;
    animation: eva-moveRight var(--EVA-ROTATION-DURATION) linear infinite;
}

@keyframes eva-rotateRight {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(25deg); }
}

@keyframes eva-moveRight {
    from { transform: translate(-50%, -50%); }
    to   { transform: translate(-40%, -50%); }
}

@keyframes eva-compensateRotation {
    from { transform: rotateY(55deg) rotateZ(10deg); }
    to   { transform: rotateY(30deg) rotateZ(10deg); }
}

@keyframes eva-compensateRotationRight {
    from { transform: rotateY(55deg) rotateZ(-10deg); }
    to   { transform: rotateY(70deg) rotateZ(-10deg); }
}

@keyframes eva-glow {
    from     { opacity: 0; }
    20%      { opacity: 1; }
    45%      { transform: rotate(-25deg); }
    75%      { transform: rotate(5deg); }
    100%     { opacity: 0; }
}

/* Responsive EVA sizing */
@media (max-width: 640px) {
    .eva-modelViewPort {
        width: 14rem;
    }
    .eva-head { width: 4.5rem; height: 3rem; }
    .eva-eyeChamber { width: 3.4rem; height: 2rem; }
    .eva-eye { width: 0.9rem; height: 1.1rem; }
    .eva-eye:first-child { left: 8px; }
    .eva-eye:nth-child(2) { right: 8px; }
    .eva-body { width: 4.5rem; height: 6rem; }
    .eva-hand { width: 1.5rem; height: 4rem; left: -1.1rem; }
    .eva-scannerThing {
        border-top-width: 120px;
        border-left-width: 160px;
        border-right-width: 160px;
    }
}

.text-gradient {
    background: linear-gradient(to right, #FDBA74, #FB923C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   Neumorphic 3D White Button (spotty-snake-82)
   Adapted from Uiverse.io by FColombati
   ============================================ */
.btn-primary {
    all: unset;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    position: relative;
    border-radius: 100em;
    background-color: rgba(0, 0, 0, 0.75);
    box-shadow:
        -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.25),
        0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1);
    display: inline-block;
    box-sizing: border-box;
    text-decoration: none;
}

.btn-primary::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: calc(100% + 0.3em);
    height: calc(100% + 0.3em);
    top: -0.15em;
    left: -0.15em;
    border-radius: inherit;
    background: linear-gradient(
        -135deg,
        rgba(5, 5, 5, 0.5),
        transparent 20%,
        transparent 100%
    );
    filter: blur(0.0125em);
    opacity: 0.25;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.btn-primary .button-outer {
    position: relative;
    z-index: 1;
    border-radius: inherit;
    transition: box-shadow 300ms ease;
    will-change: box-shadow;
    box-shadow:
        0 0.05em 0.05em -0.01em rgba(5, 5, 5, 1),
        0 0.01em 0.01em -0.01em rgba(5, 5, 5, 0.5),
        0.15em 0.3em 0.1em -0.01em rgba(5, 5, 5, 0.25);
    display: block;
    width: 100%;
    height: 100%;
}

.btn-primary:hover .button-outer {
    box-shadow:
        0 0 0 0 rgba(5, 5, 5, 1),
        0 0 0 0 rgba(5, 5, 5, 0.5),
        0 0 0 0 rgba(5, 5, 5, 0.25);
}

.btn-primary .button-inner {
    --inset: 0.035em;
    position: relative;
    z-index: 1;
    border-radius: inherit;
    padding: 0.65em 1.4em;
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 1),
        rgba(220, 220, 220, 1)
    );
    transition:
        box-shadow 300ms ease,
        clip-path 250ms ease,
        background-image 250ms ease,
        transform 250ms ease;
    will-change: box-shadow, clip-path, background-image, transform;
    overflow: clip;
    clip-path: inset(0 0 0 0 round 100em);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    box-shadow:
        0 0 0 0 inset rgba(5, 5, 5, 0.1),
        -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.25),
        0 0 0 0 inset rgba(5, 5, 5, 0.1),
        0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.5),
        0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 1),
        0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.5),
        -0.075em -0.25em 0.25em 0.1em inset rgba(5, 5, 5, 0.25);
}

.btn-primary:hover .button-inner {
    clip-path: inset(
        clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px)
        clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 100em
    );
    box-shadow:
        0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.75),
        -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.5),
        0.25em 0.25em 0.2em 0 inset rgba(5, 5, 5, 0.5),
        0 0 0.05em 0.5em inset rgba(255, 255, 255, 0.3),
        0 0 0 0 inset rgba(255, 255, 255, 1),
        0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.3),
        -0.075em -0.12em 0.2em 0.1em inset rgba(5, 5, 5, 0.25);
}

.btn-primary .button-inner span,
.btn-primary .button-inner svg {
    position: relative;
    z-index: 4;
    font-family: "Inter", sans-serif;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(
        135deg,
        rgba(15, 15, 15, 1),
        rgba(60, 60, 60, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    transition: transform 250ms ease;
    display: inline-block;
    will-change: transform;
    text-shadow: rgba(0, 0, 0, 0.05) 0 0 0.1em;
    -webkit-user-select: none;
    user-select: none;
}

.btn-primary .button-inner svg {
    color: #1a1a1a;
    fill: currentColor;
    background-image: none;
}

.btn-primary:hover .button-inner span,
.btn-primary:hover .button-inner svg {
    transform: scale(0.975);
}

.btn-primary:active .button-inner {
    transform: scale(0.975);
}

/* Exact Uiverse .button2 Class Adaptation */
.button2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #ffffff;
    padding: 0.7em 1.7em;
    font-size: 15px;
    font-weight: 600;
    border-radius: 0.5em;
    background: #14100E;
    border: 1px solid rgba(249, 115, 22, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-decoration: none;
}

.button2 > * {
    position: relative;
    z-index: 2;
}

.button2 > svg {
    height: 22px;
    width: 22px;
    position: relative;
    z-index: 2;
}

.button2:active {
    color: #ffffff;
    box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.8);
    transform: scale(0.97);
}

.button2::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(249, 115, 22, 0.3);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: 1;
}

.button2::after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: #EA580C;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: 1;
}

.button2:hover {
    color: #ffffff;
    border: 1px solid #F97316;
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.5);
}

.button2:hover::before {
    top: -35%;
    background-color: #F97316;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.button2:hover::after {
    top: -45%;
    background-color: #EA580C;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/* WhatsApp Liquid Button */
.btn-whatsapp {
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #ffffff !important;
    background: #0d1612;
    border: 1px solid rgba(64, 195, 81, 0.4);
    box-shadow: 0 4px 20px rgba(64, 195, 81, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}

.btn-whatsapp > * {
    position: relative;
    z-index: 2;
}

.btn-whatsapp::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(64, 195, 81, 0.4);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: 1;
}

.btn-whatsapp::after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: 1;
}

.btn-whatsapp:hover {
    color: #ffffff !important;
    border-color: #25D366;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp:hover::before {
    top: -35%;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.btn-whatsapp:hover::after {
    top: -45%;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.btn-whatsapp:active {
    transform: scale(0.96);
}

/* Marquee Animation */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    contain: layout paint;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #000000 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #000000 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    padding-right: 4rem;
    will-change: transform;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #2D1E1E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F97316;
}

@media (max-width: 640px) {
    #home {
        min-height: auto;
    }

    .ambient-glow>div {
        width: 18rem !important;
        height: 18rem !important;
        filter: blur(90px);
    }

    .hero-title br {
        display: none;
    }

    .hero-visual {
        max-width: min(100%, 20rem);
        animation: none;
    }

    .hero-floating {
        width: 3rem;
        height: 3rem;
        border-radius: 1rem;
    }

    .hero-floating svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    #mobile-menu {
        max-width: 100vw;
        overscroll-behavior: contain;
    }

    .marquee-container::before,
    .marquee-container::after {
        width: 64px;
    }

    .marquee-content {
        gap: 2rem;
        padding-right: 2rem;
        animation-duration: 22s;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .marquee-content {
        gap: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Perspective 3D Grid Animated Background */
.perspective-container {
    perspective: 2000px;
    transform-style: preserve-3d;
}

.perspective-grid-plane {
    transform: translate(-50%, -50%) rotateX(30deg) rotateY(-5deg) rotateZ(20deg) scale(2.2);
    transform-style: preserve-3d;
    will-change: transform;
}

.perspective-tile {
    min-height: 1px;
    min-width: 1px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: transparent;
    transition: background-color 1.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 1.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.perspective-tile:hover,
.perspective-tile.active-glow {
    background-color: rgba(249, 115, 22, 0.35);
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
    transition-duration: 0s !important;
}

@media (max-width: 768px) {
    .perspective-grid-plane {
        transform: translate(-50%, -50%) rotateX(25deg) rotateY(-5deg) rotateZ(15deg) scale(1.6);
    }
}

/* MorphText Intro Animation Styles */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700;800&display=swap');

.morph-text-container {
    font-size: clamp(2.2rem, 7.5vw, 5rem);
    font-weight: 800;
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    filter: url(#morph-threshold-intro);
}

.morph-word-rotator {
    height: 1.3em;
    min-width: 14ch;
}

.morph-word {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    white-space: nowrap;
    animation-name: morph-word-rotate;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes morph-word-rotate {
    0% {
        opacity: 0;
        filter: blur(22px);
        transform: translate(-50%, -50%) scale(0.8);
    }
    12% {
        opacity: 0.5;
        filter: blur(10px);
    }
    25%, 70% {
        opacity: 1;
        filter: blur(0px);
        transform: translate(-50%, -50%) scale(1);
    }
    85% {
        opacity: 0.5;
        filter: blur(10px);
    }
    100% {
        opacity: 0;
        filter: blur(22px);
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes morph-fade-up {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

.morph-subtext {
    animation: morph-fade-up 0.8s ease-out 0.3s forwards;
}

/* Walking Mascot Loader Styles */
.robot-walker-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.robot-loader {
    scale: 0.75;
    position: relative;
    width: 200px;
    height: 200px;
    translate: 10px -10px;
}

@media (max-width: 640px) {
    .robot-loader {
        scale: 0.6;
        translate: 5px -15px;
    }
}

.robot-loader svg {
    position: absolute;
    top: 0;
    left: 0;
}

.robot-loader .head {
    translate: 27px -30px;
    z-index: 3;
    animation: robot-bob 1s infinite ease-in;
}

.robot-loader .bod {
    translate: 0px 30px;
    z-index: 3;
    animation: robot-bob 1s infinite ease-in-out;
}

.robot-loader .legr {
    translate: 75px 135px;
    z-index: 0;
    animation: robot-rstep 1s infinite ease-in;
    animation-delay: 0.45s;
}

.robot-loader .legl {
    translate: 30px 155px;
    z-index: 3;
    animation: robot-lstep 1s infinite ease-in;
}

@keyframes robot-bob {
    0%, 5%, 100% { transform: translateY(0) rotate(3deg); }
    25%, 70% { transform: translateY(5px) rotate(0deg); }
    50% { transform: translateY(0px) rotate(-3deg); }
}

@keyframes robot-lstep {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    33% { transform: translateY(-15px) translate(32px) rotate(35deg); }
    66% { transform: translateY(0) translate(25px) rotate(-25deg); }
}

@keyframes robot-rstep {
    0%, 100% { transform: translateY(0) translate(0px) rotate(-5deg); }
    33% { transform: translateY(-10px) translate(30px) rotate(35deg); }
    66% { transform: translateY(0) translate(20px) rotate(-25deg); }
}

.robot-loader #gnd {
    translate: -140px 0;
    rotate: 10deg;
    z-index: -1;
    filter: blur(0.5px) drop-shadow(1px 3px 5px #000000);
    opacity: 0.25;
    animation: robot-scroll 5s infinite linear;
}

@keyframes robot-scroll {
    0% { transform: translateY(25px) translate(50px); opacity: 0; }
    33%, 66% { opacity: 0.25; }
    to { transform: translateY(-50px) translate(-100px); opacity: 0; }
}

/* ============================================================================
   SOLAR SYSTEM 3D ORBIT ANIMATION
   ============================================================================ */

/* Orbit Radius CSS Variables */
:root {
    --ss-radius-inner: 140px;
    --ss-radius-mid: 230px;
    --ss-radius-outer: 320px;
}

@media (max-width: 768px) {
    :root {
        --ss-radius-inner: 90px;
        --ss-radius-mid: 145px;
        --ss-radius-outer: 200px;
    }
}

@media (max-width: 480px) {
    :root {
        --ss-radius-inner: 65px;
        --ss-radius-mid: 105px;
        --ss-radius-outer: 150px;
    }
}

/* Solar System Container */
.solar-system-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 780px;
    height: 280px;
    perspective: 1200px;
    user-select: none;
    overflow: visible;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .solar-system-wrapper {
        height: 400px;
    }
}

/* Tilted Orbit Plane */
.ss-orbit-plane {
    position: absolute;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateX(65deg) rotateY(-10deg);
    transform-style: preserve-3d;
}

@media (min-width: 768px) {
    .ss-orbit-plane {
        width: 780px;
        height: 780px;
    }
}

/* Orbit Ring Lines (dashed circles) */
.ss-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(249, 115, 22, 0.15);
    pointer-events: none;
    box-shadow: inset 0 0 25px rgba(249, 115, 22, 0.02), 0 0 25px rgba(249, 115, 22, 0.02);
}

/* Orbit Revolution Keyframe */
@keyframes ss-orbitMove {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg) translateX(var(--ss-orbit-radius));
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(-360deg) translateX(var(--ss-orbit-radius));
    }
}

/* Billboard Counter-Rotation (keeps cards facing camera) */
@keyframes ss-billboardCancel {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg) rotateY(10deg) rotateX(-65deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(360deg) rotateY(10deg) rotateX(-65deg);
    }
}

/* Sun Core Pulse */
@keyframes ss-sun-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; }
}

/* Sun Decorative Ring Spins */
@keyframes ss-spin-cw {
    0% { transform: rotateX(65deg) rotateY(-10deg) rotateZ(0deg); }
    100% { transform: rotateX(65deg) rotateY(-10deg) rotateZ(360deg); }
}

@keyframes ss-spin-ccw {
    0% { transform: rotateX(65deg) rotateY(-10deg) rotateZ(0deg); }
    100% { transform: rotateX(65deg) rotateY(-10deg) rotateZ(-360deg); }
}

/* Animation Classes */
.ss-animate-orbit {
    animation: ss-orbitMove var(--ss-orbit-duration) linear infinite;
    animation-play-state: running;
}

.ss-animate-billboard {
    animation: ss-billboardCancel var(--ss-orbit-duration) linear infinite;
    animation-play-state: running;
}

.ss-animate-sun-pulse {
    animation: ss-sun-pulse 4s ease-in-out infinite alternate;
}

.ss-animate-spin-cw {
    animation: ss-spin-cw 20s linear infinite;
}

.ss-animate-spin-ccw {
    animation: ss-spin-ccw 30s linear infinite;
}

/* Sun Core Container */
.ss-sun-core {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
    transform: rotateY(10deg) rotateX(-65deg);
    transform-style: preserve-3d;
}

@media (min-width: 768px) {
    .ss-sun-core {
        width: 110px;
        height: 110px;
    }
}

/* Sun Core Glow Aura */
.ss-sun-glow {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    filter: blur(12px);
    z-index: 10;
    background: rgba(249, 115, 22, 0.2);
}

@media (min-width: 768px) {
    .ss-sun-glow {
        width: 100px;
        height: 100px;
    }
}

/* Sun Core Logo */
.ss-sun-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(249, 115, 22, 0.4);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
    z-index: 20;
    background: #0a0808;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .ss-sun-logo {
        width: 70px;
        height: 70px;
        padding: 12px;
    }
}

.ss-sun-logo svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px;
    max-height: 28px;
    flex-shrink: 0;
    color: #F97316;
    animation: spin 10s linear infinite;
}

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

/* Sun Decorative Dash Rings */
.ss-sun-dash-ring-1 {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px dashed rgba(249, 115, 22, 0.2);
    pointer-events: none;
}

.ss-sun-dash-ring-2 {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px dashed rgba(249, 115, 22, 0.1);
    pointer-events: none;
}

@media (min-width: 768px) {
    .ss-sun-dash-ring-1 {
        width: 120px;
        height: 120px;
    }
    .ss-sun-dash-ring-2 {
        width: 155px;
        height: 155px;
    }
}

/* Cosmic Dust Particles */
.ss-dust {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.5px;
    height: 1.5px;
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
}

/* Planet Orbit Wrapper (invisible, carries orbit rotation) */
.ss-planet-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
    transform-style: preserve-3d;
}

/* Laser Beam (sun → planet connection on hover) */
.ss-laser-beam {
    position: absolute;
    right: 0;
    top: 50%;
    height: 1.5px;
    transform-origin: right center;
    transform: translateY(-50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 0;
    opacity: 0;
}

/* Planet Logo Card (glassmorphism pill) */
.ss-planet-card {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.75rem;
    background: rgba(10, 8, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    pointer-events: auto;
    transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s, scale 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-family: 'Outfit', sans-serif;
}

@media (min-width: 768px) {
    .ss-planet-card {
        padding: 0.4rem 0.85rem;
        gap: 8px;
    }
}

.ss-planet-card .ss-planet-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-planet-card .ss-planet-icon svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 18px;
    max-height: 18px;
    display: block;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .ss-planet-card .ss-planet-icon {
        width: 20px;
        height: 20px;
    }
    .ss-planet-card .ss-planet-icon svg {
        max-width: 20px;
        max-height: 20px;
    }
}

.ss-planet-card .ss-planet-label {
    font-size: 10px;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .ss-planet-card .ss-planet-label {
        font-size: 12px;
    }
}

/* Planet Hover Active State */
.ss-planet-orbit.ss-active {
    z-index: 30 !important;
}

.ss-planet-orbit.ss-active .ss-laser-beam {
    opacity: 1;
}

.ss-planet-orbit.ss-active .ss-planet-card {
    scale: 1.08;
}

.ss-planet-orbit.ss-active .ss-planet-card .ss-planet-icon {
    transform: scale(1.15);
}
