/* Updated theme: 96A78D, B6CEB4, D9E9CF, F0F0F0 */
:root {
    /* Color Palette */
    --background-color: #F0F0F0;
    --background-gradient: linear-gradient(135deg, #F0F0F0 0%, #D9E9CF 50%, #B6CEB4 100%);
    --card-color: #D9E9CF;
    --text-color: #1a202c;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    
    /* Primary Colors */
    --primary-color: #96A78D; /* sage */
    --primary-hover: #82997B; /* darker sage */
    --primary-light: #D9E9CF; /* light green */
    --accent-color: #B6CEB4; /* soft green */
    --accent-hover: #9FBA9E; /* darker accent */
    
    /* Status Colors */
    --success-color: #96A78D;
    --error-color: #ef4444;
    --warning-color: #B6CEB4;
    
    /* Borders & Shadows */
    --border-color: #D9E9CF;
    --border-light: #F0F0F0;
    --shadow-sm: 0 1px 2px 0 rgba(150, 167, 141, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(150, 167, 141, 0.1), 0 2px 4px -1px rgba(150, 167, 141, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(150, 167, 141, 0.1), 0 4px 6px -2px rgba(150, 167, 141, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(150, 167, 141, 0.1), 0 10px 10px -5px rgba(150, 167, 141, 0.04);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #F0F0F0 0%, #D9E9CF 50%, #B6CEB4 100%);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--border-light);
}

::-webkit-scrollbar-thumb {
    background: rgba(150, 167, 141, 0.3);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 167, 141, 0.5);
}

/* Navigation Bar */
.navbar {
    background: white;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--spacing-md) 0;
    box-shadow: 0 4px 6px -1px rgba(150, 167, 141, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.social-icon {
    color: var(--primary-color);
    transition: var(--transition-fast);
    filter: brightness(1.2) contrast(1.1);
}

.social-icon:hover {
    color: var(--primary-hover);
    transform: translateY(-2px);
    filter: brightness(1.3) contrast(1.2);
}

.nav-left .brand-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-logo {
    height: 32px;
    width: 32px;
    margin-right: var(--spacing-sm);
    border-radius: 50%;
    object-fit: cover;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-center .logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.nav-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.stats-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #ffffff;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(150, 167, 141, 0.3);
    box-shadow: 0 2px 4px rgba(150, 167, 141, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s infinite linear;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #ffffff, #F0F0F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl) auto;
}

.contact-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--spacing-md);
    text-align: center;
    font-weight: 500;
}

.instagram-link {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.instagram-link:hover {
    color: var(--primary-light);
}

.instagram-link svg {
    width: 20px;
    height: 20px;
}
/* Search Container */
.search-container {
    max-width: 600px;
    margin: var(--spacing-2xl) auto var(--spacing-xl);
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: var(--spacing-md);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    z-index: 2;
}

#search-bar {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(240, 240, 240, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    border: 2px solid rgba(150, 167, 141, 0.2);
    border-radius: var(--radius-xl);
    box-sizing: border-box;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

#search-bar:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(217, 233, 207, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(150, 167, 141, 0.3), 0 0 0 3px rgba(150, 167, 141, 0.1);
}

#search-bar::placeholder {
    color: var(--text-muted);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-top: var(--spacing-sm);
    display: none;
    z-index: 10;
    border: 1px solid rgba(150, 167, 141, 0.2);
}

/* Feature Tags */
.feature-tags {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-xl);
    font-size: 0.925rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(150, 167, 141, 0.2);
    min-height: 44px;
    min-width: 44px;
}

.feature-tag:hover {
    background: rgba(150, 167, 141, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(150, 167, 141, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}



/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl) var(--spacing-2xl);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.gallery-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.results-count {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.view-controls {
    display: flex;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, rgba(150, 167, 141, 0.05), var(--border-light));
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
    border: 1px solid rgba(150, 167, 141, 0.1);
}

.view-btn {
    background: transparent;
    border: none;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.view-btn svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.view-btn.active {
    background: var(--card-color);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(150, 167, 141, 0.2);
}

.view-btn.active svg {
    color: var(--primary-color);
}

.view-btn:hover:not(.active) {
    background: rgba(150, 167, 141, 0.1);
}

/* Gallery Grid */
.prompt-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    transition: all var(--transition-normal);
}

.prompt-gallery.list-view {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.prompt-gallery.list-view .prompt-card {
    flex-direction: row;
    max-height: 250px;
}

.prompt-gallery.list-view .image-container {
    flex: 0 0 250px;
}

.prompt-gallery.list-view .prompt-card img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Prompt Cards */
.prompt-card {
    background: var(--card-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(150, 167, 141, 0.05);
    transition: all var(--transition-normal);
    border: 1px solid rgba(150, 167, 141, 0.1);
    position: relative;
    cursor: pointer;
}

.prompt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.prompt-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(150, 167, 141, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(150, 167, 141, 0.02), var(--card-color));
}

.prompt-card:hover::before {
    opacity: 0.05;
}

.image-container {
    position: relative;
    overflow: hidden;
    background: var(--border-light);
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(150, 167, 141, 0.05) 100%);
    pointer-events: none;
}

.prompt-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
    display: block;
}

.prompt-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: var(--spacing-md);
}

.prompt-text {
    flex-grow: 1;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(150, 167, 141, 0.1);
    background: linear-gradient(135deg, rgba(150, 167, 141, 0.02), transparent);
}

.action-button {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    min-width: 44px;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(150, 167, 141, 0.3), transparent);
    transition: left var(--transition-normal);
}

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

.action-button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-button.primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.action-button.primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.action-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.copy-button {
    flex-grow: 1;
    justify-content: center;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    background: var(--card-color);
    border-radius: var(--radius-xl);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    display: flex;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    border: 1px solid rgba(150, 167, 141, 0.2);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
    touch-action: manipulation;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

#modal-image {
    max-width: 60vw;
    max-height: 90vh;
    object-fit: contain;
}

.modal-info {
    padding: var(--spacing-2xl);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 400px;
    overflow: hidden;
}

#modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

#modal-prompt {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* iOS momentum */
}

.modal-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container,
    .hero-content,
    .demo-section,
    .main-content {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    .prompt-gallery {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .feature-tags {
        gap: var(--spacing-sm);
    }
    
    .feature-tag {
        font-size: 0.9rem;
        padding: 0.625rem 0.875rem;
    }
    
    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prompt-gallery {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .prompt-card img {
        height: 280px;
    }
    

    
    .modal-content {
        flex-direction: column;
        max-width: 95vw;
        max-height: 95vh;
    }
    
    #modal-image {
        max-width: 100vw;
        width: 100%;
        max-height: 50vh;
    }
    
    .modal-info {
        max-width: none;
        padding: var(--spacing-md);
        height: 45vh; /* ensure prompt area visible */
        overflow: hidden;
    }
    
    #modal-prompt {
        padding-right: 2px; /* avoid scrollbar overlay */
    }
    
    .nav-container {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
        align-items: center;
    }
    
    .nav-left {
        order: 1;
    }
    
    .nav-right {
        order: 2;
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    #search-bar {
        font-size: 16px; /* Prevent zoom on iOS */
        padding-left: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    #search-bar {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .card-content {
        padding: var(--spacing-md);
    }
    
    .feature-tags {
        justify-content: center;
    }

    .prompt-card img {
        height: 240px;
    }

    #modal-image {
        max-height: 45vh;
    }
    .modal-info {
        height: 50vh;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
    
    .scroll-section {
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-md) 0;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .prompt-card img {
        height: 200px;
    }
}

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

.prompt-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.prompt-card:nth-child(even) {
    animation-delay: 0.1s;
}

.prompt-card:nth-child(3n) {
    animation-delay: 0.2s;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, var(--border-light) 25%, var(--border-color) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Focus Styles for Accessibility */
.action-button:focus,
.view-btn:focus,
#search-bar:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(150, 167, 141, 0.2);
}

/* Print Styles */
@media print {
    .navbar, .hero-section, .search-container, .view-controls, .card-actions {
        display: none;
    }
    
    .prompt-gallery {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .prompt-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

/* Footer */
.footer {
    background: var(--background-color);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-text {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-credit {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

/* Scroll Section */
.scroll-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-xl) 0;
    display: flex;
    justify-content: flex-end;
}

/* Scroll to Top Button */
.scroll-to-top {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scroll-to-top:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}