* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ec4899;
    --secondary-color: #f472b6;
    --accent-color: #fbcfe8;
    --text-dark: #ffffff;
    --text-light: #ffffff;
    --text-muted: #f3e8ff;
    --bg-light: #fef5f8;
    --bg-white: #fae8f5;
    --bg-gradient: linear-gradient(135deg, #fda4d4 0%, #f472b6 100%);
    --bg-gradient-elegant: linear-gradient(135deg, #fda4d4 0%, #ec4899 50%, #db2777 100%);
    --shadow-sm: 0 1px 3px rgba(236, 72, 153, 0.15);
    --shadow: 0 4px 6px -1px rgba(236, 72, 153, 0.2), 0 2px 4px -1px rgba(236, 72, 153, 0.15);
    --shadow-md: 0 10px 15px -3px rgba(236, 72, 153, 0.25), 0 4px 6px -2px rgba(236, 72, 153, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(236, 72, 153, 0.3), 0 10px 10px -5px rgba(236, 72, 153, 0.2);
    --shadow-hover: 0 25px 50px -12px rgba(236, 72, 153, 0.4);
    --border-radius: 20px;
    --border-radius-lg: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: #6b1d7a;
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Link Styles */
a {
    color: #ec4899;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #db2777;
    text-decoration: underline;
}

a:visited {
    color: #ec4899;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: var(--bg-gradient-elegant);
    color: var(--text-light);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-light));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.birthday-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
    line-height: 1.1;
}

.subtitle {
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.01em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.confetti {
    font-size: 3rem;
    animation: bounce 2s infinite;
    display: inline-block;
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Countdown Section */
.countdown-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #ffe0f0 0%, #fdf1f7 100%);
    position: relative;
    color: #6b1d7a;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(236, 72, 153, 0.3), transparent);
}

.countdown-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 60px;
    color: #6b1d7a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--bg-gradient-elegant);
    color: var(--text-light);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    min-width: 130px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.countdown-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    font-weight: 500;
}

/* Details Section */
.details-section {
    padding: 100px 20px;
    background: var(--bg-light);
    color: #6b1d7a;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.detail-card {
    background: linear-gradient(135deg, #fff5fb 0%, #ffe8f5 100%);
    padding: 48px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid rgba(236, 72, 153, 0.15);
    position: relative;
    overflow: hidden;
    color: #6b1d7a;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec4899 0%, #f472b6 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.detail-card:hover::before {
    transform: scaleX(1);
}

.detail-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(236, 72, 153, 0.35);
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    opacity: 0.8;
    transition: var(--transition);
}

.detail-card:hover .icon {
    opacity: 1;
    transform: scale(1.1);
}

.detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #6b1d7a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.detail-text {
    font-size: 1.05rem;
    color: #9b5a8a;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* RSVP Section */
.rsvp-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff5fb 0%, #ffe8f5 100%);
    position: relative;
    color: #6b1d7a;
}

.rsvp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(236, 72, 153, 0.3), transparent);
}

.rsvp-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    color: #6b1d7a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.rsvp-text {
    font-size: 1.15rem;
    color: #9b5a8a;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.rsvp-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--bg-gradient-elegant);
    color: #ffffff;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: #ffffff;
    color: #ec4899;
    border: 2px solid #ec4899;
    font-weight: 700;
}

.btn-secondary:hover {
    background: #fce7f3;
    border-color: #db2777;
    color: #db2777;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Guestbook Section */
.guestbook-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffe0f0 0%, #fdf1f7 100%);
    position: relative;
    color: #6b1d7a;
}

.guestbook-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(236, 72, 153, 0.3), transparent);
}

.guestbook-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 24px;
    color: #6b1d7a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.guestbook-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #9b5a8a;
    margin-bottom: 56px;
    line-height: 1.7;
}

.guestbook-container {
    max-width: 800px;
    margin: 0 auto;
}

.guestbook-form {
    background: #ffffff;
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 56px;
    border: 2px solid rgba(236, 72, 153, 0.15);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #6b1d7a;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fdf1f7;
    color: #6b1d7a;
}

.form-group input[type="file"] {
    padding: 12px;
    cursor: pointer;
    background: #fdf1f7;
    color: #6b1d7a;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.file-hint {
    display: block;
    margin-top: 10px;
    font-size: 0.875rem;
    color: #9b5a8a;
    font-style: normal;
    font-weight: 400;
}

.image-preview {
    position: relative;
    margin-top: 15px;
    display: inline-block;
    max-width: 100%;
}

.image-preview img {
    max-width: 300px;
    max-height: 300px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.remove-image {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #ec4899;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    font-weight: 700;
}

.remove-image:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: var(--shadow-lg);
}

.guestbook-container-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
    padding: 20px 0;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.guestbook-container-wrapper::-webkit-scrollbar {
    height: 8px;
}

.guestbook-container-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.guestbook-container-wrapper::-webkit-scrollbar-thumb {
    background: rgba(236, 72, 153, 0.3);
    border-radius: 4px;
}

.guestbook-container-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(236, 72, 153, 0.5);
}

.guestbook-entries {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    padding-bottom: 10px;
}

.guestbook-entries:active {
    cursor: grabbing;
}

.guestbook-entry-slide {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.5s ease-out;
    border: 2px solid rgba(236, 72, 153, 0.15);
    color: #6b1d7a;
    min-width: 300px;
    max-width: 400px;
    width: 85vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.guestbook-entry-slide:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(236, 72, 153, 0.35);
}

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

.entry-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #6b1d7a;
    letter-spacing: -0.01em;
}

.entry-date {
    font-size: 0.875rem;
    color: #9b5a8a;
    font-weight: 500;
}

.entry-message {
    color: #9b5a8a;
    line-height: 1.7;
    font-size: 1.05rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    flex-grow: 1;
    overflow-y: auto;
}

.no-entries {
    text-align: center;
    color: #9b5a8a;
    font-style: normal;
    padding: 48px;
    background: #fdf1f7;
    border-radius: var(--border-radius);
    border: 2px dashed rgba(236, 72, 153, 0.2);
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    padding: 100px 20px;
    text-align: center;
    background: var(--bg-light);
    position: relative;
    color: #6b1d7a;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(236, 72, 153, 0.3), transparent);
}

.contact-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    color: #6b1d7a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-section > p {
    font-size: 1.15rem;
    color: #9b5a8a;
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-info {
    font-size: 1.1rem;
    color: #6b1d7a;
}

.contact-info p {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #fda4d4 0%, #f472b6 100%);
    color: #ffffff;
    padding: 48px 20px;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer p {
    font-size: 1.05rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-section,
    .details-section,
    .rsvp-section,
    .guestbook-section,
    .contact-section {
        padding: 60px 20px;
    }

    .countdown-item {
        min-width: 100px;
        padding: 24px 20px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-card {
        padding: 36px 24px;
    }

    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .guestbook-form {
        padding: 32px 24px;
    }

    .guestbook-entry-slide {
        padding: 24px;
        min-width: 280px;
        max-width: 350px;
        width: 80vw;
    }
    
    .guestbook-container-wrapper {
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .guestbook-entries {
        gap: 20px;
    }

    .hero {
        padding: 80px 20px;
        min-height: 55vh;
    }
}

@media (max-width: 480px) {
    .birthday-title {
        font-size: 2rem;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(236, 72, 153, 0.2);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 0;
}

.nav-link {
    display: inline-block;
    padding: 20px 32px;
    color: #9b5a8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
}

.nav-link:hover {
    color: #6b1d7a;
    background: rgba(236, 72, 153, 0.1);
}

.nav-link.active {
    color: #6b1d7a;
    border-bottom-color: #ec4899;
    background: rgba(236, 72, 153, 0.1);
}

body {
    padding-top: 60px;
}


/* Upload Section */
.upload-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffe0f0 0%, #fdf1f7 100%);
    color: #6b1d7a;
}

.upload-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.upload-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 24px;
    color: #6b1d7a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.upload-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #9b5a8a;
    margin-bottom: 40px;
    line-height: 1.7;
}

.selfie-form {
    background: #ffffff;
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid rgba(236, 72, 153, 0.15);
    width: 100%;
    box-sizing: border-box;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 20px;
    background: var(--bg-light);
    color: #6b1d7a;
}

.gallery-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    color: #6b1d7a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 1600px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 40px;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 32px;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 28px;
    }
}

.gallery-item {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid rgba(236, 72, 153, 0.15);
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(236, 72, 153, 0.35);
}

@media (hover: none) {
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:active {
        transform: scale(0.98);
    }
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #fdf1f7;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-info {
    padding: 20px;
    background: #ffffff;
    flex-shrink: 0;
}

.gallery-name {
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #6b1d7a;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    word-wrap: break-word;
}

.gallery-date {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: #9b5a8a;
    font-weight: 500;
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0;
    }
    
    .nav-link {
        padding: 16px 20px;
        font-size: 0.9rem;
    }
    
    body {
        padding-top: 56px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .gallery-image-wrapper {
        padding-top: 100%;
    }
    
    .gallery-info {
        padding: 16px;
    }
    
    .upload-section,
    .gallery-section {
        padding: 60px 20px;
    }
    
    .gallery-section h2 {
        margin-bottom: 40px;
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .upload-section h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .gallery-info {
        padding: 14px;
    }
    
    .upload-section,
    .gallery-section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .gallery-item {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .gallery-image-wrapper {
        padding-top: 100%;
    }
    
    .gallery-info {
        padding: 16px;
    }
    
    .nav-container {
        padding: 0;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 0.85rem;
        flex: 1;
        text-align: center;
    }
    
    .upload-section h2,
    .gallery-section h2 {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
    
    .upload-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .selfie-form {
        padding: 32px 20px;
    }
    
    .guestbook-entry-slide {
        min-width: 260px;
        max-width: 320px;
        width: 75vw;
        padding: 20px;
    }
    
    .guestbook-entries {
        gap: 16px;
    }
    
    .guestbook-container-wrapper {
        margin: 0 -10px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 360px) {
    .gallery-grid {
        gap: 16px;
    }
    
    .gallery-info {
        padding: 12px;
    }
    
    .gallery-name {
        font-size: 0.95rem;
    }
    
    .gallery-date {
        font-size: 0.75rem;
    }
    
    .upload-section,
    .gallery-section {
        padding: 30px 10px;
    }
    
    .selfie-form {
        padding: 24px 16px;
    }
}
