* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    padding: 0;
    color: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f5c842;
    padding: 40px;
    text-align: center;
    border-bottom: 3px solid #d4af37;
    box-shadow: -9999px 0 0 #1a1a1a, 9999px 0 0 #1a1a1a;
}

header .logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: 300;
}

header p {
    font-size: 1.1rem;
    opacity: 0.85;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.beta-banner {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f5c842 100%);
    color: #1a1a1a;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 12px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.5); }
    50% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.8); }
}

.feedback-section {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid #404040;
}

.feedback-section h3 {
    color: #f5c842;
    margin-bottom: 15px;
}

.feedback-section textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 15px;
}

.feedback-section textarea:focus {
    border-color: #d4af37;
    outline: none;
}

.feedback-section input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
}

.feedback-section input[type="email"]:focus {
    border-color: #d4af37;
    outline: none;
}

.feedback-success {
    color: #4caf50;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}

.feedback-error {
    color: #ff6b6b;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}

.tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
    align-items: stretch;
    overflow: visible;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    min-width: auto;
}

.tab-btn:hover {
    background: #e9ecef;
}

.tab-btn.active {
    background: white;
    border-bottom: 3px solid #d4af37;
    color: #1a1a1a;
}

.nav-dropdown {
    position: relative;
    flex: 1;
    display: flex;
    z-index: 1100;
}

.nav-dropdown .tab-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 100001;
    min-width: 160px;
}

.nav-dropdown.open .dropdown-menu {
    display: block;
}

/* Focus-based dropdown for mobile reliability */
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.nav-dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}

/* Make toggle buttons focusable */
.dropdown-toggle:focus {
    outline: none;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border: none;
    background: white;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    color: #f5c842;
    margin-bottom: 20px;
}

.form-container {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #1a1a1a;
}

#person-form .form-group label,
#create-tab .form-group label,
.form-container .form-group label {
    color: #1a1a1a !important;
}

.form-group input,
.form-group textarea,
.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-control:focus {
    outline: none;
    border-color: #f5c842;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.status-toggle {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.status-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
    background: white;
}

.status-option:hover {
    border-color: #f5c842;
}

.status-option input[type="radio"] {
    width: auto;
    accent-color: #d4af37;
}

.status-option input[type="radio"]:checked + .status-label {
    color: #d4af37;
    font-weight: 600;
}

.status-option:has(input:checked) {
    border-color: #f5c842;
    background: rgba(212, 175, 55, 0.1);
}

.status-label {
    color: #333;
    font-weight: 500;
}

#death-date-group.hidden {
    display: none;
}

.music-section {
    margin-top: 30px;
    padding: 25px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
}

.music-section .section-title {
    color: #f5c842;
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-section .section-title::before {
    content: "🎵";
}

.music-section .section-description {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 0.85rem;
}

.music-player-container {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.music-player-container iframe {
    border-radius: 8px;
}

.music-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    margin-top: 10px;
}

.music-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.music-info-item .label {
    color: #f5c842;
    font-weight: 500;
    min-width: 80px;
}

.music-info-item .value {
    color: #ddd;
}

.music-link {
    display: inline-block;
    color: #f5c842;
    text-decoration: none;
    padding: 10px 15px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    transition: all 0.3s;
}

.music-link:hover {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

.music-link-text {
    display: inline-block;
    color: #888;
    padding: 10px 15px;
    background: rgba(100, 100, 100, 0.2);
    border-radius: 6px;
    font-style: italic;
}

.subtitles-section {
    margin-top: 25px;
    padding: 20px;
    background: rgba(100, 149, 237, 0.08);
    border: 1px solid rgba(100, 149, 237, 0.3);
    border-radius: 12px;
}

.subtitles-section .section-title {
    color: #6495ed;
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtitles-section .section-title::before {
    content: "🌐";
}

.subtitles-section .section-description {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.subtitle-display {
    margin-top: 15px;
    padding: 15px;
    background: rgba(100, 149, 237, 0.1);
    border-radius: 8px;
}

.subtitle-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.subtitle-lang {
    color: #6495ed;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.subtitle-text {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.4;
}

.subtitle-text[dir="rtl"] {
    text-align: right;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #c99a1f 100%);
    color: #1a1a1a;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn:not(.btn-primary):not(.btn-secondary) {
    background: #e9ecef;
    color: #333;
}

.btn:not(.btn-primary):not(.btn-secondary):hover {
    background: #dee2e6;
}

.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.person-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.person-card h3 {
    color: #f5c842;
    margin-bottom: 10px;
}

.person-card p {
    margin: 5px 0;
    color: #fff;
}

.person-card strong {
    color: #333;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.deceased {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    border: 1px solid #d4af37;
}

.status-badge.living {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.timeline-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.timeline-controls select {
    flex: 1;
    max-width: 300px;
}

.timeline-container {
    margin-top: 30px;
}

.timeline-event {
    background: #f8f9fa;
    border-left: 4px solid #d4af37;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.timeline-event h3 {
    color: #f5c842;
    margin-bottom: 5px;
}

.timeline-event .year {
    color: #fff;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-event p {
    color: #fff;
    line-height: 1.6;
}

.timeline-event img {
    max-width: 100%;
    max-height: 300px;
    margin-top: 15px;
    border-radius: 5px;
}

.header-controls {
    padding: 15px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #d4af37;
    background: transparent;
    color: #1a1a1a;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.auth-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.auth-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f5c842 100%);
    color: #1a1a1a;
    border: none;
}

.auth-btn-primary:hover {
    background: linear-gradient(135deg, #c4a030 0%, #e5b832 100%);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-email {
    color: #555;
    font-size: 0.9rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-modal-content {
    max-width: 400px;
    padding: 40px;
}

.auth-modal-content h2 {
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.auth-error {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.auth-error:not(:empty) {
    display: block;
}

.auth-modal-content .form-group {
    margin-bottom: 20px;
}

.auth-modal-content label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 500;
}

.auth-modal-content input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.auth-modal-content input:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
}

.auth-switch-text {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.auth-switch-text a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch-text a:hover {
    text-decoration: underline;
}

/* Modal Base Styles - z-index 4000+ to be above mobile overlay (2000) and navigation (1000-1200) */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    z-index: 4000;
}

/* Visible state - BOTH .visible (legacy) and .is-open (new) work */
.modal.visible,
.modal.is-open {
    display: flex !important;
}

body.modal-open {
    overflow: hidden;
}

.modal-content,
.modal .modal-content {
    position: relative;
    max-width: min(92vw, 520px);
    width: 100%;
    border-radius: 16px;
    padding: 18px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 60px rgba(0,0,0,0.6);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #333;
}

/* Subscribe Modal */
.subscribe-modal-content {
    max-width: 450px;
    padding: 40px;
    text-align: center;
}

.subscribe-modal-content h2 {
    color: #1a1a1a;
    margin-bottom: 10px;
}

.subscribe-price {
    font-size: 1.5rem;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 25px;
}

.subscribe-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.subscribe-form label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 500;
}

.subscribe-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.subscribe-form input:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

#bt-dropin-container {
    min-height: 200px;
    margin: 20px 0;
}

.subscribe-message {
    margin-top: 15px;
    font-size: 0.95rem;
}

#subscribe-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

.auth-success {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.auth-success:not(:empty) {
    display: block;
}

.forgot-password-link {
    text-align: right;
    margin: -10px 0 15px 0;
    font-size: 0.85rem;
}

.forgot-password-link a {
    color: #666;
    text-decoration: none;
}

.forgot-password-link a:hover {
    color: #d4af37;
    text-decoration: underline;
}

.reset-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid #d4af37;
    border-radius: 4px;
    background: white;
    color: #1a1a1a;
    font-weight: 500;
    cursor: pointer;
}

.tribute-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
}

.voice-recorder {
    display: flex;
    gap: 10px;
    align-items: center;
}

.video-page {
    text-align: center;
    padding: 0;
}

.video-page h1 {
    font-size: 3rem;
    color: white;
    margin: 0;
    padding: 40px 30px 0;
    letter-spacing: 3px;
}

.video-subtitle {
    color: #f5c842;
    font-size: 1.5rem;
    margin: 10px 0 40px;
    font-weight: 300;
}

.video-builder {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 30px;
    max-width: none;
}

.scene-builder {
    text-align: left;
}

.scene-tabs {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    border-bottom: 2px solid #444;
    padding-bottom: 15px;
}

.scene-tab {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #fff;
    font-weight: 400;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.scene-tab.active {
    color: #f5c842;
    border-bottom-color: #f5c842;
}

.scene-content {
    display: none;
    margin: 30px 0;
}

.scene-content.active {
    display: block;
}

.scene-description {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.backdrop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.backdrop-btn {
    padding: 0;
    border: 3px solid transparent;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    overflow: hidden;
}

.backdrop-btn.active {
    border-color: #f5c842;
}

.backdrop-btn:hover {
    border-color: #f5c842;
}

.backdrop-preview-small {
    width: 100%;
    height: 80px;
    border-radius: 6px 6px 0 0;
}

.backdrop-btn span {
    display: block;
    padding: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.music-btn {
    padding: 20px;
    border: 2px solid #444;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.music-btn:hover {
    border-color: #f5c842;
    color: #f5c842;
}

.video-preview-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #2d2d2d 0%, #444 100%);
    border: 2px solid #555;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.video-preview:hover {
    border-color: #f5c842;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s;
}

.video-preview:hover .play-button {
    background: rgba(212, 175, 55, 0.8);
    transform: scale(1.1);
}

.backdrop-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    aspect-ratio: 1;
    border: 3px solid #555;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.thumbnail.active {
    border-color: #f5c842;
}

.thumbnail:hover {
    border-color: #f5c842;
    transform: scale(1.05);
}

.video-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    gap: 20px;
}

.nav-btn {
    background: transparent;
    border: none;
    color: #f5c842;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s;
}

.nav-btn:hover {
    transform: scale(1.1);
    text-decoration: underline;
}

.nav-btn.back {
    text-align: left;
}

.nav-btn.next {
    text-align: right;
}

/* Virtual Afterlife Styles */
.afterlife-page {
    padding: 40px;
    text-align: center;
}

.afterlife-page h1 {
    font-size: 3rem;
    color: white;
    margin: 0;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.afterlife-subtitle {
    color: #f5c842;
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.afterlife-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.landscape-selector h3 {
    color: #f5c842;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: left;
}

.landscape-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.landscape-btn {
    padding: 12px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    background: #2d2d2d;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landscape-btn:hover {
    border-color: #f5c842;
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.landscape-btn.active {
    border-color: #f5c842;
    background: rgba(212, 175, 55, 0.15);
}

.landscape-preview {
    width: 100%;
    height: 60px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.landscape-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
    line-height: 1;
}

.landscape-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.landscape-name {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.landscape-desc {
    font-size: 0.75rem;
    color: #ffffff;
    line-height: 1.3;
    opacity: 0.9;
}

/* Virtual Afterlife Environment Showcase Sections */
.afterlife-environments-showcase {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.environments-heading {
    color: #d4af37;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.environments-subheading {
    color: #ccc;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
}

.env-showcase-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

.env-showcase-section:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.env-showcase-section.selected {
    border-color: #d4af37;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.env-showcase-reverse {
    direction: rtl;
}

.env-showcase-reverse > * {
    direction: ltr;
}

.env-showcase-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.env-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.env-showcase-section:hover .env-showcase-image img {
    transform: scale(1.05);
}

.env-showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 0%, rgba(30, 30, 30, 0.5) 100%);
    pointer-events: none;
}

.env-showcase-reverse .env-showcase-overlay {
    background: linear-gradient(to left, transparent 0%, rgba(30, 30, 30, 0.5) 100%);
}

.env-showcase-content {
    padding: 40px;
}

.env-showcase-title {
    color: #d4af37;
    font-size: 1.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.env-showcase-desc {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.env-select-btn {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.env-select-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.env-showcase-section.selected .env-select-btn {
    background: #d4af37;
    color: #1a1a1a;
}

.env-showcase-section.selected .env-select-btn::after {
    content: ' ✓';
}

@media (max-width: 900px) {
    .env-showcase-section {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .env-showcase-reverse {
        direction: ltr;
    }
    
    .env-showcase-image {
        height: 220px;
    }
    
    .env-showcase-content {
        padding: 25px;
        text-align: center;
    }
    
    .env-showcase-overlay {
        background: linear-gradient(to bottom, transparent 0%, rgba(30, 30, 30, 0.8) 100%);
    }
    
    .environments-heading {
        font-size: 1.6rem;
    }
    
    .env-showcase-title {
        font-size: 1.5rem;
    }
    
    .env-showcase-desc {
        font-size: 1rem;
    }
}

.afterlife-experience {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scene-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #2d2d2d 0%, #444 100%);
    border: 2px solid #555;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landscape-display {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.landscape-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.forest-scene, .park-scene, .beach-scene {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.forest-scene.active, .park-scene.active, .beach-scene.active {
    opacity: 1;
}

.forest-scene {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.park-scene {
    background: linear-gradient(180deg, #87ceeb 0%, #87ceeb 50%, #90ee90 100%);
}

.beach-scene {
    background: linear-gradient(180deg, #87ceeb 0%, #e0ffff 50%, #ffd700 100%);
}

.trees, .bench, .trees-light, .sun, .sand, .waves {
    margin: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.ambient-controls {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
}

.ambient-controls h3 {
    color: #f5c842;
    margin-bottom: 15px;
    text-align: left;
}

.sound-toggles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.sound-btn {
    padding: 15px;
    border: 2px solid #555;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
    text-align: left;
}

.sound-btn:hover {
    border-color: #f5c842;
    color: #f5c842;
}

.sound-btn.active {
    border-color: #f5c842;
    background: rgba(212, 175, 55, 0.2);
    color: #f5c842;
}

.volume-indicator {
    float: right;
    font-size: 0.9rem;
}

.sound-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.sound-controls label {
    margin: 0;
}

.sound-controls input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #555;
    outline: none;
    -webkit-appearance: none;
}

.sound-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d4af37;
    cursor: pointer;
}

.sound-controls input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d4af37;
    cursor: pointer;
    border: none;
}

#volume-display {
    min-width: 2rem;
}

.conversation-interface {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.conversation-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #555;
}

.conversation-header h3 {
    color: #f5c842;
    font-size: 1.3rem;
    margin: 0;
}

.deceased-name {
    color: #fff;
}

.conversation-select {
    margin-bottom: 20px;
    text-align: left;
}

.conversation-select label {
    color: #fff;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.conversation-select .form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #555;
    background: transparent;
    color: white;
    border-radius: 8px;
}

.conversation-select .form-control:focus {
    outline: none;
    border-color: #f5c842;
}

.chat-window {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #555;
    border-radius: 10px;
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.messages-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    padding: 12px 15px;
    border-radius: 8px;
    max-width: 80%;
    word-wrap: break-word;
}

.message.user {
    align-self: flex-end;
    background: rgba(212, 175, 55, 0.2);
    border-left: 3px solid #d4af37;
    color: white;
}

.message.deceased {
    align-self: flex-start;
    background: rgba(100, 100, 100, 0.3);
    border-left: 3px solid #888;
    color: #fff;
}

.message.system {
    align-self: center;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

.chat-input-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-wrapper {
    display: flex;
    gap: 10px;
}

.message-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #555;
    background: transparent;
    color: white;
    border-radius: 8px;
    font-size: 1rem;
}

.message-input::placeholder {
    color: #fff;
}

.message-input:focus {
    outline: none;
    border-color: #f5c842;
}

.recording-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.recording-controls .btn {
    flex: 1;
}

/* Welcome & Home Tab Styles */
.welcome-container {
    padding: 40px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.welcome-message {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.welcome-message h2 {
    font-size: 2.5rem;
    color: #f5c842;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.welcome-subtitle {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 400;
}

.comfort-text {
    max-width: 600px;
    margin: 20px auto;
    background: rgba(212, 175, 55, 0.1);
    padding: 25px;
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    color: #1a1a1a;
    line-height: 1.8;
    font-size: 1.05rem;
}

.comfort-text p {
    margin: 0;
}

.welcome-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.ai-guide {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #f5c842;
    border-radius: 15px;
    padding: 30px;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d4af37;
}

.guide-avatar {
    font-size: 3rem;
    background: rgba(212, 175, 55, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-info h3 {
    color: #fff;
    margin: 0;
    font-size: 1.3rem;
}

.guide-info p {
    color: #fff;
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.guide-message {
    background: rgba(212, 175, 55, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid #f5c842;
}

.guide-message p {
    color: #fff;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.feature-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.feature-btn {
    padding: 20px;
    background: transparent;
    border: 2px solid rgba(245, 200, 66, 0.4);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
}

.feature-btn:hover {
    border-color: #f5c842;
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    min-width: 2rem;
}

.feature-content h4 {
    color: white;
    margin: 0 0 5px;
    font-size: 1rem;
}

.feature-content p {
    color: #fff;
    margin: 0;
    font-size: 0.85rem;
}

.guide-chat {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.guide-input {
    flex: 1;
    padding: 12px;
    border: 2px solid rgba(245, 200, 66, 0.5);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border-radius: 8px;
    font-size: 0.95rem;
}

.guide-input::placeholder {
    color: #fff;
}

.guide-input:focus {
    outline: none;
    border-color: #f5c842;
}

.btn-small {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
}

.guide-responses {
    max-height: 150px;
    overflow-y: auto;
    padding: 10px 0;
}

.guide-response {
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(100, 100, 100, 0.2);
    border-left: 3px solid #d4af37;
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.5;
}

.quick-stats {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #f5c842;
    border-radius: 15px;
    padding: 30px;
}

.quick-stats h3 {
    color: #fff;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.stat-card {
    background: rgba(212, 175, 55, 0.15);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #f5c842;
}

.stat-number {
    font-size: 2.5rem;
    color: #f5c842;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #fff;
    font-size: 0.95rem;
}

@media (max-width: 1000px) {
    .welcome-content {
        grid-template-columns: 1fr;
    }
    
    .feature-menu {
        grid-template-columns: 1fr;
    }
}

/* Pricing Page Styles */
.pricing-page {
    padding: 60px 40px;
    text-align: center;
}

.pricing-page h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.pricing-subtitle {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 50px;
    font-weight: 300;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    overflow: visible;
}

.subscriptions-heading {
    color: #d4af37;
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-align: center;
    margin: 30px 0 40px 0;
    font-weight: 600;
}

.pricing-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #555;
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.pricing-card:hover {
    border-color: #f5c842;
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: #f5c842;
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
    border-width: 3px;
}

.pricing-card.featured .pricing-header h3 {
    color: #ffffff;
}

.pricing-card.featured .price {
    color: #f5c842;
}

.pricing-card.featured .price span {
    color: #ffffff;
}

.pricing-card.featured .features-list li {
    color: #ffffff;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #f5c842;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid #d4af37;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.pricing-header h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    color: #f5c842;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.price span {
    font-size: 1rem;
    color: #fff;
    font-weight: 400;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
    text-align: left;
}

.features-list li {
    color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    line-height: 1.6;
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    margin-top: 30px;
}

.plan-note {
    color: #fff;
    font-size: 0.9rem;
    margin-top: 15px;
}

.pricing-faq {
    max-width: 800px;
    margin: 60px auto;
    text-align: left;
}

.pricing-faq h2 {
    color: #f5c842;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid #d4af37;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.faq-item h4 {
    color: #f5c842;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #fff;
    margin: 0;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .pricing-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Keepsakes Tab Styles */
.keepsakes-container {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.keepsakes-container h2 {
    color: #f5c842;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.keepsakes-subtitle {
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Keepsake Partners Directory Styles */
.keepsakes-directory-section {
    margin-bottom: 40px;
}

.keepsakes-directory-section .directory-search-box {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #555;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.keepsakes-directory-section .search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.keepsakes-directory-section .location-search-row {
    flex-wrap: wrap;
}

.keepsakes-directory-section .zip-input-group {
    display: flex;
    gap: 8px;
}

.keepsakes-directory-section .zip-input {
    width: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #555;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
}

.keepsakes-directory-section .zip-input:focus {
    border-color: #f5c842;
    outline: none;
}

.keepsakes-directory-section .radius-select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #555;
    color: white;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.keepsakes-directory-section .radius-select option {
    background: #1a1a1a;
    color: white;
}

.keepsakes-directory-section .search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #555;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
}

.keepsakes-directory-section .search-input:focus {
    border-color: #f5c842;
    outline: none;
}

.keepsakes-directory-section .filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.keepsakes-directory-section .filter-select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #555;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 150px;
}

.keepsakes-directory-section .filter-select option {
    background: #1a1a1a;
    color: white;
}

.keepsakes-directory-section .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    cursor: pointer;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.keepsake-partner-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #444;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.keepsake-partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

.keepsake-partner-card.featured {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.partner-card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.partner-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #8b7355 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    flex-shrink: 0;
    overflow: hidden;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-info {
    flex: 1;
}

.partner-info h4 {
    color: #f5c842;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.partner-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.partner-badges .badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.badge.featured-badge {
    background: linear-gradient(135deg, #d4af37 0%, #8b7355 100%);
    color: #1a1a1a;
}

.badge.verified-badge {
    background: #28a745;
    color: white;
}

.badge.pet-badge {
    background: #6c757d;
    color: white;
}

.badge.eco-badge {
    background: #198754;
    color: white;
}

.badge.google-badge {
    background: #4285f4;
    color: white;
}

.badge.worldwide-badge {
    background: #17a2b8;
    color: white;
}

.partner-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.partner-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.category-tag {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.partner-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #aaa;
}

.partner-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: #f5c842;
}

.rating-count {
    color: #888;
    font-size: 0.8rem;
}

.ships-worldwide {
    color: #28a745;
    font-weight: 500;
}

.partner-price {
    color: #d4af37;
    font-weight: 600;
}

.partner-actions {
    display: flex;
    gap: 10px;
}

.partner-actions .btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.partner-cta-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.partner-cta-box h3 {
    color: #f5c842;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.partner-cta-box p {
    color: #ccc;
    margin-bottom: 20px;
}

.section-divider {
    border: none;
    border-top: 1px solid #444;
    margin: 40px 0;
}

.empty-message, .error-message {
    text-align: center;
    padding: 40px;
    color: #888;
}

.loading-message {
    text-align: center;
    padding: 40px;
    color: #888;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .keepsakes-directory-section .search-row {
        flex-direction: column;
    }
    
    .keepsakes-directory-section .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .keepsakes-directory-section .filter-select {
        width: 100%;
    }
}

.keepsakes-section {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #555;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.keepsakes-section h3 {
    color: #f5c842;
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.submission-form {
    display: grid;
    gap: 20px;
}

.submission-form .form-group {
    display: flex;
    flex-direction: column;
}

.submission-form .form-group label {
    color: #f5c842;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.submission-form .form-group input[type="text"],
.submission-form .form-group input[type="email"],
.submission-form .form-group input[type="file"],
.submission-form .form-group select,
.submission-form .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #555;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.submission-form .form-group input[type="text"]:focus,
.submission-form .form-group input[type="email"]:focus,
.submission-form .form-group input[type="file"]:focus,
.submission-form .form-group select:focus,
.submission-form .form-group textarea:focus {
    border-color: #f5c842;
    outline: none;
}

.submission-form .form-group input::placeholder,
.submission-form .form-group textarea::placeholder {
    color: #fff;
}

.form-group small {
    margin-top: 5px;
}

.keepsakes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.keepsake-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.keepsake-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.keepsake-card h4 {
    color: #f5c842;
    margin-bottom: 10px;
}

.keepsake-card p {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.keepsake-type {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: #f5c842;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.keepsake-creator {
    color: #fff;
    font-size: 0.85rem;
    border-top: 1px solid #555;
    padding-top: 10px;
    margin-top: 10px;
}

/* Admin Submission Panel */
.admin-section {
    border-color: #ff6b6b;
}

.admin-section h3 {
    color: #ff6b6b;
}

.admin-submissions {
    display: grid;
    gap: 20px;
}

.submission-card {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid #ff6b6b;
    border-radius: 10px;
    padding: 20px;
}

.submission-card h4 {
    color: #ff6b6b;
    margin-bottom: 10px;
}

.submission-details {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.submission-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #fff;
    max-height: 150px;
    overflow-y: auto;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.admin-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.approve-btn {
    background: #4CAF50;
    color: white;
}

.approve-btn:hover {
    background: #45a049;
}

.reject-btn {
    background: #ff6b6b;
    color: white;
}

.reject-btn:hover {
    background: #ff5252;
}

/* SMS Settings Styles */
.sms-settings {
    background: rgba(212, 175, 55, 0.08);
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 20px;
    border-radius: 10px;
}

.sms-toggle {
    margin-bottom: 20px;
}

.sms-toggle label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.sms-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.sms-options {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.sms-options .form-group {
    margin-bottom: 20px;
}

.sms-options label {
    color: #f5c842;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.sms-options input[type="tel"],
.sms-options select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #555;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.sms-options input[type="tel"]:focus,
.sms-options select:focus {
    border-color: #f5c842;
    outline: none;
}

.sms-examples {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #d4af37;
}

.sms-examples h4 {
    margin-top: 0;
}

.message-example {
    background: rgba(212, 175, 55, 0.1);
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 6px;
    border-left: 3px solid #d4af37;
}

.message-example p {
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.6;
    font-style: italic;
}

.message-example span {
    display: block;
    font-size: 0.85rem;
}

.settings-container {
    max-width: 600px;
}

.settings-section {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.settings-section h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.privacy-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.privacy-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.privacy-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #f5c842;
}

.privacy-option label {
    flex: 1;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

.privacy-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.privacy-indicator.public {
    background: #28a745;
}

.privacy-indicator.private {
    background: #d4af37;
}

.privacy-indicator.invite {
    background: #ffc107;
}

.collaborators-list {
    margin-bottom: 15px;
}

.collaborator {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
}

.collaborator img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

.collaborator-info {
    display: flex;
    flex-direction: column;
}

.collaborator-info strong {
    color: #1a1a1a;
}

.collaborator-info span {
    font-size: 0.85rem;
    color: #fff;
}

.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-option {
    display: flex;
    align-items: center;
}

.notification-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f5c842;
    margin-right: 10px;
}

.notification-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.toggle-indicator {
    display: inline-block;
    width: 30px;
    height: 16px;
    background: #d4af37;
    border-radius: 8px;
    margin-left: auto;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 25px 15px;
    }

    header h1 {
        font-size: 1.6rem;
    }

    header p {
        font-size: 0.95rem;
    }

    header .logo {
        max-width: 100px;
    }

    .container {
        border-radius: 10px;
    }

    .tabs {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        padding: 5px 0;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }
    
    .nav-dropdown .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        max-height: 300px;
        overflow-y: auto;
        z-index: 1200;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 12px 16px;
        font-size: 0.85rem;
        min-width: max-content;
        min-height: 48px;
    }

    .tab-content {
        padding: 20px 15px;
    }

    .people-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .person-card {
        padding: 15px;
    }

    .timeline-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .timeline-controls select {
        max-width: 100%;
    }

    .video-builder {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .video-page h1 {
        font-size: 2rem;
        padding: 25px 15px 0;
    }

    .video-subtitle {
        font-size: 1.1rem;
    }

    .backdrop-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .music-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .music-btn {
        padding: 15px;
        min-height: 48px;
    }

    .backdrop-options, .music-options {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px;
    }

    .btn-primary {
        width: 100%;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .form-group input,
    .form-group textarea,
    .form-control {
        padding: 14px;
        font-size: 16px;
        min-height: 48px;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .form-container {
        max-width: 100%;
    }

    .welcome-message h2 {
        font-size: 1.8rem;
    }

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

    .welcome-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ai-guide {
        padding: 20px;
    }

    .feature-btn {
        padding: 15px;
        min-height: 60px;
    }

    .feature-icon {
        font-size: 1.5rem;
    }

    .guide-input {
        min-height: 48px;
        font-size: 16px;
    }

    .afterlife-page {
        padding: 20px 15px;
    }

    .afterlife-page h1 {
        font-size: 1.8rem;
    }

    .afterlife-subtitle {
        font-size: 1.1rem;
    }

    .afterlife-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .landscape-btn {
        padding: 15px;
        min-height: 70px;
    }

    .landscape-grid {
        gap: 10px;
    }

    .sound-toggles {
        grid-template-columns: 1fr;
    }

    .sound-btn {
        padding: 12px;
        min-height: 48px;
    }

    .conversation-interface {
        padding: 20px 15px;
    }

    .chat-window {
        height: 250px;
    }

    .message-input {
        min-height: 48px;
        font-size: 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-card {
        padding: 25px 20px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .keepsakes-grid {
        grid-template-columns: 1fr;
    }

    .settings-container {
        padding: 20px 15px;
    }

    .settings-section {
        padding: 20px;
    }

    .privacy-options {
        flex-direction: column;
        gap: 10px;
    }

    .privacy-option {
        padding: 12px;
        min-height: 48px;
    }

    .video-navigation {
        flex-direction: column;
        padding: 20px 15px;
        gap: 15px;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        min-height: 48px;
    }

    .scene-tabs {
        gap: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .scene-tab {
        flex: 0 0 auto;
        padding: 10px 5px;
        font-size: 1rem;
    }

    .header-controls {
        padding: 10px 15px;
    }

    .language-selector select {
        padding: 10px 12px;
        min-height: 44px;
    }

    .tribute-form {
        padding: 20px;
        max-width: 100%;
    }

    .voice-recorder {
        flex-direction: column;
        align-items: stretch;
    }

    .voice-recorder .btn {
        width: 100%;
    }

    .backdrop-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .thumbnail {
        min-height: 50px;
    }

    .comfort-text {
        padding: 20px;
        font-size: 0.95rem;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .quick-stats h3 {
        font-size: 1.1rem;
    }

    .submission-card {
        padding: 15px;
    }

    .submission-actions {
        flex-direction: column;
        gap: 10px;
    }

    .submission-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    header {
        padding: 20px 10px;
    }

    header h1 {
        font-size: 1.4rem;
    }

    .tab-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .tab-content {
        padding: 15px 10px;
    }

    .welcome-message h2 {
        font-size: 1.5rem;
    }

    .backdrop-grid {
        grid-template-columns: 1fr;
    }

    .backdrop-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-btn {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .feature-content h4 {
        font-size: 0.95rem;
    }

    .feature-content p {
        font-size: 0.85rem;
    }
}

/* Admin Dashboard Styles */
.admin-subtitle {
    color: #aaa;
    margin-bottom: 30px;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
    border: 1px solid #d4af37;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.stat-icon {
    font-size: 2rem;
}

.stat-content h3 {
    font-size: 1.8rem;
    color: #f5c842;
    margin: 0;
    font-weight: 700;
}

.stat-content p {
    color: #fff;
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.admin-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.admin-section {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #444;
}

.admin-section h3 {
    color: #f5c842;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.subscription-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sub-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #1f1f1f;
    border-radius: 8px;
}

.sub-label {
    color: #fff;
}

.sub-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: #888;
}

.sub-value.pro {
    color: #4caf50;
}

.sub-value.premium {
    color: #f5c842;
}

.pending-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pending-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #1f1f1f;
    border-radius: 8px;
}

.pending-item span:first-child {
    color: #fff;
}

.pending-count {
    background: #ff9800;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
}

.recent-activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #1f1f1f;
    border-radius: 8px;
    margin-bottom: 10px;
}

.activity-icon {
    font-size: 1.2rem;
}

.activity-content {
    flex: 1;
}

.activity-content strong {
    color: #fff;
    display: block;
}

.activity-content span {
    color: #888;
    font-size: 0.85rem;
}

.loading-text {
    color: #888;
    text-align: center;
    padding: 20px;
}

.admin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

#stats-timestamp {
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-sections {
        grid-template-columns: 1fr;
    }

    .admin-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-content h3 {
        font-size: 1.4rem;
    }
}

/* Creative Tools Suite Styles */
.creative-subtitle {
    color: #888;
    margin-bottom: 30px;
}

.creative-tools-container {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 25px;
}

.creative-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #404040;
}

.creative-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 25px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.creative-nav-btn:hover {
    background: #333;
    border-color: #d4af37;
    color: #f5c842;
}

.creative-nav-btn.active {
    background: linear-gradient(135deg, #d4af37 0%, #f5c842 100%);
    color: #1a1a1a;
    border-color: #d4af37;
    font-weight: 600;
}

.tool-icon {
    font-size: 1.2rem;
}

.creative-tool-panel {
    display: none;
}

.creative-tool-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tool-header {
    margin-bottom: 25px;
}

.tool-header h3 {
    color: #f5c842;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.tool-header p {
    color: #aaa;
}

/* Collage Maker */
.collage-upload-zone {
    border: 2px dashed #404040;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #1a1a1a;
}

.collage-upload-zone:hover {
    border-color: #d4af37;
    background: #222;
}

.collage-upload-zone.dragover {
    border-color: #f5c842;
    background: rgba(212, 175, 55, 0.1);
}

.dropzone-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.dropzone-content p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.dropzone-hint {
    color: #666;
    font-size: 0.9rem;
}

.collage-preview {
    margin-top: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.preview-header h4 {
    color: #f5c842;
}

.collage-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.collage-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #404040;
    transition: all 0.3s ease;
}

.collage-thumbnail:hover {
    border-color: #d4af37;
    transform: scale(1.05);
}

.collage-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-icon {
    margin-right: 5px;
}

.collage-layout-section {
    margin-top: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
}

.collage-layout-section h4 {
    color: #f5c842;
    margin-bottom: 15px;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 80px);
    gap: 5px;
    background: #2d2d2d;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.collage-cell {
    background: #404040;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collage-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-options {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.layout-options label {
    color: #ccc;
}

.layout-options select {
    padding: 8px 15px;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 6px;
    color: #fff;
}

.collage-result {
    margin-top: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
    text-align: center;
}

.collage-result h4 {
    color: #f5c842;
    margin-bottom: 15px;
}

.collage-output img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Caption Generator */
.caption-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.caption-form label {
    color: #ccc;
    font-weight: 500;
}

.caption-form textarea,
.caption-form select {
    padding: 12px 15px;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.caption-form textarea:focus,
.caption-form select:focus {
    border-color: #d4af37;
    outline: none;
}

.caption-result {
    margin-top: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
}

.caption-result h4 {
    color: #f5c842;
    margin-bottom: 15px;
}

.caption-output {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
    margin-bottom: 15px;
}

.caption-output p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

.caption-actions {
    display: flex;
    gap: 10px;
}

/* Themes */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.theme-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.theme-card:hover {
    transform: translateY(-5px);
    border-color: #404040;
}

.theme-card.selected {
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.theme-preview {
    height: 100px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-accents {
    font-size: 2rem;
}

.angelic-preview {
    background: linear-gradient(135deg, #fafafa 0%, #e8e8e8 100%);
}

.celestial-preview {
    background: linear-gradient(135deg, #3a6ff2 0%, #1a2346 100%);
}

.goldblack-preview {
    background: linear-gradient(135deg, #000 0%, #2a2a2a 50%, #d4af37 100%);
}

.garden-preview {
    background: linear-gradient(135deg, #e8ffe8 0%, #b3f2c9 100%);
}

.sunset-preview {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
}

.ocean-preview {
    background: linear-gradient(135deg, #667db6 0%, #0082c8 50%, #0082c8 100%);
}

.theme-card h4 {
    color: #f5c842;
    margin-bottom: 5px;
}

.theme-card p {
    color: #888;
    font-size: 0.9rem;
}

.theme-selected {
    margin-top: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
    text-align: center;
}

.theme-selected p {
    color: #ccc;
    margin-bottom: 15px;
}

/* Templates */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.template-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.template-card:hover {
    transform: translateY(-5px);
    border-color: #404040;
}

.template-card.selected {
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.template-preview {
    height: 120px;
    background: #2d2d2d;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.template-mock {
    width: 80%;
    height: 80%;
    position: relative;
}

.timeline-mock .mock-line {
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 3px;
    background: #d4af37;
}

.timeline-mock .mock-dots {
    position: absolute;
    left: calc(50% - 4px);
    top: 20%;
    width: 8px;
    height: 8px;
    background: #f5c842;
    border-radius: 50%;
    box-shadow: 0 30px 0 #f5c842, 0 60px 0 #f5c842;
}

.grid-mock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.grid-mock .mock-cell {
    background: #404040;
    border-radius: 3px;
}

.storybook-mock {
    display: flex;
    gap: 3px;
}

.storybook-mock .mock-page {
    flex: 1;
    background: #f5f5f5;
    border-radius: 2px;
}

.storybook-mock .mock-page.left {
    background: linear-gradient(to right, #e0e0e0, #f5f5f5);
}

.celebration-mock .mock-banner {
    height: 30%;
    background: linear-gradient(to right, #d4af37, #f5c842);
    border-radius: 3px 3px 0 0;
}

.celebration-mock .mock-content {
    height: 70%;
    background: #404040;
    border-radius: 0 0 3px 3px;
}

.candle-mock {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #2d2d2d, #1a1a1a);
    border-radius: 6px;
}

.candle-mock .mock-flame {
    font-size: 2rem;
    animation: flicker 1.5s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.template-card h4 {
    color: #f5c842;
    margin-bottom: 5px;
}

.template-card p {
    color: #888;
    font-size: 0.85rem;
}

.template-selected {
    margin-top: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
    text-align: center;
}

.template-selected p {
    color: #ccc;
    margin-bottom: 15px;
}

/* Memory Enhancer */
.memory-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.memory-form label {
    color: #ccc;
    font-weight: 500;
}

.memory-form textarea,
.memory-form select {
    padding: 12px 15px;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.memory-form textarea:focus,
.memory-form select:focus {
    border-color: #d4af37;
    outline: none;
}

.memory-result {
    margin-top: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
}

.memory-result h4 {
    color: #f5c842;
    margin-bottom: 15px;
}

.memory-output {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
    margin-bottom: 15px;
}

.memory-output p {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.8;
}

.memory-actions {
    display: flex;
    gap: 10px;
}

/* Responsive Creative Tools */
@media (max-width: 768px) {
    .creative-nav {
        justify-content: center;
    }
    
    .creative-nav-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .themes-grid,
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collage-grid {
        grid-template-rows: repeat(4, 60px);
    }
}

@media (max-width: 480px) {
    .creative-nav-btn span:not(.tool-icon) {
        display: none;
    }
    
    .creative-nav-btn {
        padding: 12px;
    }
    
    .themes-grid,
    .templates-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== HEALING ENGINE STYLES ==================== */

/* Daily Prompt Container */
.daily-prompt-container {
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.daily-prompt-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.prompt-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.prompt-title h3 {
    color: #d4af37;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
}

.prompt-title .prompt-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 5px 0 0 0;
}

.daily-prompt-content {
    margin-bottom: 20px;
}

.prompt-text {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 300;
    margin: 0 0 12px 0;
}

.prompt-followup {
    color: rgba(212, 175, 55, 0.85);
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
    padding-left: 15px;
    border-left: 3px solid rgba(212, 175, 55, 0.4);
}

.prompt-response-section {
    margin-top: 20px;
}

.prompt-textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.prompt-textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.prompt-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.prompt-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.prompt-type-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-gentle {
    background: rgba(100, 180, 255, 0.2);
    color: #64b4ff;
    border: 1px solid rgba(100, 180, 255, 0.3);
}

.badge-creative {
    background: rgba(180, 100, 255, 0.2);
    color: #b464ff;
    border: 1px solid rgba(180, 100, 255, 0.3);
}

.badge-healing {
    background: rgba(100, 255, 180, 0.2);
    color: #64ffb4;
    border: 1px solid rgba(100, 255, 180, 0.3);
}

.badge-celebration {
    background: rgba(255, 200, 100, 0.2);
    color: #ffc864;
    border: 1px solid rgba(255, 200, 100, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f5c842 100%);
    color: #1a1a1a;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-gold:active {
    transform: translateY(0);
}

.prompt-saved-message {
    margin-top: 15px;
    padding: 12px 20px;
    background: rgba(100, 255, 180, 0.15);
    border: 1px solid rgba(100, 255, 180, 0.3);
    border-radius: 10px;
    color: #64ffb4;
    text-align: center;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-out;
}

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

/* Responsive Daily Prompt */
@media (max-width: 768px) {
    .daily-prompt-container {
        padding: 20px;
        margin-top: 20px;
    }
    
    .prompt-icon {
        font-size: 2rem;
    }
    
    .prompt-title h3 {
        font-size: 1.1rem;
    }
    
    .prompt-text {
        font-size: 1.1rem;
    }
    
    .prompt-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .prompt-type-badge {
        text-align: center;
    }
    
    .btn-gold {
        width: 100%;
    }
}

/* ==================== MEMORY SCENE GENERATOR STYLES ==================== */

.scene-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scene-form label {
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.scene-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.scene-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.scene-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.scene-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.scene-option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scene-option-group label {
    font-size: 0.9rem;
}

.scene-option-group select,
.scene-option-group input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
}

.scene-option-group select:focus,
.scene-option-group input:focus {
    outline: none;
    border-color: #d4af37;
}

.scene-option-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.scene-result {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.scene-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.scene-header h4 {
    color: #d4af37;
    margin: 0;
    font-size: 1.1rem;
}

.scene-tone-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-gentle {
    background: rgba(100, 180, 255, 0.2);
    color: #64b4ff;
    border: 1px solid rgba(100, 180, 255, 0.3);
}

.badge-vivid {
    background: rgba(255, 100, 100, 0.2);
    color: #ff8080;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.badge-uplifting {
    background: rgba(255, 200, 100, 0.2);
    color: #ffc864;
    border: 1px solid rgba(255, 200, 100, 0.3);
}

.badge-reflective {
    background: rgba(180, 100, 255, 0.2);
    color: #b464ff;
    border: 1px solid rgba(180, 100, 255, 0.3);
}

.badge-cinematic {
    background: rgba(100, 255, 200, 0.2);
    color: #64ffc8;
    border: 1px solid rgba(100, 255, 200, 0.3);
}

.badge-poetic {
    background: rgba(255, 150, 200, 0.2);
    color: #ff96c8;
    border: 1px solid rgba(255, 150, 200, 0.3);
}

.scene-output {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #d4af37;
    margin-bottom: 20px;
}

.scene-output p {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.9;
    white-space: pre-line;
    margin: 0;
}

.scene-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.scene-actions .btn-small {
    padding: 10px 18px;
}

/* Scene Caption and Narration Sections */
.scene-caption,
.scene-narration {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border-left: 3px solid #d4af37;
}

.scene-caption h5,
.scene-narration h5 {
    color: #d4af37;
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scene-caption p,
.scene-narration p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    white-space: pre-line;
}

/* File Input Styling */
.file-input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
}

.file-input::-webkit-file-upload-button {
    background: #d4af37;
    border: none;
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    font-weight: 600;
}

.file-input::-webkit-file-upload-button:hover {
    background: #e5c462;
}

/* Timeline Generator Styles */
.timeline-gen-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-gen-form label {
    color: #d4af37;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.timeline-gen-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
}

.timeline-result {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.timeline-chapters {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.timeline-chapter {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border-left: 3px solid #d4af37;
}

.chapter-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #d4af37;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.chapter-content h5 {
    color: #d4af37;
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.chapter-content p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-narrative,
.timeline-script {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border-left: 3px solid #d4af37;
}

.timeline-narrative h5,
.timeline-script h5 {
    color: #d4af37;
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-narrative p,
.timeline-script p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
    white-space: pre-line;
}

/* ==================== INVITE LINK SYSTEM ==================== */

.admin-invite-section {
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 30px;
}

.invite-header h3 {
    color: #d4af37;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.invite-header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.invite-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.invite-form select[multiple] {
    height: 100px;
}

.invite-result {
    margin-top: 20px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.invite-result p {
    color: #d4af37;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.invite-link-display {
    display: flex;
    gap: 10px;
}

.invite-link-display input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.9rem;
}

/* ==================== GENERATED SCENES ==================== */

.generated-scenes {
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 30px;
}

.generated-scenes h3 {
    color: #d4af37;
    margin: 0 0 8px 0;
}

.generated-scenes > p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
    font-size: 0.9rem;
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.scene-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.scene-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.scene-type-badge {
    background: #d4af37;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.scene-card-content {
    margin-bottom: 15px;
}

.scene-text {
    color: #fff;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scene-caption-preview {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scene-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==================== PERSON AVATAR ==================== */

.person-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4af37;
}

.person-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #b8962d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    font-weight: 700;
}

/* ==================== AI VIDEO GENERATOR ==================== */

.ai-video-generator {
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 40px;
}

.ai-video-generator h2 {
    color: #d4af37;
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.ai-video-generator .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 25px 0;
    font-size: 0.95rem;
}

.video-gen-form {
    margin-bottom: 25px;
}

.upload-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.upload-section h4 {
    color: #d4af37;
    margin: 0 0 15px 0;
    font-size: 1rem;
}

.video-gen-actions {
    margin-top: 20px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.video-script-result {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.video-script-result h3 {
    color: #d4af37;
    margin: 0 0 20px 0;
}

.segment-preview {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 3px solid #d4af37;
}

.segment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.segment-number {
    background: #d4af37;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.segment-duration {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.segment-prompt {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 10px;
}

.segment-narration {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 0.9rem;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.script-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.video-progress {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
}

.video-progress h3 {
    color: #d4af37;
    margin: 0 0 20px 0;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    background: linear-gradient(90deg, #d4af37 0%, #f0d878 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

#video-progress-text {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.generated-videos-section {
    margin-top: 30px;
}

.generated-videos-section h3 {
    color: #d4af37;
    margin: 0 0 20px 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.video-thumbnail {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

.video-card-content {
    padding: 15px;
}

.video-card-title {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 8px 0;
}

.video-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.video-duration-badge {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.video-status-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.video-status-badge.completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.video-status-badge.pending,
.video-status-badge.processing {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.video-status-badge.failed {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.video-card-actions {
    display: flex;
    gap: 8px;
}

.video-card-actions .btn-small {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
}

/* Responsive Scene Generator */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .scenes-grid {
        grid-template-columns: 1fr;
    }
    
    .scene-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .scene-result {
        padding: 20px;
    }
    
    .scene-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .scene-actions {
        flex-direction: column;
    }
    
    .scene-actions .btn-small {
        width: 100%;
        text-align: center;
    }
}

/* ==================== GUIDED JOURNEYS STYLES ==================== */

.guided-journeys-container {
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 25px;
}

.journeys-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.journeys-icon {
    font-size: 2.5rem;
}

.journeys-title h3 {
    color: #d4af37;
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.journeys-title p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.journey-selection h4 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.journey-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.journey-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.journey-card:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.journey-card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.journey-card-content h5 {
    color: #d4af37;
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.journey-duration {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.journey-card-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.active-journey {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.active-journey-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.journey-badge {
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.active-journey-header h4 {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
}

.journey-progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37 0%, #f0d78c 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.journey-progress-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.journey-day-content {
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #d4af37;
}

.journey-day-content h5 {
    color: #d4af37;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.day-prompt {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.day-activity {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.day-activity strong {
    color: #d4af37;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.day-activity p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.day-affirmation {
    color: #d4af37;
    font-style: italic;
    font-size: 1rem;
    text-align: center;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
}

.journey-reflection {
    margin-bottom: 20px;
}

.journey-reflection textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.journey-reflection textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.journey-reflection textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.journey-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.journey-completed {
    text-align: center;
    padding: 40px 20px;
}

.completion-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.journey-completed h4 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.journey-completed p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* Responsive Journeys */
@media (max-width: 768px) {
    .guided-journeys-container {
        padding: 20px;
    }
    
    .journeys-header {
        flex-direction: column;
        text-align: center;
    }
    
    .journey-cards {
        grid-template-columns: 1fr;
    }
    
    .journey-card {
        flex-direction: column;
        text-align: center;
    }
    
    .active-journey-header {
        flex-direction: column;
        text-align: center;
    }
    
    .journey-actions {
        flex-direction: column;
    }
    
    .journey-actions .btn {
        width: 100%;
    }
}

/* ==================== HEALING HUB STYLES ==================== */

.healing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.healing-header {
    text-align: center;
    margin-bottom: 40px;
}

.healing-header h2 {
    color: #d4af37;
    font-size: 2rem;
    margin-bottom: 10px;
}

.healing-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.healing-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Healing Hub Section Navigation */
.healing-section-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .healing-section-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .healing-section-nav {
        grid-template-columns: 1fr;
    }
}

.healing-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 16px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    min-height: 120px;
    width: 100%;
}

.healing-nav-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(212, 175, 55, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
}

.healing-nav-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.15));
    color: #d4af37;
    border: 2px solid #d4af37;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
}

.healing-nav-btn .nav-icon {
    font-size: 2.5rem;
    display: block !important;
    line-height: 1;
    visibility: visible !important;
    opacity: 1 !important;
}

.healing-nav-btn span:not(.nav-icon) {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: block !important;
    line-height: 1.3;
    color: #ffffff;
    visibility: visible !important;
    opacity: 1 !important;
    text-transform: uppercase;
}

.healing-section {
    display: none;
}

.healing-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Journal Styles */
.journal-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.journal-header {
    text-align: center;
    margin-bottom: 30px;
}

.journal-header h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin: 0 0 8px 0;
}

.journal-header p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.journal-entry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.journal-mood-selector {
    text-align: center;
}

.journal-mood-selector label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.mood-options {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.mood-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mood-btn:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
}

.mood-btn.selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.1);
}

.journal-title-input input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.journal-content-input textarea {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 180px;
}

.journal-person-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.journal-person-link label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.journal-person-link select {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.journal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.journal-entries-list {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.journal-entries-list h4 {
    color: #d4af37;
    margin: 0 0 20px 0;
    font-size: 1.1rem;
}

#journal-entries-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.journal-entry-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.journal-entry-card .entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.journal-entry-card .entry-title {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}

.journal-entry-card .entry-mood {
    font-size: 1.3rem;
}

.journal-entry-card .entry-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.journal-entry-card .entry-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.empty-state {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-style: italic;
    padding: 30px;
}

/* Connect Section Styles */
.connect-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.connect-header {
    text-align: center;
    margin-bottom: 24px;
}

.connect-header h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin: 0 0 8px 0;
}

.connect-header p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.connect-intro {
    text-align: center;
    padding: 24px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    margin-bottom: 24px;
}

.connect-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.connect-intro p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.connect-person-selector {
    margin-bottom: 24px;
}

.connect-person-selector label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.connect-person-selector select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
}

.connect-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.connect-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.connect-features .feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.connect-features .feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.connect-features h4 {
    color: #d4af37;
    font-size: 1rem;
    margin: 0 0 8px 0;
}

.connect-features p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

/* ==================== DIRECTORY PAGE STYLES ==================== */

.directory-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.directory-header {
    text-align: center;
    margin-bottom: 32px;
}

.directory-header h2 {
    color: #d4af37;
    font-size: 2rem;
    margin: 0 0 10px 0;
}

.directory-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

.directory-search-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
}

.search-method-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.search-toggle-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-toggle-btn:hover {
    color: #fff;
}

.search-toggle-btn.active {
    background: #d4af37;
    color: #1a1a1a;
    font-weight: 600;
}

.search-fields {
    display: none;
    margin-bottom: 20px;
}

.search-fields.active {
    display: block;
}

.directory-search-box .form-group {
    margin-bottom: 16px;
}

.directory-search-box label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.directory-search-box input,
.directory-search-box select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
}

.directory-search-box .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.directory-cta {
    text-align: center;
    padding: 24px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    margin-top: 32px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.directory-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 12px 0;
}

/* ==================== SUPPORT PAGE STYLES ==================== */

.support-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.support-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* Support Page Header */
.support-page-header {
    text-align: center;
    margin-bottom: 32px;
}

.support-page-title {
    color: #d4af37;
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.support-page-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Support Page Navigation */
.support-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.support-nav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.support-nav-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.08));
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.support-nav-btn .nav-icon {
    font-size: 1.2rem;
}

/* Support Sections */
.support-section {
    display: none;
}

.support-section.active {
    display: block;
    animation: fadeInSection 0.3s ease;
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.support-section .section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.support-section .section-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.support-section .section-title-group h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.support-section .section-title-group p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
}

/* Healing Hub Section */
.healing-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Directory Section */
.directory-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.directory-search {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.directory-search .search-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.directory-search .form-group {
    flex: 1;
    min-width: 180px;
}

.directory-search label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.directory-search input,
.directory-search select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.95rem;
}

.directory-results {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.featured-partners-section h3,
.google-places-section h3 {
    color: #d4af37;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
}

.section-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0 0 16px 0;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.providers-grid .empty-message {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding: 20px;
    text-align: center;
    grid-column: 1 / -1;
}

/* ===== CRISIS BLOCK ===== */
.crisis-block {
    background: linear-gradient(145deg, #6b1a1a 0%, #3d0c0c 100%);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 48px;
    border: 2px solid rgba(255, 120, 120, 0.25);
    box-shadow: 
        0 8px 32px rgba(107, 26, 26, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.crisis-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #ff6b6b);
}

.crisis-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.crisis-icon-container {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crisis-icon-pulse {
    font-size: 1.8rem;
    animation: crisisPulse 2s ease-in-out infinite;
}

@keyframes crisisPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.crisis-title h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 4px 0;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.crisis-title p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 1rem;
}

.crisis-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.crisis-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    flex: 1;
    min-width: 180px;
}

.crisis-call {
    background: #fff;
    color: #5c1515;
}

.crisis-call:hover {
    background: #f8f8f8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.crisis-text {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.crisis-text:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.crisis-emergency {
    background: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 150, 150, 0.4);
    color: #fff;
}

.crisis-emergency:hover {
    background: rgba(255, 100, 100, 0.35);
    transform: translateY(-3px);
}

.crisis-action-icon {
    font-size: 1.4rem;
}

.crisis-action-text {
    display: flex;
    flex-direction: column;
}

.crisis-action-text strong {
    font-size: 1rem;
    font-weight: 700;
}

.crisis-action-text span {
    font-size: 0.8rem;
    opacity: 0.85;
}

.crisis-international {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.crisis-intl-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.crisis-intl-link {
    color: #ffb3b3;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.crisis-intl-link:hover {
    color: #fff;
}

/* ===== INTRO SECTION ===== */
.support-intro-section {
    text-align: center;
    margin-bottom: 48px;
    padding: 40px 24px;
    position: relative;
}

.intro-decoration {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto 24px;
}

.intro-decoration-bottom {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
    margin: 24px auto 0;
}

.support-title {
    color: #d4af37;
    font-size: 2.2rem;
    margin: 0 0 20px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.support-intro-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

/* ===== FILTER SECTION ===== */
.filter-section {
    background: linear-gradient(145deg, #222 0%, #1a1a1a 100%);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 32px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-icon {
    font-size: 1.1rem;
    opacity: 0.7;
}

.filter-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-pill:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    color: #d4af37;
}

.filter-pill.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-color: #d4af37;
    color: #d4af37;
    font-weight: 600;
}

.pill-icon {
    font-size: 1rem;
}

.pill-text {
    white-space: nowrap;
}

.pill-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.filter-pill.active .pill-count {
    background: rgba(212, 175, 55, 0.3);
}

/* ===== RESOURCES SECTION ===== */
.resources-section {
    margin-bottom: 48px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.resource-card {
    background: linear-gradient(145deg, #1f1f1f 0%, #181818 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.resource-card.hidden {
    display: none;
}

.card-accent {
    height: 4px;
    width: 100%;
}

.card-accent-crisis {
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

.card-accent-community {
    background: linear-gradient(90deg, #9b59b6, #b388dd);
}

.card-accent-learning {
    background: linear-gradient(90deg, #3498db, #5dade2);
}

.card-accent-family {
    background: linear-gradient(90deg, #27ae60, #58d68d);
}

.card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.card-icon {
    font-size: 1.8rem;
}

.card-badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    color: #f5f5f5;
    font-size: 1.15rem;
    margin: 0 0 10px 0;
    font-weight: 600;
    line-height: 1.3;
}

.card-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.card-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.card-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #b8962f 100%);
    color: #1a1a1a;
}

.card-btn-primary:hover {
    background: linear-gradient(135deg, #e4bf47 0%, #c8a63f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.card-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===== FOOTER / DISCLAIMER ===== */
.support-footer {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.disclaimer-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.disclaimer-icon {
    font-size: 1.2rem;
}

.disclaimer-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
}

.disclaimer-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.disclaimer-note {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    font-style: italic;
    margin: 0;
}

.support-cta {
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.support-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0 0 10px 0;
}

.suggest-link {
    color: #d4af37;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.suggest-link:hover {
    color: #e4bf47;
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .support-page {
        padding: 20px 15px 50px;
    }
    
    .support-container {
        padding: 20px 15px 50px;
    }
    
    .support-page-title {
        font-size: 1.6rem;
    }
    
    .support-nav {
        flex-direction: column;
        gap: 6px;
        padding: 6px;
    }
    
    .support-nav-btn {
        justify-content: center;
        padding: 12px 20px;
    }
    
    .support-section .section-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .directory-search .search-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .directory-search .form-group {
        min-width: 100%;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .crisis-block {
        padding: 22px 20px;
        border-radius: 16px;
    }
    
    .crisis-header {
        flex-direction: column;
        text-align: center;
    }
    
    .crisis-buttons {
        flex-direction: column;
    }
    
    .crisis-action-btn {
        min-width: unset;
        justify-content: center;
    }
    
    .crisis-international {
        flex-direction: column;
        text-align: center;
    }
    
    .support-intro-section {
        padding: 30px 16px;
    }
    
    .support-title {
        font-size: 1.7rem;
    }
    
    .support-intro-text {
        font-size: 1rem;
    }
    
    .filter-section {
        padding: 16px 18px;
    }
    
    .filter-pills {
        gap: 8px;
    }
    
    .filter-pill {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .pill-icon {
        display: none;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .disclaimer-box {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .healing-container {
        padding: 15px;
    }
    
    .healing-header h2 {
        font-size: 1.6rem;
    }
}

/* ==================== QUICK TOOLS BAR ==================== */

.quick-tools-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.quick-tools-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-right: 5px;
}

.quick-tool-btn {
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    color: #d4af37;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-tool-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
}

/* ==================== DASHBOARD STYLES ==================== */

.dashboard-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.dashboard-container {
    max-width: 900px;
    margin: 0 auto;
}

.profile-section,
.my-people-section,
.activity-section {
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.profile-section h3,
.my-people-section h3,
.activity-section h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.section-description {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.profile-form .form-group {
    margin-bottom: 15px;
}

.profile-form label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.profile-form input,
.profile-form select {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.profile-form input:focus,
.profile-form select:focus {
    border-color: #d4af37;
    outline: none;
}

.my-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.person-card-mini {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.person-card-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.person-avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f5c842);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
}

.person-card-mini h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1rem;
}

.person-card-mini p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.empty-message {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 20px;
}

.empty-message a {
    color: #d4af37;
    text-decoration: none;
}

.empty-message a:hover {
    text-decoration: underline;
}

.activity-log {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.activity-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3px;
}

.activity-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.quick-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}

.quick-stat {
    text-align: center;
}

.quick-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #d4af37;
}

.quick-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 10px;
    }
    
    .my-people-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        gap: 20px;
    }
    
    .quick-stat-number {
        font-size: 1.5rem;
    }
}

/* =============================================
   LOCAL DIRECTORY & PARTNER STYLES
   ============================================= */

#partners-tab {
    scroll-margin-top: 120px;
    position: relative;
    z-index: 1;
}

.directory-container,
.partners-container {
    padding: 40px;
    padding-top: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
}

.directory-container h2,
.partners-container h2 {
    color: #d4af37;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.directory-subtitle,
.partners-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 30px;
}

.directory-search {
    max-width: 600px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.directory-search .search-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.directory-search .form-group {
    flex: 1;
    min-width: 150px;
}

.directory-search label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.directory-search input,
.directory-search select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.directory-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.directory-search select option {
    background: #2d2d2d;
    color: white;
}

.directory-results {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-partners-section,
.google-places-section {
    margin-bottom: 40px;
}

.featured-partners-section h3,
.google-places-section h3 {
    color: #d4af37;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.section-description {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.provider-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.provider-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.provider-card.featured-partner {
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.provider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.provider-name h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.verified-badge {
    display: inline-block;
    background: #4caf50;
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.partner-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f5c842 100%);
    color: #1a1a1a;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: 600;
}

.provider-rating {
    color: #f5c842;
    font-weight: bold;
    font-size: 1rem;
}

.provider-type {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.provider-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.provider-address {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.provider-contact {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #f5c842;
}

.loading-message {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 40px;
}

.empty-message {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 20px;
}

.empty-message a {
    color: #d4af37;
}

.info-message {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
}

.error-message {
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
}

/* Partner Benefits */
.partner-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-card h4 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Partner Signup Form */
.partner-signup-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 35px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.partner-signup-form h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.partner-signup-form > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.partner-signup-form .form-group {
    margin-bottom: 15px;
}

.partner-signup-form .form-group.full-width {
    grid-column: 1 / -1;
}

.partner-signup-form label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.partner-signup-form input,
.partner-signup-form select,
.partner-signup-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

.partner-signup-form input::placeholder,
.partner-signup-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.partner-signup-form select option {
    background: #2d2d2d;
    color: white;
}

.partner-signup-form input:focus,
.partner-signup-form select:focus,
.partner-signup-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.form-actions {
    text-align: center;
    padding-top: 20px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.form-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .directory-search .search-form {
        flex-direction: column;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .partner-benefits {
        grid-template-columns: 1fr;
    }
    
    .partner-signup-form {
        padding: 20px;
    }
}

/* Create Tribute Wizard Styles */
.create-tribute-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.create-tribute-header {
    text-align: center;
    margin-bottom: 40px;
}

.create-tribute-header h2 {
    color: #1a1a1a;
    font-size: 2rem;
    margin-bottom: 10px;
}

.tribute-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.tribute-wizard {
    background: #f8f8f8;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.wizard-steps {
    display: flex;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px;
}

.wizard-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.wizard-step.active {
    opacity: 1;
}

.wizard-step.completed {
    opacity: 0.8;
}

.step-number {
    width: 36px;
    height: 36px;
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-weight: 600;
}

.wizard-step.active .step-number {
    background: #d4af37;
    color: #1a1a1a;
}

.wizard-step.completed .step-number {
    background: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.step-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.wizard-step.active .step-label {
    color: #d4af37;
}

.wizard-content {
    padding: 40px;
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
}

.wizard-panel h3 {
    color: #1a1a1a;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.wizard-panel > p {
    color: #666;
    margin-bottom: 30px;
}

.person-selection {
    text-align: center;
}

.person-selection .form-group {
    max-width: 400px;
    margin: 0 auto 20px;
    text-align: left;
}

.or-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.or-divider span {
    padding: 0 20px;
    color: #999;
    font-weight: 500;
}

.person-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    margin: 25px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.person-preview-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37 0%, #f5c842 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.person-preview-info h4 {
    color: #1a1a1a;
    margin-bottom: 5px;
}

.person-preview-info p {
    color: #666;
    font-size: 0.9rem;
}

.wizard-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-icon {
    margin-right: 8px;
}

.media-upload-zone {
    background: white;
    border-radius: 10px;
    padding: 20px;
}

.upload-area {
    border: 2px dashed #d4af37;
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.upload-area:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: #c9a227;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.upload-area h4 {
    color: #1a1a1a;
    margin-bottom: 5px;
}

.upload-area p {
    color: #999;
    font-size: 0.9rem;
}

.media-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.media-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.media-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-preview-item .remove-media {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.ai-scene-form {
    background: white;
    border-radius: 10px;
    padding: 25px;
}

.ai-scene-form .form-group {
    margin-bottom: 20px;
}

.ai-scene-form label {
    display: block;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 8px;
}

.ai-scene-form textarea,
.ai-scene-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.ai-scene-form textarea:focus,
.ai-scene-form select:focus {
    outline: none;
    border-color: #d4af37;
}

.ai-scene-form .form-hint {
    color: #999;
    font-size: 0.85rem;
    margin-top: 5px;
}

.generation-status {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    margin-top: 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top-color: #d4af37;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.tribute-result {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.tribute-result h4 {
    color: #1a1a1a;
    margin-bottom: 20px;
}

.result-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .wizard-steps {
        flex-direction: column;
    }
    
    .wizard-step {
        justify-content: flex-start;
        padding: 10px 20px;
    }
    
    .step-label {
        font-size: 0.85rem;
    }
    
    .wizard-content {
        padding: 25px;
    }
    
    .wizard-actions {
        flex-direction: column;
    }
    
    .wizard-actions .btn {
        width: 100%;
    }
}

/* Enhanced Virtual Afterlife VR/AR Styles - Preview backgrounds only */
.park-preview {
    background: linear-gradient(180deg, #87ceeb 0%, #87ceeb 60%, #228b22 60%, #228b22 100%);
}

.beach-preview {
    background: linear-gradient(180deg, #ff7e5f 0%, #feb47b 40%, #4a90a4 70%, #c2b280 70%, #c2b280 100%);
}

.forest-preview {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3d0f 80%, #0a2e0a 100%);
}

.garden-preview {
    background: linear-gradient(180deg, #87ceeb 0%, #87ceeb 50%, #90ee90 70%, #228b22 100%);
}

.mountain-preview {
    background: linear-gradient(180deg, #ffd700 0%, #ff8c00 30%, #708090 60%, #2f4f4f 100%);
}

.lakeside-preview {
    background: linear-gradient(180deg, #87ceeb 0%, #87ceeb 40%, #4682b4 60%, #8b7355 90%, #8b7355 100%);
}

/* VR Scene Styles */
.landscape-visual {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
}

.vr-scene {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.vr-scene.active {
    display: flex;
}

.scene-sky {
    height: 60%;
    background: linear-gradient(180deg, #87ceeb 0%, #e0f6ff 100%);
}

.sunset-sky {
    background: linear-gradient(180deg, #ff7e5f 0%, #feb47b 50%, #ffd89b 100%);
}

.night-sky {
    background: linear-gradient(180deg, #0c0c1e 0%, #1a1a3e 50%, #2d2d4e 100%);
    position: relative;
}

.night-sky .star {
    position: absolute;
    animation: twinkle 2s infinite alternate;
}

.night-sky .star:nth-child(1) { top: 10%; left: 20%; }
.night-sky .star:nth-child(2) { top: 25%; left: 70%; animation-delay: 0.5s; }
.night-sky .star:nth-child(3) { top: 15%; left: 50%; animation-delay: 1s; }

@keyframes twinkle {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

.sunrise-sky {
    background: linear-gradient(180deg, #ffd700 0%, #ff8c00 30%, #ff6b6b 60%, #87ceeb 100%);
}

.scene-elements {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 3rem;
    z-index: 2;
}

.scene-elements .bench,
.scene-elements .campfire {
    font-size: 4rem;
    animation: gentle-glow 2s ease-in-out infinite alternate;
}

@keyframes gentle-glow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.campfire {
    animation: flicker 0.5s ease-in-out infinite alternate !important;
}

@keyframes flicker {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.waves-animation {
    position: absolute;
    bottom: 30%;
    left: 0;
    right: 0;
    overflow: hidden;
}

.wave {
    font-size: 2rem;
    color: #4a90a4;
    animation: wave-motion 3s ease-in-out infinite;
    text-align: center;
}

.wave2 {
    animation-delay: 1.5s;
    opacity: 0.7;
}

@keyframes wave-motion {
    0%, 100% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
}

.water-reflection {
    position: absolute;
    bottom: 25%;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(180deg, rgba(135, 206, 235, 0.5) 0%, rgba(70, 130, 180, 0.3) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.scene-ground {
    height: 30%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.park-ground {
    background: linear-gradient(180deg, #228b22 0%, #1a6b1a 100%);
}

.sand-ground {
    background: linear-gradient(180deg, #c2b280 0%, #a89b6a 100%);
}

.forest-ground {
    background: linear-gradient(180deg, #0f3d0f 0%, #0a2e0a 100%);
}

.garden-ground {
    background: linear-gradient(180deg, #90ee90 0%, #228b22 100%);
}

.mountain-ground {
    background: linear-gradient(180deg, #2f4f4f 0%, #1a3030 100%);
}

.lake-ground {
    background: linear-gradient(180deg, #8b7355 0%, #6b5344 100%);
}

.scene-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #d4af37;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.butterfly {
    animation: flutter 2s ease-in-out infinite;
}

@keyframes flutter {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@media (max-width: 768px) {
    .landscape-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .landscape-preview {
        height: 60px;
    }
    
    .landscape-desc {
        font-size: 0.75rem;
    }
    
    .landscape-visual {
        height: 200px;
    }
    
    .scene-elements {
        font-size: 2rem;
        gap: 20px;
    }
    
    .scene-elements .bench,
    .scene-elements .campfire {
        font-size: 3rem;
    }
}

/* Partner Organizations Link in Header */
.partner-link {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: auto;
}

.partner-link:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
}

.header-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
    .partner-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .header-controls {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
    }
}

/* Scene Bench Icon Styles */
.scene-bench-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Virtual Afterlife - Start Experience Section */
.person-selector-section {
    margin-bottom: 25px;
}

.person-selector-section h3 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.person-selector-section .form-control {
    background: #2d2d2d;
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
}

.start-experience-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    padding: 25px;
    margin-top: 25px;
    text-align: center;
}

.experience-summary {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.experience-summary p {
    margin: 8px 0;
    color: #fff;
}

.experience-summary span {
    color: #d4af37;
}

.vr-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.vr-icon {
    font-size: 1.5rem;
}

#vr-status-text {
    color: #aaa;
    font-size: 0.9rem;
}

.vr-status.available #vr-status-text {
    color: #4ade80;
}

.vr-status.unavailable #vr-status-text {
    color: #fbbf24;
}

.start-experience-btn {
    font-size: 1.2rem;
    padding: 15px 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f5c842 100%);
    border: none;
    color: #1a1a1a;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.start-experience-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.start-experience-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.experience-note {
    color: #888;
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Immersive Experience Modal */
.immersive-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.immersive-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.exit-experience-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    z-index: 100;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.exit-experience-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

.immersive-scene {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.scene-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background 1s ease;
}

.scene-background.park {
    background: linear-gradient(180deg, #87ceeb 0%, #87ceeb 50%, #228b22 70%, #1a5f1a 100%);
}

.scene-background.beach {
    background: linear-gradient(180deg, #ff7e5f 0%, #feb47b 30%, #4a90a4 60%, #c2b280 80%, #c2b280 100%);
}

.scene-background.forest {
    background: linear-gradient(180deg, #0c0c1e 0%, #1a1a3e 30%, #0f3d0f 70%, #0a2e0a 100%);
}

.scene-background.garden {
    background: linear-gradient(180deg, #87ceeb 0%, #e0f6ff 40%, #90ee90 70%, #228b22 100%);
}

.scene-background.mountain {
    background: linear-gradient(180deg, #ffd700 0%, #ff8c00 20%, #708090 50%, #2f4f4f 80%, #1a3030 100%);
}

.scene-background.lakeside {
    background: linear-gradient(180deg, #87ceeb 0%, #e0f6ff 30%, #4682b4 60%, #8b7355 85%, #6b5344 100%);
}

.scene-ambient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

.person-presence {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.presence-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
    border: 3px solid rgba(212, 175, 55, 0.6);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    animation: gentle-glow 3s ease-in-out infinite;
}

@keyframes gentle-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 50px rgba(212, 175, 55, 0.5); }
}

.presence-avatar.speaking {
    animation: speaking-pulse 0.8s ease-in-out infinite;
    border-color: rgba(212, 175, 55, 1);
}

@keyframes speaking-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 0 60px rgba(212, 175, 55, 0.3); 
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(212, 175, 55, 0.8), 0 0 80px rgba(212, 175, 55, 0.4); 
    }
}

.presence-name {
    color: #d4af37;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Immersive Chat Panel */
.immersive-chat-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.95) 100%);
    padding: 20px;
    max-height: 40%;
    display: flex;
    flex-direction: column;
}

.immersive-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

#immersive-chat-person-name {
    color: #d4af37;
    font-size: 1.1rem;
    font-weight: 600;
}

.ambient-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.8rem;
}

.ambient-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.immersive-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    max-height: 150px;
}

.immersive-messages .message {
    margin-bottom: 12px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
}

.immersive-messages .message.user {
    background: rgba(212, 175, 55, 0.2);
    margin-left: auto;
    color: #fff;
}

.immersive-messages .message.ai {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.immersive-input-area {
    display: flex;
    gap: 10px;
}

#immersive-message-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
}

#immersive-message-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37, #f5c842);
    color: #1a1a1a;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: scale(1.05);
}

.btn-voice {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fff;
    padding: 12px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-voice:hover {
    background: rgba(212, 175, 55, 0.2);
}

/* VR Headset Notice */
.vr-headset-notice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.notice-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 2px solid #d4af37;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 450px;
}

.notice-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.notice-content h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.notice-content p {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.notice-content .btn {
    margin: 5px;
}

@media (max-width: 768px) {
    .immersive-chat-panel {
        max-height: 50%;
    }
    
    .presence-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .immersive-input-area {
        flex-wrap: wrap;
    }
    
    #immersive-message-input {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* RTL Support for Arabic */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .tabs {
    flex-direction: row-reverse;
}

body.rtl .header-controls {
    flex-direction: row-reverse;
}

body.rtl .dropdown-menu {
    left: auto;
    right: 0;
}

body.rtl .nav-dropdown {
    text-align: right;
}

body.rtl .feature-btn {
    flex-direction: row-reverse;
    text-align: right;
}

body.rtl .form-group {
    text-align: right;
}

body.rtl .auth-section {
    flex-direction: row-reverse;
}

body.rtl .landscape-btn {
    text-align: right;
}

body.rtl .experience-summary p {
    text-align: right;
}

body.rtl .immersive-chat-header {
    flex-direction: row-reverse;
}

body.rtl .immersive-input-area {
    flex-direction: row-reverse;
}

body.rtl input[type="text"],
body.rtl input[type="email"],
body.rtl textarea,
body.rtl select {
    text-align: right;
}

/* ==================== AI VOICE & IMAGE TOOLS ==================== */

.ai-status-banner {
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.ai-status-banner.status-available {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.ai-status-banner.status-unavailable {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.status-ok {
    color: #4CAF50;
}

.status-warning {
    color: #FFC107;
}

.status-error {
    color: #f44336;
}

.voice-tabs,
.image-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 15px;
}

.voice-tab-btn,
.image-tab-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.voice-tab-btn:hover,
.image-tab-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.voice-tab-btn.active,
.image-tab-btn.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #d4af37;
}

.voice-section,
.image-section {
    animation: fadeIn 0.3s ease;
}

.voice-form,
.clone-form,
.image-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.voice-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-group input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.setting-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #d4af37;
    border-radius: 50%;
    cursor: pointer;
}

.voice-result,
.clone-result,
.image-result {
    margin-top: 25px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
}

.voice-result h4,
.clone-result h4,
.image-result h4 {
    color: #d4af37;
    margin-bottom: 15px;
}

.audio-player {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
}

.voice-actions,
.image-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.clone-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.clone-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.clone-info ul {
    list-style: disc;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.clone-info li {
    margin-bottom: 5px;
}

.clone-upload-zone {
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clone-upload-zone:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.clone-files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.clone-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.clone-file-item .file-icon {
    font-size: 1.2rem;
}

.clone-file-item .file-name {
    flex: 1;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clone-file-item .file-size {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.clone-file-item .remove-file {
    background: none;
    border: none;
    color: #f44336;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
}

.success-message {
    text-align: center;
    padding: 20px;
}

.success-message .success-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #4CAF50;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.success-message h4 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.style-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.style-card:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.style-card.selected {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

.style-card .style-icon {
    font-size: 1.8rem;
}

.style-card span:last-child {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.image-output {
    text-align: center;
    margin-bottom: 20px;
}

.image-output img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .voice-tabs,
    .image-tabs {
        flex-direction: column;
    }
    
    .voice-settings {
        grid-template-columns: 1fr;
    }
    
    .style-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Notification animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* CRITICAL: Navigation is now OUTSIDE .container - this guarantees no clipping */
.tabs {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    overflow: visible !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    max-width: 1200px;
    margin: 0 auto 0 auto;
    border-radius: 15px 15px 0 0;
    box-shadow: -9999px 0 0 #1a1a1a, 9999px 0 0 #1a1a1a, 0 4px 12px rgba(0,0,0,0.25);
    border-bottom: 3px solid #d4af37;
}

.tabs .tab-btn {
    color: #f5c842 !important;
}

.tabs .tab-btn:hover {
    background: rgba(255,255,255,0.1) !important;
}

.tabs .tab-btn.active {
    background: rgba(212, 175, 55, 0.2) !important;
    border-bottom: 3px solid #d4af37 !important;
}

.nav-dropdown {
    position: relative !important;
    z-index: 1100 !important;
    overflow: visible !important;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1200 !important;
    display: none;
    min-width: 180px !important;
    background: white !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
    border-radius: 0 0 8px 8px !important;
}

.nav-dropdown.open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block !important;
}

/* Container styling */
.container {
    margin-top: 0 !important;
    border-radius: 0 0 15px 15px !important;
    padding: 0 !important;
}

/* ===== MOBILE FULLSCREEN MENU ===== */
/* ====== MOBILE MENU OVERLAY CLICK FIX ====== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  display: flex;              /* keep layout stable */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;       /* KEY: allows clicks through */
  z-index: 2000;              /* above nav, below modals */
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Hamburger toggle button - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000;
    background: #1a1a1a;
    border: 2px solid #d4af37;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
}

/* Full-screen mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #222 0%, #000 55%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Close button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 2px solid #d4af37;
    background: transparent;
    color: #d4af37;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

/* Menu navigation container */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: center;
}

/* ===== CENTER PULSING LOGO IN OVERLAY ===== */
.mobile-menu-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.14;
}

.mobile-menu-logo {
    width: min(260px, 70vw);
    animation: pulseGlow 6s ease-in-out infinite;
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.7));
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.96);
        opacity: 0.10;
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
    }
    50% {
        transform: scale(1.05);
        opacity: 0.20;
        filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.7));
    }
    100% {
        transform: scale(0.96);
        opacity: 0.10;
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
    }
}

/* Menu links/buttons with glow effects */
.mobile-nav-link {
    position: relative;
    display: inline-block;
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #f9f1c7;
    letter-spacing: 0.03em;
    background: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

/* Glowing animated border layer */
.mobile-nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(212, 175, 55, 0);
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* On hover/focus: glow */
.mobile-nav-link:hover::before,
.mobile-nav-link:focus-visible::before {
    opacity: 1;
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.7);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: #d4af37;
}

/* Shine sweep effect on tap / click */
.mobile-nav-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.7) 40%,
        rgba(255, 255, 255, 0.9) 50%,
        transparent 100%
    );
    opacity: 0;
    transform: skewX(-25deg);
    pointer-events: none;
}

/* Trigger shine animation on active press */
.mobile-nav-link:active::after {
    opacity: 1;
    animation: linkShine 0.55s ease-out;
}

@keyframes linkShine {
    0% {
        left: -150%;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

/* Prevent background scroll when menu open */
body.menu-open {
    overflow: hidden;
}

/* Mobile responsive: show hamburger, hide desktop nav */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    body {
        overflow-x: hidden;
    }
}

/* Hide overlay on desktop */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Lazarus AI - Top Quick Navigation */
.la-top-nav {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #050507;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  position: sticky;
  top: 0;
  z-index: 60;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.la-top-nav::-webkit-scrollbar {
  display: none;
}

.la-top-nav-item {
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: transparent;
  color: #f8f5e9;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.la-top-nav-item:hover,
.la-top-nav-item:focus {
  background: rgba(212, 175, 55, 0.15);
  outline: none;
}

/* Navigation breakpoint logic: only one nav active at a time */
@media (max-width: 768px) {
  /* Hide ALL desktop navigation on mobile - use hamburger menu only */
  .la-top-nav,
  .desktop-nav,
  nav.tabs.desktop-nav {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .la-top-nav {
    justify-content: center;
  }
  
  /* Ensure mobile toggle and overlay hidden on desktop */
  .mobile-menu-toggle,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* Modal visibility is now controlled entirely by JavaScript */

/* =============================================
   LAZARUS AI - CINEMATIC LANDING PAGE STYLES
   ============================================= */

/* Hero Section */
.laz-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0a0a0c 0%, #1a1a1f 50%, #0d0d10 100%);
    overflow: hidden;
    padding: 60px 20px;
}

.laz-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.02) 0%, transparent 40%);
}

.laz-hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.laz-hero-headline {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.laz-hero-subheadline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 300;
}

.laz-hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.laz-btn-primary {
    padding: 16px 40px;
    background: linear-gradient(135deg, #d4af37 0%, #c4a030 100%);
    color: #0a0a0c;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.laz-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.laz-btn-glow {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    animation: gentleGlow 3s ease-in-out infinite;
}

@keyframes gentleGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 50px rgba(212, 175, 55, 0.4); }
}

.laz-btn-ghost {
    padding: 16px 40px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.laz-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.laz-btn-large {
    padding: 20px 60px;
    font-size: 1.2rem;
}

.laz-hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    animation: fadeIn 2s ease-out 1s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.laz-scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 10px auto 0;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* Section Base Styles */
.laz-section {
    padding: 100px 20px;
    text-align: center;
}

.laz-section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.laz-section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.3;
}

.laz-section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.laz-highlight {
    color: #d4af37;
}

.laz-section-copy {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 50px;
}

/* What Is Section */
.laz-what-is {
    background: linear-gradient(180deg, #0d0d10 0%, #12121a 100%);
}

.laz-action-trio {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.laz-action-step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.laz-step-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    color: #d4af37;
    font-weight: 600;
}

/* Live Memory Preview Section */
.laz-preview-section {
    background: linear-gradient(180deg, #12121a 0%, #0a0a0e 100%);
}

.laz-memory-preview {
    max-width: 500px;
    margin: 0 auto;
}

.laz-preview-stage {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.laz-preview-name {
    font-size: 2rem;
    color: #fff;
    font-weight: 300;
    margin-bottom: 5px;
    opacity: 0;
    animation: previewFadeIn 0.8s ease-out 0.3s forwards;
}

.laz-preview-relation {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    opacity: 0;
    animation: previewFadeIn 0.8s ease-out 0.6s forwards;
}

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

.laz-preview-photo-container {
    margin: 20px 0;
    opacity: 0;
    animation: previewFadeIn 0.8s ease-out 0.9s forwards;
}

.laz-preview-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.laz-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.laz-photo-placeholder::after {
    content: '👤';
    font-size: 3rem;
    opacity: 0.3;
}

.laz-preview-caption {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 25px 0;
    opacity: 0;
    animation: previewFadeIn 0.8s ease-out 1.2s forwards;
}

.laz-preview-voice {
    margin: 30px 0;
    opacity: 0;
    animation: previewFadeIn 0.8s ease-out 1.5s forwards;
}

.laz-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 40px;
    margin-bottom: 10px;
}

.laz-wave {
    width: 4px;
    background: linear-gradient(180deg, #d4af37 0%, rgba(212, 175, 55, 0.3) 100%);
    border-radius: 2px;
    animation: waveAnim 1.2s ease-in-out infinite;
}

.laz-wave:nth-child(1) { height: 20px; animation-delay: 0s; }
.laz-wave:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.laz-wave:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.laz-wave:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.laz-wave:nth-child(5) { height: 30px; animation-delay: 0.4s; }
.laz-wave:nth-child(6) { height: 35px; animation-delay: 0.5s; }
.laz-wave:nth-child(7) { height: 20px; animation-delay: 0.6s; }

@keyframes waveAnim {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.laz-voice-label {
    font-size: 0.85rem;
    color: rgba(212, 175, 55, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.laz-preview-ai-message {
    font-size: 1.3rem;
    color: #d4af37;
    margin-top: 30px;
    font-style: italic;
    opacity: 0;
    animation: previewFadeIn 0.8s ease-out 2s forwards;
}

/* Features as Feelings */
.laz-features-feelings {
    background: linear-gradient(180deg, #0a0a0e 0%, #0f0f14 100%);
}

.laz-feelings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.laz-feeling-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 30px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.laz-feeling-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.laz-feeling-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.laz-feeling-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 400;
}

.laz-feeling-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ========================================
   SHOWCASE SECTIONS (Tributes & Memorials)
   ======================================== */
.laz-showcase {
    background: linear-gradient(180deg, #0f0f14 0%, #0a0a0e 100%);
    padding: 100px 20px;
}

.laz-showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.laz-showcase-reverse .laz-showcase-container {
    direction: rtl;
}

.laz-showcase-reverse .laz-showcase-container > * {
    direction: ltr;
}

.laz-showcase-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.laz-showcase-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.laz-showcase-image:hover img {
    transform: scale(1.05);
}

.laz-showcase-content {
    text-align: left;
}

.laz-showcase-title {
    font-size: 2.2rem;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.laz-showcase-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 25px;
}

.laz-showcase-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.laz-showcase-features li {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.laz-showcase-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

@media (max-width: 900px) {
    .laz-showcase-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .laz-showcase-reverse .laz-showcase-container {
        direction: ltr;
    }
    
    .laz-showcase-image img {
        height: 280px;
    }
    
    .laz-showcase-content {
        text-align: center;
    }
    
    .laz-showcase-features {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 600px) {
    .laz-showcase {
        padding: 60px 15px;
    }
    
    .laz-showcase-title {
        font-size: 1.8rem;
    }
    
    .laz-showcase-desc {
        font-size: 1rem;
    }
    
    .laz-showcase-image img {
        height: 220px;
    }
}

/* Scroll Story Section */
.laz-scroll-story {
    background: #0a0a0c;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.laz-story-line {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.laz-story-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.laz-story-1 { color: rgba(255, 255, 255, 0.4); }
.laz-story-2 { color: rgba(255, 255, 255, 0.6); }
.laz-story-3 { color: rgba(212, 175, 55, 0.8); }
.laz-story-4 { color: #d4af37; }

/* Moments (Testimonials) */
.laz-moments {
    background: linear-gradient(180deg, #0a0a0c 0%, #0f0f14 100%);
}

.laz-moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.laz-moment-card {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(212, 175, 55, 0.4);
    padding: 30px;
    text-align: left;
}

.laz-moment-quote {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.laz-moment-author {
    font-size: 0.9rem;
    color: rgba(212, 175, 55, 0.8);
}

/* Why We Built This */
.laz-why {
    background: linear-gradient(180deg, #0f0f14 0%, #0a0a0c 100%);
}

.laz-why-copy {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
}

/* Daily Return Hook */
.laz-return-hook {
    background: #0a0a0c;
}

.laz-return-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.laz-return-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.laz-return-icon {
    font-size: 2rem;
}

.laz-return-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.laz-return-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Final CTA */
.laz-final-cta {
    background: linear-gradient(180deg, #0a0a0c 0%, #0d0d10 100%);
    padding: 120px 20px;
}

.laz-final-headline {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    color: #fff;
    margin-bottom: 40px;
}

.laz-final-note {
    margin-top: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* Memory Mode Button */
.laz-memory-mode-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 12, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.laz-memory-mode-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.05);
}

.laz-mm-icon {
    font-size: 1.2rem;
}

.laz-mm-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Memory Mode Active State */
body.memory-mode-active {
    overflow: hidden;
}

body.memory-mode-active .laz-hero,
body.memory-mode-active .laz-section {
    filter: brightness(0.7);
}

body.memory-mode-active::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99;
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .laz-hero {
        padding: 40px 15px;
        min-height: 90vh;
    }
    
    .laz-hero-ctas {
        flex-direction: column;
        gap: 15px;
    }
    
    .laz-btn-primary,
    .laz-btn-ghost {
        width: 100%;
        max-width: 300px;
    }
    
    .laz-section {
        padding: 60px 15px;
    }
    
    .laz-action-trio {
        flex-direction: column;
        gap: 20px;
    }
    
    .laz-feelings-grid {
        grid-template-columns: 1fr;
    }
    
    .laz-return-features {
        gap: 25px;
    }
    
    .laz-memory-mode-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
    }
    
    .laz-mm-text {
        display: none;
    }
}

/* ========================================
   MEMORY LANE IMMERSIVE DEMO STYLES
   ======================================== */

/* Memory Lane Intro Section */
.laz-memory-lane-intro {
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
}

.laz-ml-header {
    max-width: 700px;
    margin: 0 auto;
}

.laz-ml-title {
    font-size: 2.8rem;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.laz-ml-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    margin-bottom: 25px;
    font-weight: 300;
}

.laz-ml-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* Memory Lane Demo Container */
.laz-memory-lane-demo {
    padding: 40px 20px;
    background: #0a0a0a;
}

.laz-ml-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 80px rgba(212, 175, 55, 0.1);
}

/* Scene Base Styles */
.laz-ml-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    padding: 40px;
    box-sizing: border-box;
}

.laz-ml-scene.active {
    opacity: 1;
    visibility: visible;
}

/* Scene 1: The Path */
.laz-ml-scene-1 .laz-ml-ambient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.laz-ml-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.laz-ml-path {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    perspective: 500px;
}

.laz-ml-stone {
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.8) 0%, rgba(30, 30, 30, 0.9) 100%);
    padding: 15px 25px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: stoneFadeIn 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.laz-ml-stone:nth-child(1) { animation-delay: 0.5s; }
.laz-ml-stone:nth-child(2) { animation-delay: 0.8s; }
.laz-ml-stone:nth-child(3) { animation-delay: 1.1s; }

@keyframes stoneFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.laz-ml-overlay-text {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
}

.laz-ml-prompt {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.laz-ml-hint {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.laz-ml-next-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    letter-spacing: 0.05em;
}

.laz-ml-next-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
    transform: scale(1.05);
}

/* Scene 2: Environment Choice */
.laz-ml-choose-text {
    font-size: 1.6rem;
    color: #d4af37;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.laz-ml-hint-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 25px;
    font-style: italic;
}

.laz-ml-env-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 500px;
    width: 100%;
}

.laz-ml-env-card {
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    min-height: 160px;
    height: 160px;
    position: relative;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.laz-ml-env-card[data-env="garden"] {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7)), url('/static/images/beautiful_garden_par_8c0d568e.jpg');
}

.laz-ml-env-card[data-env="beach"] {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7)), url('/static/images/peaceful_beach_sunse_1739fec1.jpg');
}

.laz-ml-env-card[data-env="candlelight"] {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7)), url('/static/images/cozy_candlelit_room__5ecc6922.jpg');
}

.laz-ml-env-card[data-env="forest"] {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7)), url('/static/images/peaceful_forest_sunl_50a997c5.jpg');
}

.laz-ml-env-card:hover {
    border-color: rgba(212, 175, 55, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25);
}

.laz-ml-env-card.selected {
    border-color: #d4af37;
    border-width: 3px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.laz-ml-env-icon {
    display: none;
}

.laz-ml-env-name {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5));
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Scene 3: The Presence */
.laz-ml-env-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.laz-ml-env-bg.garden { background: linear-gradient(180deg, #1a2f1a 0%, #0d1a0d 100%); }
.laz-ml-env-bg.beach { background: linear-gradient(180deg, #2a2a1a 0%, #1a1a0d 100%); }
.laz-ml-env-bg.candlelight { background: linear-gradient(180deg, #2a1a1a 0%, #1a0d0d 100%); }
.laz-ml-env-bg.forest { background: linear-gradient(180deg, #0d1a0d 0%, #050d05 100%); }

.laz-ml-presence {
    position: relative;
    width: 120px;
    height: 180px;
    margin-bottom: 30px;
}

.laz-ml-presence-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    animation: presenceGlow 3s ease-in-out infinite;
}

.laz-ml-presence-figure {
    position: absolute;
    width: 60px;
    height: 120px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(212, 175, 55, 0.15) 50%, transparent 100%);
    border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
    filter: blur(8px);
    animation: presenceBreathe 4s ease-in-out infinite;
}

.laz-ml-presence-aura {
    position: absolute;
    width: 150%;
    height: 150%;
    left: -25%;
    top: -25%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    animation: auraExpand 5s ease-in-out infinite;
}

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

@keyframes presenceBreathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.03); }
}

@keyframes auraExpand {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.15); }
}

.laz-ml-presence-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

.laz-ml-tap-btn {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #d4af37;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulseGlow 2s ease-in-out infinite;
}

.laz-ml-tap-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    transform: scale(1.05);
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.4); }
}

/* Scene 4: The Moment */
.laz-ml-moment {
    text-align: center;
    z-index: 2;
    position: relative;
}

.laz-ml-voice-orb {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.laz-ml-orb-core {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #d4af37 0%, rgba(212, 175, 55, 0.5) 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.laz-ml-orb-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: orbRing 2s ease-out infinite;
}

.laz-ml-orb-ring:nth-child(1) { animation-delay: 0s; }
.laz-ml-orb-ring:nth-child(2) { animation-delay: 0.5s; }
.laz-ml-orb-ring:nth-child(3) { animation-delay: 1s; }

@keyframes orbRing {
    0% {
        transform: scale(0.4);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.laz-ml-voice-message {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.laz-ml-heartbeat {
    width: 60px;
    height: 2px;
    background: rgba(212, 175, 55, 0.3);
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
}

.laz-ml-heartbeat::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 100%;
    background: #d4af37;
    animation: heartbeatPulse 1.5s ease-in-out infinite;
}

@keyframes heartbeatPulse {
    0%, 100% { left: -20px; }
    50% { left: 60px; }
}

/* Scene 5: The Return */
.laz-ml-scene-5 {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, #0a0a0a 100%);
}

.laz-ml-return-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: returnFade 2s ease forwards;
}

@keyframes returnFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.laz-ml-return-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.laz-ml-return-text {
    font-size: 2rem;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 35px;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

/* Progress Indicator */
/* Memory Lane dots hidden until stepper is functional */
.laz-ml-progress {
    display: none; /* TODO: Enable when swipe/click navigation is wired */
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.laz-ml-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.laz-ml-dot.active {
    background: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.laz-ml-dot.visited {
    background: rgba(212, 175, 55, 0.5);
}

.laz-ml-dot:hover {
    cursor: pointer;
    transform: scale(1.3);
}

.laz-ml-env-card.selected {
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: scale(1.02);
}

.laz-ml-env-bg.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Trust Panel */
.laz-trust-panel {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    text-align: center;
    padding: 80px 20px;
}

.laz-trust-title {
    font-size: 1.8rem;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 40px;
}

.laz-trust-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.laz-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.laz-trust-icon {
    color: #d4af37;
    font-size: 1.2rem;
}

.laz-trust-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* How It Works */
.laz-how-works {
    background: #0a0a0a;
    text-align: center;
    padding: 80px 20px;
}

.laz-how-copy {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    max-width: 650px;
    margin: 0 auto 25px;
}

.laz-how-note {
    font-size: 1rem;
    color: #d4af37;
    font-style: italic;
    opacity: 0.9;
}

/* Revisit Value */
.laz-revisit {
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
    text-align: center;
    padding: 80px 20px;
}

.laz-revisit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 40px auto;
}

.laz-revisit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.laz-revisit-icon {
    font-size: 2rem;
}

.laz-revisit-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.laz-revisit-note {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    font-size: 1.1rem;
}

/* Memory Lane CTA */
.laz-ml-cta {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    text-align: center;
    padding: 100px 20px;
}

.laz-ml-cta-headline {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 40px;
}

.laz-ml-cta-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin-top: 25px;
    letter-spacing: 0.1em;
}

/* Memory Lane Mobile Responsive */
@media (max-width: 768px) {
    .laz-ml-title {
        font-size: 2rem;
    }
    
    .laz-ml-subtitle {
        font-size: 1.2rem;
    }
    
    .laz-ml-container {
        min-height: 450px;
    }
    
    .laz-ml-scene {
        padding: 30px 20px;
    }
    
    .laz-ml-path {
        flex-direction: column;
        gap: 15px;
    }
    
    .laz-ml-stone {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .laz-ml-prompt {
        font-size: 1.5rem;
    }
    
    .laz-ml-env-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 300px;
    }
    
    .laz-ml-env-card {
        padding: 18px 12px;
    }
    
    .laz-ml-env-icon {
        font-size: 1.8rem;
    }
    
    .laz-ml-env-name {
        font-size: 0.8rem;
    }
    
    .laz-ml-presence {
        width: 100px;
        height: 150px;
    }
    
    .laz-ml-voice-message {
        font-size: 1.3rem;
    }
    
    .laz-ml-return-text {
        font-size: 1.6rem;
    }
    
    .laz-trust-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .laz-revisit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .laz-ml-cta-headline {
        font-size: 1.6rem;
    }
}

/* ========================================
   ONBOARDING OVERLAY - 60 SECOND JOURNEY
   ======================================== */

/* Onboarding Overlay - fixed positioning, internal scroll for each screen */
.laz-onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    overflow: hidden;
}

/* Screen Base - Each screen fills the scrollable area between skip button and progress bar */
.laz-ob-screen {
    position: absolute;
    /* Leave space for skip button at top and progress bar at bottom */
    top: 55px;
    left: 0;
    right: 0;
    bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    box-sizing: border-box;
}

.laz-ob-screen.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Stack container for form elements - ensures proper vertical flow */
.laz-ob-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 400px;
    flex-shrink: 0;
    /* Ensures content can scroll without jumping */
    margin: auto 0;
}

/* Screen 1: Arrival */
.laz-ob-screen-1 {
    background: linear-gradient(180deg, #000 0%, #0d0d0d 100%);
}

.laz-ob-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.laz-ob-welcome {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.15em;
    animation: obFadeIn 2s ease forwards;
    opacity: 0;
}

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

/* Screen 2: Intention */
.laz-ob-screen-2 {
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}

.laz-ob-prompt {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    text-align: center;
    animation: obFadeIn 1s ease forwards;
}

.laz-ob-input-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.laz-ob-name-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    font-size: 1.8rem;
    padding: 15px 5px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.05em;
    outline: none;
    caret-color: #d4af37;
    transition: border-color 0.3s ease;
}

.laz-ob-name-input:focus {
    border-bottom-color: #d4af37;
}

.laz-ob-name-input::placeholder {
    color: rgba(212, 175, 55, 0.3);
}

.laz-ob-continue-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: rgba(212, 175, 55, 0.6);
    padding: 14px 50px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: not-allowed;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.laz-ob-continue-btn:not(:disabled) {
    border-color: #d4af37;
    color: #d4af37;
    cursor: pointer;
}

.laz-ob-continue-btn:not(:disabled):hover {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.02);
}

/* Screen 3: Recognition */
.laz-ob-screen-3 {
    background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 100%);
}

.laz-ob-recognition {
    font-size: 2.2rem;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-align: center;
    animation: obRecognition 1.5s ease forwards;
    opacity: 0;
}

@keyframes obRecognition {
    0% { opacity: 0; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

#ob-name-display {
    color: #fff;
    font-weight: 400;
}

/* Screen 4: Memory Style */
.laz-ob-screen-4 {
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}

.laz-ob-env-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 450px;
    width: 100%;
}

.laz-ob-env-card {
    border: 2px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    height: 160px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.laz-ob-env-card[data-env="garden"] {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url('/static/images/beautiful_garden_par_8c0d568e.jpg');
}

.laz-ob-env-card[data-env="beach"] {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url('/static/images/peaceful_beach_sunse_1739fec1.jpg');
}

.laz-ob-env-card[data-env="candlelight"] {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6)), url('/static/images/cozy_candlelit_room__5ecc6922.jpg');
}

.laz-ob-env-card[data-env="forest"] {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url('/static/images/peaceful_forest_sunl_50a997c5.jpg');
}

.laz-ob-env-card:hover {
    border-color: rgba(212, 175, 55, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.laz-ob-env-card.selected {
    border-color: #d4af37;
    border-width: 3px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.laz-ob-env-icon {
    display: none;
}

.laz-ob-env-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.03em;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Screen 5: Memory Lane Instant Moment */
.laz-ob-screen-5 {
    background: #0a0a0a;
}

.laz-ob-env-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    transition: all 1s ease;
}

.laz-ob-env-bg.garden { background: linear-gradient(180deg, #1a2f1a 0%, #0d1a0d 100%); }
.laz-ob-env-bg.beach { background: linear-gradient(180deg, #2a2a1a 0%, #1a1a0d 100%); }
.laz-ob-env-bg.candlelight { background: linear-gradient(180deg, #2a1a1a 0%, #1a0d0d 100%); }
.laz-ob-env-bg.forest { background: linear-gradient(180deg, #0d1a0d 0%, #050d05 100%); }

.laz-ob-env-dimmed {
    opacity: 0.3;
}

.laz-ob-path-scene {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.laz-ob-presence {
    position: relative;
    width: 140px;
    height: 200px;
    margin-bottom: 40px;
}

.laz-ob-presence-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.35) 0%, transparent 70%);
    animation: obPresenceGlow 3s ease-in-out infinite;
}

.laz-ob-presence-figure {
    position: absolute;
    width: 70px;
    height: 140px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(212, 175, 55, 0.2) 50%, transparent 100%);
    border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
    filter: blur(10px);
    animation: obPresenceBreathe 4s ease-in-out infinite;
}

.laz-ob-presence-aura {
    position: absolute;
    width: 180%;
    height: 180%;
    left: -40%;
    top: -40%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
    animation: obAuraExpand 5s ease-in-out infinite;
}

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

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

@keyframes obAuraExpand {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.2); }
}

.laz-ob-subtle-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-bottom: 30px;
    z-index: 2;
    animation: obFadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

.laz-ob-tap-presence {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #d4af37;
    padding: 16px 45px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    animation: obPulseGlow 2s ease-in-out infinite;
}

.laz-ob-tap-presence:hover {
    background: rgba(212, 175, 55, 0.25);
    transform: scale(1.03);
}

@keyframes obPulseGlow {
    0%, 100% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 50px rgba(212, 175, 55, 0.4); }
}

/* Screen 6: The First Message */
.laz-ob-screen-6 {
    background: #0a0a0a;
}

.laz-ob-voice-moment {
    text-align: center;
    z-index: 2;
    position: relative;
}

.laz-ob-voice-orb {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
}

.laz-ob-orb-core {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #d4af37 0%, rgba(212, 175, 55, 0.5) 100%);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.laz-ob-orb-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    animation: obOrbRing 2.5s ease-out infinite;
}

.laz-ob-orb-ring:nth-child(1) { animation-delay: 0s; }
.laz-ob-orb-ring:nth-child(2) { animation-delay: 0.6s; }
.laz-ob-orb-ring:nth-child(3) { animation-delay: 1.2s; }

@keyframes obOrbRing {
    0% { transform: scale(0.4); opacity: 0.9; }
    100% { transform: scale(1.4); opacity: 0; }
}

.laz-ob-voice-message {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.6;
    animation: obFadeIn 1.2s ease forwards;
    opacity: 0;
}

.laz-ob-waveform {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 40px;
}

.laz-ob-wave {
    width: 4px;
    height: 25px;
    background: linear-gradient(180deg, #d4af37 0%, rgba(212, 175, 55, 0.4) 100%);
    border-radius: 2px;
    animation: obWaveAnim 1s ease-in-out infinite;
}

.laz-ob-wave:nth-child(1) { animation-delay: 0s; height: 20px; }
.laz-ob-wave:nth-child(2) { animation-delay: 0.1s; height: 30px; }
.laz-ob-wave:nth-child(3) { animation-delay: 0.2s; height: 25px; }
.laz-ob-wave:nth-child(4) { animation-delay: 0.3s; height: 35px; }
.laz-ob-wave:nth-child(5) { animation-delay: 0.4s; height: 25px; }
.laz-ob-wave:nth-child(6) { animation-delay: 0.5s; height: 30px; }
.laz-ob-wave:nth-child(7) { animation-delay: 0.6s; height: 20px; }

@keyframes obWaveAnim {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

.laz-ob-next-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    padding: 14px 45px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.laz-ob-next-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.03);
}

/* Screen 7: Soft Landing */
.laz-ob-screen-7 {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
}

.laz-ob-landing-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: obLandingGlow 4s ease-in-out infinite;
}

@keyframes obLandingGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.laz-ob-landing-text {
    font-size: 2.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 50px;
    z-index: 2;
    animation: obFadeIn 1.2s ease forwards;
}

.laz-ob-landing-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.laz-ob-secondary-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 10px 20px;
}

.laz-ob-secondary-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Skip Button */
.laz-ob-skip {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 8px 15px;
    transition: color 0.3s ease;
    z-index: 100;
}

.laz-ob-skip:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Progress Bar */
.laz-ob-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.laz-ob-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4af37 0%, rgba(212, 175, 55, 0.7) 100%);
    width: 0%;
    transition: width 0.5s ease;
}

/* Onboarding Mobile Responsive */
@media (max-width: 768px) {
    .laz-ob-screen {
        padding: 30px 15px;
    }
    
    .laz-ob-welcome {
        font-size: 2rem;
    }
    
    .laz-ob-prompt {
        font-size: 1.4rem;
        margin-bottom: 35px;
    }
    
    .laz-ob-name-input {
        font-size: 1.4rem;
    }
    
    .laz-ob-recognition {
        font-size: 1.7rem;
    }
    
    .laz-ob-env-grid {
        gap: 12px;
        max-width: 320px;
    }
    
    .laz-ob-env-card {
        padding: 22px 15px;
    }
    
    .laz-ob-env-icon {
        font-size: 2.2rem;
    }
    
    .laz-ob-env-name {
        font-size: 0.85rem;
    }
    
    .laz-ob-presence {
        width: 110px;
        height: 160px;
    }
    
    .laz-ob-voice-message {
        font-size: 1.4rem;
    }
    
    .laz-ob-landing-text {
        font-size: 1.8rem;
    }
    
    .laz-ob-skip {
        top: 15px;
        right: 15px;
    }
}

/* Enhanced Small Screen Fix - Prevent Element Stacking */
@media (max-width: 480px) {
    .laz-ob-screen {
        top: 50px;
        bottom: 20px;
        padding: 15px;
        justify-content: flex-start;
    }
    
    .laz-ob-stack {
        gap: 20px;
        margin: 0;
        padding-top: 10px;
    }
    
    .laz-ob-welcome {
        font-size: clamp(24px, 7vw, 36px);
        line-height: 1.2;
    }
    
    .laz-ob-prompt {
        font-size: clamp(16px, 4.5vw, 20px);
        line-height: 1.4;
    }
    
    .laz-ob-input-container {
        width: min(300px, 90vw);
    }
    
    .laz-ob-name-input {
        font-size: clamp(20px, 5vw, 28px);
        padding: 12px 5px;
    }
    
    .laz-ob-continue-btn,
    .laz-ob-tap-presence,
    .laz-ob-next-btn {
        width: min(280px, 85vw);
        padding: 16px 30px;
        flex-shrink: 0;
    }
    
    .laz-ob-recognition {
        font-size: clamp(20px, 5.5vw, 28px);
        line-height: 1.3;
    }
    
    .laz-ob-env-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: min(300px, 90vw);
        max-width: none;
    }
    
    .laz-ob-env-card {
        padding: 14px 18px;
        display: flex;
        align-items: center;
        gap: 14px;
        text-align: left;
    }
    
    .laz-ob-env-icon {
        font-size: 1.8rem;
        flex-shrink: 0;
    }
    
    .laz-ob-env-name {
        font-size: 0.95rem;
    }
    
    .laz-ob-presence {
        width: 90px;
        height: 120px;
    }
    
    .laz-ob-subtle-text {
        font-size: 0.95rem;
    }
    
    .laz-ob-voice-orb {
        width: 80px;
        height: 80px;
    }
    
    .laz-ob-orb-core {
        width: 35px;
        height: 35px;
    }
    
    .laz-ob-voice-message {
        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.5;
        max-width: min(300px, 90vw);
    }
    
    .laz-ob-landing-glow {
        width: 200px;
        height: 200px;
    }
    
    .laz-ob-landing-text {
        font-size: clamp(18px, 5vw, 24px);
        line-height: 1.3;
    }
    
    .laz-ob-landing-actions {
        width: min(280px, 85vw);
        gap: 14px;
    }
    
    .laz-ob-landing-actions .laz-ob-tap-presence,
    .laz-ob-landing-actions .laz-ob-secondary-btn {
        width: 100%;
    }
    
    .laz-ob-path-scene {
        gap: 14px;
    }
}

/* ========================================
   POST-ONBOARDING GENTLE REMINDER CARDS
   ======================================== */

.laz-post-onboarding {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
    flex-wrap: wrap;
}

.laz-po-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.laz-po-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.1);
}

.laz-po-icon {
    font-size: 1.5rem;
}

.laz-po-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .laz-post-onboarding {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .laz-po-card {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ========================================
   DAILY ENGAGEMENT SYSTEM - TODAY IN MEMORY LANE
   ======================================== */

:root {
    --time-overlay: rgba(255, 200, 100, 0.04);
    --time-glow: rgba(212, 175, 55, 0.2);
}

.laz-today-memory {
    padding: 30px 20px;
    background: linear-gradient(180deg, #0d0d0d 0%, #151515 100%);
    position: relative;
}

.laz-today-memory::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--time-overlay);
    pointer-events: none;
}

.laz-today-card {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 25px 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.laz-today-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.laz-today-glow {
    position: absolute;
    top: 50%;
    left: 30px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--time-glow) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: todayGlow 3s ease-in-out infinite;
}

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

.laz-today-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.laz-lantern-icon {
    width: 30px;
    height: 40px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 6px 6px 50% 50%;
    position: relative;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.laz-lantern-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 12px;
    background: rgba(255, 200, 100, 0.8);
    border-radius: 50% 50% 40% 40%;
    box-shadow: 0 0 10px rgba(255, 200, 100, 0.6);
    animation: lanternFlicker 2s ease-in-out infinite;
}

@keyframes lanternFlicker {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    25% { opacity: 1; transform: translateX(-50%) scale(1.05); }
    50% { opacity: 0.9; transform: translateX(-50%) scale(0.98); }
    75% { opacity: 1; transform: translateX(-50%) scale(1.02); }
}

.laz-today-content {
    flex: 1;
    z-index: 1;
}

.laz-today-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #d4af37;
    margin: 0 0 6px 0;
    letter-spacing: 0.03em;
}

.laz-today-subtext {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-style: italic;
}

.laz-today-arrow {
    color: rgba(212, 175, 55, 0.5);
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.laz-today-card:hover .laz-today-arrow {
    transform: translateX(5px);
    color: rgba(212, 175, 55, 0.9);
}

/* Daily Memory Content Overlay */
.laz-daily-memory {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dailyFadeIn 0.5s ease;
}

@keyframes dailyFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.laz-daily-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.laz-daily-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

.laz-daily-inner {
    text-align: center;
    padding: 40px;
    max-width: 500px;
}

.laz-daily-type {
    animation: dailyContentFade 0.8s ease 0.2s forwards;
    opacity: 0;
}

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

/* Today's Memory Type */
.laz-daily-photo-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8) 0%, rgba(25, 25, 25, 0.9) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.laz-daily-photo-glow {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: photoGlow 3s ease-in-out infinite;
}

@keyframes photoGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.laz-daily-caption {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 30px;
}

/* Gentle Message Type */
.laz-daily-message-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    animation: messageFloat 3s ease-in-out infinite;
}

@keyframes messageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.laz-daily-message {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.5;
}

.laz-daily-from {
    font-size: 0.95rem;
    color: rgba(212, 175, 55, 0.7);
    margin-bottom: 35px;
}

/* Environmental Change Type */
.laz-daily-env-preview {
    width: 300px;
    height: 180px;
    margin: 0 auto 25px;
    background: linear-gradient(180deg, 
        rgba(30, 40, 50, 0.8) 0%, 
        rgba(20, 30, 40, 0.9) 50%,
        rgba(15, 20, 30, 0.95) 100%
    );
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.laz-daily-env-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.1) 100%);
}

.laz-daily-env-notice {
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 10px;
}

.laz-daily-env-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 30px;
}

/* Anniversary Type */
.laz-daily-candle {
    width: 30px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.9) 0%, rgba(230, 220, 200, 0.8) 100%);
    border-radius: 4px 4px 8px 8px;
    position: relative;
}

.laz-daily-candle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 25px;
    background: linear-gradient(180deg, rgba(255, 200, 100, 0.9) 0%, rgba(255, 150, 50, 0.8) 50%, transparent 100%);
    border-radius: 50% 50% 30% 30%;
    animation: candleFlame 1.5s ease-in-out infinite;
}

@keyframes candleFlame {
    0%, 100% { transform: translateX(-50%) scaleY(1) scaleX(1); }
    25% { transform: translateX(-50%) scaleY(1.1) scaleX(0.9); }
    50% { transform: translateX(-50%) scaleY(0.95) scaleX(1.05); }
    75% { transform: translateX(-50%) scaleY(1.05) scaleX(0.95); }
}

.laz-daily-anniversary-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Presence Type */
.laz-daily-light-orb {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.6) 0%, rgba(212, 175, 55, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 3s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); }
    50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 50px rgba(212, 175, 55, 0.5); }
}

.laz-daily-presence-text {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 30px;
}

.laz-daily-enter {
    margin-top: 10px;
}

/* Deep Memory Mode */
.deep-memory-mode {
    overflow: hidden;
}

.deep-memory-mode .container > *:not(#afterlife-tab):not(#home-tab) {
    display: none !important;
}

.deep-memory-mode header,
.deep-memory-mode nav,
.deep-memory-mode .header-controls,
.deep-memory-mode .laz-memory-mode-toggle {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.deep-memory-mode #afterlife-tab {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    background: #0a0a0a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .laz-today-card {
        padding: 20px;
        gap: 15px;
    }
    
    .laz-today-title {
        font-size: 1.1rem;
    }
    
    .laz-today-subtext {
        font-size: 0.9rem;
    }
    
    .laz-daily-inner {
        padding: 30px 20px;
    }
    
    .laz-daily-message {
        font-size: 1.3rem;
    }
    
    .laz-daily-photo-placeholder {
        width: 160px;
        height: 160px;
    }
    
    .laz-daily-env-preview {
        width: 100%;
        max-width: 280px;
        height: 150px;
    }
}

/* ========================================
   MEMORY LANE ENVIRONMENTAL OVERLAYS
   ======================================== */

.laz-env-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

/* Morning Environment */
.ml-morning {
    background: linear-gradient(135deg, rgba(255, 240, 220, 0.08) 0%, transparent 50%) !important;
}

.laz-env-morning .laz-env-rays {
    position: absolute;
    top: 0;
    left: -20%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 220, 180, 0.15) 0%, transparent 100%);
    transform: skewX(-15deg);
    animation: morningRays 8s ease-in-out infinite;
}

@keyframes morningRays {
    0%, 100% { opacity: 0.5; transform: skewX(-15deg) translateX(0); }
    50% { opacity: 0.8; transform: skewX(-15deg) translateX(10px); }
}

.laz-env-morning .laz-env-mist {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    animation: mistFloat 12s ease-in-out infinite;
}

@keyframes mistFloat {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.5; transform: translateY(-10px); }
}

/* Afternoon Environment */
.ml-afternoon {
    background: linear-gradient(180deg, rgba(255, 200, 100, 0.06) 0%, transparent 70%) !important;
}

.laz-env-afternoon .laz-env-golden-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 50% -20%, rgba(255, 200, 100, 0.12) 0%, transparent 60%);
}

.laz-env-afternoon .laz-env-dust {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.laz-env-afternoon .laz-env-dust::before,
.laz-env-afternoon .laz-env-dust::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 220, 180, 0.4);
    border-radius: 50%;
    animation: dustFloat 10s linear infinite;
}

.laz-env-afternoon .laz-env-dust::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.laz-env-afternoon .laz-env-dust::after {
    top: 40%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes dustFloat {
    0% { opacity: 0; transform: translateY(0) translateX(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(100px) translateX(20px); }
}

/* Evening Environment */
.ml-evening {
    background: linear-gradient(180deg, rgba(255, 140, 60, 0.05) 0%, rgba(80, 40, 20, 0.08) 100%) !important;
}

.laz-env-evening .laz-env-candles {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 8px;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.8) 0%, rgba(230, 220, 200, 0.6) 100%);
    border-radius: 2px 2px 4px 4px;
}

.laz-env-evening .laz-env-candles::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 12px;
    background: linear-gradient(180deg, rgba(255, 180, 80, 0.9) 0%, rgba(255, 120, 40, 0.7) 50%, transparent 100%);
    border-radius: 50% 50% 30% 30%;
    animation: candleFlicker 1.5s ease-in-out infinite;
}

.laz-env-evening .laz-env-warm-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 140, 60, 0.08) 100%);
}

/* Night Environment */
.ml-night {
    background: linear-gradient(180deg, rgba(20, 30, 50, 0.15) 0%, rgba(10, 15, 30, 0.2) 100%) !important;
}

.laz-env-night .laz-env-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
}

.laz-env-night .laz-env-stars::before,
.laz-env-night .laz-env-stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: starTwinkle 3s ease-in-out infinite;
}

.laz-env-night .laz-env-stars::before {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.laz-env-night .laz-env-stars::after {
    top: 25%;
    left: 70%;
    animation-delay: 1.5s;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.3); }
}

.laz-env-night .laz-env-lanterns {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 20px;
    height: 30px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 4px 4px 50% 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    animation: lanternSway 5s ease-in-out infinite;
}

.laz-env-night .laz-env-lanterns::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: rgba(255, 200, 100, 0.6);
    border-radius: 50% 50% 40% 40%;
    box-shadow: 0 0 8px rgba(255, 200, 100, 0.4);
}

@keyframes lanternSway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

/* ========================================
   FAMILY & LEGACY SECTIONS
   ======================================== */

.laz-family-section,
.laz-legacy-section,
.laz-future-section,
.laz-keepsakes-section,
.laz-sharing-section {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.8) 0%, rgba(18, 18, 18, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.laz-family-section h3,
.laz-legacy-section h3,
.laz-future-section h3,
.laz-keepsakes-section h3,
.laz-sharing-section h3 {
    color: #d4af37;
    margin-bottom: 10px;
}

.section-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Family Members List */
.laz-family-members {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.laz-family-member {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.laz-family-member.laz-you {
    border-color: rgba(212, 175, 55, 0.3);
}

.laz-member-avatar {
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.laz-member-info {
    flex: 1;
}

.laz-member-info strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.laz-role-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.laz-role-badge.guardian {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

.laz-role-badge.contributor {
    background: rgba(100, 180, 100, 0.2);
    color: #8bc88b;
}

.laz-role-badge.visitor {
    background: rgba(150, 150, 200, 0.2);
    color: #a0a0d0;
}

.laz-role-badge.child-mode {
    background: rgba(200, 150, 200, 0.2);
    color: #d0a0d0;
}

.laz-member-status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Invite Form */
.laz-invite-family h4 {
    color: #fff;
    margin-bottom: 15px;
}

.laz-invite-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 10px;
}

.laz-invite-form input,
.laz-invite-form select {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.laz-invite-form button {
    grid-column: span 2;
}

.laz-invite-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-style: italic;
}

/* Permission Grid */
.laz-permission-info h4 {
    color: #fff;
    margin: 25px 0 15px;
}

.laz-permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.laz-perm-card {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.laz-perm-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
}

.laz-perm-card strong {
    color: #d4af37;
    display: block;
    margin-bottom: 8px;
}

.laz-perm-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* Legacy Steward */
.laz-legacy-steward h4 {
    color: #fff;
    margin-bottom: 10px;
}

.laz-steward-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.laz-steward-select {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.laz-steward-select select,
.laz-steward-select input {
    flex: 1;
    min-width: 200px;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.laz-legacy-message h4 {
    color: #fff;
    margin-bottom: 10px;
}

.laz-legacy-message textarea {
    width: 100%;
    min-height: 100px;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    padding: 12px;
}

/* Future Moments */
.laz-future-moments {
    margin-bottom: 25px;
}

.laz-no-moments {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 8px;
}

.laz-moment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.laz-moment-form input,
.laz-moment-form select,
.laz-moment-form textarea {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.laz-moment-form textarea {
    grid-column: span 2;
    min-height: 80px;
}

.laz-moment-form button {
    grid-column: span 2;
}

/* Export Grid */
.laz-export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.laz-export-card {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.laz-export-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.laz-export-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.laz-export-card h4 {
    color: #fff;
    margin-bottom: 10px;
}

.laz-export-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Sharing Modes */
.laz-sharing-modes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.laz-share-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.laz-share-option input[type="radio"] {
    margin-top: 5px;
    accent-color: #d4af37;
}

.laz-share-option label {
    flex: 1;
    cursor: pointer;
    padding: 15px;
    background: rgba(40, 40, 40, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.laz-share-option input:checked + label {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.05);
}

.laz-share-icon {
    font-size: 1.3rem;
    margin-right: 10px;
}

.laz-share-option strong {
    color: #fff;
}

.laz-share-desc {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 5px;
}

.laz-share-link-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.laz-share-link-container input {
    flex: 1;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d4af37;
}

/* Soft Reactions */
.laz-reactions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.laz-reaction {
    background: rgba(40, 40, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.laz-reaction:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.laz-reaction.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
}

/* Mobile Responsive for Family & Legacy */
@media (max-width: 768px) {
    .laz-invite-form {
        grid-template-columns: 1fr;
    }
    
    .laz-invite-form button {
        grid-column: 1;
    }
    
    .laz-steward-select {
        flex-direction: column;
    }
    
    .laz-moment-form {
        grid-template-columns: 1fr;
    }
    
    .laz-moment-form textarea,
    .laz-moment-form button {
        grid-column: 1;
    }
    
    .laz-permission-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .laz-export-grid {
        grid-template-columns: 1fr;
    }
}

/* Scheduled Moments Display */
.laz-scheduled-moment {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.laz-moment-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.laz-moment-details {
    flex: 1;
}

.laz-moment-details strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.laz-moment-details span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Notification Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SHARE MODE STYLES
   ======================================== */

.laz-share-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.laz-share-banner-icon {
    font-size: 1.3rem;
}

.laz-share-banner span:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

body.laz-share-mode .hero {
    padding-top: 80px;
}

body.laz-share-mode .main-nav {
    top: 48px;
}

.laz-share-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #1a1a1a;
}

.laz-share-error-content {
    text-align: center;
    padding: 50px;
    max-width: 400px;
}

.laz-share-error-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    opacity: 0.6;
}

.laz-share-error h2 {
    color: #d4af37;
    margin-bottom: 15px;
}

.laz-share-error p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* Ceremony mode - special styling */
body.laz-ceremony-mode {
    background: #0a0a0a;
}

body.laz-ceremony-mode .laz-share-banner {
    background: linear-gradient(135deg, rgba(100, 50, 50, 0.2) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-bottom-color: rgba(200, 150, 100, 0.3);
}

body.laz-ceremony-mode .hero {
    min-height: 100vh;
}

/* Share mode restrictions - hide edit buttons */
body.laz-share-private .btn[data-action*="edit"],
body.laz-share-private .btn[data-action*="delete"],
body.laz-share-ceremony .btn[data-action*="edit"],
body.laz-share-ceremony .btn[data-action*="delete"] {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUPPORT BEYOND MEMORY - Local Directory + Crisis Resources
   Design Tokens & Trauma-Informed Styling
   ═══════════════════════════════════════════════════════════════════════════ */

/* CSS Variables / Design Tokens */
:root {
    --support-bg-main: #0E0E11;
    --support-bg-card: #16161D;
    --support-bg-crisis: #1C1C24;
    --support-text-primary: #F1F1F3;
    --support-text-secondary: #CFCFD6;
    --support-text-muted: #9A9AA4;
    --support-accent-gold: #D4AF37;
    --support-accent-sage: #7FA89E;
    --support-accent-blue: #6B8CAE;
    --support-radius-card: 18px;
    --support-radius-crisis: 22px;
    --support-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.25);
    --support-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* ========================================
   SECTION A: Local Support Directory
   ======================================== */

.laz-support-directory {
    background: var(--support-bg-main);
    padding: 80px 20px;
    text-align: center;
}

.laz-support-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.laz-support-header {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--support-text-primary);
    margin-bottom: 16px;
}

.laz-support-subtext {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--support-text-secondary);
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Location Input Area */
.laz-location-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.laz-location-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.laz-zipcode-input {
    padding: 14px 20px;
    font-size: 1rem;
    background: var(--support-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: var(--support-text-primary);
    width: 180px;
    transition: all 200ms ease-out;
}

.laz-zipcode-input:focus {
    outline: none;
    border-color: var(--support-accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.laz-zipcode-input::placeholder {
    color: var(--support-text-muted);
}

.laz-search-btn {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--support-accent-gold), #c9a42e);
    border: none;
    border-radius: 12px;
    color: #0E0E11;
    cursor: pointer;
    transition: all 200ms ease-out;
}

.laz-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.laz-search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.laz-use-location-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid rgba(127, 168, 158, 0.4);
    border-radius: 20px;
    color: var(--support-accent-sage);
    cursor: pointer;
    transition: all 200ms ease-out;
}

.laz-use-location-btn:hover {
    border-color: var(--support-accent-sage);
    background: rgba(127, 168, 158, 0.1);
}

.laz-use-location-btn svg {
    stroke: var(--support-accent-sage);
}

/* Loading State */
.laz-directory-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 20px;
    color: var(--support-text-secondary);
}

.laz-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--support-accent-gold);
    border-radius: 50%;
    animation: laz-spin 1s linear infinite;
}

@keyframes laz-spin {
    to { transform: rotate(360deg); }
}

/* Directory Prompt State */
.laz-directory-prompt {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 200px;
    width: 100%;
}

.laz-prompt-icon {
    margin-bottom: 20px;
    opacity: 0.6;
}

.laz-prompt-icon svg {
    stroke: var(--support-accent-gold);
}

.laz-prompt-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--support-text-muted);
    max-width: 400px;
    text-align: center;
}

/* Filter Pills */
.laz-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.laz-filter-pill {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--support-text-secondary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 200ms ease-out;
}

.laz-filter-pill:hover {
    border-color: var(--support-accent-gold);
    color: var(--support-text-primary);
}

.laz-filter-pill.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--support-accent-gold);
    color: var(--support-accent-gold);
}

/* Directory Cards Container */
.laz-directory-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

.laz-directory-scroll::-webkit-scrollbar {
    height: 6px;
}

.laz-directory-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.laz-directory-scroll::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}

/* Directory Card */
.laz-directory-card {
    flex: 0 0 280px;
    background: var(--support-bg-card);
    border-radius: var(--support-radius-card);
    border: 1px solid transparent;
    box-shadow: var(--support-shadow-soft);
    overflow: hidden;
    scroll-snap-align: start;
    transition: all 200ms ease-out;
    text-align: left;
}

.laz-directory-card:hover {
    transform: translateY(-2px);
    border-color: var(--support-accent-gold);
    box-shadow: var(--support-shadow-hover);
}

.laz-directory-image {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #1a1a20 0%, #252530 100%);
    position: relative;
    overflow: hidden;
}

.laz-directory-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.05) 0%, 
        rgba(127, 168, 158, 0.08) 50%,
        rgba(107, 140, 174, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.laz-directory-placeholder::after {
    content: '';
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
}

.laz-directory-content {
    padding: 20px;
}

.laz-directory-name {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--support-text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.laz-directory-distance {
    font-size: 0.85rem;
    color: var(--support-text-muted);
    margin-bottom: 12px;
}

.laz-directory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.laz-directory-tag {
    background: rgba(212, 175, 55, 0.1);
    color: var(--support-accent-gold);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.laz-directory-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0;
}

.laz-star {
    color: rgba(212, 175, 55, 0.3);
    font-size: 0.9rem;
}

.laz-star.filled {
    color: var(--support-accent-gold);
}

.laz-rating-text {
    font-size: 0.8rem;
    color: var(--support-text-muted);
}

.laz-directory-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.laz-directory-cta {
    display: inline-block;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--support-accent-gold);
    border-radius: 20px;
    color: var(--support-accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 200ms ease-out;
    text-decoration: none;
    text-align: center;
}

.laz-directory-cta:hover {
    background: rgba(212, 175, 55, 0.15);
}

.laz-directory-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.laz-cta-phone {
    background: rgba(127, 168, 158, 0.1);
    border-color: rgba(127, 168, 158, 0.5);
    color: var(--support-accent-sage);
}

.laz-cta-phone:hover {
    background: rgba(127, 168, 158, 0.2);
    border-color: var(--support-accent-sage);
}

.laz-tag-partner {
    background: rgba(212, 175, 55, 0.2);
    color: var(--support-accent-gold);
}

/* Empty State */
.laz-directory-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--support-text-secondary);
}

.laz-directory-empty p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.laz-directory-empty .laz-directory-cta {
    width: auto;
    display: inline-block;
}

/* Directory Footer */
.laz-directory-footer {
    font-size: 0.8rem;
    color: var(--support-text-muted);
    margin-top: 30px;
}

/* ========================================
   SECTION B: Crisis Support
   ======================================== */

.laz-crisis-support {
    background: var(--support-bg-crisis);
    padding: 80px 20px;
    text-align: center;
}

.laz-crisis-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.laz-crisis-header {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--support-text-primary);
    margin-bottom: 16px;
}

.laz-crisis-subtext {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--support-text-secondary);
    margin-bottom: 50px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Crisis Cards Grid */
.laz-crisis-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Crisis Card (No hover animation - trauma-safe) */
.laz-crisis-card {
    background: var(--support-bg-card);
    border-radius: var(--support-radius-crisis);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--support-shadow-soft);
}

.laz-crisis-icon {
    margin-bottom: 20px;
    color: var(--support-text-secondary);
}

.laz-crisis-icon svg {
    opacity: 0.7;
}

.laz-crisis-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--support-text-primary);
    margin-bottom: 12px;
}

.laz-crisis-body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--support-text-secondary);
    margin-bottom: 24px;
}

/* Crisis Buttons - Pill shaped, calm colors */
.laz-crisis-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 200ms ease;
    border: none;
    min-height: 44px;
}

.laz-crisis-btn-primary {
    background: var(--support-accent-gold);
    color: #0E0E11;
}

.laz-crisis-btn-primary:hover {
    background: #c9a432;
}

.laz-crisis-btn-secondary {
    background: var(--support-accent-blue);
    color: #fff;
}

.laz-crisis-btn-secondary:hover {
    background: #5d7ea0;
}

.laz-crisis-btn-tertiary {
    background: var(--support-accent-sage);
    color: #0E0E11;
}

.laz-crisis-btn-tertiary:hover {
    background: #6e9890;
}

.laz-crisis-note {
    font-size: 0.8rem;
    color: var(--support-text-muted);
    margin-top: 16px;
}

.laz-crisis-footer {
    font-size: 0.8rem;
    color: var(--support-text-muted);
}

/* ========================================
   SECTION C: Role Clarity
   ======================================== */

.laz-role-clarity {
    background: linear-gradient(180deg, var(--support-bg-crisis) 0%, var(--support-bg-main) 100%);
    padding: 60px 20px 80px;
    text-align: center;
}

.laz-role-inner {
    max-width: 900px;
    margin: 0 auto;
}

.laz-role-header {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--support-text-primary);
    margin-bottom: 40px;
}

/* Role Diagram */
.laz-role-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.laz-role-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(22, 22, 29, 0.6);
    padding: 16px 24px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.laz-role-icon {
    color: var(--support-accent-gold);
    flex-shrink: 0;
}

.laz-role-text {
    text-align: left;
}

.laz-role-text h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--support-text-primary);
    margin-bottom: 4px;
}

.laz-role-text p {
    font-size: 0.85rem;
    color: var(--support-text-secondary);
    line-height: 1.5;
}

.laz-role-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.laz-role-closing {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--support-text-secondary);
    font-style: italic;
}

/* Support Footer Note */
.laz-support-footer-note {
    background: var(--support-bg-main);
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.laz-support-footer-note p {
    font-size: 0.75rem;
    color: var(--support-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Crisis Modal
   ======================================== */

.laz-crisis-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laz-crisis-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.laz-crisis-modal-content {
    position: relative;
    background: var(--support-bg-card);
    border-radius: var(--support-radius-crisis);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 300ms ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.laz-crisis-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--support-text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
}

.laz-crisis-modal-close:hover {
    color: var(--support-text-primary);
}

/* Modal Content Styles */
.laz-crisis-modal h3 {
    font-size: 1.3rem;
    color: var(--support-text-primary);
    margin-bottom: 16px;
}

.laz-crisis-modal p {
    font-size: 1rem;
    color: var(--support-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.laz-crisis-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.laz-crisis-modal-btn {
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 200ms ease;
}

.laz-crisis-modal-btn-primary {
    background: var(--support-accent-gold);
    color: #0E0E11;
}

.laz-crisis-modal-btn-secondary {
    background: transparent;
    border: 1px solid var(--support-accent-gold);
    color: var(--support-accent-gold);
}

/* ========================================
   STEP A: VISUAL POLISH & TRANSITIONS
   ======================================== */

/* Scroll-based Hero Particle Fade */
.laz-hero-particles {
    transition: opacity 800ms ease-out;
}

.laz-hero.scrolled-past .laz-hero-particles {
    opacity: 0.3;
}

.laz-hero.scrolled-deep .laz-hero-particles {
    opacity: 0.1;
}

/* Hero Content Fade on Scroll */
.laz-hero-content {
    transition: opacity 600ms ease, transform 600ms ease;
}

.laz-hero.scrolled-past .laz-hero-content {
    opacity: 0.6;
    transform: translateY(-20px);
}

/* Smooth Section Reveal Animation */
.laz-section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 800ms ease-out, transform 800ms ease-out;
}

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

/* Memory Lane → Support Transition Gradient */
.laz-transition-warmth {
    position: relative;
}

.laz-transition-warmth::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.02) 30%,
        rgba(127, 168, 158, 0.03) 70%,
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Typography Micro-Adjustments (Lower Page = Calmer) */
.laz-typography-calm .laz-section-title {
    letter-spacing: 0.02em;
}

.laz-typography-calm .laz-section-subtitle {
    line-height: 1.8;
    letter-spacing: 0.01em;
}

/* ========================================
   STEP A: WELCOME ANCHOR (Home Screen Feel)
   ======================================== */

.laz-welcome-anchor {
    padding: 80px 20px 40px;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0c 0%, #0d0d10 100%);
    position: relative;
    overflow: hidden;
}

.laz-welcome-anchor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(127, 168, 158, 0.01) 0%, transparent 40%);
    pointer-events: none;
}

.laz-welcome-text {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    animation: welcomeFadeIn 1.5s ease-out;
}

.laz-welcome-name {
    color: #d4af37;
    font-weight: 300;
}

@keyframes welcomeFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.laz-welcome-subtext {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    letter-spacing: 0.03em;
    animation: welcomeFadeIn 1.5s ease-out 0.3s backwards;
}

/* ========================================
   STEP B: ENHANCED PRESENCE SYSTEM
   ======================================== */

/* Symbolic Presence (Default Mode) - Light-formed, gentle */
.laz-ml-presence {
    position: relative;
    width: 180px;
    height: 280px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laz-ml-presence-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(212, 175, 55, 0.15) 0%,
        rgba(212, 175, 55, 0.08) 30%,
        rgba(212, 175, 55, 0.02) 60%,
        transparent 80%);
    filter: blur(20px);
    animation: presenceBreathing 4s ease-in-out infinite;
}

@keyframes presenceBreathing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.laz-ml-presence-figure {
    position: relative;
    width: 80px;
    height: 200px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.06) 0%,
        rgba(212, 175, 55, 0.12) 30%,
        rgba(212, 175, 55, 0.08) 70%,
        transparent 100%);
    border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
    filter: blur(8px);
    animation: figureWarmth 5s ease-in-out infinite;
}

@keyframes figureWarmth {
    0%, 100% {
        filter: blur(8px);
        opacity: 0.7;
    }
    50% {
        filter: blur(6px);
        opacity: 0.9;
    }
}

.laz-ml-presence-aura {
    position: absolute;
    width: 160px;
    height: 260px;
    background: radial-gradient(ellipse at center,
        transparent 40%,
        rgba(212, 175, 55, 0.04) 60%,
        rgba(212, 175, 55, 0.08) 80%,
        transparent 100%);
    animation: auraExpand 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes auraExpand {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

/* Presence connection particles */
.laz-ml-presence::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(212, 175, 55, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.15) 1px, transparent 1px);
    animation: connectionParticles 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes connectionParticles {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
        opacity: 0.7;
    }
}

/* Enhanced Voice Orb */
.laz-ml-voice-orb {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laz-ml-orb-core {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 40% 40%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(212, 175, 55, 0.8) 40%,
        rgba(212, 175, 55, 0.4) 70%,
        transparent 100%);
    border-radius: 50%;
    animation: orbPulse 2s ease-in-out infinite;
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 0.3),
        0 0 60px rgba(212, 175, 55, 0.15);
}

@keyframes orbPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(212, 175, 55, 0.3),
            0 0 60px rgba(212, 175, 55, 0.15);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 
            0 0 50px rgba(212, 175, 55, 0.5),
            0 0 100px rgba(212, 175, 55, 0.25);
    }
}

.laz-ml-orb-ring {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: orbRingExpand 3s ease-out infinite;
}

.laz-ml-orb-ring:nth-child(1) { 
    width: 70px; height: 70px; 
    animation-delay: 0s; 
}
.laz-ml-orb-ring:nth-child(2) { 
    width: 90px; height: 90px; 
    animation-delay: 1s; 
}
.laz-ml-orb-ring:nth-child(3) { 
    width: 110px; height: 110px; 
    animation-delay: 2s; 
}

@keyframes orbRingExpand {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ========================================
   STEP C: EMOTIONAL ENTRY CARDS
   ======================================== */

.laz-entry-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.laz-entry-card {
    flex: 1;
    min-width: 260px;
    max-width: 320px;
    padding: 40px 30px;
    background: linear-gradient(180deg, #16161D 0%, #12121a 100%);
    border-radius: 20px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 400ms ease;
    position: relative;
    overflow: hidden;
}

.laz-entry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(180deg, 
        rgba(212, 175, 55, 0.1) 0%,
        transparent 50%,
        rgba(212, 175, 55, 0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 400ms ease;
}

.laz-entry-card:hover::before {
    opacity: 1;
}

.laz-entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.laz-entry-card-primary {
    background: linear-gradient(180deg, #1a1a24 0%, #14141c 100%);
}

.laz-entry-card-primary::before {
    background: linear-gradient(180deg, 
        rgba(212, 175, 55, 0.3) 0%,
        rgba(212, 175, 55, 0.1) 50%,
        rgba(212, 175, 55, 0.15) 100%);
    opacity: 0.5;
}

.laz-entry-card-primary:hover::before {
    opacity: 1;
}

.laz-entry-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.laz-entry-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #F1F1F3;
    margin-bottom: 10px;
}

.laz-entry-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Memory Lane Primary Entry */
.laz-ml-entry-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom,
        rgba(212, 175, 55, 0.08) 0%,
        transparent 60%);
    pointer-events: none;
    transition: opacity 400ms ease;
    opacity: 0;
}

.laz-entry-card:hover .laz-ml-entry-glow {
    opacity: 1;
}

/* ========================================
   STEP A: FOOTER EMOTIONAL CLOSURE
   ======================================== */

.laz-emotional-footer {
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, #0a0a0c 0%, #050507 100%);
    text-align: center;
}

.laz-footer-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.laz-footer-trust-item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    font-weight: 300;
}

.laz-footer-reassurance {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   Scroll Fade-In Animation
   ======================================== */

.laz-fade-in-scroll {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 400ms ease, transform 400ms ease;
}

.laz-fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Mobile Responsive - Support Sections
   ======================================== */

@media (max-width: 768px) {
    .laz-support-directory,
    .laz-crisis-support {
        padding: 60px 16px;
    }

    .laz-support-header,
    .laz-crisis-header {
        font-size: 1.5rem;
    }

    .laz-role-header {
        font-size: 1.3rem;
    }

    .laz-filter-pills {
        gap: 8px;
    }

    .laz-filter-pill {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .laz-directory-card {
        flex: 0 0 260px;
    }

    .laz-crisis-cards {
        grid-template-columns: 1fr;
    }

    .laz-role-diagram {
        flex-direction: column;
        gap: 16px;
    }

    .laz-role-connector {
        width: 2px;
        height: 24px;
        background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    }

    .laz-role-item {
        width: 100%;
        justify-content: flex-start;
    }

    .laz-crisis-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
}
