/* Root Chakra Journey Styles */

.chakra-journey-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    color: #2c1810;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/* Journey Content */
.journey-content {
    width: 100%;
    height: 100%;
    min-height: 600px;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 100px 20px;
    font-size: 1.5rem;
    color: #fff;
}

/* Page Styles */
.journey-page {
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Page Overlay */
.page-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 60px 40px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    letter-spacing: 1px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
}

.narration {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Buttons */
.btn-primary,
.btn-choice {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    border: 2px solid #FFD700;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-family: Georgia, serif;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover,
.btn-choice:hover {
    background: linear-gradient(135deg, #FF1493 0%, #DC143C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: #FFF;
}

.btn-primary:active,
.btn-choice:active {
    transform: translateY(0);
}

.btn-next {
    margin-top: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn-next.show {
    opacity: 1;
}

/* Choice Buttons */
.choice-buttons {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.btn-choice {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 250px;
    max-width: 350px;
    padding: 25px;
    text-align: center;
}

.btn-choice.active {
    background: linear-gradient(135deg, #FF1493 0%, #DC143C 100%);
    border-color: #FFF;
    transform: scale(1.05);
}

.choice-label {
    font-size: 1.6rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 0.5px;
}

.choice-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #fff;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* Breath of Fire - Flame Image Background */
.btn-choice[data-breath-id="fire"] {
    background-image: url('../images/flamepngpage2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    min-width: 280px;
    min-height: 320px;
    position: relative;
    padding: 30px 20px;
}

.btn-choice[data-breath-id="fire"]:hover {
    background-color: rgba(255, 20, 147, 0.1);
    transform: scale(1.05);
}

.btn-choice[data-breath-id="fire"].active {
    background-color: rgba(255, 20, 147, 0.2);
    transform: scale(1.08);
}

/* Box Breathing - Red Box Image Background */
.btn-choice[data-breath-id="box"] {
    background-image: url('../images/redboxpngpage2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    min-width: 300px;
    max-width: 300px;
    min-height: 300px;
    aspect-ratio: 1 / 1;
    padding: 30px 20px;
}

.btn-choice[data-breath-id="box"]:hover {
    background-color: rgba(255, 20, 147, 0.1);
    transform: scale(1.05);
}

.btn-choice[data-breath-id="box"].active {
    background-color: rgba(255, 20, 147, 0.2);
    transform: scale(1.08);
}

/* Radio Options */
.radio-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.radio-option {
    background: rgba(220, 20, 60, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option:hover {
    background: rgba(220, 20, 60, 0.5);
    border-color: #FFD700;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.radio-label {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
}

.radio-affirmation {
    color: #FFD700;
    font-size: 0.95rem;
    font-style: italic;
    margin-left: 24px;
}

.affirmation-display {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #FFD700;
    border-radius: 10px;
    color: #FFD700;
    font-size: 1.3rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.affirmation-display.show {
    opacity: 1;
}

/* River Scene */
.river-scene {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 40px auto;
}

.boulder {
    position: absolute;
    background: linear-gradient(135deg, #4a4a4a 0%, #2c2c2c 100%);
    border: 3px solid #8B0000;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.boulder:hover {
    transform: scale(1.1);
    border-color: #FFD700;
}

.boulder-label {
    color: #FFD700;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.boulder.removed {
    opacity: 0;
    transform: scale(0) rotate(360deg);
    pointer-events: none;
}

.boulder-affirmation {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #FFD700;
    border-radius: 10px;
    color: #FFD700;
    font-size: 1.2rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.boulder-affirmation.show {
    opacity: 1;
}

.closing-message {
    margin-top: 30px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.85);
    border: 3px solid #FFD700;
    border-radius: 15px;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.closing-message.show {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    h2 {
        font-size: 1.4rem;
        padding: 0 10px;
    }
    
    .narration {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .page-overlay {
        padding: 30px 15px;
    }
    
    /* Mobile-friendly buttons */
    .btn-primary,
    .btn-choice {
        font-size: 1rem;
        padding: 18px 30px;
        min-height: 60px;
        touch-action: manipulation;
    }
    
    .choice-buttons {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    /* Adjust custom shapes for mobile */
    .btn-choice[data-breath-id="fire"] {
        min-width: 240px;
        min-height: 280px;
    }
    
    .btn-choice[data-breath-id="box"] {
        min-width: 260px;
        max-width: 260px;
        min-height: 260px;
    }
    
    .choice-label {
        font-size: 1.3rem;
    }
    
    .choice-description {
        font-size: 0.95rem;
    }
    
    /* Radio options for mobile */
    .radio-option {
        padding: 18px;
    }
    
    .radio-label {
        font-size: 1rem;
    }
    
    .radio-affirmation {
        font-size: 0.9rem;
    }
    
    /* River scene adjustments */
    .river-scene {
        height: 300px;
    }
    
    .boulder {
        width: 100px;
        height: 100px;
    }
    
    .boulder-label {
        font-size: 0.8rem;
        padding: 8px;
    }
    
    /* Affirmation displays */
    .affirmation-display,
    .boulder-affirmation,
    .closing-message {
        font-size: 1.1rem;
        padding: 18px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .btn-choice[data-breath-id="fire"] {
        min-width: 200px;
        min-height: 240px;
    }
    
    .btn-choice[data-breath-id="box"] {
        min-width: 220px;
        max-width: 220px;
        min-height: 220px;
    }
    
    .choice-label {
        font-size: 1.1rem;
    }
    
    .choice-description {
        font-size: 0.85rem;
    }
}
