/* Import fonts first */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Oswald:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; /* Account for taller fixed header + margin */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden;
    padding-top: 120px; /* Account for taller fixed header */
}

/* Subtle section dividers */
section {
    position: relative;
}

section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 50%, transparent 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.social-link:hover {
    opacity: 1;
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.social-link.donate-link {
    background: rgba(255,107,107,0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.social-link.donate-link:hover {
    background: rgba(255,107,107,1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,107,0.3);
}

.main-header .container {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    padding: 0 2.5rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.header-bottom {
    display: flex;
    justify-content: center;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.2);
    line-height: 1;
    letter-spacing: 1px;
}

.logo h1 .is-highlight {
    color: #ff6b6b;
    text-shadow: 3px 3px 0px rgba(255, 107, 107, 0.2);
}

.logo .tagline {
    font-size: 0.85rem;
    opacity: 0.85;
    font-style: italic;
    margin-top: 0.3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    position: relative;
    top: 4.5px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    position: relative;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.main-nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.main-nav a:active {
    transform: translateY(0);
}

/* Navigation divider */
.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}


/* Graffiti Typography */

.graffiti-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 4rem;
    line-height: 0.9;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(52, 152, 219, 0.3);
    color: #333;
    margin-bottom: 2rem;
}

.hero .graffiti-title {
    color: #333;
    text-shadow: 2px 2px 0px rgba(52, 152, 219, 0.3);
}

.graffiti-section-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.8rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    text-shadow: 2px 2px 0px rgba(52, 152, 219, 0.2);
}

.highlight-text {
    color: #ff6b6b;
    text-shadow: 3px 3px 0px rgba(255, 107, 107, 0.3);
}

.hero .highlight-text {
    color: #e74c3c;
    text-shadow: 2px 2px 0px rgba(231, 76, 60, 0.2);
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9) 0%, rgba(41, 128, 185, 0.9) 100%);
    color: white;
    padding: 9rem 0 4rem 0;
    text-align: center;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 400%;
    height: 472px;
    transform: translateY(-50%);
    background: 
        url('../assets/graffiti-bg-1.png'),
        url('../assets/graffiti-bg-2.png'),
        url('../assets/graffiti-bg-3.png'),
        url('../assets/graffiti-bg-4.png'),
        url('../assets/graffiti-bg-5.png'),
        url('../assets/graffiti-bg-1.png'),
        url('../assets/graffiti-bg-2.png'),
        url('../assets/graffiti-bg-3.png');
    background-size: 657px 420px, 657px 420px, 657px 420px, 657px 420px, 657px 420px, 657px 420px, 657px 420px, 657px 420px;
    background-repeat: no-repeat;
    background-position: 
        0px center,
        710px center,
        1420px center,
        2130px center,
        2840px center,
        3550px center,
        4260px center,
        4970px center;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
    animation: scrollBackground 35s linear infinite;
    filter: drop-shadow(0 0 0 3px rgba(255,255,255,0.6)) drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    border-radius: 8px;
}

@keyframes scrollBackground {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(-3550px);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1600px;
    padding: 0 2rem;
}

.hero-content {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-top: -10px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #333;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #333;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

.secondary-button {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
}

.secondary-button:hover {
    background: #5a6fd8;
    border-color: #5a6fd8;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}


/* Polaroid Stack Visual - Large Size with Lost Artworks */
.polaroid-stack {
    position: relative;
    height: 675px;
    width: 560px;
    margin: 0 auto;
    perspective: 1000px;
}

.polaroid {
    position: absolute;
    width: 450px;
    height: 540px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    padding: 10px 10px 80px 10px;
    box-sizing: border-box;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: calc(100% - 20px) calc(100% - 90px);
    background-position: 10px 10px;
    background-origin: border-box;
}

.polaroid::after {
    content: attr(data-title);
    position: absolute;
    bottom: 15px;
    left: 10px;
    right: 10px;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    letter-spacing: -0.02em;
}

.polaroid:nth-child(1) {
    transform: rotate(-8deg) translateZ(0);
    top: 45px;
    left: 0;
    z-index: 3;
    animation: polaroidShuffle1 25s infinite ease-in-out;
    background-image: url('../assets/vermeer-concert.jpg');
}

.polaroid:nth-child(2) {
    transform: rotate(12deg) translateZ(0);
    top: 22px;
    left: 68px;
    z-index: 2;
    animation: polaroidShuffle2 25s infinite ease-in-out 8s;
    background-image: url('../assets/raphael-portrait.jpg');
}

.polaroid:nth-child(3) {
    transform: rotate(-3deg) translateZ(0);
    top: 0;
    left: 34px;
    z-index: 4;
    animation: polaroidShuffle3 25s infinite ease-in-out 16s;
    background-image: url('../assets/rembrandt-storm.jpg');
}

.polaroid:hover {
    transform: scale(1.05) rotate(0deg) translateZ(50px);
    z-index: 10 !important;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

/* Shuffling Animations */
@keyframes polaroidShuffle1 {
    0%, 33%, 100% {
        transform: rotate(-8deg) translateZ(0);
        z-index: 3;
    }
    16% {
        transform: rotate(-8deg) translateZ(50px);
        z-index: 10;
    }
}

@keyframes polaroidShuffle2 {
    0%, 33%, 66%, 100% {
        transform: rotate(12deg) translateZ(0);
        z-index: 2;
    }
    50% {
        transform: rotate(12deg) translateZ(50px);
        z-index: 10;
    }
}

@keyframes polaroidShuffle3 {
    0%, 66%, 100% {
        transform: rotate(-3deg) translateZ(0);
        z-index: 4;
    }
    83% {
        transform: rotate(-3deg) translateZ(50px);
        z-index: 10;
    }
}

/* Responsive Design for Polaroids */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .polaroid-stack {
        height: 450px;
        width: 375px;
        margin: 2rem auto 0;
    }
    
    .polaroid {
        width: 300px;
        height: 360px;
        padding: 30px 30px 90px 30px;
    }
    
    .polaroid::after {
        font-size: 14px;
        bottom: 20px;
        left: 30px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero .container {
        padding: 0 1rem;
    }
    
    .polaroid-stack {
        height: 300px;
        width: 240px;
    }
    
    .polaroid {
        width: 210px;
        height: 255px;
        padding: 20px 20px 60px 20px;
    }
    
    .polaroid::after {
        font-size: 12px;
        bottom: 12px;
        left: 20px;
        right: 20px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .graffiti-title {
        font-size: 2.5rem;
    }
}

/* Upload Section */
.upload-section {
    padding: 4rem 0;
    background: white;
}

/* Brick Wall Background */
.brick-wall-bg {
    background-image: 
        /* Faded graffiti tags overlay */
        linear-gradient(45deg, transparent 30%, rgba(255,107,107,0.03) 35%, transparent 40%),
        linear-gradient(135deg, transparent 60%, rgba(72,219,251,0.03) 65%, transparent 70%),
        linear-gradient(90deg, transparent 80%, rgba(255,159,243,0.03) 85%, transparent 90%),
        /* Brick pattern */
        repeating-linear-gradient(
            0deg,
            #f5f5f5,
            #f5f5f5 10px,
            #e8e8e8 10px,
            #e8e8e8 11px
        ),
        repeating-linear-gradient(
            90deg,
            #f0f0f0,
            #f0f0f0 20px,
            #e0e0e0 20px,
            #e0e0e0 21px
        );
    background-size: 
        100% 100%,
        100% 100%, 
        100% 100%,
        100% 11px,
        21px 100%;
    position: relative;
}

.brick-wall-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Subtle graffiti tag shadows */
        radial-gradient(ellipse 200px 50px at 20% 30%, rgba(0,0,0,0.02) 0%, transparent 50%),
        radial-gradient(ellipse 150px 40px at 80% 70%, rgba(0,0,0,0.02) 0%, transparent 50%),
        radial-gradient(ellipse 180px 45px at 60% 20%, rgba(0,0,0,0.01) 0%, transparent 50%);
    pointer-events: none;
}

.brick-wall-bg .container {
    position: relative;
    z-index: 1;
}

.upload-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.upload-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.upload-area {
    border: 3px dashed #ddd;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover, .upload-area.dragover {
    border-color: #3498db;
    background-color: #f8f9ff;
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.upload-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.upload-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.upload-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.upload-button:hover {
    background: #5a6fd8;
}

/* Upload Form */
.upload-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cancel-button {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    background: #f8f9fa;
}

.submit-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #ff5252;
}

/* Upload Progress */
.upload-progress {
    text-align: center;
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: #3498db;
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    color: #666;
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.gallery-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.gallery-controls {
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-button {
    background: white;
    color: #666;
    border: 1px solid #ddd;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.gallery-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gallery-stats span {
    color: #666;
    font-size: 0.95rem;
}

.gallery-container {
    max-height: 800px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
}

.gallery-container.expanded {
    max-height: 600px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border: 2px solid #3498db;
    border-radius: 12px;
    padding: 20px;
    background: rgba(255,255,255,0.5);
}

.gallery-container.expanded::-webkit-scrollbar {
    width: 8px;
}

.gallery-container.expanded::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.gallery-container.expanded::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

.gallery-container.expanded::-webkit-scrollbar-thumb:hover {
    background: #5a67d8;
}

.gallery-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, rgba(248, 249, 250, 0.9));
    pointer-events: none;
}

.gallery-container.expanded::after {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.gallery-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #999;
    font-style: italic;
}

/* Mosaic Section */
.mosaic-section {
    padding: 4rem 0;
    background: white;
}

.mosaic-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.mosaic-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.mosaic-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-preview {
    height: 200px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    position: relative;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.project-info p {
    color: #666;
    margin-bottom: 1rem;
}

.project-stats {
    color: #3498db;
    font-weight: 500;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-intro p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

.process-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.process-step h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.process-step p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive for About section */
@media (max-width: 768px) {
    .process-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .process-icon {
        font-size: 2.5rem;
    }
    
    .process-step h3 {
        font-size: 1.2rem;
    }
}

/* Lost Artworks Section */
.lost-artworks-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.lost-artworks-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.lost-artworks-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.database-credit {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.database-credit p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

.database-credit a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.database-credit a:hover {
    text-decoration: underline;
}

/* Artwork Search */
.artwork-search {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    margin-bottom: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.expand-button {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expand-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.expand-arrow {
    transition: transform 0.3s ease;
}

.expand-button.expanded .expand-arrow {
    transform: rotate(180deg);
}

/* Artworks Container */
.artworks-container {
    max-height: 800px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
}

.artworks-container.expanded {
    max-height: 600px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border: 2px solid #3498db;
    border-radius: 12px;
    padding: 20px;
    background: rgba(255,255,255,0.5);
}

/* Scroll spacer to force page height when expanded */
.scroll-spacer {
    height: 2000px;
    width: 100%;
    background: transparent;
    display: none;
}

.artworks-container.expanded + .scroll-spacer,
.artworks-container.expanded ~ .scroll-spacer {
    display: block;
}

.artworks-container.expanded::-webkit-scrollbar {
    width: 8px;
}

.artworks-container.expanded::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.artworks-container.expanded::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

.artworks-container.expanded::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}

.artworks-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, rgba(248, 249, 250, 0.9));
    pointer-events: none;
}

.artworks-container.expanded::after {
    display: none;
}

.artwork-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.artworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 4rem;
}

.artwork-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.artwork-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
}

.lost-artwork-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.artwork-card:hover .lost-artwork-image {
    transform: scale(1.05);
}

.placeholder-artwork {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.stolen { background: #ff6b6b; color: white; }
.status-badge.destroyed { background: #333; color: white; }
.status-badge.lost { background: #feca57; color: #333; }
.status-badge.war { background: #8e44ad; color: white; }

.artwork-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.artwork-card:hover .artwork-info {
    transform: translateY(0);
}

.artwork-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 700;
}

.artist {
    font-size: 0.95rem;
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.loss-details {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mosaic-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.status.pending {
    background: rgba(254, 202, 87, 0.9);
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.estimated-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2ecc71;
}

.database-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Exhibitions Section */
.exhibitions-section {
    padding: 3rem 0;
    background: white;
}

.exhibitions-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.exhibitions-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 1rem 0;
}

.exhibition-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.exhibition-card.featured {
    border: 3px solid #3498db;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.exhibition-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border-color: #3498db;
}

.exhibition-image {
    position: relative;
    width: 100%;
    height: 250px !important;
    overflow: hidden !important;
    background: #f8f9fa;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
}

.exhibition-img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    background: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999 !important;
    transition: transform 0.3s ease;
}

.exhibition-card:hover .exhibition-img {
    transform: scale(1.05);
}

/* Lost Artwork Specific Styles */
.exhibition-img[alt*="lost"], .exhibition-img[src*="lost"] {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.exhibition-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%, transparent 75%, #f8f9fa 75%, #f8f9fa),
                linear-gradient(45deg, #f8f9fa 25%, transparent 25%, transparent 75%, #f8f9fa 75%, #f8f9fa);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    z-index: 0;
    opacity: 0.1;
}

.exhibition-img {
    position: relative;
    z-index: 1;
}

/* Image Loading State - DISABLED FOR TESTING */
/*
.exhibition-img:not([src]), .exhibition-img[src=""] {
    background: linear-gradient(135deg, #3498db20, #2980b920);
    display: flex;
    align-items: center;
    justify-content: center;
}

.exhibition-img:not([src])::after, .exhibition-img[src=""]::after {
    content: "🎨";
    font-size: 3rem;
    opacity: 0.3;
}
*/

/* Status indicators for lost artworks */
.status-indicator {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.status-stolen {
    background: rgba(231, 76, 60, 0.9);
    color: white;
}

.status-destroyed {
    background: rgba(155, 89, 182, 0.9);
    color: white;
}

.status-recovered {
    background: rgba(46, 204, 113, 0.9);
    color: white;
}

.status-war {
    background: rgba(230, 126, 34, 0.9);
    color: white;
}

.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.exhibition-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.exhibition-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.venue {
    font-size: 1rem;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.exhibition-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.label {
    font-weight: 600;
    color: #333;
}

.value {
    color: #666;
    text-align: right;
}

.inquiry-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.inquiry-button:hover {
    background: #ff5252;
}

.collector-info {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 2.5rem;
}

.collector-info h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.collector-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.benefit-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Schedule Section */
.schedule-gap-filler {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    position: relative;
}

.schedule-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-button:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* How It Works Section */
.how-it-works-section {
    padding: 2.5rem 0;
    background: white;
    position: relative;
}

.how-it-works-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.how-it-works-intro .main-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.how-it-works-intro .sub-description {
    font-size: 1.1rem;
    color: #999;
    font-style: italic;
    margin-bottom: 0;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.7);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #3498db;
    background: rgba(255,255,255,0.9);
}

.step-number {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: #3498db;
    line-height: 1;
    flex-shrink: 0;
    text-shadow: 2px 2px 0px rgba(102, 126, 234, 0.2);
    margin-bottom: 0.5rem;
}

.step-icon {
    font-size: 4.2rem;
    margin: 0.5rem 0;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.step-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 1rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.impact-statement {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
}

.impact-statement h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.impact-statement p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    opacity: 0.95;
}

.status.pending {
    background: #ff6b6b;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
}

/* Footer */
.main-footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.main-footer p {
    opacity: 0.8;
}

/* User Authentication Styles */
.user-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.auth-button {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.auth-button:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.profile-link:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.user-profile #userName {
    font-weight: 600;
    margin-right: 0.5rem;
}

.profile-button {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-button:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.dashboard-content {
    max-width: 800px;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

.signup-benefits {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    color: #0369a1;
    font-weight: 500;
}

/* Earnings Dashboard */
.earnings-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.earning-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.earning-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.earning-amount {
    font-size: 2rem;
    font-weight: 700;
}

.earnings-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.no-sales {
    text-align: center;
    color: #666;
    font-style: italic;
}

.payment-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.payment-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Upload Form Enhancements */
.earnings-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.anonymous-notice {
    color: #856404;
}

.registered-notice {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.upload-options {
    margin: 1.5rem 0;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upload-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-option:hover {
    border-color: #3498db;
    background: #f8f9ff;
}

.upload-option input[type="radio"]:checked + .option-content {
    color: #3498db;
}

.upload-option.registered-only input:disabled + .option-content {
    color: #6c757d;
    opacity: 0.7;
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.option-content small {
    color: #6c757d;
    font-size: 0.85rem;
}

.option-content a {
    color: #3498db;
    text-decoration: none;
}

.option-content a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

.auth-switch a {
    color: #3498db;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Clerk Authentication Styles */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-profile.hidden {
    display: none !important;
}

/* Clerk component styling overrides */
#clerk-signin-button,
#clerk-signup-button {
    display: inline-block;
}

#clerk-signin-button .auth-button,
#clerk-signup-button .auth-button {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

#clerk-signin-button .auth-button:hover,
#clerk-signup-button .auth-button:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

#clerk-user-button {
    display: inline-block;
}

/* Disabled upload area for non-authenticated users */
.upload-area.disabled {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.upload-area.disabled::after {
    content: '🔒 Please login to upload photos';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .graffiti-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .artworks-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none; /* Mobile menu would go here */
    }
    
    .user-auth {
        display: none; /* Simplified mobile view */
    }
    
    .earnings-summary {
        grid-template-columns: 1fr;
    }
    
    .payment-form {
        flex-direction: column;
    }
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ff6b6b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #ff6b6b;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .main-footer {
        padding: 2rem 0 1rem 0;
    }
}
        gap: 1rem;
    }
    
    .gallery-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .mosaic-projects {
        grid-template-columns: 1fr;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* About Section Styles */
.about-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.artist-photo .polaroid-frame {
    background: white;
    padding: 20px 20px 60px 20px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: rotate(-3deg);
    transition: all 0.3s ease;
}

.artist-photo .polaroid-frame:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.artist-image {
    width: 260px;
    height: 320px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.artist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.artist-initial {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    font-family: 'Oswald', sans-serif;
}

.polaroid-caption {
    text-align: center;
    font-family: 'Permanent Marker', cursive;
    font-size: 18px;
    color: #333;
    margin-top: 15px;
}

.artist-story h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.artist-story p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #34495e;
}

.mission-statement {
    background: rgba(255,107,107,0.1);
    border-left: 4px solid #ff6b6b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.mission-statement h4 {
    color: #ff6b6b;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.mission-statement ul {
    list-style: none;
    padding: 0;
}

.mission-statement ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.mission-statement ul li::before {
    content: '🎨';
    position: absolute;
    left: 0;
}

.personal-note {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Fix donate button styling */
.donate-big-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.donate-big-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252 0%, #e53935 100%);
}

/* General Modal Improvements */
.modal {
    box-sizing: border-box;
}

.modal-content {
    max-width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Different modal sizes */
#contactModal .modal-content {
    max-width: 500px;
    width: 90vw;
}

#calendarModal .modal-content {
    max-width: 700px;
    width: 90vw;
}

#donationModal .modal-content {
    max-width: 600px;
    width: 90vw;
}

#emailSignupModal .modal-content {
    max-width: 550px;
    width: 90vw;
}

.modal-content * {
    box-sizing: border-box;
}

/* Contact Modal Styles */
.contact-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.contact-option:hover {
    border-color: #3498db;
    background: rgba(102, 126, 234, 0.05);
}

.contact-option input[type="checkbox"] {
    margin: 0;
}

.contact-option .option-content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.3;
}

.contact-option .option-content strong {
    color: #333;
    font-size: 0.95rem;
}

.contact-option .option-content small {
    color: #666;
    font-size: 0.8rem;
    opacity: 0.8;
}

.contact-methods {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.contact-methods p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.direct-contact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-direct {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-direct:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#contactForm textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

#contactForm select,
#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#contactForm select:focus,
#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* Calendar Modal Styles */
.calendar-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 100%;
    overflow: hidden;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    flex-wrap: wrap;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    text-align: center;
}

.event-date .month {
    background: #3498db;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px 4px 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    background: white;
    border: 1px solid #3498db;
    border-top: none;
    padding: 0.5rem;
    border-radius: 0 0 4px 4px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #3498db;
}

.event-details h3 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.event-details p {
    color: #666;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.event-status {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.calendar-cta {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 1rem;
}

.calendar-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.calendar-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.social-follow {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Donation Modal Styles */
.donation-content {
    margin-top: 1.5rem;
    max-width: 100%;
    overflow: hidden;
}

.donation-impact {
    margin-bottom: 2rem;
}

.impact-items {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.impact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.impact-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.impact-details h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1rem;
}

.impact-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.donation-methods h3 {
    color: #333;
    margin-bottom: 1rem;
}

.donation-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.donation-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
    flex: 1;
    min-width: 140px;
}

.donation-button.primary {
    background: #3498db;
    color: white;
}

.donation-button.primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.donation-button.secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.donation-button.secondary:hover {
    background: #e9ecef;
    border-color: #bbb;
}

.donation-note {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
}

.donation-note p {
    margin: 0.5rem 0;
    color: #2d5016;
}

.donation-transparency {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.donation-transparency h4 {
    color: #333;
    margin: 0 0 1rem 0;
}

.donation-transparency ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.donation-transparency li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.donation-transparency li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
        padding: 1.5rem;
    }
    
    .calendar-content {
        gap: 1rem;
    }
    
    .event-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        align-self: center;
    }
    
    .donation-buttons {
        flex-direction: column;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .calendar-cta {
        padding: 1rem;
    }
    
    .impact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .impact-icon {
        margin-bottom: 0.5rem;
    }
}

/* Email Signup Modal Styles */
.email-signup-content {
    margin-top: 1.5rem;
}

.signup-benefits {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.signup-benefits h3 {
    color: #333;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.benefit-list {
    display: grid;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-icon {
    font-size: 1.2rem;
    min-width: 25px;
}

.benefit-text {
    color: #666;
    font-size: 0.95rem;
}

.signup-form {
    margin-bottom: 2rem;
}

.interest-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.interest-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.interest-option input[type="checkbox"] {
    margin: 0;
}

.signup-frequency {
    margin: 1.5rem 0;
}

.signup-frequency label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.signup-frequency select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
}

.privacy-note {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

.manual-signup {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    text-align: center;
}

.manual-signup p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.manual-signup a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.manual-signup a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .interest-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .benefit-list {
        gap: 0.5rem;
    }
    
    .signup-benefits {
        padding: 1rem;
    }
}

/* Supporters Section Styles */
.supporters-section {
    background: #fafafa;
    color: #333;
    padding: 4rem 0;
}

/* Supporters Table */
.supporters-table-container {
    margin: 3rem 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.supporters-table {
    width: 100%;
    border-collapse: collapse;
}

.supporters-table th {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.supporters-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    vertical-align: top;
    color: #333;
}

.supporters-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.supporters-table .no-supporters {
    text-align: center;
    padding: 3rem;
}

.empty-state {
    opacity: 0.7;
    font-size: 1.1rem;
}

.empty-state small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Support Stats */
.support-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.donation-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.donation-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.donate-big-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255,107,107,0.3);
}

.donate-big-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,107,0.4);
    background: linear-gradient(135deg, #ff5252 0%, #ff6b6b 100%);
}

.donation-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Modern Filter Button Styling */
.period-btn, .cause-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    margin: 0.3rem;
}

.period-btn:hover, .cause-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.period-btn:active, .cause-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.period-btn.active, .cause-btn.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.historical-timeline, .cause-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

/* Shop Section Styles */
.shop-section {
    padding: 4rem 0;
    background: #ffffff;
}

.prints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.print-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.print-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.print-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.print-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.print-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.print-info {
    padding: 1.5rem;
}

.print-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.print-artist {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.print-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.print-sizes {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.size-option {
    flex: 1;
    min-width: 100px;
    padding: 0.6rem 0.8rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.size-option:hover {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

.size-option.active {
    border-color: #3498db;
    background: #3498db;
    color: white;
}

.buy-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.print-details {
    margin-top: 4rem;
    padding: 2.5rem 0;
    background: white;
    position: relative;
}

.print-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.print-details h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.print-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.7);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #3498db;
    background: rgba(255,255,255,0.9);
}

.feature-icon {
    font-size: 4.2rem;
    margin: 0.5rem 0;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    animation: float 3s ease-in-out infinite;
}

.feature-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .artist-photo .polaroid-frame {
        transform: none;
        max-width: 260px;
        margin: 0 auto;
    }
    
    .supporters-list {
        grid-template-columns: 1fr;
    }
    
    .donation-cta {
        padding: 2rem 1rem;
    }
    
    .artist-story h3 {
        font-size: 1.5rem;
    }
}

/* About Section - Three Column Card Layout */
.about-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem;
    margin: 3rem 0;
    padding: 0;
    grid-column: 1 / -1; /* Span across both columns of parent grid */
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2);
}

.card-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mission Card Specific Styles */
.mission-card {
    border-left: 4px solid #4CAF50;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #34495e;
    line-height: 1.5;
}

.mission-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.1rem;
}

.mission-list li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Quote Card Specific Styles */
.quote-card {
    border-left: 4px solid #FF9800;
    text-align: center;
}

.artist-quote {
    margin: 0;
    font-style: italic;
}

.artist-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 1rem;
}

.artist-quote cite {
    display: block;
    font-size: 0.95rem;
    color: #FF9800;
    font-weight: 600;
    font-style: normal;
}

/* Contact Card Specific Styles */
.contact-card {
    border-left: 4px solid #2196F3;
}

.contact-intro {
    text-align: center;
    color: #34495e;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #34495e;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    width: 1.5rem;
    text-align: center;
}

.contact-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.email-link:hover { border-color: #f44336; }
.instagram-link:hover { border-color: #E91E63; }
.support-link:hover { border-color: #4CAF50; }

/* Responsive Design for About Cards */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .about-card {
        min-height: auto;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-header h4 {
        font-size: 1.2rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .mission-list li {
        padding: 0.5rem 0;
        padding-left: 1.2rem;
        font-size: 0.9rem;
    }
    
    .artist-quote p {
        font-size: 1rem;
    }
    
    .contact-links {
        gap: 0.75rem;
    }
    
    .contact-link {
        padding: 0.6rem 0.8rem;
    }
    
    .contact-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-grid {
        margin: 1.5rem 0;
    }
    
    .card-header h4 {
        font-size: 1.1rem;
    }
    
    .mission-list li {
        font-size: 0.85rem;
    }
    
    .artist-quote p {
        font-size: 0.95rem;
    }
}

/* Donation Instructions Spacing Fix - Aggressive targeting */
.donation-cta .donation-instructions {
    margin-top: 1.5rem;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.donation-cta .donation-instructions p {
    margin: 0 !important;
    margin-bottom: 0.25rem !important;
    padding: 0 !important;
    font-weight: 600;
    color: #2c3e50;
}

.donation-cta .donation-instructions ol {
    margin: 0 !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-left: 1.2rem !important;
}

.donation-cta .donation-instructions ol li {
    margin: 0 !important;
    margin-bottom: 0.4rem !important;
    padding: 0 !important;
    line-height: 1.4;
    color: #34495e;
}

.donation-cta .donation-instructions ol li:last-child {
    margin-bottom: 0 !important;
}

/* Ultra-specific CSS for donation steps - highest priority */
#donation-steps {
    margin-top: 1.5rem !important;
    line-height: 1.2 !important;
}

#how-it-works-header {
    margin: 0 !important;
    margin-bottom: 0.1rem !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
}

#donation-steps-list {
    margin: 0 !important;
    margin-top: 0.1rem !important;
    padding: 0 !important;
    padding-left: 1.2rem !important;
    line-height: 1.3 !important;
}

#donation-steps-list li {
    margin: 0 !important;
    margin-bottom: 0.3rem !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    color: #34495e !important;
}

#donation-steps-list li:last-child {
    margin-bottom: 0 !important;
}

/* Collector Cards - Three Column Layout */
.collector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 0;
}

.collector-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.collector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2);
}

.collector-card-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.collector-card-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.collector-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.collector-card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #34495e;
    margin: 0;
    text-align: center;
}

/* Card-specific colors */
.provenance-card {
    border-left: 4px solid #3498db;
}

.investment-card {
    border-left: 4px solid #e74c3c;
}

.impact-card {
    border-left: 4px solid #2ecc71;
}

/* Responsive Design for Collector Cards */
@media (max-width: 768px) {
    .collector-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .collector-card-header {
        padding: 1rem;
    }
    
    .collector-card-header h4 {
        font-size: 1.2rem;
    }
    
    .collector-card-content {
        padding: 1rem;
    }
    
    .collector-card-content p {
        font-size: 0.95rem;
    }
}
