:root {
    --rose-quartz: #F7CAC9;
    --serenity: #92A8D1;
    --peach-echo: #F7786B;
    --pale-dogwood: #EDCDC2;
    --background: #FFF9FA;
    --text-color: #5D5D5D;
}

body {
    background-color: var(--background);
    font-family: 'Quicksand', sans-serif;
    margin: 0;
    padding: 20px;
    color: var(--text-color);
}

header {
    text-align: center;
    padding: 40px 0;
}

header h1 {
    color: var(--serenity);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

header p {
    color: var(--rose-quartz);
    font-weight: 500;
    letter-spacing: 1px;
}

.upload-section {
    max-width: 500px;
    margin: 0 auto 40px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    text-align: center;
}

.upload-section input[type="file"] {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background: var(--pale-dogwood);
    color: white;
    border-radius: 10px;
    transition: background 0.3s;
    margin-bottom: 10px;
}

.btn-submit {
    background: var(--serenity);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    background: white;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(247, 202, 201, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.status-msg {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}
.success { color: var(--serenity); }
.error { color: var(--peach-echo); }

.no-images {
    text-align: center;
    color: var(--rose-quartz);
}
