.kt-oracle-page {
    --kt-oracle-bg: #0f0b14;
    --kt-oracle-plum: #241829;
    --kt-oracle-rose: #d9a6a0;
    --kt-oracle-gold: #c8a96a;
    --kt-oracle-teal: #1f6f73;
    --kt-oracle-cream: #f7efe4;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: clamp(54px, 8vw, 96px) 18px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--kt-oracle-cream);
    background:
        radial-gradient(circle at 50% 28%, rgba(200, 169, 106, .19), transparent 29%),
        radial-gradient(circle at 18% 72%, rgba(31, 111, 115, .18), transparent 34%),
        radial-gradient(circle at 82% 78%, rgba(217, 166, 160, .13), transparent 30%),
        linear-gradient(135deg, var(--kt-oracle-bg) 0%, var(--kt-oracle-plum) 55%, var(--kt-oracle-bg) 100%);
}

.kt-oracle-page,
.kt-oracle-page * {
    box-sizing: border-box;
}

.kt-oracle-page::before,
.kt-oracle-page::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
}

.kt-oracle-page::before {
    background:
        radial-gradient(ellipse at center, transparent 0 46%, rgba(0, 0, 0, .58) 100%),
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 7px;
}

.kt-oracle-page::after {
    inset: -18%;
    background: conic-gradient(from 140deg at 50% 50%, rgba(200, 169, 106, .08), rgba(31, 111, 115, .1), rgba(217, 166, 160, .08), rgba(200, 169, 106, .08));
    filter: blur(68px);
    opacity: .72;
    animation: ktOracleFog 24s ease-in-out infinite alternate;
}

.kt-oracle-stars {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, .48) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(200, 169, 106, .38) 0 1px, transparent 1.7px);
    background-size: 86px 86px, 142px 142px;
    background-position: 0 0, 38px 52px;
    opacity: .15;
    animation: ktOracleStars 36s linear infinite;
}

.kt-oracle-geometry {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    display: grid;
    place-items: center;
}

.kt-oracle-geometry span {
    position: absolute;
    width: min(68vw, 760px);
    aspect-ratio: 1;
    border: 1px solid rgba(200, 169, 106, .12);
    border-radius: 50%;
    box-shadow: inset 0 0 54px rgba(200, 169, 106, .04);
}

.kt-oracle-geometry span:nth-child(2) {
    width: min(44vw, 520px);
    border-radius: 18px;
    transform: rotate(45deg);
    border-color: rgba(247, 239, 228, .08);
}

.kt-oracle-panel {
    position: relative;
    width: min(940px, 100%);
    padding: clamp(28px, 5vw, 64px);
    text-align: center;
    border: 1px solid rgba(200, 169, 106, .35);
    border-radius: 24px;
    background: rgba(15, 11, 20, .68);
    box-shadow:
        0 0 50px rgba(200, 169, 106, .16),
        0 0 120px rgba(31, 111, 115, .12),
        inset 0 0 40px rgba(255, 255, 255, .03);
    backdrop-filter: blur(14px);
}

.kt-oracle-panel::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(247, 239, 228, .08);
    border-radius: 16px;
    pointer-events: none;
}

.kt-oracle-header {
    position: relative;
    display: grid;
    gap: 10px;
    justify-items: center;
    margin-bottom: clamp(24px, 4vw, 38px);
}

.kt-oracle-eyebrow {
    margin: 0;
    color: rgba(200, 169, 106, .78);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.kt-oracle-title {
    margin: 0;
    color: var(--kt-oracle-cream);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 500;
    letter-spacing: .08em;
    line-height: .92;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(200, 169, 106, .38);
}

.kt-oracle-subtitle {
    max-width: 42rem;
    margin: 0;
    color: var(--kt-oracle-rose);
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.45;
}

.kt-oracle-plugin {
    position: relative;
    margin: 0 auto;
    padding: clamp(16px, 3vw, 28px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 0 28px rgba(255, 255, 255, .025);
}

.kt-oracle-plugin > * {
    position: relative;
    z-index: 1;
}

.kt-oracle-empty {
    margin: 0;
    color: rgba(247, 239, 228, .72);
}

.kt-oracle-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.kt-oracle-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 169, 106, .45);
    border-radius: 999px;
    padding: 11px 18px;
    background: rgba(200, 169, 106, .08);
    color: var(--kt-oracle-cream) !important;
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: 0 0 18px rgba(200, 169, 106, .12);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.kt-oracle-actions a:hover,
.kt-oracle-actions a:focus-visible {
    transform: translateY(-2px);
    background: rgba(200, 169, 106, .18);
    border-color: rgba(200, 169, 106, .7);
    outline: none;
}

body:has(.kt-oracle-page) {
    background: var(--kt-oracle-bg);
}

body:has(.kt-oracle-page) .entry-content,
body:has(.kt-oracle-page) .wp-block-post-content {
    margin: 0;
}

@keyframes ktOracleFog {
    0% { transform: translate3d(-2%, -1%, 0) rotate(0deg) scale(1); }
    100% { transform: translate3d(2%, 1%, 0) rotate(10deg) scale(1.05); }
}

@keyframes ktOracleStars {
    0% { background-position: 0 0, 38px 52px; }
    100% { background-position: 86px 86px, 180px 194px; }
}

@media (max-width: 700px) {
    .kt-oracle-page {
        padding: 34px 12px;
    }

    .kt-oracle-panel {
        border-radius: 18px;
    }

    .kt-oracle-plugin {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kt-oracle-page::after,
    .kt-oracle-stars {
        animation: none;
    }
}
