/* Page Specific CSS for Change Life */

:root {
    --life-blue: #0ea5e9;
    --life-blue-dark: #0369a1;
    --life-bg-light: #f0f9ff;
    --life-glow: rgba(14, 165, 233, 0.3);
}

/* Background Decoration & Ascension Particles */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #ffffff;
}

.particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.ascension-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: ascension-move linear forwards;
}

@keyframes ascension-move {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 0.6; }
    100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

/* Premium Hero Header */
.hero-header {
    text-align: center;
    padding: 6rem 1rem 4rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.category-badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--life-blue-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.hero-header h1 {
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-line {
    width: 80px;
    height: 6px;
    background: linear-gradient(to right, var(--life-blue), #8b5cf6);
    margin: 2rem auto;
    border-radius: 10px;
    position: relative;
}

.hero-subtext {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Scene Window Styles */
.scene-window {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
    border: 8px solid #fff;
}

.scene-landscape {
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(to bottom, #38bdf8 0%, #818cf8 40%, #c084fc 70%, #f472b6 100%);
    z-index: 1;
    filter: blur(5px) grayscale(0.8); /* Starting blurred and desaturated */
    transition: filter 0.2s ease-out;
}

/* Clouds */
.cloud {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.8;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.cloud1 {
    width: 80px;
    height: 30px;
    top: 40px;
    left: 10%;
    animation: drift 20s linear infinite;
}

.cloud1::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 15px;
}

.cloud1::after {
    width: 35px;
    height: 35px;
    top: -15px;
    left: 40px;
}

.cloud2 {
    width: 60px;
    height: 25px;
    top: 80px;
    left: 60%;
    animation: drift 25s linear infinite reverse;
}

.cloud2::before { width: 30px; height: 30px; top: -15px; left: 10px; }
.cloud2::after { width: 25px; height: 25px; top: -10px; left: 30px; }

@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(200px); }
}

/* Mountains */
.mountain-back {
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 60%;
    background: #6366f1;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 2;
}

.mountain-front {
    position: absolute;
    bottom: 0;
    right: -5%;
    width: 85%;
    height: 45%;
    background: #4f46e5;
    clip-path: polygon(40% 10%, 0% 100%, 100% 100%);
    z-index: 3;
}

.sun {
    position: absolute;
    top: 20%;
    right: 25%;
    width: 60px;
    height: 60px;
    background: #fcd34d;
    border-radius: 50%;
    box-shadow: 0 0 40px #fcd34d;
    z-index: 1;
}

.scene-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10;
    transition: background-color 0.1s linear;
}

.scene-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    pointer-events: none;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    text-align: center;
    width: 100%;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
/* Shining Final Message */
.final-decision {
    position: relative;
    display: inline-block;
}

.final-decision::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease;
}

.reveal.active .final-decision::before {
    opacity: 1;
    animation: final-glow 3s infinite alternate;
}

@keyframes final-glow {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    to { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.shimmer-text {
    background: linear-gradient(90deg, #1e293b 0%, #0ea5e9 45%, #8b5cf6 50%, #0ea5e9 55%, #1e293b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -100% center; }
    100% { background-position: 100% center; }
}

/* Slider Controls */
.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.perspective-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 70%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 10px;
    outline: none;
}

.perspective-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--life-blue);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
    transition: transform 0.2s;
}

.perspective-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Typography & Content Article */
.article-heading {
    font-size: 1.6rem;
    color: #1e293b;
    border-left: 6px solid var(--life-blue);
    padding-left: 1.25rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-weight: 900;
}

.article-subheading {
    font-size: 1.3rem;
    color: var(--life-blue-dark);
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #bae6fd;
    font-weight: 800;
}

.summary-list {
    background: #f0f9ff;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    list-style: none;
    margin: 2.5rem 0;
    border: 1px dashed #7dd3fc;
}

.summary-list li {
    margin-bottom: 1rem;
    font-weight: 700;
    color: #0c4a6e;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.quote-box {
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    color: var(--life-blue);
    padding: 2rem;
    border-top: 2px solid #f1f5f9;
    border-bottom: 2px solid #f1f5f9;
    margin: 3rem 0;
    background: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.highlight-message {
    text-align: center;
    padding: 2rem;
    font-weight: 900;
    font-size: 1.3rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
}

.glass-blue {
    background: rgba(224, 242, 254, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.1);
    border-radius: 16px;
}

.glass-prism {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border-radius: 30px;
}

.highlight-text {
    background: linear-gradient(120deg, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0.3) 100%);
    padding: 0 0.3rem;
    border-bottom: 2px solid var(--life-blue);
    font-weight: 700;
}

/* Sidebar Sticky Enhancement */
.sidebar {
    position: sticky !important;
    top: calc(var(--nav-height) + 2rem);
    height: fit-content;
    align-self: start;
}

/* Sidebar Advice Premium Style */
.sidebar-widget.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #bae6fd;
    padding: 0.6rem;
    border-radius: 20px;
}

.one-point-advice {
    border: 1px solid #7dd3fc;
    border-radius: 14px;
    padding: 1.2rem 1rem;
    background: #f0f9ff;
    text-align: center;
}

.advice-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--life-blue-dark);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed #bae6fd;
}

.advice-header i {
    color: #fbbf24;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.4));
}

.advice-content {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #475569;
}

.advice-content span {
    color: var(--life-blue);
    font-weight: 800;
    background: linear-gradient(transparent 70%, #bae6fd 70%);
}

.advice-content .highlight-text {
    display: block;
    margin-top: 0.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.float-icon {
    animation: floating 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.btn-simple {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: bold;
    margin-bottom: 2rem;
}

.btn-simple:hover {
    border-color: var(--life-blue);
    color: var(--life-blue);
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 185, 255, 0.15);
}
