/* Reflections Screen - Card-based design with no metrics */

.reflections-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header - What's alive today */
.reflections-header {
    text-align: center;
    margin-bottom: 40px;
}

.alive-question {
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
}

.current-exploration {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.current-exploration span {
    color: var(--current-domain-color, #fbbf24);
    font-weight: 500;
}

/* Domain Reflection Cards Grid */
.domain-reflections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.reflection-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid color-mix(in srgb, var(--domain-color) 20%, transparent);
    border-radius: 20px;
    padding: 24px;
    min-height: 200px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.reflection-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: color-mix(in srgb, var(--domain-color) 40%, transparent);
    transform: translateY(-2px);
}

/* Domain indicator */
.domain-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.domain-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--domain-color) 15%, transparent);
    border: 2px solid var(--domain-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--domain-color);
}

.domain-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--domain-color);
    opacity: 0.8;
}

/* Reflection content */
.recent-noticing {
    margin-bottom: 16px;
}

.noticing-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.noticing-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-style: italic;
}

.emerging-pattern {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pattern-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Edward's Section */
.edward-section {
    background: linear-gradient(135deg, 
        rgba(167, 139, 250, 0.05),
        rgba(96, 165, 250, 0.05)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.edward-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.edward-greeting {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.edward-observation {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 24px;
}

.chat-with-edward {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-with-edward:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.3);
}

/* Living Insights - Floating bubbles */
.living-insights {
    position: relative;
    min-height: 200px;
    margin-top: 40px;
}

.insights-title {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.insight-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 16px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 250px;
}

.insight-bubble:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

/* Position bubbles randomly-ish */
.insight-bubble:nth-child(2) { top: 20px; left: 10%; }
.insight-bubble:nth-child(3) { top: 80px; right: 15%; }
.insight-bubble:nth-child(4) { top: 40px; left: 40%; }
.insight-bubble:nth-child(5) { bottom: 20px; left: 20%; }
.insight-bubble:nth-child(6) { bottom: 60px; right: 25%; }

/* Mobile adjustments */
@media (max-width: 768px) {
    .domain-reflections {
        grid-template-columns: 1fr;
    }
    
    .edward-section {
        padding: 24px;
    }
    
    .living-insights {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .insight-bubble {
        position: relative;
        max-width: 100%;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
}