/* difficulties_are_chance.css - Opportunity and Balance Theme (Purple) */

.chance-page {
    --chance-primary: #9333ea;
    --chance-secondary: #a855f7;
    --chance-accent: #ec4899;
    --chance-light: #fdf4ff;
    --chance-border: #e9d5ff;
}

/* Hero Section */
.hero-quote-container {
    background: linear-gradient(135deg, var(--chance-light) 0%, #fae8ff 100%);
    padding: 3.5rem 2.5rem;
    border-radius: 1.5rem;
    border-left: 8px solid var(--chance-secondary);
    margin: 3rem 0;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.15);
}

.hero-quote-container i.fa-quote-left {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2.5rem;
    color: rgba(168, 85, 247, 0.1);
}

.hero-quote-container .quote-text {
    font-size: 1.25rem;
    line-height: 2.4;
    color: #4c1d95;
    font-family: 'Zen Old Mincho', 'Yu Mincho', serif;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

.hero-quote-container .quote-author {
    text-align: right;
    margin-top: 2rem;
    font-weight: bold;
    color: #7e22ce;
    font-size: 1.1rem;
}

/* Section Styling */
.section-header {
    color: #6b21a8;
    border-bottom: 2px solid var(--chance-border);
    padding-bottom: 0.6rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.section-number {
    background: var(--chance-secondary);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 6px;
    margin-right: 0.8rem;
    font-size: 0.9em;
    font-weight: 800;
}

/* Concept Box */
.concept-box {
    background: white;
    border: 2px dashed var(--chance-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.concept-box .bg-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(30deg);
    animation: shine-pass 8s infinite;
    pointer-events: none;
}

@keyframes shine-pass {
    0% { transform: translate(-100%, -100%) rotate(30deg); }
    15% { transform: translate(100%, 100%) rotate(30deg); }
    100% { transform: translate(100%, 100%) rotate(30deg); }
}

.concept-box h3 {
    color: #7e22ce;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.concept-box p {
    font-size: 1.15rem;
    font-weight: 800;
    color: #581c87;
    line-height: 2;
}

/* Growth Steps Visualization */
.growth-steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 4rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.step-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-item:nth-child(1) .step-circle {
    background: #f3f4f6;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
}

.step-item:nth-child(3) .step-circle {
    background: var(--chance-light);
    color: var(--chance-primary);
    border: 1px solid var(--chance-border);
}

.step-item:nth-child(5) .step-circle {
    background: var(--chance-secondary);
    color: white;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
    animation: pulse-purple 2.5s infinite;
}

.step-arrow {
    color: #d1d5db;
    font-size: 1.5rem;
}

/* Staggered intervals for growth steps (2s intervals) */
.growth-steps .step-item:nth-of-type(1) { transition-delay: 0s; }
.growth-steps .step-arrow:nth-of-type(2) { transition-delay: 1.2s; } /* Slightly staggered for flow */
.growth-steps .step-item:nth-of-type(3) { transition-delay: 2.2s; }
.growth-steps .step-arrow:nth-of-type(4) { transition-delay: 3.4s; }
.growth-steps .step-item:nth-of-type(5) { transition-delay: 4.4s; }

@keyframes pulse-purple {
    0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(168, 85, 247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

/* Pendulum Feature */
.pendulum-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    background: #faf5ff;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--chance-border);
}

.pendulum-container {
    height: 150px;
    width: 200px;
    position: relative;
    display: flex;
    justify-content: center;
}

.pendulum-arm {
    width: 2px;
    height: 120px;
    background: #d8b4fe;
    position: absolute;
    top: 0;
    transform-origin: top center;
    animation: pendulum-swing 3s ease-in-out infinite;
}

.pendulum-weight {
    width: 35px;
    height: 35px;
    background: radial-gradient(circle at 30% 30%, #f0abfc, var(--chance-secondary));
    border-radius: 50%;
    position: absolute;
    bottom: -17px;
    left: -17px;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.2);
}

@keyframes pendulum-swing {
    0% { transform: rotate(45deg); }
    50% { transform: rotate(-45deg); }
    100% { transform: rotate(45deg); }
}

.pendulum-text {
    margin-left: 3rem;
    max-width: 350px;
}

.pendulum-text p:first-child {
    font-weight: 800;
    color: #581c87;
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.pendulum-text p:last-child {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* Finale Message */
.finale-message {
    text-align: center;
    margin: 6rem 0 3rem;
    padding: 4rem 2rem;
    background: radial-gradient(circle at center, #fdf4ff 0%, transparent 70%);
}

.gradient-text {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--chance-primary), var(--chance-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.flower-decoration {
    margin-top: 3rem;
    color: #f472b6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

/* UI Utilities */
.highlight-marker {
    background: linear-gradient(transparent 60%, rgba(168, 85, 247, 0.2) 60%);
    font-weight: 800;
    padding: 0 4px;
}

/* Sidebar Specifics */
.chance-page .sidebar-nav-list li.active-link a {
    color: var(--chance-primary);
    background-color: var(--chance-light);
    border-left: 3px solid var(--chance-primary);
}

.chance-page .sidebar-advice {
    border: 2px solid var(--chance-border);
    background: white;
}

.chance-page .advice-highlight {
    color: var(--chance-primary);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .pendulum-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .pendulum-text {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .growth-steps {
        flex-direction: column;
    }
    
    .gradient-text {
        font-size: 1.8rem;
    }
}
