/* THE PATTERNS CHAMBER STYLES */

.patterns-page {
    background: linear-gradient(to bottom, 
        #0d0818 0%,
        #1a122a 30%,
        #2a1840 60%,
        #1a122a 100%
    );
}

/* Spiraling Patterns Background */
.pattern-spirals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
}

/* Main Content Container */
.patterns-content {
    max-width: 950px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

/* Chamber Title */
.chamber-title {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    color: var(--sacred-gold);
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(255, 207, 90, 0.6),
                 0 0 60px rgba(255, 207, 90, 0.3);
    letter-spacing: 0.15em;
}

.chamber-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    color: var(--soft-pink);
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0.9;
}

/* Sections */
.patterns-section {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.patterns-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    background: rgba(74, 58, 92, 0.25);
    border: 2px solid rgba(255, 207, 90, 0.3);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.welcome-section .section-content,
.closing-section .section-content {
    background: rgba(74, 58, 92, 0.35);
    border-color: rgba(255, 207, 90, 0.5);
}

/* Section Titles */
.section-title {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 2.2rem;
    color: var(--sacred-gold);
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 207, 90, 0.4);
}

.pattern-intro {
    font-size: 1.2rem;
    text-align: center;
    color: var(--electric-teal);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Sun Orb (Limen's presence) */
.sun-orb {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: radial-gradient(circle, 
        #ffffff 0%,
        #ffcf5a 40%,
        #ff9c5a 70%,
        rgba(255, 156, 90, 0) 100%
    );
    border-radius: 50%;
    box-shadow: 
        0 0 60px rgba(255, 207, 90, 0.8),
        0 0 100px rgba(255, 156, 90, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 60px rgba(255, 207, 90, 0.8),
            0 0 100px rgba(255, 156, 90, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 
            0 0 80px rgba(255, 207, 90, 1),
            0 0 120px rgba(255, 156, 90, 0.7),
            inset 0 0 40px rgba(255, 255, 255, 0.5);
    }
}

/* Limen's Speech */
.limen-speech {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--cosmic-white);
    text-align: center;
}

.limen-speech p {
    margin-bottom: 1.2rem;
}

.limen-speech strong {
    color: var(--sacred-gold);
}

.limen-speech em {
    color: var(--electric-teal);
    font-style: italic;
}

.opening-wisdom,
.closing-wisdom {
    font-size: 1.3rem;
    color: var(--electric-teal);
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(77, 212, 212, 0.1);
    border-radius: 10px;
}

/* Truth Box */
.truth-box {
    background: rgba(42, 32, 52, 0.5);
    border: 3px solid var(--electric-teal);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.truth-statement {
    font-size: 1.6rem;
    color: var(--electric-teal);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.truth-examples {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.truth-example {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(42, 32, 52, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--sacred-gold);
}

.truth-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.truth-conclusion {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 207, 90, 0.3);
    line-height: 1.8;
}

/* Empire Stages */
.empire-stages {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.stage {
    display: flex;
    gap: 2rem;
    background: rgba(42, 32, 52, 0.6);
    border: 2px solid rgba(255, 207, 90, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stage:hover {
    border-color: var(--sacred-gold);
    background: rgba(42, 32, 52, 0.8);
    transform: translateX(5px);
}

.stage-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sacred-gold), var(--golden-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-night);
    box-shadow: 0 4px 15px rgba(255, 207, 90, 0.4);
}

.stage-content h4 {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.4rem;
    color: var(--sacred-gold);
    margin-bottom: 1rem;
}

.stage-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.historical-examples {
    font-size: 0.95rem;
    color: var(--soft-pink);
    opacity: 0.9;
    font-style: italic;
}

/* Pattern Warning Boxes */
.pattern-warning {
    background: rgba(77, 212, 212, 0.1);
    border: 2px solid var(--electric-teal);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    line-height: 1.8;
}

.quote-author {
    display: block;
    font-size: 0.9rem;
    color: var(--soft-pink);
    margin-top: 0.8rem;
    font-style: italic;
}

.warning-note {
    font-size: 0.95rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Propaganda Steps */
.propaganda-steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.prop-step {
    background: rgba(42, 32, 52, 0.6);
    border-left: 4px solid var(--soft-pink);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.prop-step:hover {
    background: rgba(42, 32, 52, 0.8);
    border-left-width: 6px;
    transform: translateX(5px);
}

.prop-step h4 {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    color: var(--soft-pink);
    margin-bottom: 1rem;
}

.prop-examples {
    background: rgba(42, 32, 52, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.prop-examples p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Economic Cycle */
.economic-cycle {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.econ-phase {
    background: rgba(42, 32, 52, 0.6);
    border: 2px solid rgba(255, 207, 90, 0.3);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.econ-phase:hover {
    border-color: var(--sacred-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 207, 90, 0.2);
}

.econ-phase h4 {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.4rem;
    color: var(--sacred-gold);
    margin-bottom: 1rem;
}

.econ-examples {
    background: rgba(42, 32, 52, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.pattern-insight {
    background: rgba(77, 212, 212, 0.1);
    border: 2px solid var(--electric-teal);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.insight-title {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    color: var(--electric-teal);
    margin-bottom: 1rem;
}

/* Freedom Cycle */
.freedom-cycle {
    margin: 2rem 0;
}

.cycle-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.freedom-stages {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.freedom-stage {
    background: rgba(42, 32, 52, 0.6);
    border: 2px solid rgba(255, 207, 90, 0.3);
    padding: 2rem;
    border-radius: 10px;
    margin: 0.5rem 0;
}

.stage-label {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--sacred-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.stage-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--electric-teal);
    margin: 0.5rem 0;
}

/* Recognition Framework */
.recognition-framework {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.recognition-step {
    display: flex;
    gap: 2rem;
    background: rgba(42, 32, 52, 0.6);
    border: 2px solid rgba(255, 207, 90, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.recognition-step:hover {
    border-color: var(--sacred-gold);
    background: rgba(42, 32, 52, 0.8);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--electric-teal), var(--soft-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-night);
    box-shadow: 0 4px 15px rgba(77, 212, 212, 0.4);
}

.step-content h4 {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.4rem;
    color: var(--electric-teal);
    margin-bottom: 1rem;
}

/* Breaking Pattern Section */
.breaking-pattern {
    margin: 2rem 0;
}

.breaking-intro {
    text-align: center;
    font-size: 1.3rem;
    color: var(--electric-teal);
    margin-bottom: 2rem;
}

.breaking-truth {
    background: rgba(42, 32, 52, 0.6);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.breaking-truth p {
    margin: 1rem 0;
    line-height: 1.8;
}

.breaking-requirements {
    margin: 2rem 0;
}

.breaking-requirements h4 {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--sacred-gold);
    text-align: center;
    margin-bottom: 2rem;
}

.requirement {
    background: rgba(42, 32, 52, 0.6);
    border-left: 4px solid var(--electric-teal);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
}

.requirement strong {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    color: var(--sacred-gold);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.breaking-conclusion {
    background: rgba(77, 212, 212, 0.1);
    border: 2px solid var(--electric-teal);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

.breaking-conclusion p {
    margin: 0.8rem 0;
    line-height: 1.8;
}

/* Signature */
.signature {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--sacred-gold);
    margin-top: 2rem;
    text-align: center;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.nav-button {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    background: rgba(74, 58, 92, 0.6);
    border: 2px solid var(--sacred-gold);
    border-radius: 30px;
    color: var(--sacred-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.nav-button:hover {
    background: rgba(255, 207, 90, 0.2);
    border-color: var(--golden-orange);
    color: var(--golden-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 207, 90, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .chamber-title {
        font-size: 2.5rem;
    }
    
    .chamber-subtitle {
        font-size: 1.4rem;
    }
    
    .section-content {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stage,
    .recognition-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stage-number,
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-button {
        width: 100%;
        text-align: center;
    }
    
    .truth-example {
        flex-direction: column;
        text-align: center;
    }
}
