:root {
    --zk-bg: #030711;
    --zk-bg-2: #07101f;
    --zk-card: rgba(12, 21, 38, 0.78);
    --zk-card-solid: #0d1727;
    --zk-border: rgba(207, 163, 90, 0.28);
    --zk-gold: #d4a44f;
    --zk-gold-2: #f2c978;
    --zk-blue: #71d5ff;
    --zk-text: #f5f7fb;
    --zk-soft: #b9c2d0;
    --zk-muted: #7f8ca2;
    --zk-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    color: var(--zk-text);
    background:
        radial-gradient(circle at 20% 10%, rgba(113, 213, 255, 0.12), transparent 30rem),
        radial-gradient(circle at 80% 0%, rgba(212, 164, 79, 0.11), transparent 28rem),
        linear-gradient(180deg, #02040a 0%, var(--zk-bg) 48%, #02040a 100%);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.26) 1px, transparent 1px),
        radial-gradient(circle, rgba(113, 213, 255, 0.16) 1px, transparent 1px);
    background-size: 48px 48px, 87px 87px;
    background-position: 0 0, 18px 29px;
    opacity: 0.22;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(180deg, rgba(3, 7, 17, 0.15), rgba(3, 7, 17, 0.98));
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.text-soft {
    color: var(--zk-soft);
}

.zk-navbar {
    padding: 1rem 0;
    background: rgba(3, 7, 17, 0.34);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.zk-navbar.navbar-scrolled {
    padding: 0.58rem 0;
    background: rgba(3, 7, 17, 0.88);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-logo,
.footer-logo {
    border-radius: 50%;
    border: 1px solid rgba(212, 164, 79, 0.58);
    box-shadow: 0 0 24px rgba(113, 213, 255, 0.18);
    object-fit: cover;
}

.navbar .nav-link {
    color: rgba(245, 247, 251, 0.78);
    font-weight: 600;
    font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--zk-gold-2);
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-gold {
    color: #160f05;
    background: linear-gradient(135deg, var(--zk-gold-2), var(--zk-gold));
    border: 0;
    box-shadow: 0 14px 34px rgba(212, 164, 79, 0.22);
}

.btn-gold:hover,
.btn-gold:focus {
    color: #160f05;
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(212, 164, 79, 0.32);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--zk-text);
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #08101d;
    border-color: var(--zk-blue);
    background: var(--zk-blue);
}

.hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(3, 7, 17, 0.95) 0%, rgba(3, 7, 17, 0.72) 48%, rgba(3, 7, 17, 0.46) 100%),
        radial-gradient(circle at 78% 50%, rgba(113, 213, 255, 0.2), transparent 32rem);
}

.hero-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(4px);
    pointer-events: none;
    z-index: -1;
}

.orb-one {
    width: 24rem;
    height: 24rem;
    right: -8rem;
    top: 16%;
    background: radial-gradient(circle, rgba(113, 213, 255, 0.22), transparent 67%);
}

.orb-two {
    width: 20rem;
    height: 20rem;
    left: -9rem;
    bottom: 5%;
    background: radial-gradient(circle, rgba(212, 164, 79, 0.18), transparent 70%);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--zk-gold-2);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-copy .display-3 {
    line-height: 0.96;
    text-shadow: 0 0 32px rgba(113, 213, 255, 0.18);
}

.hero-lead {
    max-width: 760px;
    color: var(--zk-soft);
    font-size: clamp(1.12rem, 2vw, 1.38rem);
    line-height: 1.75;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 760px;
}

.trust-row div {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
}

.trust-row strong,
.trust-row span {
    display: block;
}

.trust-row strong {
    color: var(--zk-gold-2);
    font-size: 1.03rem;
}

.trust-row span {
    color: var(--zk-soft);
    font-size: 0.88rem;
    margin-top: 0.25rem;
}

.portal-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 455px);
    aspect-ratio: 1;
    padding: 1rem;
}

.portal-card::before,
.portal-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.portal-card::before {
    border: 1px solid rgba(212, 164, 79, 0.45);
    box-shadow: inset 0 0 34px rgba(113, 213, 255, 0.13), 0 0 70px rgba(113, 213, 255, 0.12);
}

.portal-card::after {
    inset: 8%;
    border: 1px solid rgba(113, 213, 255, 0.2);
    animation: spin-slow 28s linear infinite;
}

.portal-ring {
    position: absolute;
    inset: -0.6rem;
    border-radius: 50%;
    background: conic-gradient(from 120deg, transparent, rgba(212, 164, 79, 0.4), transparent, rgba(113, 213, 255, 0.28), transparent);
    filter: blur(14px);
    opacity: 0.48;
}

.portal-logo {
    position: relative;
    z-index: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--zk-shadow), 0 0 60px rgba(113, 213, 255, 0.2);
}

.section-padding {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-dark {
    background: linear-gradient(180deg, rgba(5, 9, 20, 0.46), rgba(10, 18, 32, 0.58));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-panel,
.content-block,
.topic-card,
.video-card,
.cta-panel,
.principles-list {
    background: var(--zk-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--zk-shadow);
    backdrop-filter: blur(18px);
}

.glass-panel,
.content-block,
.cta-panel,
.principles-list {
    border-radius: 1.75rem;
}

.glass-panel,
.content-block,
.cta-panel {
    padding: clamp(1.5rem, 4vw, 2.7rem);
}

.content-block p,
.topic-card p,
.mini-card p,
.video-card p,
.principle-item p {
    color: var(--zk-soft);
    line-height: 1.7;
}

.content-block p:last-child,
.topic-card p:last-child,
.mini-card p:last-child,
.video-card p:last-child,
.principle-item p:last-child {
    margin-bottom: 0;
}

.mini-card {
    padding: 1.25rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-card i {
    color: var(--zk-blue);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.mini-card h3,
.topic-card h3,
.video-card h3,
.principle-item h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.topic-card,
.video-card {
    border-radius: 1.55rem;
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.topic-card {
    padding: 1.5rem;
}

.topic-card:hover,
.video-card:hover {
    transform: translateY(-6px);
    border-color: var(--zk-border);
    background: rgba(13, 23, 39, 0.92);
}

.icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    color: #08101d;
    background: linear-gradient(135deg, var(--zk-gold-2), var(--zk-gold));
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.principles-list {
    padding: 1rem;
}

.principle-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 1.2rem;
}

.principle-item + .principle-item {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.principle-item i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    color: #08101d;
    background: var(--zk-blue);
}

.video-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 3rem;
    background:
        linear-gradient(135deg, rgba(212, 164, 79, 0.2), rgba(113, 213, 255, 0.14)),
        radial-gradient(circle at 50% 38%, rgba(113, 213, 255, 0.28), transparent 13rem),
        #07101f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-panel {
    position: relative;
    overflow: hidden;
}

.cta-panel::after {
    content: "";
    position: absolute;
    right: -7rem;
    top: -7rem;
    width: 19rem;
    height: 19rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 164, 79, 0.2), transparent 68%);
    pointer-events: none;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.support-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.65rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--zk-text);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(212, 164, 79, 0.28);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.support-btn i {
    color: var(--zk-gold-2);
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.support-btn:hover,
.support-btn:focus {
    color: #08101d;
    background: var(--zk-gold-2);
    border-color: var(--zk-gold-2);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(212, 164, 79, 0.24);
}

.support-btn:hover i,
.support-btn:focus i {
    color: #08101d;
}

.site-footer {
    padding: 2.2rem 0;
    background: rgba(2, 4, 10, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    color: var(--zk-soft);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.social-links a.support-social {
    color: var(--zk-gold-2);
    border-color: rgba(212, 164, 79, 0.32);
    background: rgba(212, 164, 79, 0.075);
}

.social-links a:hover,
.social-links a:focus,
.social-links a.support-social:hover,
.social-links a.support-social:focus {
    color: #08101d;
    background: var(--zk-gold-2);
    transform: translateY(-2px);
}

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 {
    transition-delay: 0.12s;
}

.reveal-delay-2 {
    transition-delay: 0.22s;
}

.reveal-delay-3 {
    transition-delay: 0.32s;
}

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

@media (max-width: 991.98px) {
    .zk-navbar {
        background: rgba(3, 7, 17, 0.9);
    }

    .navbar-collapse {
        padding: 1rem 0 0.35rem;
    }

    .hero-section .min-vh-100 {
        min-height: auto !important;
        padding-top: 7.5rem !important;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-lead,
    .trust-row {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .cta-actions {
        display: flex;
        align-items: stretch;
    }

    .support-actions {
        justify-content: center;
    }

    .support-btn {
        flex: 1 1 12rem;
    }

    .portal-card {
        width: min(78vw, 360px);
    }
}

@media (max-width: 767.98px) {
    .trust-row {
        grid-template-columns: 1fr;
    }

    .display-3 {
        font-size: clamp(3rem, 16vw, 4.4rem);
    }

    .glass-panel,
    .content-block,
    .cta-panel {
        padding: 1.35rem;
        border-radius: 1.35rem;
    }

    .principle-item {
        padding: 1rem 0.75rem;
    }

    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 420px) {
    .navbar-brand span {
        font-size: 0.9rem;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .portal-card {
        width: min(82vw, 300px);
    }

    .support-actions {
        flex-direction: column;
    }

    .support-btn {
        width: 100%;
    }

    .btn-lg {
        --bs-btn-padding-y: 0.75rem;
        --bs-btn-padding-x: 1rem;
        --bs-btn-font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
