/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fafafa;
    color: #2d3748;
    overflow: hidden;
    height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Divine Light Background */
.divine-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #fafafa 0%, #f7fafc 25%, #edf2f7 50%, #e2e8f0 75%, #cbd5e0 100%);
    overflow: hidden;
}

/* Left and Right Side Containers */
.left-side {
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

.right-side {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Top and Bottom Halves */
.top-half {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
    position: relative;
    text-align: center;
}

.bottom-half {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
}

/* FAQ Box - Glass Morphism Style */
.faq-box {
    width: 90%;
    max-height: 80%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    padding: 2rem;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 15px 50px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow-y: auto;
    animation: faqFloat 8s ease-in-out infinite;
}

/* Custom scrollbar for FAQ box */
.faq-box::-webkit-scrollbar {
    width: 4px;
}

.faq-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.faq-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.faq-box::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.faq-content h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(45, 55, 72, 0.9);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.faq-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-section h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(45, 55, 72, 0.8);
    margin-bottom: 0.8rem;
    letter-spacing: 0.03em;
}

.faq-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(45, 55, 72, 0.7);
    font-weight: 300;
}

/* FAQ Floating Animation */
@keyframes faqFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-3px) scale(1.01); 
    }
}

/* Light Orb - The Divine Presence */
.light-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 30%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50%;
    filter: blur(40px);
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    filter: blur(60px);
    animation: orbGlow 20s ease-in-out infinite;
}

.orb-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background-image: 
        radial-gradient(1px 1px at 20% 20%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 80% 30%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(255, 255, 255, 0.5), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleFloat 25s linear infinite;
    opacity: 0.4;
}

@keyframes orbFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05) rotate(1deg); 
    }
}

@keyframes orbGlow {
    0%, 100% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes particleFloat {
    0% { transform: translate(-50%, -50%) translateY(0); }
    100% { transform: translate(-50%, -50%) translateY(-200px); }
}

/* Ethereal Mist */
.ethereal-mist {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: mistShift 30s ease-in-out infinite;
}

@keyframes mistShift {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* Divine Container */
.divine-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Divine Name - Pure Light */
.divine-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 20;
    /* Prevent any movement when content loads */
    will-change: auto;
    backface-visibility: hidden;
    animation: divineFloat 8s ease-in-out infinite;
    /* Ensure proper positioning for the aura */
    display: inline-block;
    /* Center within the top-half quadrant */
    width: auto;
}

.name-light {
    font-size: 4.5rem;
    font-weight: 200;
    color: rgba(45, 55, 72, 0.9);
    letter-spacing: 0.15em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.name-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 80%);
    border-radius: 50%;
    animation: auraPulse 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes divineFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) translateY(6px); 
    }
    50% { 
        transform: translate(-50%, -50%) translateY(-6px); 
    }
}

@keyframes auraPulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Divine Message Interface */
.divine-message-interface {
    position: relative;
    width: 95%;
    max-width: 800px;
    max-height: 85vh;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 25px 80px rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 0 4px rgba(255, 255, 255, 0.05) inset;
    opacity: 0;
    transition: all 5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: bubbleFloat 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Prevent layout interference */
    z-index: 10;
    /* Ensure proper centering */
    right: auto;
    /* Constrain height to stay below Alex Gu */
    top: auto;
}

/* Remove .active class - using direct opacity/transform control for zen experience */

/* Enhanced bubble floating animation */
@keyframes bubbleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        box-shadow: 
            0 25px 80px rgba(255, 255, 255, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 0 0 4px rgba(255, 255, 255, 0.05) inset;
    }
    25% {
        transform: translateY(-1px) scale(1.005);
        box-shadow: 
            0 26px 82px rgba(255, 255, 255, 0.32),
            0 0 0 1px rgba(255, 255, 255, 0.11) inset,
            0 0 0 4px rgba(255, 255, 255, 0.055) inset;
    }
    50% { 
        transform: translateY(-2px) scale(1.01); 
        box-shadow: 
            0 27px 85px rgba(255, 255, 255, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.12) inset,
            0 0 0 4px rgba(255, 255, 255, 0.06) inset;
    }
    75% {
        transform: translateY(-1px) scale(1.005);
        box-shadow: 
            0 26px 82px rgba(255, 255, 255, 0.32),
            0 0 0 1px rgba(255, 255, 255, 0.11) inset,
            0 0 0 4px rgba(255, 255, 255, 0.055) inset;
    }
}

/* Glossy reflection effect for the entire interface */
.divine-message-interface::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    border-radius: 30px 30px 0 0;
    opacity: 0.6;
    animation: reflectionGlow 4s ease-in-out infinite;
}

@keyframes reflectionGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

/* Message Display - Glossy Bubble with Scrolling */
.message-display {
    flex: 1;
    min-height: 150px;
    max-height: 60vh;
    margin-bottom: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    box-shadow: 
        0 8px 32px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    /* Prevent layout shifts when messages appear */
    contain: layout style paint;
}

/* Custom scrollbar for message display */
.message-display::-webkit-scrollbar {
    width: 6px;
}

.message-display::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.message-display::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.message-display::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Enhanced message display glossy effect */
.message-display::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    border-radius: 20px 20px 0 0;
    opacity: 0.4;
}

/* Glossy highlight effect */
.message-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.8s ease;
}

.message-display:hover::before {
    left: 100%;
}

/* Individual Messages - Glossy Bubbles */
.message {
    margin-bottom: 1.5rem;
    padding: 1.5rem 2.2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: messageSlideIn 0.8s ease-out;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 4px 20px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 90%;
    word-wrap: break-word;
}

.message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.message:hover::before {
    left: 100%;
}

/* Enhanced message glossy effects */
.message::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    border-radius: 18px 18px 0 0;
    opacity: 0.3;
}

.message:hover {
    transform: translateY(-3px) scale(1.03) rotate(0.5deg);
    box-shadow: 
        0 12px 40px rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 0 8px rgba(255, 255, 255, 0.05) inset;
}

.message.user-message {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
    margin-right: 0;
    max-width: 75%;
    box-shadow: 
        0 4px 20px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.message.bot-message {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    margin-left: 0;
    margin-right: auto;
    max-width: 85%;
}

.message p {
    margin: 0;
    color: rgba(45, 55, 72, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

@keyframes messageSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.9) rotate(-1deg); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1) rotate(0deg); 
    }
}

/* Divine Input Section - Fixed at bottom */
.input-section {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.input-container {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.divine-input {
    flex: 1;
    padding: 1.2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(45, 55, 72, 0.9);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(25px);
    box-shadow: 
        0 4px 20px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    resize: none;
    min-height: 54px;
    max-height: 120px;
}

.divine-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.divine-input::placeholder {
    color: rgba(45, 55, 72, 0.5);
}

/* Enhanced input glossy effects */
.divine-input::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    border-radius: 25px 25px 0 0;
    opacity: 0.3;
}

.divine-input:focus {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.25),
        0 12px 40px rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 0 8px rgba(255, 255, 255, 0.08) inset;
    transform: translateY(-3px) scale(1.03);
}

.divine-send {
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.3);
    color: rgba(45, 55, 72, 0.8);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px);
    box-shadow: 
        0 4px 20px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.divine-send::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.divine-send:hover::before {
    left: 100%;
}

/* Enhanced send button glossy effects */
.divine-send::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    border-radius: 25px 25px 0 0;
    opacity: 0.4;
}

.divine-send:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 15px 50px rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset,
        0 0 0 8px rgba(255, 255, 255, 0.1) inset;
}

.divine-send:active {
    transform: translateY(-1px) scale(1.02);
}

/* Divine Quick Questions - Glossy Bubbles */
.quick-questions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.question-light {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(45, 55, 72, 0.8);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 4px 20px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    text-align: center;
    line-height: 1.2;
}

.question-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.question-light:hover::before {
    left: 100%;
}

/* Enhanced question buttons glossy effects */
.question-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    border-radius: 30px 30px 0 0;
    opacity: 0.3;
}

.question-light:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.7);
    color: rgba(45, 55, 72, 1);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 15px 45px rgba(255, 255, 255, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset,
        0 0 0 8px rgba(255, 255, 255, 0.08) inset;
}

/* Divine Presence Hint */
.divine-presence {
    position: relative;
    text-align: center;
    opacity: 0.7;
    transition: all 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 2rem;
}

/* Remove fade-out class - using direct opacity control for zen experience */

.presence-text {
    font-size: 1rem;
    color: rgba(45, 55, 72, 0.7);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    font-style: italic;
}

.presence-indicator {
    display: flex;
    justify-content: center;
}

.indicator-light {
    width: 6px;
    height: 6px;
    background: rgba(45, 55, 72, 0.6);
    border-radius: 50%;
    animation: presencePulse 3s ease-in-out infinite;
}

@keyframes presencePulse {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.5);
    }
}

/* Loading State */
.loading-indicator {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(45, 55, 72, 0.7);
    font-size: 0.9rem;
    font-style: italic;
}

.loading-dots {
    display: flex;
    gap: 0.4rem;
}

.loading-dot {
    width: 4px;
    height: 4px;
    background: rgba(45, 55, 72, 0.6);
    border-radius: 50%;
    animation: loadingDot 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0s; }

@keyframes loadingDot {
    0%, 80%, 100% { 
        transform: scale(0.8); 
        opacity: 0.5;
    }
    40% { 
        transform: scale(1); 
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .left-side, .right-side {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .left-side {
        height: 40vh;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .right-side {
        height: 60vh;
    }
    
    .top-half, .bottom-half {
        flex: none;
        height: auto;
        padding: 1rem 0;
    }
    
    .name-light {
        font-size: 3.5rem;
    }
    
    .divine-message-interface {
        width: 99%;
        padding: 2.5rem;
        max-height: 70vh;
    }
    
    .message-display {
        max-height: 50vh;
    }
    
    .faq-box {
        width: 95%;
        max-height: 70%;
        padding: 1.5rem;
    }
    
    .quick-questions {
        gap: 0.6rem;
    }
    
    .question-light {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .message {
        max-width: 90%;
    }
    
    .message.user-message {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .left-side {
        height: 35vh;
    }
    
    .right-side {
        height: 65vh;
    }
    
    .top-half, .bottom-half {
        padding: 0.8rem 0;
    }
    
    .name-light {
        font-size: 2.8rem;
    }
    
    .divine-message-interface {
        padding: 2rem;
        max-height: 75vh;
    }
    
    .message-display {
        max-height: 55vh;
        padding: 1.5rem;
    }
    
    .faq-box {
        width: 98%;
        max-height: 75%;
        padding: 1.2rem;
    }
    
    .faq-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .faq-section h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .faq-section p {
        font-size: 0.85rem;
    }
    
    .input-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .divine-send {
        width: 100%;
        height: 50px;
    }
    
    .quick-questions {
        gap: 0.5rem;
    }
    
    .question-light {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        flex: 1;
        min-width: calc(50% - 0.25rem);
    }
    
    .message {
        max-width: 95%;
        padding: 1rem 1.2rem;
    }
    
    .message.user-message {
        max-width: 90%;
    }
}
