:root {
    --home-bg: #f8f5ff;
    --card-bg: #ffffff;
    --primary-text: #1b1f3b;
    --secondary-text: #4d4d66;
    --accent: #6b5bff;
    --accent-strong: #4836f3;
    --border-muted: #e2dff5;
}

.home-moved {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--primary-text);
    padding: 2.5rem 1.5rem 4rem;
    background: var(--home-bg);
    min-height: calc(100vh - 40px);
}

.home-moved__hero {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
    padding: 2rem;
    border-radius: 32px;
    background: linear-gradient(135deg, #ede9ff 0%, #fef9ff 60%, #f4f9ff 100%);
    box-shadow: 0 25px 50px rgba(45, 33, 134, 0.12);
}

.home-moved__hero-copy {
    flex: 1 1 320px;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-moved__logo {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

.home-moved__logo img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.home-moved__hero-copy h1 {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    margin: 0.35rem 0 0.75rem;
}

.home-moved__lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: var(--secondary-text);
    text-align: center;
}

.home-moved__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-strong);
    margin: 0;
}

.home-moved__hint {
    color: var(--secondary-text);
    margin-bottom: 0;
}

.home-moved__hero-visual {
    flex: 1 1 260px;
    min-height: 240px;
    display: flex;
    justify-content: center;
}

.home-moved__planet {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #d7d0ff 52%, #b3a4ff 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(32, 23, 78, 0.15);
    animation: planetPulse 6s ease-in-out infinite;
}

.home-moved__planet::after {
    content: "";
    position: absolute;
    top: 15%;
    left: -10%;
    width: 120%;
    height: 70%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    filter: blur(20px);
}

.home-moved__ship {
    width: 110px;
    height: 110px;
    position: absolute;
    top: 60%;
    left: -10%;
    background: conic-gradient(from 90deg, #fff 0 30%, #f5b4ff 45%, #6b5bff 100%);
    border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%;
    transform: rotate(12deg);
    animation: shipFly 7s linear infinite;
    box-shadow: 0 10px 25px rgba(107, 91, 255, 0.35);
}

.home-moved__ship::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 60px;
    left: 65%;
    top: 60%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(107, 91, 255, 0));
    border-radius: 50%;
    filter: blur(1px);
}

.home-moved__categories {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portal-category {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(32, 23, 78, 0.08);
    border: 1px solid var(--border-muted);
    display: flex;
    flex-direction: column;
}

.portal-category header {
    margin-bottom: 1.25rem;
}

.portal-category__label {
    font-weight: 600;
    color: var(--accent-strong);
    margin-bottom: 0.35rem;
}

.portal-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portal-category li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid var(--border-muted);
    background: #fbfbff;
}

.portal-category h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
}

.portal-category p {
    margin: 0;
    color: var(--secondary-text);
    line-height: 1.4;
}

.portal-category__cta {
    white-space: nowrap;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.portal-category__cta:hover,
.portal-category__cta:focus {
    background: var(--accent-strong);
    transform: translateY(-2px);
}

.home-moved__empty {
    text-align: center;
    padding: 2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px dashed var(--border-muted);
    color: var(--secondary-text);
}

@keyframes shipFly {
    0% {
        transform: translate(0, 0) rotate(8deg);
    }
    30% {
        transform: translate(160px, -80px) rotate(16deg);
    }
    60% {
        transform: translate(220px, 20px) rotate(-4deg);
    }
    100% {
        transform: translate(0, 0) rotate(8deg);
    }
}

@keyframes planetPulse {
    0% {
        box-shadow: inset 0 0 30px rgba(32, 23, 78, 0.15);
    }
    50% {
        box-shadow: inset 0 0 50px rgba(32, 23, 78, 0.25);
    }
    100% {
        box-shadow: inset 0 0 30px rgba(32, 23, 78, 0.15);
    }
}

@media (max-width: 768px) {
    .portal-category li {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-category__cta {
        width: 100%;
        text-align: center;
        padding: 0.65rem 0rem;
    }
}
