/* kakuritsu.com - Probability Design System */
/* Colors: #1a0e2e, #00d4aa, #e8468a, #f0e6ff, #f5c842, #e8b4f8, #2a1f3d, #4b7be5, #faf5ff */
/* Fonts: Zilla Slab, Roboto Slab, JetBrains Mono, Noto Serif JP */

:root {
    --midnight-amethyst: #1a0e2e;
    --twilight-violet: #2a1f3d;
    --probability-emerald: #00d4aa;
    --fortune-rose: #e8468a;
    --certainty-cobalt: #4b7be5;
    --mcbling-gold: #f5c842;
    --watercolor-paper: #faf5ff;
    --soft-orchid: #e8b4f8;
    --lavender-frost: #f0e6ff;
    --aurora-phase: 0;
    --scroll-y: 0;
    --base-space: clamp(1rem, 2.5vw, 2rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--midnight-amethyst);
    color: var(--lavender-frost);
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.78;
    overflow-x: hidden;
    position: relative;
}

/* Aurora Background */
#aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--midnight-amethyst) 0%,
        var(--twilight-violet) 20%,
        var(--probability-emerald) 40%,
        var(--certainty-cobalt) 60%,
        var(--fortune-rose) 80%,
        var(--midnight-amethyst) 100%
    );
    background-size: 100% 500%;
    z-index: -2;
    opacity: 0.15;
    transition: background-position 0.1s linear;
}

/* Paper Texture SVG */
#paper-texture {
    position: absolute;
    width: 0;
    height: 0;
}

/* Rhinestone Stars */
#rhinestone-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.rhinestone-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--mcbling-gold);
    opacity: 0.3;
    animation: sparkle 3s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% { opacity: 0.15; transform: scale(0.8); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 0.15; transform: scale(0.8); }
}

@keyframes breathe {
    0% { transform: translate(-50%, -50%) scale(0.95); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
    100% { transform: translate(-50%, -50%) scale(0.95); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(8px); }
}

@keyframes morphIn {
    from {
        clip-path: circle(0% at 50% 50%);
        opacity: 0;
    }
    to {
        clip-path: inset(0);
        opacity: 1;
    }
}

@keyframes floatGem {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes convergePulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

/* Section Base */
.section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ==============================
   SECTION I: THE DROP
   ============================== */
#the-drop {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--midnight-amethyst);
    position: relative;
}

.drop-sphere {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.sphere-core {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        var(--probability-emerald) 0%,
        var(--certainty-cobalt) 50%,
        transparent 70%
    );
    animation: breathe 4s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.3), 0 0 80px rgba(75, 123, 229, 0.15);
}

.sphere-trail {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0, 212, 170, 0.2) 0%,
        rgba(75, 123, 229, 0.1) 50%,
        transparent 70%
    );
    filter: blur(20px);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.drop-content {
    text-align: center;
    z-index: 1;
    margin-top: 40px;
}

.kanji-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: clamp(4rem, 10vw, 8rem);
    background: linear-gradient(135deg,
        var(--probability-emerald),
        var(--certainty-cobalt),
        var(--fortune-rose),
        var(--soft-orchid)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0.2em;
}

.latin-title {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    color: var(--mcbling-gold);
    letter-spacing: 0.15em;
    margin-bottom: 0.5em;
}

.subtitle-meaning {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: var(--lavender-frost);
    opacity: 0.7;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    color: var(--mcbling-gold);
    font-size: 1.2rem;
    opacity: 0.5;
    animation: scrollPulse 2s ease-in-out infinite;
    display: inline-block;
}

/* ==============================
   SECTION II: THE SCATTER
   ============================== */
#the-scatter {
    min-height: 150vh;
    background: var(--watercolor-paper);
    color: var(--twilight-violet);
    padding: calc(var(--base-space) * 5) calc(var(--base-space) * 2);
    position: relative;
}

.scatter-container {
    display: flex;
    gap: 4%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.scatter-left {
    flex: 0 0 58%;
}

.scatter-right {
    flex: 0 0 38%;
    display: flex;
    flex-direction: column;
    gap: calc(var(--base-space) * 3);
    padding-top: calc(var(--base-space) * 2);
}

.pachinko-divider {
    position: absolute;
    left: 60%;
    top: 0;
    bottom: 0;
    width: 12px;
    background-image: radial-gradient(circle, var(--mcbling-gold) 3px, transparent 3px);
    background-size: 12px 24px;
    background-repeat: repeat-y;
    opacity: 0.5;
}

.text-block {
    margin-bottom: calc(var(--base-space) * 3);
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.8s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.8s ease;
}

.text-block.visible {
    opacity: 1;
    clip-path: inset(0);
}

.section-heading {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: calc(var(--base-space) * 1);
    background: linear-gradient(135deg,
        var(--probability-emerald),
        var(--certainty-cobalt),
        var(--fortune-rose)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#the-scatter .section-heading {
    background: linear-gradient(135deg,
        var(--twilight-violet),
        var(--fortune-rose),
        var(--certainty-cobalt)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subsection-heading {
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--twilight-violet);
    margin-bottom: calc(var(--base-space) * 0.5);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.body-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    line-height: 1.78;
    margin-bottom: calc(var(--base-space) * 1);
}

.math-notation {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: 90%;
    letter-spacing: 0.03em;
    color: var(--soft-orchid);
}

#the-scatter .math-notation {
    color: var(--fortune-rose);
}

.math-notation.inline {
    color: var(--soft-orchid);
}

.formula-block {
    padding: calc(var(--base-space) * 0.8) calc(var(--base-space) * 1);
    background: rgba(232, 180, 248, 0.08);
    border-left: 3px solid var(--fortune-rose);
    margin: calc(var(--base-space) * 1) 0;
    border-radius: 0 4px 4px 0;
}

#the-scatter .formula-block {
    background: rgba(232, 180, 248, 0.15);
}

.formula {
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    display: block;
}

/* Watercolor Distributions */
.watercolor-distribution {
    position: relative;
    height: 200px;
    opacity: 0;
    transition: opacity 0.8s ease 0.2s;
}

.watercolor-distribution.visible {
    opacity: 1;
}

.wc-gaussian .wc-fill {
    width: 100%;
    height: 100%;
    clip-path: polygon(0% 100%, 5% 90%, 10% 75%, 20% 45%, 30% 20%, 40% 5%, 50% 0%, 60% 5%, 70% 20%, 80% 45%, 90% 75%, 95% 90%, 100% 100%);
    background:
        radial-gradient(ellipse at 50% 40%, rgba(0, 212, 170, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse at 40% 60%, rgba(75, 123, 229, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 50%, rgba(232, 70, 138, 0.2) 0%, transparent 65%);
}

.wc-gaussian .wc-bleed {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    clip-path: polygon(0% 100%, 5% 92%, 10% 78%, 20% 48%, 30% 23%, 40% 8%, 50% 2%, 60% 8%, 70% 23%, 80% 48%, 90% 78%, 95% 92%, 100% 100%);
    background:
        radial-gradient(ellipse at 50% 40%, rgba(0, 212, 170, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse at 40% 60%, rgba(75, 123, 229, 0.1) 0%, transparent 60%);
    filter: blur(3px);
}

.wc-binomial .wc-fill {
    width: 100%;
    height: 100%;
    clip-path: polygon(0% 100%, 10% 95%, 15% 80%, 20% 90%, 30% 50%, 35% 60%, 40% 25%, 45% 30%, 50% 10%, 55% 15%, 60% 30%, 65% 25%, 70% 55%, 80% 85%, 90% 95%, 100% 100%);
    background:
        radial-gradient(ellipse at 50% 40%, rgba(232, 70, 138, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse at 35% 55%, rgba(245, 200, 66, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 65% 50%, rgba(232, 180, 248, 0.25) 0%, transparent 65%);
}

.wc-binomial .wc-bleed {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    clip-path: polygon(0% 100%, 10% 97%, 15% 83%, 20% 92%, 30% 53%, 35% 63%, 40% 28%, 45% 33%, 50% 13%, 55% 18%, 60% 33%, 65% 28%, 70% 58%, 80% 88%, 90% 97%, 100% 100%);
    background:
        radial-gradient(ellipse at 50% 40%, rgba(232, 70, 138, 0.15) 0%, transparent 70%);
    filter: blur(3px);
}

.wc-poisson .wc-fill {
    width: 100%;
    height: 100%;
    clip-path: polygon(0% 100%, 5% 95%, 10% 70%, 15% 40%, 20% 15%, 25% 5%, 30% 0%, 35% 5%, 40% 18%, 45% 35%, 50% 55%, 60% 75%, 70% 88%, 80% 95%, 90% 98%, 100% 100%);
    background:
        radial-gradient(ellipse at 30% 35%, rgba(75, 123, 229, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse at 25% 60%, rgba(0, 212, 170, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 45% 50%, rgba(232, 180, 248, 0.2) 0%, transparent 65%);
}

.wc-poisson .wc-bleed {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    clip-path: polygon(0% 100%, 5% 97%, 10% 73%, 15% 43%, 20% 18%, 25% 8%, 30% 3%, 35% 8%, 40% 21%, 45% 38%, 50% 58%, 60% 78%, 70% 90%, 80% 97%, 90% 99%, 100% 100%);
    background:
        radial-gradient(ellipse at 30% 35%, rgba(75, 123, 229, 0.15) 0%, transparent 70%);
    filter: blur(3px);
}

.wc-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--twilight-violet);
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.kanji-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Noto Serif JP', serif;
    font-size: 40vw;
    color: var(--twilight-violet);
    opacity: 0.03;
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

/* ==============================
   SECTION III: THE BELL
   ============================== */
#the-bell {
    min-height: 120vh;
    background: var(--watercolor-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(var(--base-space) * 5) calc(var(--base-space) * 2);
}

.bell-curve-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    min-height: 500px;
    margin: 0 auto;
}

.bell-curve-shape {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: polygon(0% 100%, 2% 95%, 5% 85%, 8% 75%, 12% 60%, 18% 42%, 25% 25%, 32% 12%, 40% 4%, 50% 0%, 60% 4%, 68% 12%, 75% 25%, 82% 42%, 88% 60%, 92% 75%, 95% 85%, 98% 95%, 100% 100%);
    transition: clip-path 1.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.bell-aurora {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 212, 170, 0.35),
        rgba(75, 123, 229, 0.3),
        rgba(232, 70, 138, 0.25),
        rgba(232, 180, 248, 0.2)
    );
    opacity: 0.4;
}

.bell-labels {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
}

.bell-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--twilight-violet);
    opacity: 0.6;
}

.bell-label.mu {
    font-weight: 700;
    opacity: 0.9;
    color: var(--fortune-rose);
}

.bell-text-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: calc(var(--base-space) * 8) calc(var(--base-space) * 3) calc(var(--base-space) * 3);
    max-width: 700px;
    margin: 0 auto;
}

.bell-heading {
    margin-bottom: calc(var(--base-space) * 1.5);
}

#the-bell .section-heading {
    background: linear-gradient(135deg,
        var(--twilight-violet),
        var(--fortune-rose),
        var(--probability-emerald)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bell-body {
    color: var(--twilight-violet);
}

.bell-formula {
    display: inline-block;
}

#the-bell .formula-block {
    background: rgba(232, 180, 248, 0.12);
}

.distribution-morph-label {
    position: absolute;
    top: calc(var(--base-space) * 2);
    right: calc(var(--base-space) * 2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--soft-orchid);
    opacity: 0.5;
    letter-spacing: 0.05em;
}

/* ==============================
   SECTION IV: THE FORTUNE
   ============================== */
#the-fortune {
    min-height: 100vh;
    background: var(--midnight-amethyst);
    padding: calc(var(--base-space) * 5) calc(var(--base-space) * 2);
    position: relative;
    overflow: hidden;
}

.fortune-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: calc(var(--base-space) * 3);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.gem-container {
    position: relative;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.3s ease;
    animation: floatGem 6s ease-in-out infinite;
}

.gem-container.visible {
    opacity: 1;
}

.gem-container:nth-child(2) { animation-delay: -1s; }
.gem-container:nth-child(3) { animation-delay: -2s; }
.gem-container:nth-child(4) { animation-delay: -3s; }
.gem-container:nth-child(5) { animation-delay: -4s; }

.gem-hex {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.gem-oct {
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.gem-rhinestone-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-conic-gradient(
        from 0deg,
        var(--mcbling-gold) 0deg 15deg,
        #ffffff 15deg 20deg,
        transparent 20deg 45deg
    );
    background-size: 12px 12px;
    opacity: 0.6;
    animation: sparkle 3s ease-in-out infinite alternate;
}

.gem-hex .gem-rhinestone-border {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.gem-oct .gem-rhinestone-border {
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.gem-content {
    background: var(--twilight-violet);
    padding: calc(var(--base-space) * 2.5) calc(var(--base-space) * 1.5);
    text-align: center;
    position: relative;
    z-index: 1;
}

.gem-hex .gem-content {
    clip-path: polygon(50% 2%, 98% 26%, 98% 74%, 50% 98%, 2% 74%, 2% 26%);
    padding: calc(var(--base-space) * 3) calc(var(--base-space) * 2);
}

.gem-oct .gem-content {
    clip-path: polygon(31% 2%, 69% 2%, 98% 31%, 98% 69%, 69% 98%, 31% 98%, 2% 69%, 2% 31%);
}

.gem-container {
    box-shadow: 0 0 30px rgba(245, 200, 66, 0.15);
}

.gem-icon {
    font-size: 2.5rem;
    margin-bottom: calc(var(--base-space) * 0.5);
    filter: drop-shadow(0 0 8px rgba(245, 200, 66, 0.4));
}

.gem-title {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--mcbling-gold);
    margin-bottom: calc(var(--base-space) * 0.5);
}

.gem-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--lavender-frost);
    margin-bottom: calc(var(--base-space) * 0.5);
    opacity: 0.85;
}

.gem-content .math-notation {
    font-size: 0.8rem;
    color: var(--soft-orchid);
    display: block;
    margin-top: calc(var(--base-space) * 0.3);
}

/* Dice Watermarks */
.dice-watermarks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.dice-face {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.06;
    background: var(--mcbling-gold);
    border-radius: 8px;
}

.dice-1 { top: 10%; left: 5%; }
.dice-2 { top: 25%; right: 10%; }
.dice-3 { top: 55%; left: 15%; }
.dice-4 { top: 70%; right: 20%; }
.dice-5 { bottom: 15%; left: 40%; }
.dice-6 { bottom: 5%; right: 5%; }

.card-suit-divider {
    position: absolute;
    bottom: calc(var(--base-space) * 2);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: calc(var(--base-space) * 2);
    z-index: 1;
}

.card-suit-divider span {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    background: linear-gradient(135deg,
        var(--probability-emerald),
        var(--certainty-cobalt),
        var(--fortune-rose),
        var(--soft-orchid)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.4;
}

/* ==============================
   SECTION V: THE CERTAINTY
   ============================== */
#the-certainty {
    min-height: 80vh;
    background: var(--midnight-amethyst);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(var(--base-space) * 5) calc(var(--base-space) * 2);
}

.certainty-convergence {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
}

.convergence-aurora {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0, 212, 170, 0.3) 0%,
        rgba(75, 123, 229, 0.2) 30%,
        rgba(232, 70, 138, 0.15) 50%,
        transparent 70%
    );
    animation: convergePulse 6s ease-in-out infinite;
    filter: blur(30px);
}

.certainty-text {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}

.certainty-statement {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: calc(var(--base-space) * 2);
    background: linear-gradient(135deg,
        var(--probability-emerald),
        var(--certainty-cobalt),
        var(--fortune-rose),
        var(--soft-orchid)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.certainty-statement .math-notation.inline {
    font-family: 'JetBrains Mono', monospace;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, var(--mcbling-gold), var(--soft-orchid));
    -webkit-background-clip: text;
    background-clip: text;
}

.certainty-sub {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--lavender-frost);
    opacity: 0.7;
    line-height: 1.8;
}

.certainty-sphere {
    margin-top: calc(var(--base-space) * 5);
    position: relative;
    z-index: 2;
}

.certainty-sphere .sphere-core {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        var(--probability-emerald) 0%,
        var(--certainty-cobalt) 50%,
        transparent 70%
    );
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
    animation: breathe 4s ease-in-out infinite;
}

.certainty-kanji {
    position: absolute;
    bottom: calc(var(--base-space) * 2);
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--mcbling-gold);
    opacity: 0.3;
    letter-spacing: 0.2em;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
    .scatter-container {
        flex-direction: column;
    }
    .scatter-left,
    .scatter-right {
        flex: 1 1 100%;
    }
    .pachinko-divider {
        display: none;
    }
    .fortune-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .bell-text-overlay {
        padding: calc(var(--base-space) * 4) calc(var(--base-space) * 1);
    }
}