/* Welcome Container Styles */
.welcome-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f0;
    padding: 1rem;
    gap: 2rem;
    border-radius: 1rem;
    margin: 0 auto;
    max-width: 1400px;
}

/* Amara Welcome Section Styles */
.amara-welcome-section {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 2.5rem;
    box-sizing: border-box;
}

.welcome-header {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: #8b9d83;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

.welcome-content {
    text-align: left;
}

.amara-banner {
    width: 100%;
    height: 250px; /* Adjust as needed */
    margin-bottom: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

.welcome-text {
    text-align: left;
}

.welcome-text p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 1.25rem 0;
}

.welcome-text p:last-child {
    margin-bottom: 0;
}

/* Learn More Accordion Styles */
.learn-more-accordion {
    margin-top: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.learn-more-accordion[open] {
    background: #ffffff;
    border-color: #8b9d83;
    box-shadow: 0 2px 8px rgba(139, 157, 131, 0.15);
}

.learn-more-summary {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #8b9d83;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.learn-more-summary::-webkit-details-marker {
    display: none;
}

.learn-more-summary::after {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: #8b9d83;
}

.learn-more-accordion[open] .learn-more-summary::after {
    transform: rotate(180deg);
}

.learn-more-summary:hover {
    color: #556b2f;
    background: rgba(139, 157, 131, 0.05);
}

.learn-more-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.learn-more-content p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.learn-more-content p:last-child {
    margin-bottom: 0;
}

.learn-more-content strong {
    color: #2d3748;
    font-weight: 600;
}

/* Mobile responsive adjustments for accordion */
@media (max-width: 768px) {
    .learn-more-accordion {
        margin-top: 1.5rem;
    }
    
    .learn-more-summary {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
    
    .learn-more-content {
        padding: 0 1rem 1rem 1rem;
    }
    
    .learn-more-content p {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .learn-more-summary {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .learn-more-content {
        padding: 0 0.875rem 0.875rem 0.875rem;
    }
    
    .learn-more-content p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

.welcome-quote {
    margin: 2rem 0;
    padding: 0 1rem;
}

.welcome-quote blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #8b9d83;
    margin: 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #8b9d83;
    border-radius: 0 0.5rem 0.5rem 0;
    position: relative;
}

.welcome-quote blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #8b9d83;
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    font-family: Georgia, serif;
}

.welcome-quote blockquote::after {
    content: '"';
    font-size: 3rem;
    color: #8b9d83;
    position: absolute;
    bottom: -1.5rem;
    right: -0.5rem;
    font-family: Georgia, serif;
}

.welcome-link {
    color: #8b9d83;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.welcome-link:hover {
    color: #556b2f;
    text-decoration: underline;
}

.try-question-section {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 2rem;
    box-sizing: border-box;
}

.try-question-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.try-question-subtitle {
    font-size: 0.875rem;
    color: #718096;
    margin: 0 0 1.5rem 0;
}

.sample-questions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sample-question-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-weight: 500;
}

.sample-question-btn:hover {
    border-color: #8b9d83;
    background: #f0f4f0;
    color: #4a5d3a;
    transform: translateY(-1px);
}

.custom-question-section {
    margin-bottom: 1.5rem;
}

.custom-question-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.custom-question-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: #ffffff;
    transition: all 0.2s ease;
}

.custom-question-input:focus {
    outline: none;
    border-color: #8b9d83;
    box-shadow: 0 0 0 3px rgba(139, 157, 131, 0.1);
}

.ask-btn {
    background: #8b9d83;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ask-btn:hover {
    background: #556b2f;
    transform: translateY(-1px);
}

.ask-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.amara-response-area {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.amara-typing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8b9d83;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

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

.typing-text {
    font-size: 0.875rem;
    color: #718096;
    font-style: italic;
}

.amara-response {
    background: #f0f4f0;
    border-left: 4px solid #8b9d83;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #4a5d3a;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Meet the Speakers Section Styles */
.speakers-section {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0px auto;
    box-sizing: border-box;
}

/* Speakers Accordion Styles */
.speakers-accordion {
    background: #ffffff;
    border: 2px solid #8b9d83;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    overflow: hidden;
    position: relative;
    animation: speakersPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.speakers-accordion::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 157, 131, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.speakers-accordion > * {
    position: relative;
    z-index: 1;
}

.speakers-accordion:hover {
    border-color: #556b2f;
    animation: speakersPulse 2s ease-in-out infinite;
    box-shadow: 0 6px 12px -1px rgb(0 0 0 / 0.15), 0 4px 8px -2px rgb(0 0 0 / 0.12), 0 0 0 4px rgba(139, 157, 131, 0.2);
}

.speakers-accordion .accordion-item {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.speakers-accordion .accordion-button {
    background-color: #ffffff;
    border: none;
    box-shadow: none;
    padding: 2.5rem;
    font-weight: inherit;
}

.speakers-accordion .accordion-button:not(.collapsed) {
    background-color: #ffffff;
    color: inherit;
    box-shadow: none;
}

.speakers-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 157, 131, 0.25);
    border-color: transparent;
}

.speakers-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232d3748'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    flex-shrink: 0;
}

.speakers-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232d3748'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.speakers-accordion .accordion-collapse {
    transition: height 0.35s ease;
}

.speakers-accordion .accordion-body {
    padding: 0 2.5rem 2.5rem 2.5rem;
    background-color: #ffffff;
}

.speakers-accordion-button {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.speakers-header {
    text-align: center;
    margin-bottom: 0;
    width: 100%;
}

.speakers-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.speakers-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
    font-weight: 500;
}

/* Featured Speaker Coins */
.featured-speakers-coins {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.featured-speaker-coin {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 157, 131, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.featured-speaker-coin:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 157, 131, 0.4);
    border-color: rgba(139, 157, 131, 0.6);
}

.featured-speaker-coin:active {
    transform: scale(0.95);
}

/* Mobile adjustments for featured coins */
@media (max-width: 768px) {
    .featured-speakers-coins {
        gap: 0.5rem;
        margin: 0.75rem 0;
    }
    
    .featured-speaker-coin {
        width: 50px;
        height: 50px;
    }
}

/* Quick Actions */
.quick-actions {
    margin: 1.5rem 0;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.quick-actions .btn,
.quick-actions .quick-action-btn,
.quick-actions .btn.btn-primary,
.quick-actions .btn.btn-outline-primary {
    width: 250px !important;
    height: 80px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 1;
    white-space: nowrap;
    min-width: 0;
    position: relative;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 
                0 2px 4px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    overflow: hidden;
    background: linear-gradient(135deg, #8b9d83 0%, #6b7d63 100%) !important;
    background-image: none !important;
    background-color: #8b9d83 !important;
}

/* Override global btn-primary and btn-outline-primary styles for quick-actions */
.quick-actions .btn.btn-primary {
    background: linear-gradient(135deg, #8b9d83 0%, #6b7d63 100%) !important;
    background-color: #8b9d83 !important;
    background-image: none !important;
}

.quick-actions .btn.btn-outline-primary {
    background: linear-gradient(135deg, #8b9d83 0%, #6b7d63 100%) !important;
    background-color: #8b9d83 !important;
    background-image: none !important;
}

.quick-actions .btn::before,
.quick-actions .quick-action-btn::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.5s ease;
    z-index: 1;
}

.quick-actions .btn:hover::before,
.quick-actions .quick-action-btn:hover::before {
    left: 100%;
}

.quick-actions .btn::after,
.quick-actions .quick-action-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 0.75rem;
    pointer-events: none;
    z-index: 1;
}

.quick-actions .btn:hover,
.quick-actions .quick-action-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2),
                0 4px 8px rgba(0, 0, 0, 0.15),
                0 0 0 2px rgba(255, 255, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.quick-actions .btn:active,
.quick-actions .quick-action-btn:active {
    transform: translateY(-2px) scale(0.98);
    transition: transform 0.1s ease;
}

.quick-actions .btn i,
.quick-actions .quick-action-btn i {
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    color: #ffffff !important;
    text-shadow: none;
}

.quick-actions .btn:hover i,
.quick-actions .quick-action-btn:hover i {
    transform: scale(1.15) rotate(5deg);
}

.quick-actions .btn span,
.quick-actions .quick-action-btn span {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 1px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}

.quick-actions .btn,
.quick-actions .quick-action-btn {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 1px rgba(0, 0, 0, 0.3);
}

/* Journal Entry button - Green theme */
.quick-actions button[onclick="createCustomJournalEntry()"],
.quick-actions button[onclick="createCustomJournalEntry()"].btn-primary,
.quick-actions button[onclick="createCustomJournalEntry()"].btn.btn-primary,
.quick-actions .quick-action-btn:has([onclick="createCustomJournalEntry()"]),
.amara-greeting-section .quick-actions button[onclick="createCustomJournalEntry()"],
.amara-greeting-section .quick-actions button[onclick="createCustomJournalEntry()"].btn-primary,
.amara-greeting-section .quick-actions button[onclick="createCustomJournalEntry()"].btn.btn-primary {
    background: linear-gradient(135deg, #5a9367 0%, #4a7d56 100%) !important;
    background-image: none !important;
    background-color: #5a9367 !important;
    color: #ffffff !important;
}

.quick-actions button[onclick="createCustomJournalEntry()"]:hover,
.quick-actions .quick-action-btn:has([onclick="createCustomJournalEntry()"]):hover,
.amara-greeting-section .quick-actions button[onclick="createCustomJournalEntry()"]:hover {
    box-shadow: 0 8px 24px rgba(90, 147, 103, 0.3),
                0 4px 8px rgba(0, 0, 0, 0.15),
                0 0 0 2px rgba(90, 147, 103, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background-image: none !important;
}

/* Journal Review button - Blue theme */
.quick-actions a[href*="journal"],
.quick-actions a[href*="journal"].btn-outline-primary,
.quick-actions a[href*="journal"].btn.btn-outline-primary,
.quick-actions .quick-action-btn[href*="journal"],
.amara-greeting-section .quick-actions a[href*="journal"],
.amara-greeting-section .quick-actions a[href*="journal"].btn-outline-primary,
.amara-greeting-section .quick-actions a[href*="journal"].btn.btn-outline-primary {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%) !important;
    background-image: none !important;
    background-color: #1976d2 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.quick-actions a[href*="journal"]:hover,
.quick-actions .quick-action-btn[href*="journal"]:hover,
.amara-greeting-section .quick-actions a[href*="journal"]:hover {
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.3),
                0 4px 8px rgba(0, 0, 0, 0.15),
                0 0 0 2px rgba(25, 118, 210, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background-image: none !important;
}

/* Jump to Chat button - Purple theme */
.quick-actions button[id="jumpToChatBtn"],
.quick-actions button[id="jumpToChatBtn"].btn-outline-primary,
.quick-actions button[id="jumpToChatBtn"].btn.btn-outline-primary,
.quick-actions .quick-action-btn[id="jumpToChatBtn"],
.amara-greeting-section .quick-actions button[id="jumpToChatBtn"],
.amara-greeting-section .quick-actions button[id="jumpToChatBtn"].btn-outline-primary,
.amara-greeting-section .quick-actions button[id="jumpToChatBtn"].btn.btn-outline-primary {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%) !important;
    background-image: none !important;
    background-color: #7b1fa2 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.quick-actions button[id="jumpToChatBtn"]:hover,
.quick-actions .quick-action-btn[id="jumpToChatBtn"]:hover,
.amara-greeting-section .quick-actions button[id="jumpToChatBtn"]:hover {
    box-shadow: 0 8px 24px rgba(123, 31, 162, 0.3),
                0 4px 8px rgba(0, 0, 0, 0.15),
                0 0 0 2px rgba(123, 31, 162, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background-image: none !important;
}

.quick-actions button,
.quick-actions a {
    width: 250px !important;
    height: 80px !important;
    display: inline-flex !important;
}

.speakers-filter {
    margin-bottom: 2rem;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.speaker-card {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 0.5rem;
    border: 1px solid #8b9d83;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-width: 0;
}

.speaker-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.1) 0%, rgba(139, 157, 131, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.speaker-card:hover::after {
    opacity: 1;
}

.speaker-card:focus {
    outline: 2px solid #8b9d83;
    outline-offset: 2px;
}

.speaker-card:focus::after {
    opacity: 1;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    /* border-color is inherited from tradition-specific styles */
}

.speaker-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0px;
    box-sizing: border-box;
}

.speaker-portrait {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 5/7;
    border-radius: 0.75rem;
    object-fit: cover;
    border: 3px solid #8b9d83;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(139, 157, 131, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.8) 100%);
    display: block;
    flex-shrink: 0;
}

/* Tradition-specific portrait border colors */
.speaker-card[data-tradition="christian"] .speaker-portrait {
    border-color: #1976d2; /* Blue */
}

.speaker-card[data-tradition="biblical"] .speaker-portrait {
    border-color: #f9a825; /* Gold */
}

.speaker-card[data-tradition="buddhist"] .speaker-portrait {
    border-color: #ffd700; /* Gold */
}

.speaker-card[data-tradition="hindu"] .speaker-portrait {
    border-color: #ff8c00; /* Saffron orange */
}

.speaker-card[data-tradition="islamic"] .speaker-portrait {
    border-color: #00796b; /* Teal */
}

.speaker-card[data-tradition="jewish"] .speaker-portrait {
    border-color: #1565c0; /* Deep blue */
}

.speaker-card[data-tradition="interfaith"] .speaker-portrait {
    border-color: #7b1fa2; /* Purple */
}

.speaker-card[data-tradition="rastafarian"] .speaker-portrait {
    border-color: #388e3c; /* Green */
}

.speaker-card[data-tradition="transcendentalist"] .speaker-portrait {
    border-color: #5a9367; /* Forest green */
}

.speaker-card[data-tradition="stoic"] .speaker-portrait {
    border-color: #6d4c41; /* Brown */
}

.speaker-card[data-tradition="psychology"] .speaker-portrait {
    border-color: #7791be; /* Light blue-grey */
}

.speaker-card[data-tradition="mystic"] .speaker-portrait {
    border-color: #5e35b1; /* Deep purple/indigo */
}

.speaker-card[data-tradition="philosophy"] .speaker-portrait {
    border-color: #6C584C; /* Warm brown */
}

.speaker-card[data-tradition="general"] .speaker-portrait {
    border-color: #8b9d83; /* Sage green */
}

/* Tradition-specific card border colors */
.speaker-card[data-tradition="christian"] {
    border-color: #1976d2; /* Blue */
}

.speaker-card[data-tradition="biblical"] {
    border-color: #f9a825; /* Gold */
}

.speaker-card[data-tradition="buddhist"] {
    border-color: #ffd700; /* Gold */
}

.speaker-card[data-tradition="hindu"] {
    border-color: #ff8c00; /* Saffron orange */
}

.speaker-card[data-tradition="islamic"] {
    border-color: #00796b; /* Teal */
}

.speaker-card[data-tradition="jewish"] {
    border-color: #1565c0; /* Deep blue */
}

.speaker-card[data-tradition="interfaith"] {
    border-color: #7b1fa2; /* Purple */
}

.speaker-card[data-tradition="rastafarian"] {
    border-color: #388e3c; /* Green */
}

.speaker-card[data-tradition="transcendentalist"] {
    border-color: #5a9367; /* Forest green */
}

.speaker-card[data-tradition="stoic"] {
    border-color: #6d4c41; /* Brown */
}

.speaker-card[data-tradition="psychology"] {
    border-color: #7791be; /* Light blue-grey */
}

.speaker-card[data-tradition="mystic"] {
    border-color: #5e35b1; /* Deep purple/indigo */
}

.speaker-card[data-tradition="philosophy"] {
    border-color: #6C584C; /* Warm brown */
}

.speaker-card[data-tradition="general"] {
    border-color: #8b9d83; /* Sage green */
}

/* Tradition-specific description border colors */
.speaker-card[data-tradition="christian"] .speaker-description {
    border-color: #1976d2; /* Blue */
}

.speaker-card[data-tradition="biblical"] .speaker-description {
    border-color: #f9a825; /* Gold */
}

.speaker-card[data-tradition="buddhist"] .speaker-description {
    border-color: #ffd700; /* Gold */
}

.speaker-card[data-tradition="hindu"] .speaker-description {
    border-color: #ff8c00; /* Saffron orange */
}

.speaker-card[data-tradition="islamic"] .speaker-description {
    border-color: #00796b; /* Teal */
}

.speaker-card[data-tradition="jewish"] .speaker-description {
    border-color: #1565c0; /* Deep blue */
}

.speaker-card[data-tradition="interfaith"] .speaker-description {
    border-color: #7b1fa2; /* Purple */
}

.speaker-card[data-tradition="rastafarian"] .speaker-description {
    border-color: #388e3c; /* Green */
}

.speaker-card[data-tradition="transcendentalist"] .speaker-description {
    border-color: #5a9367; /* Forest green */
}

.speaker-card[data-tradition="stoic"] .speaker-description {
    border-color: #6d4c41; /* Brown */
}

.speaker-card[data-tradition="psychology"] .speaker-description {
    border-color: #7791be; /* Light blue-grey */
}

.speaker-card[data-tradition="mystic"] .speaker-description {
    border-color: #5e35b1; /* Deep purple/indigo */
}

.speaker-card[data-tradition="philosophy"] .speaker-description {
    border-color: #6C584C; /* Warm brown */
}

.speaker-card[data-tradition="general"] .speaker-description {
    border-color: #8b9d83; /* Sage green */
}

.speaker-portrait::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.6rem;
    border: 1px solid rgba(139, 157, 131, 0.2);
    pointer-events: none;
}

.speaker-card:hover .speaker-portrait {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(139, 157, 131, 0.25),
        inset 0 1px 3px rgba(255, 255, 255, 0.9);
}

.speaker-emoji {
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid rgba(139, 157, 131, 0.3);
    z-index: 5;
}

.speaker-favorite-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid rgba(139, 157, 131, 0.3);
    z-index: 6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.speaker-favorite-badge:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.speaker-favorite-badge i {
    color: #8b9d83;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.speaker-favorite-badge.favorited i {
    color: #ffd700; /* Gold for favorited */
}

.speaker-favorite-badge.favorited {
    border-color: #ffd700;
}

.speaker-card:hover .speaker-favorite-badge {
    opacity: 1;
}

.speaker-name-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 1.0);
    border-radius: 0.5rem;
    padding: 0.2rem 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    border: 1px solid;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 6;
    white-space: nowrap;
}


.speaker-info {
    text-align: center;
}

.speaker-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000 !important;
    margin: 0 0 0.25rem 0;
    text-align: center;
    text-shadow: none !important;
}

.speaker-tradition {
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    padding: 0.25rem 1rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Tradition-specific background colors for speaker-tradition */
.speaker-card[data-tradition="christian"] .speaker-tradition {
    background-color: #1976d2; /* Blue */
}

.speaker-card[data-tradition="biblical"] .speaker-tradition {
    background-color: #f9a825; /* Gold */
}

.speaker-card[data-tradition="buddhist"] .speaker-tradition {
    background-color: #ffd700; /* Gold */
}

.speaker-card[data-tradition="hindu"] .speaker-tradition {
    background-color: #ff8c00; /* Saffron orange */
}

.speaker-card[data-tradition="islamic"] .speaker-tradition {
    background-color: #00796b; /* Teal */
}

.speaker-card[data-tradition="jewish"] .speaker-tradition {
    background-color: #1565c0; /* Deep blue */
}

.speaker-card[data-tradition="interfaith"] .speaker-tradition {
    background-color: #7b1fa2; /* Purple */
}

.speaker-card[data-tradition="rastafarian"] .speaker-tradition {
    background-color: #388e3c; /* Green */
}

.speaker-card[data-tradition="transcendentalist"] .speaker-tradition {
    background-color: #5a9367; /* Forest green */
}

.speaker-card[data-tradition="stoic"] .speaker-tradition {
    background-color: #6d4c41; /* Brown */
}

.speaker-card[data-tradition="psychology"] .speaker-tradition {
    background-color: #7791be; /* Light blue-grey */
}

.speaker-card[data-tradition="mystic"] .speaker-tradition {
    background-color: #5e35b1; /* Deep purple/indigo */
}

.speaker-card[data-tradition="philosophy"] .speaker-tradition {
    background-color: #6C584C; /* Warm brown */
}

.speaker-card[data-tradition="general"] .speaker-tradition {
    background-color: #8b9d83; /* Sage green */
}

/* Tradition-specific border colors for speaker-name-badge */
.speaker-card[data-tradition="christian"] .speaker-name-badge {
    border-color: #1976d2; /* Blue */
}

.speaker-card[data-tradition="biblical"] .speaker-name-badge {
    border-color: #f9a825; /* Gold */
}

.speaker-card[data-tradition="buddhist"] .speaker-name-badge {
    border-color: #ffd700; /* Gold */
}

.speaker-card[data-tradition="hindu"] .speaker-name-badge {
    border-color: #ff8c00; /* Saffron orange */
}

.speaker-card[data-tradition="islamic"] .speaker-name-badge {
    border-color: #00796b; /* Teal */
}

.speaker-card[data-tradition="jewish"] .speaker-name-badge {
    border-color: #1565c0; /* Deep blue */
}

.speaker-card[data-tradition="interfaith"] .speaker-name-badge {
    border-color: #7b1fa2; /* Purple */
}

.speaker-card[data-tradition="rastafarian"] .speaker-name-badge {
    border-color: #388e3c; /* Green */
}

.speaker-card[data-tradition="transcendentalist"] .speaker-name-badge {
    border-color: #5a9367; /* Forest green */
}

.speaker-card[data-tradition="stoic"] .speaker-name-badge {
    border-color: #6d4c41; /* Brown */
}

.speaker-card[data-tradition="psychology"] .speaker-name-badge {
    border-color: #7791be; /* Light blue-grey */
}

.speaker-card[data-tradition="mystic"] .speaker-name-badge {
    border-color: #5e35b1; /* Deep purple/indigo */
}

.speaker-card[data-tradition="philosophy"] .speaker-name-badge {
    border-color: #6C584C; /* Warm brown */
}

.speaker-card[data-tradition="general"] .speaker-name-badge {
    border-color: #8b9d83; /* Sage green */
}

.speaker-description {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 20px 0 0 0;
    white-space: pre-line;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #8b9d83;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.speakers-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.speakers-note {
    font-size: 0.875rem;
    color: #718096;
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.speaker-count {
    font-size: 0.875rem;
    color: #8b9d83;
    font-weight: 600;
    margin: 0;
}

.speaker-count span {
    color: #556b2f;
}

/* Auth CTA Section Styles */
.auth-cta-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0 auto;
}

.auth-cta-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 2.5rem;
    text-align: center;
    box-sizing: border-box;
}

.auth-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 1rem 0;
}

.auth-cta-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.auth-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-cta-btn {
    padding: 0.875rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(139, 157, 131, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Primary button (Login) */
.auth-cta-btn.btn-primary {
    background: linear-gradient(135deg, #8b9d83 0%, #556b2f 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(139, 157, 131, 0.35), 0 2px 8px rgba(85, 107, 47, 0.2);
}

.auth-cta-btn.btn-primary::after {
    content: '🔐';
    font-size: 1.1em;
    margin-left: 0.25rem;
    opacity: 0.9;
}

.auth-cta-btn.btn-primary::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.5s ease;
}

.auth-cta-btn.btn-primary:hover::before {
    left: 100%;
}

.auth-cta-btn.btn-primary:hover {
    background: linear-gradient(135deg, #556b2f 0%, #8b9d83 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 157, 131, 0.45), 0 4px 12px rgba(85, 107, 47, 0.3);
    text-decoration: none;
    color: #ffffff;
}

.auth-cta-btn.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(139, 157, 131, 0.3);
}

/* Outline button (Create Account) */
.auth-cta-btn.btn-outline-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #8b9d83;
    border: 2px solid #8b9d83;
    box-shadow: 0 4px 12px rgba(139, 157, 131, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.auth-cta-btn.btn-outline-primary::after {
    content: '✨';
    font-size: 1.1em;
    margin-left: 0.25rem;
    opacity: 0.9;
}

.auth-cta-btn.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.1) 0%, rgba(85, 107, 47, 0.1) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.auth-cta-btn.btn-outline-primary:hover {
    background: linear-gradient(135deg, #8b9d83 0%, #556b2f 100%);
    color: #ffffff;
    border-color: #556b2f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 157, 131, 0.35), 0 4px 12px rgba(85, 107, 47, 0.25);
    text-decoration: none;
}

.auth-cta-btn.btn-outline-primary:hover::before {
    width: 100%;
}

.auth-cta-btn.btn-outline-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(139, 157, 131, 0.25);
}

/* Auth Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 0;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.auth-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

.auth-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.auth-modal-close:hover {
    background-color: #f7fafc;
    color: #4a5568;
}

.auth-modal-body {
    padding: 1.5rem;
}

.auth-modal-body p {
    margin: 0 0 1.5rem 0;
    color: #4a5568;
    line-height: 1.6;
    text-align: center;
}

.auth-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-modal-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 120px;
    text-align: center;
}

.auth-modal-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

/* Mobile responsive adjustments for modal */
@media (max-width: 768px) {
    .auth-modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: 400px;
    }
    
    .auth-modal-header {
        padding: 1.25rem 1.25rem 0 1.25rem;
    }
    
    .auth-modal-body {
        padding: 1.25rem;
    }
    
    .auth-modal-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-modal-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Hidden speaker cards */
.speaker-card.hidden {
    display: none !important;
}

/* Multi-Speaker Selection Styles */
.multi-select-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.1) 0%, rgba(139, 157, 131, 0.05) 100%);
    border-radius: 1rem;
    border: 2px solid #8b9d83;
    box-shadow: 0 4px 12px rgba(139, 157, 131, 0.15);
    transition: all 0.3s ease;
}

.multi-select-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 157, 131, 0.25);
    border-color: #7a8d72;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 40px;
    padding: 0.75rem 1rem 0.75rem 40px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-checkmark {
    position: absolute;
    left: 12px;
    height: 26px;
    width: 26px;
    background-color: #ffffff;
    border: 3px solid #8b9d83;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(139, 157, 131, 0.2);
}

.checkbox-container:hover .checkbox-checkmark {
    border-color: #7a8d72;
    box-shadow: 0 3px 6px rgba(139, 157, 131, 0.3);
    transform: scale(1.1);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
    background-color: #8b9d83;
    border-color: #8b9d83;
    box-shadow: 0 3px 8px rgba(139, 157, 131, 0.4);
}

.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkbox-checkmark:after {
    display: block;
}

.multi-select-description {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    text-align: center;
    line-height: 1.5;
}

.checkbox-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    padding-left: 0.5rem;
}

.selection-counter {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 0.75rem;
    border: 2px solid #8b9d83;
    box-shadow: 0 2px 6px rgba(139, 157, 131, 0.15);
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.selection-counter:hover {
    box-shadow: 0 4px 10px rgba(139, 157, 131, 0.25);
    transform: translateY(-1px);
}

.selection-counter span {
    color: #8b9d83;
    font-weight: 700;
}

/* Speaker Card Selection Styles */
.speaker-selection-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.speaker-selection-checkbox i {
    color: #8b9d83;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaker-card.selected .speaker-selection-checkbox {
    background: #8b9d83;
    border-color: #8b9d83;
}

.speaker-card.selected .speaker-selection-checkbox i {
    color: #ffffff;
    opacity: 1;
}

.speaker-card.selected {
    border-color: #8b9d83;
    background: #f0f4f0;
    box-shadow: 0 4px 12px rgba(139, 157, 131, 0.3);
}

.speaker-card.multi-select-mode {
    cursor: pointer;
}

/* Group Study Button - Fixed Pop-up */
.group-study-button-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.group-study-btn {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    background: linear-gradient(135deg, #8b9d83 0%, #556b2f 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(139, 157, 131, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.group-study-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 157, 131, 0.6);
    background: linear-gradient(135deg, #556b2f 0%, #8b9d83 100%);
}

.group-study-btn i {
    font-size: 1.25rem;
}

.group-study-btn .speaker-count-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* Selected speakers coin images */
.selected-speakers-coins {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.selected-speaker-coin {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.selected-speaker-coin:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile adjustments for fixed button */
@media (max-width: 768px) {
    .group-study-button-container {
        bottom: 1rem;
        left: 50%;
        right: auto;
        width: auto;
    }
    
    .group-study-btn {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
    
    .selected-speakers-coins {
        gap: 0.375rem;
        margin-bottom: 0.5rem;
    }
    
    .selected-speaker-coin {
        width: 65px;
        height: 65px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Quick Actions Mobile */
    .quick-actions {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 0.5rem;
    }
    
    .quick-actions .btn,
    .quick-actions button,
    .quick-actions a,
    .quick-actions .quick-action-btn,
    .quick-actions .btn.btn-primary,
    .quick-actions .btn.btn-outline-primary {
        width: 100% !important;
        max-width: 100% !important;
        height: 70px !important;
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem;
        background-color: transparent !important;
        color: #ffffff !important;
    }
    
    .quick-actions .btn i,
    .quick-actions button i,
    .quick-actions a i,
    .quick-actions .quick-action-btn i {
        font-size: 1.4rem !important;
        color: #ffffff !important;
    }
    
    /* Ensure button backgrounds show on mobile */
    .quick-actions button[onclick="createCustomJournalEntry()"],
    .amara-greeting-section .quick-actions button[onclick="createCustomJournalEntry()"] {
        background: linear-gradient(135deg, #5a9367 0%, #4a7d56 100%) !important;
        background-color: transparent !important;
    }
    
    .quick-actions a[href*="journal"],
    .amara-greeting-section .quick-actions a[href*="journal"] {
        background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%) !important;
        background-color: transparent !important;
    }
    
    .quick-actions button[id="jumpToChatBtn"],
    .amara-greeting-section .quick-actions button[id="jumpToChatBtn"] {
        background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%) !important;
        background-color: transparent !important;
    }
    
    .welcome-container {
        flex-direction: column;
        padding: 0.5rem;
        gap: 1rem;
    }
    
    .amara-welcome-section {
        padding: 1.5rem 1rem;
    }
    
    .welcome-content {
        text-align: left;
    }
    
    .amara-portrait {
        float: none !important;
        display: block;
        margin: 0 auto 1.5rem auto !important;
        max-width: 225px !important;
    }
    
    .amara-banner {
        height: 200px; /* Adjust for smaller screens */
    }
    
    .welcome-title {
        font-size: 1.75rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .welcome-text {
        text-align: left;
        overflow: visible;
    }
    
    .welcome-quote {
        margin: 1.5rem 0;
        padding: 0;
    }
    
    .welcome-quote blockquote {
        font-size: 1.1rem;
        padding: 1.25rem;
    }
    
    .try-question-section {
        padding: 1.5rem 1rem;
    }
    
    .sample-questions {
        gap: 0.5rem;
    }
    
    .custom-question-input-wrapper {
        flex-direction: column;
    }
    
    .ask-btn {
        width: 100%;
    }
    
    .speakers-accordion .accordion-button {
        padding: 1.5rem;
    }
    
    .speakers-accordion .accordion-body {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .speakers-title {
        font-size: 1.5rem;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .speaker-card {
        padding: 0.5rem;
    }
    
    /* Default mobile size for tablets and smaller devices */
    .speaker-portrait {
        width: 140px !important;
        height: 196px !important;
    }
    
    .speaker-emoji {
        width: 30px !important;
        height: 30px !important;
        font-size: 1.35rem !important;
    }
    
    .auth-cta-card {
        padding: 2rem 1rem;
    }
    
    .auth-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-cta-btn {
        width: 100%;
        max-width: 220px;
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
    
    .auth-cta-btn::after {
        font-size: 1em;
    }
}

/* How to Walk with the Guides Section Styles */
.guides-section {
    width: 100%;
    max-width: 1200px;
    margin-top: 0;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.guides-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    text-align: center;
}

.guides-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    text-align: center;
}

.guides-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.guide-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.guide-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.guide-card-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.guide-tip {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 3px solid #6c757d;
    padding: 0.5rem 0.75rem;
    margin: 0.75rem 0;
    border-radius: 0 0.375rem 0.375rem 0;
    font-size: 0.85rem;
}

.guide-tip em {
    color: #495057;
    font-style: italic;
}

.guide-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.guide-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.guide-try-btn {
    color: #2563eb;
    border-color: #2563eb;
}

.guide-try-btn:hover {
    background: #2563eb;
    color: white;
}

.guide-learn-btn {
    color: #6c757d;
    border-color: #6c757d;
}

.guide-learn-btn:hover {
    background: #6c757d;
    color: white;
}

/* Guide Chat Area Styles */
.guide-chat-area {
    margin-top: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow: hidden;
}

.guide-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    padding-top: 0.75rem;
}

.guide-chat-message {
    padding: 0.75rem;
    border-radius: 0.5rem;
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow: hidden;
    word-break: break-word;
}

.guide-user-message {
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
    color: #1565c0;
}

.guide-ai-message {
    background: #f3e5f5;
    border-left: 3px solid #9c27b0;
    color: #6a1b9a;
}

.guide-response-text {
    display: inline;
}

.did-you-know-section {
    text-align: center;
    margin: 1.5rem 0;
}

.did-you-know-btn {
    background: transparent;
    border: 1px solid #17a2b8;
    color: #17a2b8;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.did-you-know-btn:hover {
    background: #17a2b8;
    color: white;
}

.did-you-know-text {
    color: #6c757d;
    font-style: italic;
    margin-left: 1rem;
    font-size: 0.875rem;
}

.guides-faq {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 1.5rem 0;
}

.guides-faq-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.guides-faq-summary:hover {
    background: #e9ecef;
}

.guides-faq-summary h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
}

.guides-faq-content {
    padding: 1rem;
}

.guides-faq-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.guides-faq-item:last-child {
    border-bottom: none;
}

.guides-faq-item h5 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.guides-faq-item p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 0.85rem;
}

.guides-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.guides-note {
    color: #6c757d;
    font-size: 0.8rem;
    font-style: italic;
}

/* Guides Nova Section - Speech Bubble Style */
.guides-nova-section {
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #d4af37;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.guides-nova-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.guides-nova-section::before {
    content: '';
    position: absolute;
    left: 220px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid #d4af37;
    z-index: 1;
}

.guides-nova-section::after {
    content: '';
    position: absolute;
    left: 222px;
    top: 32px;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 18px solid #f8f9fa;
    z-index: 2;
}

.guides-nova-portrait-container {
    flex-shrink: 0;
}

.guides-nova-portrait {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #d4af37;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guides-nova-section:hover .guides-nova-portrait {
    transform: scale(1.05);
}

.guides-nova-content {
    flex: 1;
    min-width: 0;
}

.guides-nova-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.guides-nova-byline {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1rem;
}

.guides-nova-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.guides-nova-text p {
    margin-bottom: 0.75rem;
}

.guides-nova-text p:last-child {
    margin-bottom: 0;
}

.guides-nova-cta {
    margin-top: 1.5rem;
}

.guides-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #8b9d83 0%, #556b2f 100%);
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(139, 157, 131, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guides-cta-button::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.5s ease;
}

.guides-cta-button:hover::before {
    left: 100%;
}

.guides-cta-button:hover {
    background: linear-gradient(135deg, #556b2f 0%, #8b9d83 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 157, 131, 0.45), 0 4px 12px rgba(85, 107, 47, 0.3);
}

.guides-cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(139, 157, 131, 0.3);
}

.guides-cta-button i {
    font-size: 1.1em;
}

/* Responsive adjustments for guides section */
@media (max-width: 768px) {
    .guides-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .guides-title {
        font-size: 1.25rem;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .guide-card {
        padding: 1rem;
    }
    
    .guide-tip {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .did-you-know-text {
        display: block;
        margin-top: 0.5rem;
        margin-left: 0;
    }
    
    /* Nova section responsive */
    .guides-nova-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .guides-nova-section::before,
    .guides-nova-section::after {
        display: none;
    }
    
    .guides-nova-portrait {
        width: 150px;
        height: 150px;
    }
    
    .guides-nova-title {
        font-size: 1.25rem;
    }
    
    .guides-nova-text {
        font-size: 0.95rem;
    }
    
    .guides-cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .guides-nova-section {
        padding: 1rem;
    }
    
    .guides-nova-portrait {
        width: 120px;
        height: 120px;
    }
    
    .guides-nova-title {
        font-size: 1.125rem;
    }
    
    .guides-nova-text {
        font-size: 0.9rem;
    }
    
    .guides-cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Universal Mobile Override - Force trading card size on ALL mobile devices */
@media (max-width: 768px) {
    .speaker-portrait {
        width: calc(100% - 20px) !important;
        height: auto !important;
        aspect-ratio: 5/7 !important;
        border-radius: 0.75rem !important;
        object-fit: cover !important;
        border: 3px solid #8b9d83 !important;
        box-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.1),
            0 4px 8px rgba(0, 0, 0, 0.12),
            0 8px 16px rgba(139, 157, 131, 0.15),
            inset 0 1px 2px rgba(255, 255, 255, 0.8) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.8) 100%) !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Mobile tradition-specific portrait border colors */
    .speaker-card[data-tradition="christian"] .speaker-portrait {
        border-color: #1976d2 !important; /* Blue */
    }
    
    .speaker-card[data-tradition="biblical"] .speaker-portrait {
        border-color: #f9a825 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="buddhist"] .speaker-portrait {
        border-color: #ffd700 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="hindu"] .speaker-portrait {
        border-color: #ff8c00 !important; /* Saffron orange */
    }
    
    .speaker-card[data-tradition="islamic"] .speaker-portrait {
        border-color: #00796b !important; /* Teal */
    }
    
    .speaker-card[data-tradition="jewish"] .speaker-portrait {
        border-color: #1565c0 !important; /* Deep blue */
    }
    
    .speaker-card[data-tradition="interfaith"] .speaker-portrait {
        border-color: #7b1fa2 !important; /* Purple */
    }
    
    .speaker-card[data-tradition="rastafarian"] .speaker-portrait {
        border-color: #388e3c !important; /* Green */
    }
    
    .speaker-card[data-tradition="transcendentalist"] .speaker-portrait {
        border-color: #5a9367 !important; /* Forest green */
    }
    
    .speaker-card[data-tradition="stoic"] .speaker-portrait {
        border-color: #6d4c41 !important; /* Brown */
    }
    
    .speaker-card[data-tradition="psychology"] .speaker-portrait {
        border-color: #7791be !important; /* Light blue-grey */
    }
    
    .speaker-card[data-tradition="mystic"] .speaker-portrait {
        border-color: #5e35b1 !important; /* Deep purple/indigo */
    }
    
    .speaker-card[data-tradition="philosophy"] .speaker-portrait {
        border-color: #6C584C !important; /* Warm brown */
    }
    
    .speaker-card[data-tradition="general"] .speaker-portrait {
        border-color: #8b9d83 !important; /* Sage green */
    }
    
    /* Mobile tradition-specific card border colors */
    .speaker-card[data-tradition="christian"] {
        border-color: #1976d2 !important; /* Blue */
    }
    
    .speaker-card[data-tradition="biblical"] {
        border-color: #f9a825 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="buddhist"] {
        border-color: #ffd700 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="hindu"] {
        border-color: #ff8c00 !important; /* Saffron orange */
    }
    
    .speaker-card[data-tradition="islamic"] {
        border-color: #00796b !important; /* Teal */
    }
    
    .speaker-card[data-tradition="jewish"] {
        border-color: #1565c0 !important; /* Deep blue */
    }
    
    .speaker-card[data-tradition="interfaith"] {
        border-color: #7b1fa2 !important; /* Purple */
    }
    
    .speaker-card[data-tradition="rastafarian"] {
        border-color: #388e3c !important; /* Green */
    }
    
    .speaker-card[data-tradition="transcendentalist"] {
        border-color: #5a9367 !important; /* Forest green */
    }
    
    .speaker-card[data-tradition="stoic"] {
        border-color: #6d4c41 !important; /* Brown */
    }
    
    .speaker-card[data-tradition="psychology"] {
        border-color: #7791be !important; /* Light blue-grey */
    }
    
    .speaker-card[data-tradition="mystic"] {
        border-color: #5e35b1 !important; /* Deep purple/indigo */
    }
    
    .speaker-card[data-tradition="philosophy"] {
        border-color: #6C584C !important; /* Warm brown */
    }
    
    .speaker-card[data-tradition="general"] {
        border-color: #8b9d83 !important; /* Sage green */
    }
    
    /* Mobile tradition-specific description border colors */
    .speaker-card[data-tradition="christian"] .speaker-description {
        border-color: #1976d2 !important; /* Blue */
    }
    
    .speaker-card[data-tradition="biblical"] .speaker-description {
        border-color: #f9a825 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="buddhist"] .speaker-description {
        border-color: #ffd700 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="hindu"] .speaker-description {
        border-color: #ff8c00 !important; /* Saffron orange */
    }
    
    .speaker-card[data-tradition="islamic"] .speaker-description {
        border-color: #00796b !important; /* Teal */
    }
    
    .speaker-card[data-tradition="jewish"] .speaker-description {
        border-color: #1565c0 !important; /* Deep blue */
    }
    
    .speaker-card[data-tradition="interfaith"] .speaker-description {
        border-color: #7b1fa2 !important; /* Purple */
    }
    
    .speaker-card[data-tradition="rastafarian"] .speaker-description {
        border-color: #388e3c !important; /* Green */
    }
    
    .speaker-card[data-tradition="transcendentalist"] .speaker-description {
        border-color: #5a9367 !important; /* Forest green */
    }
    
    .speaker-card[data-tradition="stoic"] .speaker-description {
        border-color: #6d4c41 !important; /* Brown */
    }
    
    .speaker-card[data-tradition="psychology"] .speaker-description {
        border-color: #7791be !important; /* Light blue-grey */
    }
    
    .speaker-card[data-tradition="mystic"] .speaker-description {
        border-color: #5e35b1 !important; /* Deep purple/indigo */
    }
    
    .speaker-card[data-tradition="philosophy"] .speaker-description {
        border-color: #6C584C !important; /* Warm brown */
    }
    
    .speaker-card[data-tradition="general"] .speaker-description {
        border-color: #8b9d83 !important; /* Sage green */
    }
    
    .speaker-portrait::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 0.6rem !important;
        border: 1px solid rgba(139, 157, 131, 0.2) !important;
        pointer-events: none !important;
    }
    
    .speaker-card:hover .speaker-portrait {
        transform: translateY(-2px) !important;
        box-shadow: 
            0 4px 8px rgba(0, 0, 0, 0.12),
            0 8px 16px rgba(0, 0, 0, 0.15),
            0 12px 24px rgba(139, 157, 131, 0.25),
            inset 0 1px 3px rgba(255, 255, 255, 0.9) !important;
    }
    
    .speaker-emoji {
        position: absolute !important;
        top: 0px !important;
        left: 0px !important;
        font-size: 1.5rem !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 50% !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        border: 2px solid rgba(139, 157, 131, 0.3) !important;
        z-index: 5 !important;
    }
    
    .speaker-name-badge {
        position: absolute !important;
        top: -20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        background: rgba(255, 255, 255, 1.0) !important;
        border-radius: 0.5rem !important;
        padding: 0.15rem 0.6rem !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #000000 !important;
        border: 1px solid !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        z-index: 6 !important;
        white-space: nowrap !important;
    }
    
    .speaker-tradition {
        font-size: 0.8rem !important;
        margin: 0 !important;
        padding: 0.25rem 1rem !important;
        width: 100% !important;
        color: #ffffff !important;
        text-align: center !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    }
    
    /* Mobile tradition-specific background colors for speaker-tradition */
    .speaker-card[data-tradition="christian"] .speaker-tradition {
        background-color: #1976d2 !important; /* Blue */
    }
    
    .speaker-card[data-tradition="biblical"] .speaker-tradition {
        background-color: #f9a825 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="buddhist"] .speaker-tradition {
        background-color: #ffd700 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="hindu"] .speaker-tradition {
        background-color: #ff8c00 !important; /* Saffron orange */
    }
    
    .speaker-card[data-tradition="islamic"] .speaker-tradition {
        background-color: #00796b !important; /* Teal */
    }
    
    .speaker-card[data-tradition="jewish"] .speaker-tradition {
        background-color: #1565c0 !important; /* Deep blue */
    }
    
    .speaker-card[data-tradition="interfaith"] .speaker-tradition {
        background-color: #7b1fa2 !important; /* Purple */
    }
    
    .speaker-card[data-tradition="rastafarian"] .speaker-tradition {
        background-color: #388e3c !important; /* Green */
    }
    
    .speaker-card[data-tradition="transcendentalist"] .speaker-tradition {
        background-color: #5a9367 !important; /* Forest green */
    }
    
    .speaker-card[data-tradition="stoic"] .speaker-tradition {
        background-color: #6d4c41 !important; /* Brown */
    }
    
    .speaker-card[data-tradition="psychology"] .speaker-tradition {
        background-color: #7791be !important; /* Light blue-grey */
    }
    
    .speaker-card[data-tradition="mystic"] .speaker-tradition {
        background-color: #5e35b1 !important; /* Deep purple/indigo */
    }
    
    .speaker-card[data-tradition="philosophy"] .speaker-tradition {
        background-color: #6C584C !important; /* Warm brown */
    }
    
    .speaker-card[data-tradition="general"] .speaker-tradition {
        background-color: #8b9d83 !important; /* Sage green */
    }
    
    /* Mobile tradition-specific border colors for speaker-name-badge */
    .speaker-card[data-tradition="christian"] .speaker-name-badge {
        border-color: #1976d2 !important; /* Blue */
    }
    
    .speaker-card[data-tradition="biblical"] .speaker-name-badge {
        border-color: #f9a825 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="buddhist"] .speaker-name-badge {
        border-color: #ffd700 !important; /* Gold */
    }
    
    .speaker-card[data-tradition="hindu"] .speaker-name-badge {
        border-color: #ff8c00 !important; /* Saffron orange */
    }
    
    .speaker-card[data-tradition="islamic"] .speaker-name-badge {
        border-color: #00796b !important; /* Teal */
    }
    
    .speaker-card[data-tradition="jewish"] .speaker-name-badge {
        border-color: #1565c0 !important; /* Deep blue */
    }
    
    .speaker-card[data-tradition="interfaith"] .speaker-name-badge {
        border-color: #7b1fa2 !important; /* Purple */
    }
    
    .speaker-card[data-tradition="rastafarian"] .speaker-name-badge {
        border-color: #388e3c !important; /* Green */
    }
    
    .speaker-card[data-tradition="transcendentalist"] .speaker-name-badge {
        border-color: #5a9367 !important; /* Forest green */
    }
    
    .speaker-card[data-tradition="stoic"] .speaker-name-badge {
        border-color: #6d4c41 !important; /* Brown */
    }
    
    .speaker-card[data-tradition="psychology"] .speaker-name-badge {
        border-color: #7791be !important; /* Light blue-grey */
    }
    
    .speaker-card[data-tradition="mystic"] .speaker-name-badge {
        border-color: #5e35b1 !important; /* Deep purple/indigo */
    }
    
    .speaker-card[data-tradition="philosophy"] .speaker-name-badge {
        border-color: #6C584C !important; /* Warm brown */
    }
    
    .speaker-card[data-tradition="general"] .speaker-name-badge {
        border-color: #8b9d83 !important; /* Sage green */
    }
    
}

/* Small/Older Phones - below 400px */
@media (max-width: 399px) {
    .quick-actions .btn,
    .quick-actions button,
    .quick-actions a {
        width: 240px !important;
        height: 75px !important;
        font-size: 1.725rem !important;
    }
    
    .quick-actions .btn i,
    .quick-actions button i,
    .quick-actions a i {
        font-size: 1.875rem !important;
    }
    
    .amara-welcome-section {
        padding: 1rem 0.75rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
    }
    
    .amara-banner {
        height: 150px; /* Adjust for even smaller screens */
    }
    
    .welcome-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .welcome-quote blockquote {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .try-question-section {
        padding: 1rem 0.75rem;
    }
}

/* Guides Footer */
.guides-footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.75rem;
    border: 1px solid #dee2e6;
}

.guides-note {
    font-size: 1rem;
    color: #6b7c63;
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}

/* =============================================================================
   SPEAKER BIOGRAPHY MODAL STYLES
   ============================================================================= */

/* Bio indicator badge on speaker cards */
.speaker-bio-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: rgba(255, 255, 255, 0.95);
    color: #8b9d83;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid rgba(139, 157, 131, 0.3);
    animation: goldenPulse 3s ease-in-out infinite;
}

@keyframes goldenPulse {
    0% {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 0 8px rgba(255, 215, 0, 0.1);
    }
    100% {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
}

@keyframes speakersPulse {
    0% {
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1), 0 0 0 0 rgba(139, 157, 131, 0.4);
    }
    50% {
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1), 0 0 0 8px rgba(139, 157, 131, 0.1);
    }
    100% {
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1), 0 0 0 0 rgba(139, 157, 131, 0.4);
    }
}

@keyframes speakersPulse {
    0% {
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1), 0 0 0 0 rgba(139, 157, 131, 0.4);
    }
    50% {
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1), 0 0 0 8px rgba(139, 157, 131, 0.1);
    }
    100% {
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1), 0 0 0 0 rgba(139, 157, 131, 0.4);
    }
}

.speaker-bio-badge:hover {
    background: rgba(255, 255, 255, 1);
    color: #8b9d83;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-color: #8b9d83;
    animation: none;
}

.speaker-card {
    position: relative;
}

/* Modal overlay */
.bio-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.bio-modal-overlay.active {
    display: flex;
}

/* Modal content - styled like amara-welcome-section */
.bio-modal-content {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
    box-sizing: border-box;
    position: relative;
    margin: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close button */
.bio-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(107, 124, 99, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6b7c63;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.bio-modal-close:hover {
    background: rgba(107, 124, 99, 0.2);
    transform: rotate(90deg);
}

/* Modal header */
.bio-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.bio-modal-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.bio-modal-subtitle {
    font-size: 1.1rem;
    color: #8b9d83;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

/* Modal body with portrait */
.bio-modal-body {
    text-align: left;
}

.bio-portrait {
    float: right;
    margin: 0 0 1.5rem 1.5rem;
    max-width: 300px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bio-content {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
}

.bio-content p {
    margin: 0 0 1.25rem 0;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Clear float after content */
.bio-clear {
    clear: both;
}

/* Responsive design */
@media (max-width: 768px) {
    .bio-modal-content {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .bio-modal-title {
        font-size: 1.75rem;
    }
    
    .bio-portrait {
        float: none;
        margin: 0 auto 1.5rem;
        max-width: 250px;
        display: block;
    }
    
    .bio-content {
        font-size: 1rem;
    }
    
    .speaker-bio-badge {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
        top: 0px !important;
        right: 0px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        color: #8b9d83 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        border: 2px solid rgba(139, 157, 131, 0.3) !important;
        animation: goldenPulse 3s ease-in-out infinite !important;
    }
}

@media (max-width: 480px) {
    .bio-modal-content {
        padding: 1rem;
    }
    
    .bio-modal-title {
        font-size: 1.5rem;
    }
    
    .bio-modal-subtitle {
        font-size: 1rem;
    }
    
    .bio-portrait {
        max-width: 200px;
    }
}

/* =============================================================================
   Journal & Collections Showcase Section
   ============================================================================= */

/* Main Section */
.journal-showcase-section {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 2.5rem;
    margin: 2rem auto;
    box-sizing: border-box;
}

.showcase-header {
    text-align: center;
    margin-bottom: 2rem;
}

.showcase-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.showcase-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

/* Quick Actions for Showcase */
.journal-showcase-section .quick-actions {
    margin: 1.5rem 0 2rem;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.journal-showcase-section .quick-actions .btn {
    width: 250px !important;
    height: 80px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: fit-content;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: none !important;
    position: relative;
    font-weight: 700;
    font-size: 1.4rem;
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.journal-showcase-section .quick-actions .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    pointer-events: none;
}

.journal-showcase-section .quick-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff !important;
}

.journal-showcase-section .quick-actions .btn i {
    font-size: 1.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
    color: #ffffff !important;
}

/* Individual button backgrounds */
.journal-showcase-section .quick-actions button[onclick="demoJournalEntry()"] {
    background-image: url('/static/images/Buttons/New_Journal_Entry.png') !important;
}

.journal-showcase-section .quick-actions button[id="demoJournalBtn"] {
    background-image: url('/static/images/Buttons/My_Journal.png') !important;
}

.journal-showcase-section .quick-actions button[id="demoCollectionsBtn"] {
    background-image: url('/static/images/Buttons/My_Collections.png') !important;
}

/* Demo Container */
.demo-container {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

/* Demo Views */
.demo-intro-view,
.demo-journal-view,
.demo-collections-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.demo-intro-view.active,
.demo-journal-view.active,
.demo-collections-view.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Intro View Styles */
.demo-intro-view {
    padding: 2rem 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.intro-portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.intro-title-block {
    flex: 1;
}

.intro-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.intro-byline {
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
    margin: 0;
}

.intro-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.intro-body p {
    margin: 0 0 1.25rem 0;
}

.intro-opening {
    font-size: 1.15rem;
    font-style: italic;
    color: #475569;
    margin-bottom: 1.5rem !important;
    padding-left: 1.5rem;
    border-left: 3px solid #a5b4c7;
}

.intro-features {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    font-size: 1.5rem;
    color: rgb(139, 157, 131);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.feature-item p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.intro-closing {
    font-size: 1.05rem;
    color: #475569;
    margin-top: 1.5rem;
    font-weight: 500;
}

.intro-invitation {
    text-align: center;
    font-size: 1rem;
    color: #64748b;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Journal Entries */
.journal-entries {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.journal-entry-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.journal-entry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.entry-category {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-insights {
    background: #fef3c7;
    color: #92400e;
}

.badge-prayers {
    background: #fce7f3;
    color: #be185d;
}

.badge-study {
    background: #dbeafe;
    color: #1e40af;
}

.badge-personal {
    background: #d1fae5;
    color: #065f46;
}

.entry-date {
    font-size: 0.75rem;
    color: #9ca3af;
}

.entry-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.entry-preview {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.tag-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}


.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Demo Journal Modal Styles */
.demo-journal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.demo-journal-modal {
    max-width: 650px;
    width: 90vw;
    max-height: 85vh;
    background: #f5f5f0;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid #e2e8f0;
    overflow-x: hidden;
    box-sizing: border-box;
    animation: slideUp 0.3s ease;
    position: relative;
    margin: 2rem;
}

.demo-journal-modal .modal-header {
    background: linear-gradient(135deg, #f5f5f0 0%, #e8e8e0 100%);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom: 1px solid #e2e8f0;
    padding: 3rem 2rem 1.5rem 3rem;
    margin: -2rem -2rem 1.5rem -2rem;
}

.demo-journal-modal .modal-header h3 {
    margin: 0;
    color: #23272f;
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-journal-modal .modal-body {
    padding: 0 2rem 1.5rem 2rem;
}

.demo-journal-modal .modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
    margin: 1.5rem -2rem -2rem -2rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.demo-journal-modal .modal-close-btn {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    z-index: 1;
}

.demo-journal-modal .modal-close-btn:hover {
    color: #1e293b;
    background: rgba(0, 0, 0, 0.05);
}

/* Form Styles */
.demo-journal-modal .journal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-journal-modal .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-journal-modal .form-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.demo-journal-modal .form-control {
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: #ffffff;
    color: #374151;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.demo-journal-modal .form-control:disabled {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.8;
}

.demo-journal-modal .form-control[readonly] {
    background: #f9fafb;
    color: #6b7280;
    cursor: default;
    overflow-y: auto;
    resize: none;
}

.demo-journal-modal .form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Specific textarea styling for better scrollbar behavior */
.demo-journal-modal textarea.form-control {
    padding: 1.25rem;
    border-radius: 0.5rem;
    overflow-y: auto;
    resize: none;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
    margin-bottom: 0.5rem;
}

.demo-journal-modal textarea.form-control::-webkit-scrollbar {
    width: 6px;
}

.demo-journal-modal textarea.form-control::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
    margin: 4px;
}

.demo-journal-modal textarea.form-control::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
    border: 1px solid #f1f5f9;
}

.demo-journal-modal textarea.form-control::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.demo-journal-modal .form-text {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Button Styles */
.demo-journal-modal .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.demo-journal-modal .btn-primary {
    background: #2563eb;
    color: white;
}

.demo-journal-modal .btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.demo-journal-modal .btn-outline-primary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.demo-journal-modal .btn-outline-primary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .demo-journal-modal {
        max-width: 95vw !important;
        width: 95vw;
        max-height: 85vh;
        margin: 1rem;
    }
    
    .demo-journal-modal .modal-header {
        padding: 1.25rem 1.25rem 0.75rem 1.25rem;
        margin: -1.5rem -1.5rem 0.75rem -1.5rem;
    }
    
    .demo-journal-modal .modal-body {
        padding: 0 0 0.75rem 0;
    }
    
    .demo-journal-modal .modal-footer {
        padding: 0.75rem 1.25rem;
        margin: 0.75rem -1.5rem -1.5rem -1.5rem;
        flex-direction: column;
    }
    
    .demo-journal-modal .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .demo-journal-modal {
        max-width: 98vw !important;
        width: 98vw;
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .demo-journal-modal .modal-header {
        padding: 1rem 1rem 0.5rem 1rem;
        margin: -1rem -1rem 0.5rem -1rem;
    }
    
    .demo-journal-modal .modal-body {
        padding: 0 1rem 1rem 1rem;
    }
    
    .demo-journal-modal .modal-footer {
        padding: 0.5rem 1rem;
        margin: 0.5rem -1rem -1rem -1rem;
    }
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #d1d5db;
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.collection-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.collection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.collection-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b9d83 0%, #a67c52 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.collection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.collection-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.collection-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.collection-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.collection-stats i {
    color: #8b9d83;
}

/* Showcase Footer */
.showcase-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.showcase-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.showcase-note i {
    color: #8b9d83;
}

/* Auth Required Overlay */
.auth-required-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-required-modal {
    background: #f5f5f0;
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #6b7280;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #2d3748;
}

.modal-icon {
    font-size: 4rem;
    color: #8b9d83;
    margin-bottom: 1rem;
}

.auth-required-modal h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.75rem 0;
}

.auth-required-modal p {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-buttons .btn {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    min-width: 180px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .journal-showcase-section {
        padding: 1.5rem 1rem;
    }
    
    .showcase-header h2 {
        font-size: 1.5rem;
    }
    
    .showcase-subtitle {
        font-size: 1rem;
    }
    
    .journal-showcase-section .quick-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .journal-showcase-section .quick-actions .btn {
        width: 100% !important;
        max-width: 300px;
        height: 70px !important;
        font-size: 1.2rem;
    }
    
    .demo-container {
        min-height: 400px;
    }
    
    .intro-header {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .intro-portrait {
        width: 105px;
        height: 105px;
    }
    
    .intro-title {
        font-size: 1.5rem;
    }
    
    .intro-body {
        font-size: 1rem;
    }
    
    .intro-opening {
        font-size: 1.05rem;
        padding-left: 1rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-item i {
        margin-top: 0;
    }
    
    .journal-entries {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .auth-required-modal {
        padding: 2rem 1.5rem;
    }
    
    .auth-required-modal h3 {
        font-size: 1.5rem;
    }
    
    .auth-required-modal p {
        font-size: 1rem;
    }
    
    .auth-buttons {
        flex-direction: column;
    }
    
    .auth-buttons .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .journal-showcase-section {
        padding: 1rem 0.75rem;
    }
    
    .showcase-header h2 {
        font-size: 1.25rem;
    }
    
    .journal-showcase-section .quick-actions .btn {
        height: 60px !important;
        font-size: 1rem;
    }
    
    .journal-showcase-section .quick-actions .btn i {
        font-size: 1.25rem;
    }
    
    .intro-portrait {
        width: 90px;
        height: 90px;
    }
    
    .intro-title {
        font-size: 1.25rem;
    }
    
    .intro-body {
        font-size: 0.95rem;
    }
    
    .intro-opening {
        font-size: 1rem;
    }
    
    .feature-item h4 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .journal-entry-card,
    .collection-card {
        padding: 1rem;
    }
    
    .entry-title {
        font-size: 1rem;
    }
    
    .collection-title {
        font-size: 1.1rem;
    }
    
    .collection-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* =============================================================================
   DONATE SECTION STYLES
   ============================================================================= */

.donate-section {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
}

.donate-card {
    background: linear-gradient(135deg, #f8f4ed 0%, #ede8dd 100%);
    border: 2px solid #d4a574;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(196, 149, 96, 0.2);
    padding: 3rem;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.donate-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.donate-card > * {
    position: relative;
    z-index: 1;
}

.donate-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
    animation: gentle-pulse 3s ease-in-out infinite;
}

.donate-header {
    position: relative;
    width: calc(100% + 6rem);
    margin: -3rem -3rem 2rem -3rem;
}

.donate-banner {
    width: 100%;
    display: block;
    border-radius: 1.5rem 1.5rem 0 0;
    object-fit: cover;
    max-height: 250px;
}

.donate-header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 2;
}

@keyframes gentle-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.donate-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 
                 0 0 20px rgba(0, 0, 0, 0.5);
}

.donate-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 
                 0 0 15px rgba(0, 0, 0, 0.5);
}

.donate-content {
    margin-bottom: 2.5rem;
}

.donate-message {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 1.25rem 0;
    text-align: left;
}

.donate-call {
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 600;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.75rem;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.donate-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.donate-btn {
    width: 250px;
    height: 80px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: fit-content;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    border: none !important;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 1 !important;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff !important;
}

.donate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Individual button backgrounds */
.donate-btn[data-amount="5"] {
    background-image: url('/static/images/Buttons/Supporter.png') !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.donate-btn[data-amount="10"] {
    background-image: url('/static/images/Buttons/Friend.png') !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.donate-btn[data-amount="25"] {
    background-image: url('/static/images/Buttons/Benefactor.png') !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.donate-btn[data-amount="50"] {
    background-image: url('/static/images/Buttons/Champion.png') !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.donate-btn-custom {
    background-image: url('/static/images/Buttons/Custom.png') !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

/* Donate button text styling */
.donate-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.donate-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

/* Featured button styling */
.donate-btn-featured {
    background-color: transparent !important;
}

.donate-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 165, 116, 0.3);
}

.donate-note {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.donate-note:last-child {
    margin-bottom: 0;
}

.donate-note i {
    color: #c49560;
}

/* ============================================================================= */
/* Subscription Section (Sustain Through Monthly Giving)                        */
/* ============================================================================= */

.subscription-section {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
}

.subscription-card {
    width: 100%;
    max-width: 100%;
    background: white;
    border-radius: 1rem;
    padding: 0 0 10px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    box-sizing: border-box;
}

.subscription-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.subscription-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

/* Subscription header text styles to match donate-header */
.subscription-header-text .subscription-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 0.5rem 0;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 
                 0 0 20px rgba(0, 0, 0, 0.5) !important;
}

.subscription-header-text p {
    font-size: 1.2rem;
    color: #ffffff !important;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 
                 0 0 15px rgba(0, 0, 0, 0.5) !important;
}

.subscription-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0 0 2rem 0;
}

.subscription-content {
    margin: 0 0 2.5rem 0;
    padding: 2rem;
}

.subscription-message {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 1rem 0;
    text-align: left;
}

.subscription-message:last-child {
    margin-bottom: 0;
}

.subscription-message strong {
    color: #2d3748;
    font-weight: 600;
}

/* Quick subscription tier buttons */
.subscription-tiers-quick {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.subscription-tier-btn {
    width: 250px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 0.5rem;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


.subscription-tier-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Individual tier backgrounds */
.subscription-tier-steward {
    background-image: url('/static/images/Buttons/Steward.png') !important;
    border: 2px solid #d4a574 !important;
}

.subscription-tier-scholar {
    background-image: url('/static/images/Buttons/Scholar.png') !important;
}

.subscription-tier-patron {
    background-image: url('/static/images/Buttons/Patron.png') !important;
}

.tier-quick-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    position: relative;
    z-index: 2;
}

.tier-quick-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.tier-quick-price {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.tier-quick-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #d4a574 0%, #c49560 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 0.8rem;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 6px rgba(196, 149, 96, 0.4);
    z-index: 3;
    text-shadow: none;
    white-space: nowrap;
}

.subscription-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 157, 131, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.subscription-compare-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b9d83;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.subscription-compare-link:hover {
    color: #6b7c63;
}

.subscription-compare-link i {
    font-size: 1.1rem;
}

.subscription-note {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.subscription-note i {
    color: #8b9d83;
}

/* Mobile Responsive Styles for Subscription Section */
@media (max-width: 768px) {
    .subscription-card {
        padding: 0;
    }
    
    .subscription-header {
        min-height: 180px !important;
        padding: 0 !important;
    }
    
    .subscription-banner {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .subscription-header-text {
        padding: 1rem 0 !important;
    }
    
    .subscription-content {
        padding: 1.5rem 1rem !important;
        margin: 0 1rem 1.5rem 1rem !important;
    }

    .subscription-title {
        font-size: 1.5rem;
    }

    .subscription-subtitle {
        font-size: 1rem;
    }

    .subscription-message {
        font-size: 1rem;
    }

    .subscription-tiers-quick {
        flex-direction: column;
        align-items: center;
    }

    .subscription-tier-btn {
        width: 280px;
        height: 90px;
    }

    .tier-quick-name {
        font-size: 1.5rem;
    }

    .tier-quick-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .subscription-card {
        padding: 0;
    }
    
    .subscription-header {
        min-height: 160px !important;
        padding: 0 !important;
    }
    
    .subscription-banner {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .subscription-header-text {
        padding: 0.75rem 0 !important;
    }
    
    .subscription-content {
        padding: 1rem 0.75rem !important;
        margin: 0 0.75rem 1rem 0.75rem !important;
    }

    .subscription-icon {
        font-size: 3rem;
    }

    .subscription-title {
        font-size: 1.25rem;
    }

    .subscription-tier-btn {
        width: 240px;
        height: 75px;
    }

    .tier-quick-name {
        font-size: 1.3rem;
    }

    .tier-quick-price {
        font-size: 1rem;
    }

    .subscription-compare-link {
        font-size: 0.95rem;
    }

    .subscription-note {
        font-size: 0.875rem;
    }
}

/* ============================================================================= */
/* Subscription Modal Styles                                                    */
/* ============================================================================= */

.subscription-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.subscription-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.subscription-modal-content {
    background: white;
    border-radius: 1rem;
    width: 90%;
    max-width: 1100px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.subscription-modal-overlay.active .subscription-modal-content {
    transform: translateY(0);
}

.subscription-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #718096;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
    z-index: 1;
}

.subscription-modal-close:hover {
    background-color: #f7fafc;
    color: #2d3748;
}

.subscription-modal-header {
    text-align: center;
    padding: 2rem 3rem 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.subscription-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.subscription-modal-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
}

.subscription-modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Tier Modal Cards */
.tier-modal-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.tier-modal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #8b9d83;
}

.tier-modal-featured {
    border-color: #c49560;
    box-shadow: 0 4px 12px rgba(196, 149, 96, 0.2);
}

.tier-modal-featured:hover {
    box-shadow: 0 8px 24px rgba(196, 149, 96, 0.3);
}

.tier-modal-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: linear-gradient(135deg, #d4a574 0%, #c49560 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(196, 149, 96, 0.4);
}

/* Tier Header Image */
.tier-modal-header-image {
    width: 100%;
    aspect-ratio: 5 / 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    padding: 1rem;
}

.tier-modal-header-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Tier Header */
.tier-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    position: relative;
    z-index: 1;
}

.tier-modal-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.tier-modal-price-wrapper {
    text-align: right;
}

.tier-modal-price {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.tier-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tier-modal-energy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.1) 0%, rgba(166, 124, 82, 0.1) 100%);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
}

.tier-modal-energy i {
    color: #d4a574;
    font-size: 1.25rem;
}

.tier-modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-modal-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tier-modal-features i {
    color: #8b9d83;
    font-size: 1rem;
}

.tier-modal-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #8b9d83 0%, #a67c52 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.tier-modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

/* Desktop and Tablet Responsive Styles for Subscription Modal */
@media (min-width: 769px) {
    .subscription-modal-body {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive Styles for Subscription Modal */
@media (max-width: 768px) {
    .subscription-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .subscription-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .subscription-modal-title {
        font-size: 1.5rem;
    }

    .subscription-modal-subtitle {
        font-size: 1rem;
    }

    .subscription-modal-body {
        padding: 1.5rem;
        grid-template-columns: 1fr;
    }

    .tier-modal-card {
        padding: 1.25rem;
    }

    .tier-modal-header-image {
        padding: 0.75rem;
    }

    .tier-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .tier-modal-name {
        font-size: 1.25rem;
    }

    .tier-modal-price-wrapper {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .subscription-modal-content {
        width: 100%;
        max-height: 95vh;
        border-radius: 0;
    }

    .subscription-modal-header {
        padding: 1.25rem 1rem 0.75rem;
    }

    .subscription-modal-title {
        font-size: 1.25rem;
    }

    .subscription-modal-body {
        padding: 1rem;
    }

    .tier-modal-card {
        padding: 1rem;
    }

    .tier-modal-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .tier-modal-header-image {
        padding: 0.5rem;
    }

    .tier-modal-name {
        font-size: 1.1rem;
    }

    .tier-modal-price {
        font-size: 0.9rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .donate-card {
        padding: 2rem 1rem;
    }
    
    .donate-header {
        width: calc(100% + 2rem);
        margin: -2rem -1rem 1.5rem -1rem;
    }
    
    .donate-banner {
        max-height: 200px;
    }
    
    .donate-header-text {
        padding: 0 1rem;
        width: calc(100% - 2rem);
    }
    
    .donate-title {
        font-size: 1.6rem;
    }
    
    .donate-header-text .donate-title {
        font-size: 1.6rem !important;
    }
    
    .donate-subtitle {
        font-size: 1.1rem;
    }
    
    .donate-header-text .donate-subtitle {
        font-size: 1.1rem !important;
    }
    
    .donate-message {
        font-size: 1rem;
    }
    
    .donate-call {
        font-size: 1rem;
        padding: 1.25rem;
    }
    
    .donate-amounts {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .donate-btn {
        width: 280px !important;
        height: 90px !important;
        gap: 0.15rem;
    }
    
    .donate-amount {
        font-size: 1.25rem;
    }
    
    .donate-label {
        font-size: 0.75rem;
    }
    
    .donate-icon {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .donate-card {
        padding: 1.5rem 0.75rem;
    }
    
    .donate-header {
        width: calc(100% + 1.5rem);
        margin: -1.5rem -0.75rem 1rem -0.75rem;
    }
    
    .donate-banner {
        max-height: 150px;
    }
    
    .donate-header-text {
        padding: 0 0.75rem;
        width: calc(100% - 1.5rem);
    }
    
    .donate-title {
        font-size: 1.4rem;
    }
    
    .donate-header-text .donate-title {
        font-size: 1.4rem !important;
    }
    
    .donate-subtitle {
        font-size: 1rem;
    }
    
    .donate-header-text .donate-subtitle {
        font-size: 1rem !important;
    }
    
    .donate-message {
        font-size: 0.95rem;
    }
    
    .donate-call {
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    .donate-amounts {
        flex-direction: column;
        align-items: center;
    }
    
    .donate-btn {
        width: 240px !important;
        height: 75px !important;
        gap: 0.1rem;
    }
    
    .donate-amount {
        font-size: 1.1rem;
    }
    
    .donate-label {
        font-size: 0.7rem;
    }
    
    .donate-icon {
        font-size: 3rem;
    }
}
/* Authenticated home content placeholders; replaced as soon as async data arrives. */
.home-greeting-skeleton,
.home-sidebar-list-skeleton {
    --home-skeleton-base: rgba(139, 157, 131, 0.16);
    --home-skeleton-highlight: rgba(255, 255, 255, 0.55);
}

.home-greeting-skeleton-coin,
.home-greeting-skeleton-line,
.home-sidebar-list-skeleton span {
    background: linear-gradient(90deg, var(--home-skeleton-base) 25%, var(--home-skeleton-highlight) 50%, var(--home-skeleton-base) 75%);
    background-size: 200% 100%;
    animation: homeContentSkeletonPulse 1.4s ease-in-out infinite;
}

.home-greeting-skeleton-coin {
    display: block;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    flex: 0 0 92px;
}

.home-greeting-skeleton-line {
    display: block;
    width: min(24rem, 90%);
    height: 0.85rem;
    margin: 0.45rem 0;
    border-radius: 999px;
}

.home-greeting-skeleton-line--name {
    width: 7rem;
    margin-bottom: 0.8rem;
}

.home-greeting-skeleton-line--short {
    width: min(16rem, 64%);
}

.home-sidebar-list-skeleton {
    padding: 0.35rem 0.75rem 0.65rem;
}

.home-sidebar-list-skeleton span {
    display: block;
    width: 88%;
    height: 0.65rem;
    margin: 0.55rem 0;
    border-radius: 999px;
}

.home-sidebar-list-skeleton span:last-child {
    width: 68%;
}

@keyframes homeContentSkeletonPulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .home-greeting-skeleton-coin,
    .home-greeting-skeleton-line,
    .home-sidebar-list-skeleton span {
        animation: none;
    }
}
