body.portal-enhanced {
    background:
        radial-gradient(circle at top, rgba(94, 46, 120, 0.24), transparent 34%),
        radial-gradient(circle at 12% 22%, rgba(255, 163, 72, 0.08), transparent 16%),
        radial-gradient(circle at 88% 18%, rgba(159, 97, 210, 0.12), transparent 18%),
        linear-gradient(180deg, #090410 0%, #000000 100%);
}

body.portal-enhanced img {
    display: block;
    max-width: 100%;
}

body.portal-enhanced .nav,
body.portal-enhanced .top-nav {
    display: none !important;
}

body.portal-enhanced .portal-shell-nav {
    position: sticky;
    top: 0;
    z-index: 1400;
    background: rgba(7, 4, 14, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

body.portal-enhanced .portal-shell-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body.portal-enhanced .portal-shell-logo {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 28px;
    color: #d4af37;
    text-decoration: none;
}

body.portal-enhanced .portal-shell-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

body.portal-enhanced .portal-shell-menu a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

body.portal-enhanced .portal-shell-menu a:hover,
body.portal-enhanced .portal-shell-menu a.is-active {
    color: #fff6d2;
    border-color: rgba(212, 175, 55, 0.34);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(139, 69, 189, 0.2));
}

body.portal-enhanced .hero,
body.portal-enhanced .breadcrumbs {
    position: relative;
    z-index: 1;
}

body.portal-enhanced .portal-start-card {
    max-width: 1080px;
    margin: 0 auto 34px;
    padding: 0 20px;
}

body.portal-enhanced .portal-start-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    background: linear-gradient(145deg, rgba(31, 19, 57, 0.92), rgba(13, 8, 24, 0.96));
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
}

body.portal-enhanced .portal-start-copy h2,
body.portal-enhanced .portal-start-form h3 {
    font-family: 'Cinzel', serif;
    color: #f1df97;
    margin-bottom: 14px;
}

body.portal-enhanced .portal-start-copy p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 14px;
}

body.portal-enhanced .portal-context-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

body.portal-enhanced .portal-context-pills span {
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.24);
    color: #ead58d;
    font-size: 14px;
}

body.portal-enhanced .portal-start-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 24px;
    padding: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.portal-enhanced .portal-start-form textarea {
    width: 100%;
    min-height: 130px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(8, 5, 16, 0.92);
    color: #fff;
    font: inherit;
    font-size: 17px;
    resize: vertical;
    outline: none;
    margin-bottom: 16px;
}

body.portal-enhanced .portal-start-form textarea:focus {
    border-color: rgba(212, 175, 55, 0.52);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
}

body.portal-enhanced .portal-start-button {
    width: 100%;
    border: none;
    border-radius: 20px;
    padding: 18px 20px;
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #d4af37 0%, #8b45bd 50%, #d4af37 100%);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 16px 38px rgba(212, 175, 55, 0.24);
}

body.portal-enhanced .portal-start-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(212, 175, 55, 0.34);
}

body.portal-enhanced .portal-question-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

body.portal-enhanced .portal-question-chips button {
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(212, 175, 55, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font: inherit;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

body.portal-enhanced .portal-question-chips button:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.36);
    transform: translateY(-2px);
}

body.portal-enhanced .portal-shell-footer {
    margin-top: 46px;
    padding: 38px 20px 60px;
    border-top: 1px solid rgba(212, 175, 55, 0.16);
    text-align: center;
    color: rgba(255, 255, 255, 0.56);
}

body.portal-enhanced .portal-shell-footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

body.portal-enhanced .portal-shell-footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.74);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

body.portal-enhanced .portal-shell-footer-links a:hover {
    color: #fff4ca;
    border-color: rgba(212, 175, 55, 0.34);
    transform: translateY(-2px);
}

body.portal-enhanced footer:not(.portal-shell-footer) {
    display: none !important;
}

body.portal-enhanced .breadcrumbs {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px 24px 6px;
    color: rgba(255, 255, 255, 0.56);
}

body.portal-enhanced .breadcrumbs a {
    color: #e7cf82;
}

body.portal-enhanced .hero {
    max-width: 1160px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

body.portal-enhanced .hero p,
body.portal-enhanced .section p,
body.portal-enhanced .cta p {
    color: rgba(255, 248, 238, 0.8);
}

body.portal-enhanced .card-img,
body.portal-enhanced .card-item img {
    background: #12081b;
    object-fit: cover;
    outline: 1px solid rgba(212, 175, 55, 0.24);
    outline-offset: -1px;
    clip-path: inset(1px 1px 1px 1px round 16px);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

body.portal-enhanced .card-img {
    border-radius: 20px;
    box-shadow:
        0 26px 64px rgba(0, 0, 0, 0.38),
        0 0 46px rgba(212, 175, 55, 0.18);
}

body.portal-enhanced .container {
    max-width: 1160px;
    padding-top: 28px;
    padding-bottom: 32px;
}

body.portal-enhanced .section,
body.portal-enhanced .cta,
body.portal-enhanced .cta-section {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

body.portal-enhanced .section::before,
body.portal-enhanced .cta::before,
body.portal-enhanced .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%);
    pointer-events: none;
}

body.portal-enhanced .section > *,
body.portal-enhanced .cta > *,
body.portal-enhanced .cta-section > * {
    position: relative;
    z-index: 1;
}

body.portal-enhanced .section {
    background: linear-gradient(145deg, rgba(37, 20, 60, 0.82), rgba(18, 10, 31, 0.92));
    border: 1px solid rgba(212, 175, 55, 0.18);
}

body.portal-enhanced .section h2 {
    border-bottom-color: rgba(212, 175, 55, 0.18);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.16);
}

body.portal-enhanced .section h3 {
    color: #efd98d;
}

body.portal-enhanced .cta,
body.portal-enhanced .cta-section {
    background: linear-gradient(135deg, #cf9f2f 0%, #be8088 42%, #8b45bd 78%, #d4af37 100%);
}

body.portal-enhanced .cta-btn {
    background: rgba(255, 253, 247, 0.98);
    color: #6f3498;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

body.portal-enhanced .cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

body.portal-enhanced .cards-grid {
    gap: 24px;
}

body.portal-enhanced .card-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    background: linear-gradient(145deg, rgba(34, 19, 57, 0.88), rgba(14, 8, 28, 0.96));
}

body.portal-enhanced .card-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 26%);
    pointer-events: none;
}

body.portal-enhanced .card-item:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.42);
    box-shadow: 0 24px 60px rgba(212, 175, 55, 0.14);
}

body.portal-enhanced .card-item img {
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

body.portal-enhanced .card-item h3,
body.portal-enhanced h1 {
    text-shadow: 0 0 26px rgba(212, 175, 55, 0.18);
}

body.portal-enhanced .number,
body.portal-enhanced .subtitle {
    letter-spacing: 0.06em;
}

@media (max-width: 900px) {
    body.portal-enhanced .portal-shell-inner,
    body.portal-enhanced .portal-start-inner {
        grid-template-columns: 1fr;
        display: grid;
    }

    body.portal-enhanced .portal-shell-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    body.portal-enhanced .portal-shell-logo {
        text-align: center;
    }

    body.portal-enhanced .portal-shell-menu {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body.portal-enhanced .portal-shell-menu::-webkit-scrollbar {
        display: none;
    }

    body.portal-enhanced .portal-shell-menu a {
        white-space: nowrap;
    }

    body.portal-enhanced .hero,
    body.portal-enhanced .breadcrumbs {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 640px) {
    body.portal-enhanced .portal-shell-inner {
        padding: 14px 12px;
    }

    body.portal-enhanced .portal-shell-logo {
        font-size: 24px;
    }

    body.portal-enhanced .portal-shell-menu a {
        font-size: 14px;
        padding: 9px 14px;
    }

    body.portal-enhanced .portal-start-card {
        padding: 0 10px;
        margin-bottom: 22px;
    }

    body.portal-enhanced .portal-start-inner {
        padding: 18px;
        border-radius: 24px;
    }

    body.portal-enhanced .portal-start-copy h2,
    body.portal-enhanced .portal-start-form h3 {
        font-size: 24px;
        line-height: 1.25;
    }

    body.portal-enhanced .portal-start-form {
        padding: 18px;
        border-radius: 20px;
    }

    body.portal-enhanced .portal-start-form textarea {
        min-height: 120px;
        padding: 16px;
        font-size: 16px;
    }

    body.portal-enhanced .portal-start-button {
        padding: 16px 18px;
        font-size: 15px;
    }

    body.portal-enhanced .portal-context-pills span,
    body.portal-enhanced .portal-question-chips button,
    body.portal-enhanced .portal-shell-footer-links a {
        font-size: 13px;
    }

    body.portal-enhanced .breadcrumbs {
        padding: 16px 12px 4px;
        font-size: 13px;
    }

    body.portal-enhanced .hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.portal-enhanced .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.portal-enhanced .section,
    body.portal-enhanced .cta,
    body.portal-enhanced .cta-section,
    body.portal-enhanced .card-item {
        border-radius: 24px;
    }

    body.portal-enhanced .card-img {
        width: min(210px, 100%);
        height: auto;
    }
}
