* {
    box-sizing: border-box;
}

:root {
    --blue: #4da3ff;
    --blue2: #8fd3ff;
    --dark: #0b304f;
    --text: #18324a;
    --muted: #49677f;
    --white: rgba(255,255,255,0.94);
    --border: rgba(255,255,255,0.96);
    --shadow: 0 24px 80px rgba(7, 61, 107, 0.20);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #dff4ff, #ffffff);
    overflow: hidden;
}

button, input, textarea, select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.main-bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
}

body.nexus-video-on .main-bg-video {
    opacity: 0.72;
    visibility: visible;
    filter: saturate(1.18) contrast(1.08) brightness(1.06);
}

.main-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 20% 10%, rgba(142,213,255,0.30), transparent 32%),
        radial-gradient(circle at 80% 0%, rgba(255,255,255,0.85), transparent 30%),
        linear-gradient(135deg, #dff4ff, #ffffff 55%, #edf8ff);
}

body.nexus-video-on .main-overlay {
    background:
        radial-gradient(circle at 10% 10%, rgba(255,255,255,0.18), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(142,213,255,0.10), transparent 36%),
        linear-gradient(135deg, rgba(225,246,255,0.12), rgba(255,255,255,0.10));
    backdrop-filter: blur(1px);
}

.top-header {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 14px;
    z-index: 20;
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 55px rgba(7, 61, 107, 0.22);
    backdrop-filter: blur(22px);
}

.header-brand {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-weight: 950;
    font-size: 22px;
    border-radius: 18px;
    padding: 6px 10px 6px 6px;
    transition: 0.25s ease;
}

.header-brand:hover {
    background: rgba(77,163,255,0.12);
    transform: translateY(-1px) scale(1.02);
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(120deg, #4da3ff, #8fd3ff, #ffffff, #4da3ff);
    background-size: 240% 240%;
    color: white;
    font-weight: 950;
    font-size: 25px;
    animation: nexusShine 5s ease infinite, nexusFloat 4s ease-in-out infinite;
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.nav-btn, .logout-btn, .primary-btn, .secondary-btn, .plain-btn, .tab-btn {
    border: 0;
    transition: 0.2s ease;
}

.nav-btn {
    white-space: nowrap;
    padding: 10px 13px;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    font-weight: 850;
}

.nav-btn:hover, .nav-btn.active {
    color: white;
    background: linear-gradient(120deg, #4da3ff, #8fd3ff, #4da3ff);
    background-size: 220% 220%;
    animation: nexusShine 4s ease infinite;
}

.logout-btn {
    padding: 11px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.75);
    color: #c63d3d;
    font-weight: 900;
}

.site-shell {
    width: 100vw;
    height: 100vh;
}

.welcome-screen, .auth-screen, .app-screen {
    width: 100%;
    height: 100%;
}

.welcome-screen, .auth-screen {
    display: grid;
    place-items: center;
    padding: 24px;
}

.welcome-card, .auth-card, .glass-card, .hero-panel, .hero-card, .info-card, .project-card, .game-choice, .contact-card, .modal-card {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px) saturate(1.15);
}

.welcome-card {
    width: min(860px, 100%);
    text-align: center;
    border-radius: 36px;
    padding: 58px 46px;
    animation: rise 0.55s ease both, nexusGlow 4.5s ease-in-out infinite;
}

.brand-pill {
    display: inline-flex;
    width: fit-content;
    margin: 0 auto 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(77,163,255,0.14);
    color: #11558f;
    font-weight: 950;
}

.welcome-card h1 {
    margin: 0;
    font-size: clamp(76px, 12vw, 150px);
    line-height: 0.82;
    color: #0b4f87;
    letter-spacing: -8px;
}

.welcome-card p {
    max-width: 660px;
    margin: 28px auto 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.welcome-actions, .hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.primary-btn, .secondary-btn {
    padding: 15px 20px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 950;
}

.primary-btn {
    color: white;
    background: linear-gradient(120deg, #4da3ff, #8fd3ff, #4da3ff);
    background-size: 220% 220%;
    animation: nexusShine 4s ease infinite;
    box-shadow: 0 15px 32px rgba(77,163,255,0.28);
}

.secondary-btn {
    color: #11558f;
    background: rgba(255,255,255,0.76);
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-2px);
}

.primary-btn.full {
    width: 100%;
    margin-top: 18px;
}

.auth-card {
    width: min(520px, 100%);
    padding: 26px;
    border-radius: 30px;
}

.auth-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.plain-btn {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.75);
    color: var(--text);
    font-weight: 800;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px;
    border-radius: 15px;
    background: rgba(77,163,255,0.12);
    color: #11558f;
    font-weight: 950;
}

.tab-btn.active {
    background: var(--blue);
    color: white;
}

.auth-form h2 {
    margin: 0 0 18px;
    font-size: 30px;
}

label {
    display: block;
    margin: 13px 0 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 850;
}

input, textarea, select {
    width: 100%;
    border: 1px solid rgba(77,163,255,0.35);
    outline: none;
    border-radius: 16px;
    padding: 14px 15px;
    background: rgba(255,255,255,0.98);
    color: #0b304f;
    font-size: 15px;
}

textarea {
    resize: vertical;
}

.message {
    min-height: 22px;
    margin-top: 15px;
    color: #d14a4a;
    font-weight: 800;
}

.app-screen {
    padding: 100px 18px 18px;
}

.page-section {
    display: none;
    width: min(1280px, 100%);
    height: calc(100vh - 118px);
    margin: 0 auto;
    overflow-y: auto;
    padding: 4px 4px 22px;
}

.page-section.active {
    display: block;
    animation: rise 0.28s ease both;
}

.hero-panel {
    min-height: 360px;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 22px;
    align-items: center;
    padding: 36px;
    border-radius: 34px;
}

.hero-text h2 {
    margin: 0;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.95;
    letter-spacing: -3px;
    color: #0b4f87;
}

.hero-text p {
    max-width: 760px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.55;
}

.hero-card {
    padding: 26px;
    border-radius: 28px;
    animation: nexusFloat 4s ease-in-out infinite;
}

.quick-stats {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.quick-stats div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(77,163,255,0.12);
}

.quick-stats b {
    display: block;
    color: #11558f;
    font-size: 30px;
}

.quick-stats span {
    color: var(--muted);
    font-size: 13px;
}

.home-grid, .projects-grid, .service-grid, .about-grid, .contacts-grid, .settings-grid, .admin-grid {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.home-grid {
    grid-template-columns: repeat(4, 1fr);
}

.projects-grid {
    grid-template-columns: repeat(4, 1fr);
}

.service-grid, .about-grid, .contacts-grid, .settings-grid, .admin-grid {
    grid-template-columns: repeat(2, 1fr);
}

.info-card, .project-card {
    text-align: left;
    border-radius: 24px;
    padding: 22px;
    color: var(--text);
    transition: 0.25s ease;
}

.project-card {
    min-height: 180px;
}

.info-card:hover, .project-card:hover, .game-choice:hover, .glass-card:hover, .contact-card:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 28px 85px rgba(7, 61, 107, 0.25);
}

.info-card b, .info-card span {
    display: block;
}

.info-card span, .project-card p, .soft-text, .feature-list span {
    color: var(--muted);
    line-height: 1.45;
}

.project-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.project-card h3 {
    margin: 0 0 10px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.section-title span {
    color: #11558f;
    font-weight: 950;
}

.section-title h2 {
    margin: 6px 0 0;
    font-size: clamp(36px, 4.5vw, 62px);
    color: #0b4f87;
    letter-spacing: -2px;
}

.section-title p {
    max-width: 400px;
    color: var(--muted);
    text-align: right;
}

.glass-card {
    padding: 24px;
    border-radius: 28px;
}

.profile-layout, .assistant-layout, .games-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
}

.feature-list {
    display: grid;
    gap: 12px;
}

.feature-list div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.72);
}

.game-list {
    display: grid;
    gap: 12px;
    align-content: start;
}

.game-choice {
    text-align: left;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.game-choice.active {
    outline: 3px solid rgba(77,163,255,0.25);
}

.game-choice b, .game-choice span {
    display: block;
}

.game-choice span {
    color: var(--muted);
    margin-top: 6px;
}

.game-stage {
    min-height: 510px;
}

.game-stage-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.game-area {
    position: relative;
    min-height: 390px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(77,163,255,0.18), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.88), rgba(226,245,255,0.82));
    border: 1px solid rgba(77,163,255,0.25);
}

.game-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 950;
    font-size: 22px;
    text-align: center;
    padding: 20px;
}

.game-hud {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 14px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.game-hud span {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.9);
    color: #11558f;
    font-weight: 950;
}

.game-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.click-target {
    width: 150px;
    height: 150px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #4da3ff, #b8e5ff);
    color: white;
    font-size: 22px;
    font-weight: 950;
    box-shadow: 0 18px 45px rgba(77,163,255,0.4);
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 70px 18px 18px;
}

.memory-card {
    height: 72px;
    border: 0;
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    font-size: 28px;
    font-weight: 950;
}

.catch-star {
    position: absolute;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff, #7fc8ff);
    box-shadow: 0 0 28px rgba(77,163,255,0.65);
    font-size: 26px;
}

.assistant-box {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 560px;
}

.assistant-chat {
    height: 440px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bot-message, .user-message {
    width: fit-content;
    max-width: 82%;
    padding: 14px 16px;
    border-radius: 20px;
    line-height: 1.45;
}

.bot-message {
    background: rgba(255,255,255,0.9);
}

.user-message {
    align-self: flex-end;
    background: linear-gradient(135deg, #4da3ff, #8fd3ff);
    color: white;
    font-weight: 800;
}

.assistant-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 14px;
}

.quick-questions {
    display: grid;
    gap: 10px;
}

.quick-questions button {
    border: 0;
    border-radius: 18px;
    background: rgba(255,255,255,0.78);
    color: #11558f;
    padding: 14px;
    text-align: left;
    font-weight: 900;
}

.contact-card {
    padding: 22px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.contact-card span {
    color: var(--muted);
    font-weight: 850;
}

.contact-card b {
    text-align: right;
}

.contact-card.important {
    background: rgba(255,248,221,0.94);
}

.big-mode {
    margin-top: 12px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(77,163,255,0.12);
    color: #11558f;
    font-size: 32px;
    font-weight: 950;
}

.admin-list {
    display: grid;
    gap: 10px;
    max-height: 520px;
    overflow: auto;
}

.admin-item {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(77,163,255,0.12);
}

.admin-item b, .admin-item span {
    display: block;
}

.admin-item span {
    color: var(--muted);
    margin-top: 4px;
    font-size: 13px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(20,59,92,0.36);
    backdrop-filter: blur(12px);
}

.modal-card {
    position: relative;
    width: min(700px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    padding: 34px;
    border-radius: 32px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(77,163,255,0.13);
    color: #11558f;
    font-size: 28px;
}

.modal-icon {
    font-size: 54px;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes nexusFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes nexusGlow {
    0%, 100% {
        box-shadow: 0 22px 70px rgba(7,61,107,0.20);
    }
    50% {
        box-shadow: 0 30px 90px rgba(77,163,255,0.35);
    }
}

@keyframes nexusShine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Автоматические режимы */
body.device-phone {
    font-size: 16px;
}

body.device-phone .top-header {
    grid-template-columns: 1fr auto;
    left: 10px;
    right: 10px;
    top: 10px;
}

body.device-phone .top-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
}

body.device-phone .app-screen {
    padding: 140px 10px 10px;
}

body.device-phone .home-grid,
body.device-phone .projects-grid,
body.device-phone .service-grid,
body.device-phone .about-grid,
body.device-phone .contacts-grid,
body.device-phone .settings-grid,
body.device-phone .admin-grid,
body.device-phone .hero-panel,
body.device-phone .profile-layout,
body.device-phone .assistant-layout,
body.device-phone .games-layout {
    grid-template-columns: 1fr;
}

body.device-tv {
    font-size: 20px;
}

body.device-tv .nav-btn,
body.device-tv .primary-btn,
body.device-tv .secondary-btn {
    font-size: 18px;
    padding: 18px 24px;
}

@media (max-width: 1050px) {
    body {
        overflow: auto;
    }

    .top-header {
        grid-template-columns: 1fr auto;
        height: auto;
    }

    .top-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        order: 3;
    }

    .app-screen {
        height: auto;
        min-height: 100vh;
        padding-top: 136px;
    }

    .page-section {
        height: auto;
        min-height: calc(100vh - 154px);
    }

    .hero-panel,
    .profile-layout,
    .assistant-layout,
    .games-layout {
        grid-template-columns: 1fr;
    }

    .home-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .welcome-card {
        padding: 36px 22px;
    }

    .welcome-card h1 {
        letter-spacing: -4px;
    }

    .home-grid,
    .projects-grid,
    .service-grid,
    .about-grid,
    .contacts-grid,
    .settings-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        flex-direction: column;
    }

    .section-title p {
        text-align: left;
    }

    .contact-card {
        flex-direction: column;
    }

    .contact-card b {
        text-align: left;
    }

    .assistant-input-row {
        grid-template-columns: 1fr;
    }
}

/* NEXUS_LOADER_STYLE_START */

.nexus-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 35%, rgba(77,163,255,0.30), transparent 32%),
        linear-gradient(135deg, rgba(223,244,255,0.96), rgba(255,255,255,0.98));
    backdrop-filter: blur(20px);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.nexus-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-card {
    width: min(360px, calc(100vw - 32px));
    text-align: center;
    padding: 34px 28px;
    border-radius: 34px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.96);
    box-shadow: 0 28px 95px rgba(7, 61, 107, 0.24);
    animation: loaderPop 0.55s ease both, loaderFloat 2.6s ease-in-out infinite;
}

.loader-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: linear-gradient(120deg, #4da3ff, #8fd3ff, #ffffff, #4da3ff);
    background-size: 260% 260%;
    animation: loaderShine 2.8s ease infinite;
    box-shadow: 0 18px 50px rgba(77,163,255,0.38);
}

.loader-logo::before {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 38px;
    border: 2px solid rgba(77,163,255,0.22);
    animation: loaderPulse 1.4s ease-in-out infinite;
}

.loader-logo span {
    color: white;
    font-size: 50px;
    font-weight: 950;
    text-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.loader-card h2 {
    margin: 0;
    font-size: 42px;
    color: #0b4f87;
    letter-spacing: -1px;
}

.loader-card p {
    margin: 8px 0 20px;
    color: #49677f;
    font-weight: 800;
}

.loader-line {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(77,163,255,0.14);
}

.loader-line div {
    width: 45%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4da3ff, #8fd3ff, #4da3ff);
    animation: loaderLine 1.05s ease-in-out infinite;
}

@keyframes loaderPop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes loaderFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes loaderShine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes loaderPulse {
    0% {
        opacity: 0.8;
        transform: scale(0.96);
    }
    100% {
        opacity: 0;
        transform: scale(1.22);
    }
}

@keyframes loaderLine {
    0% {
        transform: translateX(-110%);
    }
    100% {
        transform: translateX(240%);
    }
}

/* NEXUS_LOADER_STYLE_END */

/* NEXUS_ONBOARDING_STYLE_START */

.onboarding-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: grid;
    place-items: center;
    padding: 18px;
    background:
        radial-gradient(circle at 50% 20%, rgba(77,163,255,0.26), transparent 34%),
        rgba(11, 48, 79, 0.30);
    backdrop-filter: blur(14px);
}

.onboarding-card {
    width: min(780px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 34px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.98);
    box-shadow: 0 34px 110px rgba(7, 61, 107, 0.32);
    animation: onboardingPop 0.35s ease both;
}

.onboarding-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.onboarding-top span {
    color: #11558f;
    font-weight: 950;
}

.onboarding-top h2 {
    margin: 6px 0 0;
    color: #0b4f87;
    font-size: clamp(32px, 5vw, 54px);
    letter-spacing: -2px;
}

.onboarding-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(77,163,255,0.13);
    color: #11558f;
    font-size: 28px;
    font-weight: 800;
}

.onboarding-subtitle {
    margin: 14px 0 22px;
    color: #49677f;
    line-height: 1.55;
    font-weight: 700;
}

.onboarding-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.onboarding-grid label {
    margin: 0;
    color: #49677f;
    font-weight: 900;
}

.onboarding-grid .wide {
    grid-column: 1 / -1;
}

.onboarding-grid input,
.onboarding-grid select,
.onboarding-grid textarea {
    margin-top: 8px;
}

.onboarding-message {
    min-height: 22px;
    margin-top: 14px;
    color: #d14a4a;
    font-weight: 850;
}

.onboarding-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.personal-nexus-card {
    margin-top: 16px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.96);
    box-shadow: 0 18px 55px rgba(7, 61, 107, 0.16);
    animation: onboardingPop 0.35s ease both;
}

.personal-nexus-card h3 {
    margin: 0 0 8px;
    color: #0b4f87;
}

.personal-nexus-card p {
    margin: 0;
    color: #49677f;
    line-height: 1.5;
}

.personal-nexus-card button {
    margin-top: 14px;
}

@keyframes onboardingPop {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 680px) {
    .onboarding-card {
        padding: 22px;
    }

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

    .onboarding-actions {
        justify-content: stretch;
    }

    .onboarding-actions button {
        width: 100%;
    }
}

/* NEXUS_ONBOARDING_STYLE_END */