/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000;
    --text: #fff;
    --text-dim: #8e8e93;
    --accent: #ff9500;
    --glow: rgba(255, 149, 0, 0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== MODERN PROGRESS INDICATOR ==================== */
.progress-indicator {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.progress-indicator.visible {
    opacity: 1;
}

.progress-dots {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.3);
}

.dot.active {
    background: var(--accent);
    transform: scale(1.5);
    box-shadow: 0 0 20px var(--glow);
}

.dot.active::before {
    border-color: var(--accent);
    opacity: 0.3;
}

.progress-line {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 10px);
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--accent), rgba(255, 149, 0, 0.3));
    transition: height 0.3s ease;
}

/* ==================== OFFLINE PROMPT ==================== */
.offline-prompt {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed solid background to let nebula show through */
    background: transparent;
    z-index: 9999;
    padding: 20px;
}

.prompt-card {
    position: relative;
    max-width: 480px;
    width: 100%;
    width: 100%;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.4), rgba(10, 10, 10, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
}

.prompt-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow), transparent 50%);
    opacity: 0.15;
    animation: rotate 20s linear infinite;
}

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

/* Premium Airplane Icon */
.airplane-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
}

.airplane-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 20px var(--glow));
}

.signal-waves {
    opacity: 0;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.signal-wave {
    stroke: var(--accent);
    stroke-linecap: round;
}

.signal-1 {
    animation: signalPulse 2s ease-in-out infinite;
}

.signal-2 {
    animation: signalPulse 2s ease-in-out infinite 0.5s;
}

.signal-3 {
    animation: signalPulse 2s ease-in-out infinite 1s;
}

.signal-4 {
    animation: signalPulse 2s ease-in-out infinite 1.5s;
}

@keyframes signalPulse {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

.airplane-body {
    animation: airplaneFly 4s ease-in-out infinite;
}

@keyframes airplaneFly {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, -10px);
    }
}

.wing-right,
.wing-left,
.fuselage,
.tail {
    fill: var(--accent);
}

.cockpit {
    fill: #fff;
}

.airplane-aura {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1;
    opacity: 0;
    animation: auraGlow 3s ease-in-out infinite;
}

@keyframes auraGlow {

    0%,
    100% {
        opacity: 0;
        r: 35;
    }

    50% {
        opacity: 0.3;
        r: 42;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation: floatParticle 3s ease-in-out infinite;
}

.particle-2 {
    top: 60%;
    right: 20%;
    animation: floatParticle 3s ease-in-out infinite 1s;
}

.particle-3 {
    bottom: 20%;
    left: 50%;
    animation: floatParticle 3s ease-in-out infinite 2s;
}

@keyframes floatParticle {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1.2);
    }
}

.prompt-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    text-align: center;
}

.prompt-text {
    font-size: 16px;
    color: var(--text-dim);
    margin-bottom: 32px;
    text-align: center;
}

.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.step {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
}

.divider {
    color: var(--text-dim);
    font-size: 10px;
}

/* ==================== MAIN CONTENT ==================== */
.snap-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.snap-container::-webkit-scrollbar {
    display: none;
}

.snap-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.content-center {
    max-width: 750px;
    width: 100%;
}

/* ==================== HERO ==================== */
.hero-snap {
    text-align: center;
}

/* Old .om-huge replaced by Divine Animation section at bottom */
.om-huge-legacy-placeholder {
    display: none;
}

.hero-h1 {
    font-size: clamp(70px, 12vw, 110px);
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.hero-p {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-dim);
}

/* ==================== CARD ==================== */
.card {
    position: relative;
    padding: 52px 44px;
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.6), rgba(15, 15, 15, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.6;
}

.label {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 149, 0, 0.12);
    border: 1px solid rgba(255, 149, 0, 0.25);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.h2 {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.p {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 36px;
}

/* ==================== SOUND ICONS - ALL ANIMATE BY DEFAULT ==================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.tile-btn {
    position: relative;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tile-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--glow), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.tile-btn:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent);
}

.tile-btn:hover .tile-glow {
    opacity: 0.5;
}

.tile-btn.active {
    background: rgba(255, 149, 0, 0.12);
    border-color: var(--accent);
}

.tile-btn.active .tile-glow {
    opacity: 1;
}

.tile-svg {
    width: 50px;
    height: 50px;
}

.tile-text {
    font-size: 13px;
    font-weight: 600;
}

/* Om Ripples - Always Animate */
.ripple-anim {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    animation: ripple-out 2s ease-out infinite;
}

.ripple-2 {
    animation-delay: 0.5s;
}

.ripple-3 {
    animation-delay: 1s;
}

@keyframes ripple-out {
    0% {
        r: 15;
        opacity: 1;
        stroke-width: 3;
    }

    100% {
        r: 45;
        opacity: 0;
        stroke-width: 0.5;
    }
}

.om-text {
    font-size: 30px;
    fill: var(--accent);
    font-weight: bold;
}

/* Bell - Always Animate */
.bell-group {
    transform-origin: 50px 30px;
    animation: bellRing 0.6s ease-in-out infinite;
}

@keyframes bellRing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(8deg);
    }
}

.bell-body,
.bell-rim,
.bell-clapper {
    fill: var(--accent);
}

.bell-wave-anim {
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    animation: bellWaveOut 1.5s ease-out infinite;
}

.bell-wave-2 {
    animation-delay: 0.3s;
}

@keyframes bellWaveOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

/* Rain - Always Animate */
.rain-cloud {
    fill: var(--accent);
}

.rain-drop-anim {
    stroke: var(--accent);
    stroke-linecap: round;
    animation: rain-fall 1.2s ease-in infinite;
}

.rain-drop-2 {
    animation-delay: 0.3s;
}

.rain-drop-3 {
    animation-delay: 0.6s;
}

@keyframes rain-fall {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

.rain-ripple-anim {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    animation: ripple-expand 1.2s ease-out infinite;
}

.rain-ripple-2 {
    animation-delay: 0.3s;
}

.rain-ripple-3 {
    animation-delay: 0.6s;
}

@keyframes ripple-expand {
    0% {
        r: 3;
        opacity: 1;
        stroke-width: 2;
    }

    100% {
        r: 10;
        opacity: 0;
        stroke-width: 0.5;
    }
}

/* ==================== BUTTONS ==================== */
.btn-danger {
    width: 100%;
    padding: 14px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 12px;
    color: #ff3b30;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: rgba(255, 59, 48, 0.2);
    transform: translateY(-2px);
}

.btn-main {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px var(--glow);
}

.btn-alt {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-alt:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.btns-row {
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.btn-half {
    flex: 1;
}

/* ==================== VOLUME ==================== */
.vol-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vol-text {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 600;
    min-width: 60px;
}

.slider-wrap {
    position: relative;
    flex: 1;
    height: 5px;
}

.slider-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
}

.slider-active {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, var(--accent), #ffcc00);
    border-radius: 3px;
    pointer-events: none;
}

#volumeSlider {
    position: absolute;
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    background: transparent;
    outline: none;
    cursor: pointer;
    z-index: 1;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px var(--glow);
}

#volumeSlider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px var(--glow);
    border: none;
}

/* ==================== BREATHING ==================== */
.breath-box {
    display: flex;
    justify-content: center;
    margin: 36px 0;
}

.breath-orb {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--breath-duration, 4s) cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-light {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow), transparent 70%);
    filter: blur(30px);
    opacity: 0.3;
    transition: all var(--breath-duration, 4s) ease;
}

.orb-ring {
    position: absolute;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    border: 2px solid rgba(255, 149, 0, 0.25);
}

.breath-orb.in {
    transform: scale(1.3);
}

.breath-orb.in .orb-light {
    opacity: 1;
    transform: scale(1.15);
}

.breath-orb.out {
    transform: scale(1);
}

.breath-orb.out .orb-light {
    opacity: 0.3;
    transform: scale(1);
}

.orb-txt {
    position: relative;
    z-index: 2;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ==================== STATS ==================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.stat-box {
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-align: center;
}

.stat-big {
    font-size: 44px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-small {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

/* ==================== TIMER ==================== */
.timer-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 36px 0;
}

.timer-svg {
    transform: rotate(-90deg);
}

.timer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 8;
}

.timer-progress {
    fill: none;
    stroke: var(--accent);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 691;
    stroke-dashoffset: 691;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 6px var(--glow));
}

.timer-text {
    position: absolute;
    font-size: 58px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.opts-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}

.opt-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.opt-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: scale(1.05);
}

.opt-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

/* ==================== MANTRA ==================== */
.mantra-box {
    text-align: center;
    margin: 36px 0;
}

.mantra-num {
    font-size: 90px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    transition: transform 0.2s;
}

.mantra-om {
    font-size: 36px;
    opacity: 0.25;
    margin: 14px 0;
}

.mantra-txt {
    font-size: 16px;
    color: var(--text-dim);
}

.prog-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    overflow: hidden;
    margin: 24px 0 10px;
}

.prog-fill {
    position: relative;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #ffcc00);
    border-radius: 3px;
    transition: width 0.3s;
}

.prog-light {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: slideLight 2s infinite;
}

@keyframes slideLight {
    to {
        left: 200%;
    }
}

.prog-txt {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 20px;
}

/* ==================== QUOTE ==================== */
.quote-txt {
    font-size: 22px;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    margin: 36px 0;
    min-height: 70px;
}

/* ==================== VERSES & FOOTER ==================== */
.verse-box {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 60px;
}

.verse-display {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--accent);
    line-height: 1.5;
    margin-bottom: 20px;
    white-space: pre-line;
}

.verse-sub {
    font-size: 17px;
    color: var(--text-dim);
    font-style: italic;
}

.footer-box {
    text-align: center;
    padding: 60px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-txt {
    font-size: 18px;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 24px;
}

.footer-om {
    font-size: 64px;
    opacity: 0.15;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .progress-indicator {
        right: 15px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .progress-dots {
        gap: 15px;
    }

    .prompt-card {
        padding: 48px 32px;
    }

    .airplane-container {
        width: 110px;
        height: 110px;
    }

    .card {
        padding: 44px 32px;
    }

    .breath-orb {
        width: 190px;
        height: 190px;
    }

    .stat-big {
        font-size: 36px;
    }

    .mantra-num {
        font-size: 70px;
    }

    .timer-text {
        font-size: 46px;
    }

    .verse-display {
        font-size: clamp(24px, 5vw, 36px);
    }
}

@media (max-width: 480px) {
    .prompt-title {
        font-size: 32px;
    }

    .hero-h1 {
        font-size: clamp(50px, 12vw, 80px);
    }

    .card {
        padding: 36px 24px;
    }

    .breath-orb {
        width: 160px;
        height: 160px;
    }
}


/* This is your main text element (e.g., <h1 class="my-text">) */
.my-text {
    /* * CRITICAL: Use a monospace font.
     * This ensures 'W' and 'i' take the same width,
     * preventing the text from "jiggling" during the blend.
    */
    font-family: 'SF Mono', 'Courier New', Courier, monospace;
    color: #000;
    /* This will be the final text color */
}

/* This is the wrapper for each character stack */
.blend-char {
    display: inline-block;
    position: relative;

    /* This preserves spaces, which is vital */
    white-space: pre;
}

/* These are the 'from' and 'to' spans inside the wrapper */
.blend-char .from,
.blend-char .to {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}

/* Style the 'to' (new) character */
.blend-char .to {
    color: #000;
    /* Your main text color */
}

/* Style the 'from' (old) character */
.blend-char .from {
    color: #aaa;
    /* A muted/gray color for the text fading out */
}

/* ==================== NEW FEATURES ==================== */
.select-pattern {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 20px;
    cursor: pointer;
    outline: none;
}

.select-pattern option {
    background: #1a1a1a;
    color: #fff;
}

/* Forest Icon specific tweaks if needed */
.forest-svg {
    /* reuse tile-svg styles */
}

/* ==================== ONLINE HOME PAGE IMPROVEMENTS ==================== */

/* Dynamic Background */
.online-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

/* Card 3D Effect */
.prompt-card {
    transition: transform 0.1s ease-out;
    /* Smooth follow */
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Airplane Container Smoothness */
.airplane-container {
    transition: transform 0.1s ease-out;
}

/* Add a "Preview" Button if we want */
.btn-preview {
    margin-top: 20px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dim);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-preview:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Mantra Auto Toggle */
.toggle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.toggle-label {
    font-size: 13px;
    color: var(--text-dim);
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* ==================== HOME PAGE REFINEMENTS ==================== */
.online-stats {
    background: rgba(255, 149, 0, 0.08);
    /* Accent highlight */
    border: 1px solid rgba(255, 149, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-top: 25px;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure prompt text is platform neutral */
.prompt-text {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Refined steps row for better wrapping */
.steps-row {
    gap: 15px;
}

/* ==================== COLOR HARMONY ==================== */

/* Update Online Background to be deeper, less generic 'sky' */
.online-bg {
    background: radial-gradient(ellipse at bottom, #0F172A 0%, #020617 100%);
}

/* Glassmorphism for the Prompt Card */
.prompt-card {
    background: rgba(15, 23, 42, 0.6);
    /* Semi-transparent dark blue/slate */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Make the airplane waves blend better */
.signal-wave {
    stroke: rgba(255, 149, 0, 0.8);
    /* Slightly softer accent */
}

/* ==================== DIVINE OM ANIMATION ==================== */
.om-huge {
    font-size: clamp(120px, 20vw, 200px);
    /* Restored & Increased */
    /* Base Color & Gradient */
    background: linear-gradient(180deg, #fff 20%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
    /* Increased from 0.12 */

    /* Divine Glow */
    filter: drop-shadow(0 0 30px rgba(255, 149, 0, 0.4));

    /* Animation */
    animation: omFloat 6s ease-in-out infinite, omGlow 4s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

/* Floating Animation */
@keyframes omFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Breathing Glow Animation */
@keyframes omGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 149, 0, 0.3));
    }

    to {
        filter: drop-shadow(0 0 50px rgba(255, 149, 0, 0.8));
        opacity: 1;
    }
}

/* Aura / Light Rays behind OM */
.hero-snap .content-center {
    position: relative;
}

.om-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 149, 0, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    animation: auraPulse 8s ease-in-out infinite;
}

@keyframes auraPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}