/* ========================================
   Gallery Styles
   ======================================== */
.gallery-header {
    background: var(--bg-secondary);
    border: 1px solid var(--base01);
    min-height: auto;
}

.gallery-hero-cat {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--orange-yellow);
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: all var(--transition-speed) ease;
}

.gallery-hero-cat:hover {
    transform: scale(1.05);
    border-color: var(--cyan);
}

#more-cats-btn {
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all var(--transition-speed) ease;
}

#more-cats-btn:hover {
    background-color: var(--orange-yellow) !important;
    border-color: var(--orange-yellow) !important;
    color: var(--text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

#more-cats-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Infinite cats loading animation */
#additional-cats-container .gallery-grid {
    transition: all 0.6s ease;
}

#additional-cats-container .gallery-item {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for button */
#more-cats-btn:disabled {
    background-color: var(--orange-yellow) !important;
    border-color: var(--orange-yellow) !important;
    color: var(--text-light) !important;
    opacity: 0.8;
}

/* ========================================
   Enhanced Theme-Aware Components
   ======================================== */

/* Hero section theme awareness */
.hero-bg-image::before {
    background: rgba(0, 43, 54, 0.6);
    transition: background var(--transition-speed) ease;
}

/* Hero Section Light Theme */
[data-theme="light"] .hero-section {
    background: var(--bg-secondary);
}

/* Gallery header theme awareness */
.gallery-header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

/* Footer theme awareness */
.footer-custom {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

/* Sidebar theme awareness */
.sidebar-container {
    background: var(--bg-secondary);
    border-right: 2px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

/* List group theme awareness */
.list-group-item {
    background-color: transparent;
    border-color: var(--border-light);
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.list-group-item:hover {
    background-color: var(--bg-hover);
    color: var(--orange-yellow);
}

/* Gallery item theme awareness */
.gallery-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.gallery-item:hover {
    border-color: var(--orange-yellow);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* Gallery overlay theme awareness */
.gallery-overlay {
    background: rgba(0, 43, 54, 0.85);
    transition: background var(--transition-speed) ease;
}

[data-theme="light"] .gallery-overlay {
    background: rgba(253, 246, 227, 0.9);
}

/* Clock container theme awareness */
#clock {
    background-color: var(--bg-secondary);
    border: 2px solid var(--bg-accent);
    transition: all var(--transition-speed) ease;
}

/* Text color theme awareness */
#time {
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

#date {
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
}

/* Social icon theme awareness */
.footer-social-icon {
    transition: all var(--transition-speed) ease;
}

.footer-social-icon:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

/* ========================================
