/* 
   M.C.A. Hogarth Gallery - Clean Landing Page CSS
   Uses existing time-based color system for seamless integration
   
   This CSS extends time-based-gallery.css with landing page components
   All colors use safe CSS custom properties that adapt automatically
*/

/* =================================
   STATUS MESSAGES
   ================================= */

.status-message {
    padding: 12px 0;
    margin-bottom: 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    border: 2px solid var(--panel-border-color);
    position: relative;
    z-index: 10;
}

.status-message.status-success {
    background-color: var(--speech-bg-color);
    color: var(--text-color);
    border-left: 4px solid var(--button-color);
}

.status-message.status-error {
    background-color: var(--panel-bg-color);
    color: var(--text-color);
    border-left: 4px solid #d63384;
}

.status-message.status-info {
    background-color: var(--speech-bg-color);
    color: var(--text-color-secondary);
    border-left: 4px solid var(--panel-border-color);
}

.status-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.status-icon {
    flex-shrink: 0;
    font-size: 16px;
}

.status-text {
    flex-grow: 1;
    text-align: center;
    font-weight: 500;
    color: var(--text-color);
}

.status-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    flex-shrink: 0;
    color: var(--text-color-secondary);
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.status-close:hover {
    opacity: 1;
    background-color: var(--panel-highlight);
}

/* =================================
   ANNOUNCEMENTS BAR
   ================================= */

.announcements-bar {
    background: linear-gradient(135deg, var(--header-footer-bg), var(--panel-highlight-border));
    color: var(--featured-text);
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 0;
    border-bottom: 1px solid var(--panel-border-color);
    font-family: 'Georgia', serif;
}

.announcement-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0;
}

.announcement-icon {
    font-size: 1.1em;
}

.announcement-date {
    font-size: 0.9em;
    opacity: 0.8;
    margin-left: 10px;
}

.notification-announcement {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    margin: 4px 0;
}

/* =================================
   USER CONTEXT BAR
   ================================= */

.user-context-bar {
    background-color: var(--panel-bg-color);
    padding: 12px 20px;
    text-align: center;
    border-bottom: 2px solid var(--panel-border-color);
    font-weight: 600;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
}

.context-link {
    color: var(--header-footer-bg);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.context-link:hover {
    color: var(--button-color);
    text-decoration: none;
}

.benefits-link {
    background-color: var(--button-color);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.benefits-link:hover {
    background-color: var(--panel-highlight);
    transform: translateY(-1px);
}

.supporter-badge {
    background-color: var(--panel-highlight);
    color: var(--featured-text);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 10px;
}

/* =================================
   MODERN HERO SECTION
   ================================= */

.modern-hero {
    background: linear-gradient(135deg, var(--header-footer-bg) 0%, var(--panel-highlight-border) 100%);
    color: var(--featured-text);
    border-radius: 12px;
    margin: 20px auto 30px auto;
    max-width: 1200px;
    padding: 25px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-content {
    text-align: center;
}

.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.welcome-text {
    margin-bottom: 5px;
}

.welcome-text h1 {
    font-size: 1.8rem;
    color: var(--featured-text);
    margin-bottom: 8px;
    font-family: 'Georgia', serif;
    font-weight: normal;
}

.stats-bar {
    display: flex;
    gap: 20px;
    font-size: 0.875rem;
    color: var(--featured-text);
    flex-wrap: wrap;
    align-items: center;
}

.stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.stat-icon {
    width: 12px;
    height: 12px;
    background: var(--button-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.stat strong {
    color: var(--button-color);
    font-weight: 700;
}

.search-section {
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.landing-search-form {
    display: flex;
    gap: 12px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--button-color);
    background: rgba(255, 255, 255, 1);
}

.search-btn {
    background: var(--button-color);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
}

.search-btn:hover {
    background: var(--panel-highlight);
}

.filter-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--featured-text);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'Georgia', serif;
}

.filter-tag:hover, .filter-tag.active {
    background: var(--button-color);
    color: var(--text-color);
    border-color: var(--button-color);
    text-decoration: none;
}

.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.action-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: 'Georgia', serif;
}

.action-btn:hover {
    background: var(--button-color);
    color: var(--text-color);
    border-color: var(--button-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-decoration: none;
}

.action-btn.primary {
    background: var(--button-color);
    color: var(--text-color);
    border-color: var(--button-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.action-btn.primary:hover {
    background: var(--panel-highlight);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* =================================
   FEATURED ARTWORK SECTION
   ================================= */

.featured-artwork-section {
    background: var(--speech-bg-color);
    border: 2px solid var(--panel-border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.featured-artwork {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    text-align: center;
}

.featured-image-container {
    width: 100%;
    max-width: 500px;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    order: 1;
}

.featured-image-container:hover {
    transform: scale(1.02);
}

.featured-image-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    background-color: var(--panel-bg-color);
    border-radius: 12px;
}

.featured-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 2;
}

.featured-content h3 {
    color: var(--header-footer-bg);
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-family: 'Georgia', serif;
    text-align: center;
    order: 1;
}

.featured-meta {
    color: var(--text-color-secondary);
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
    text-align: center;
    order: 2;
}

.featured-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    order: 5;
}

.featured-favorite-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.favorite-popularity {
    font-size: 0.85rem;
    color: var(--text-color-secondary);
    font-style: italic;
    font-family: 'Georgia', serif;
}

/* =================================
   NOTIFICATIONS SECTION
   ================================= */

.notifications-section {
    background: var(--speech-bg-color);
    border: 2px solid var(--panel-border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: var(--panel-bg-color);
    border: 1px solid var(--panel-border-color);
    border-radius: 10px;
    border-left: 4px solid var(--button-color);
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: var(--panel-highlight);
    border-color: var(--panel-highlight-border);
    transform: translateY(-1px);
}

.notification-item.announcement {
    border-left-color: var(--button-color);
}

.notification-item.notification {
    border-left-color: var(--featured-text);
}

.notification-item.welcome {
    border-left-color: var(--panel-highlight);
}

.notification-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--speech-bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.notification-content h4 {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Georgia', serif;
}

.notification-content p {
    color: var(--text-color-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 8px;
    font-family: 'Georgia', serif;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-color-secondary);
    opacity: 0.8;
    font-family: 'Georgia', serif;
}

/* =================================
   DISCOVERY GRID
   ================================= */

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

.discovery-section {
    background: var(--speech-bg-color);
    border: 2px solid var(--panel-border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.modern-image-card {
    background: var(--panel-bg-color);
    border: 2px solid var(--panel-border-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.modern-image-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: var(--header-footer-bg);
}

.card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--speech-bg-color);
}

.card-content {
    padding: 12px;
}

.card-title {
    font-weight: 600;
    color: var(--header-footer-bg);
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-family: 'Georgia', serif;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-color-secondary);
    font-family: 'Georgia', serif;
}

/* =================================
   CURRENT PROJECT SECTION
   ================================= */

.current-project-section {
    background: var(--speech-bg-color);
    border: 2px solid var(--panel-border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-info h3 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--header-footer-bg);
    font-size: 1.4rem;
    font-family: 'Georgia', serif;
}

.project-info p {
    color: var(--text-color-secondary);
    font-size: 0.875rem;
    margin-bottom: 20px;
    line-height: 1.5;
    font-family: 'Georgia', serif;
}

.project-stats {
    display: flex;
    gap: 30px;
    padding: 20px;
    background: var(--panel-bg-color);
    border-radius: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.stat-item {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-color-secondary);
    font-family: 'Georgia', serif;
}

.stat-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--header-footer-bg);
    margin-bottom: 4px;
}

.recent-pages h4 {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

/* =================================
   VISITOR VERSION - HERO
   ================================= */

.landing-hero {
    background: linear-gradient(135deg, var(--header-footer-bg) 0%, var(--panel-highlight-border) 100%);
    color: var(--featured-text);
    text-align: center;
    border-radius: 12px;
    margin: 20px auto 40px auto;
    max-width: 1200px;
    padding: 25px 30px;
    transition: all 0.3s ease;
}

.hero-container {
    text-align: center;
}

.hero-content {
    text-align: center;
}

.landing-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
    color: var(--featured-text);
}

.hero-tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
    color: var(--featured-text);
    font-family: 'Georgia', serif;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
    color: var(--button-color);
}

.stat-label {
    color: var(--featured-text);
    opacity: 0.9;
}

/* =================================
   VISITOR VERSION - MAIN CONTENT
   ================================= */

.landing-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.landing-section {
    margin-bottom: 50px;
}

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

.section-title {
    font-size: 1.3rem;
    color: var(--header-footer-bg);
    margin: 0;
    font-weight: 600;
    font-family: 'Georgia', serif;
    letter-spacing: 0.3px;
}

.section-subtitle {
    color: var(--text-color-secondary);
    font-size: 1.1rem;
    font-style: italic;
    font-family: 'Georgia', serif;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.section-action {
    color: var(--button-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    font-family: 'Georgia', serif;
}

.section-action:hover {
    color: var(--panel-highlight);
    text-decoration: underline;
}

/* =================================
   VISITOR VERSION - PREVIEW GRID
   ================================= */

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.preview-card {
    background-color: var(--speech-bg-color);
    border: 2px solid var(--panel-border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--header-footer-bg);
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--speech-bg-color);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--panel-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-secondary);
    font-style: italic;
    text-align: center;
    font-family: 'Georgia', serif;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 10px;
    font-size: 0.9rem;
    font-family: 'Georgia', serif;
}

.preview-category {
    opacity: 0.8;
    font-size: 0.8rem;
}

/* =================================
   VISITOR VERSION - CONVERSION
   ================================= */

.conversion-prompt {
    background: linear-gradient(135deg, var(--button-color) 0%, var(--panel-highlight) 100%);
    border: 2px solid var(--panel-highlight-border);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.prompt-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Georgia', serif;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--header-footer-bg);
    color: var(--featured-text);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Georgia', serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--panel-highlight-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--featured-text);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Georgia', serif;
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--speech-bg-color);
    text-decoration: none;
}

/* =================================
   VISITOR VERSION - VALUE SECTION
   ================================= */

.value-section {
    background-color: var(--speech-bg-color);
    border: 2px solid var(--panel-border-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.value-title {
    font-size: 1.8rem;
    color: var(--header-footer-bg);
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Georgia', serif;
}

.value-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.value-point {
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.value-point h3 {
    color: var(--header-footer-bg);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-family: 'Georgia', serif;
}

.value-point p {
    color: var(--text-color-secondary);
    line-height: 1.5;
    font-family: 'Georgia', serif;
}

/* =================================
   MOBILE RESPONSIVE DESIGN
   ================================= */

@media (max-width: 768px) {
    .announcements-bar,
    .user-context-bar {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .announcement-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .announcement-date {
        margin-left: 0;
    }
    
    .modern-hero,
    .landing-hero {
        padding: 18px 20px;
        margin: 15px auto 25px auto;
    }
    
    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .welcome-text h1,
    .landing-hero h1 {
        font-size: 1.5rem;
    }
    
    .stats-bar,
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .search-container,
    .landing-search-form {
        flex-direction: column;
        gap: 8px;
    }
    
    .quick-actions {
        justify-content: center;
        gap: 10px;
    }
    
    .action-btn {
        flex: 1;
        justify-content: center;
        min-width: auto;
    }
    
    .featured-artwork-section,
    .notifications-section,
    .discovery-section,
    .current-project-section {
        padding: 18px;
    }
    
    .landing-main-content {
        padding: 25px 15px;
    }
    
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .discovery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .image-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .featured-image-container {
        max-width: 300px;
    }
    
    .featured-image-container img {
        max-height: 250px;
    }
    
    .featured-content h3 {
        font-size: 1.5rem;
    }
    
    .featured-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .value-section {
        padding: 25px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .status-message {
        margin-bottom: 12px;
        font-size: 13px;
    }
    
    .status-content {
        padding: 0 15px;
        gap: 6px;
    }
    
    .status-icon {
        font-size: 14px;
    }
    
    .status-close {
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .modern-hero,
    .landing-hero {
        padding: 15px;
    }
    
    .stats-bar,
    .hero-stats {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .hero-stats {
        align-items: center;
    }
    
    .quick-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .landing-section {
        margin-bottom: 30px;
    }
}

/* =================================
   THEME COMPATIBILITY
   ================================= */

/* Night mode enhancements */
.theme-night .modern-hero,
.theme-night .landing-hero {
    filter: brightness(0.9) contrast(1.1);
}

.theme-night .notification-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.theme-night .notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.theme-night .status-message {
    filter: brightness(0.9) contrast(1.1);
}

/* Evening mode adjustments */
.theme-evening .modern-hero,
.theme-evening .landing-hero {
    filter: brightness(0.95) contrast(1.05);
}

.theme-evening .status-message {
    filter: brightness(0.95) contrast(1.05);
}

/* Evening/Night theme stats readability fixes */
body.theme-evening .stat-number,
body.theme-night .stat-number {
    color: #FFD700 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

body.theme-evening .stat-label,
body.theme-night .stat-label {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    opacity: 1 !important;
}

body.theme-evening .hero-stats,
body.theme-night .hero-stats,
body.theme-evening .stats-bar,
body.theme-night .stats-bar {
    background-color: rgba(93, 71, 119, 0.9);
    padding: 15px;
    border-radius: 8px;
}

/* Dawn mode adjustments */
.theme-dawn .status-message {
    border-color: var(--panel-highlight-border);
}

/* =================================
   STATS BAR FORCE OVERRIDE
   Critical fix for horizontal display
   ================================= */

/* Force the exact DOM path to display horizontally */
.modern-hero .hero-content .welcome-section .welcome-text .stats-bar,
.modern-hero .welcome-section .welcome-text .stats-bar,
section.modern-hero .stats-bar,
.stats-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    grid-template-columns: none !important;
    grid: none !important;
}

/* Force each stat to be inline */
.modern-hero .stats-bar .stat,
.stats-bar .stat,
div.stat {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
}

/* Force stat icons to be small and inline */
.stats-bar .stat .stat-icon,
.stat .stat-icon,
div.stat-icon {
    width: 12px !important;
    height: 12px !important;
    background: var(--button-color) !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force stat text to be inline */
.stats-bar .stat span,
.stat span {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    font-size: 0.875rem !important;
    color: var(--featured-text) !important;
    font-family: 'Georgia', serif !important;
}

/* Force strong elements to be inline */
.stats-bar .stat strong,
.stat strong {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    color: var(--button-color) !important;
    font-weight: 700 !important;
}

/* Remove any card/bubble styling that might be applied by other CSS */
.stats-bar * {
    box-sizing: border-box !important;
}

/* Ensure no grid layouts are applied */
.modern-hero .welcome-section,
.welcome-section {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
}

.welcome-text {
    flex-grow: 1 !important;
    margin-bottom: 5px !important;
}

/* =================================
   ACCESSIBILITY ENHANCEMENTS
   ================================= */

/* Focus states for keyboard navigation */
.preview-card:focus,
.modern-image-card:focus,
.action-btn:focus,
.btn-primary:focus,
.btn-secondary:focus,
.filter-tag:focus {
    outline: 3px solid var(--button-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .preview-card,
    .modern-image-card,
    .featured-artwork-section,
    .notifications-section,
    .discovery-section,
    .current-project-section {
        border-width: 3px;
    }
    
    .btn-primary,
    .btn-secondary,
    .action-btn {
        border-width: 3px;
    }
    
    .status-message {
        border-width: 3px;
    }
    
    .status-message.status-success,
    .status-message.status-error,
    .status-message.status-info {
        border-left-width: 6px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .preview-card,
    .modern-image-card,
    .action-btn,
    .btn-primary,
    .btn-secondary,
    .featured-image-container,
    .notification-item,
    .status-close {
        transition: none;
    }
    
    .preview-card:hover,
    .modern-image-card:hover,
    .action-btn:hover,
    .notification-item:hover {
        transform: none;
    }
}

/* Print styling */
@media print {
    .status-message {
        display: none;
    }
}