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

/* ==================== 404 Error Page ==================== */
.error-page {
    background-color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.error-container {
    text-align: center;
    max-width: 600px;
}

.error-container h1 {
    font-size: 72px;
    color: #666666;
    margin-bottom: 20px;
    font-weight: normal;
}

.error-message {
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.6;
}

.domain {
    color: #000000;
    font-weight: bold;
}

.suggestion {
    font-size: 18px;
    color: #666666;
    margin-top: 20px;
}

.link {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid #0066cc;
    transition: color 0.3s ease;
}

.link:hover {
    color: #0052a3;
    border-bottom-color: #0052a3;
}

/* ==================== Baby Announcement Page ==================== */
.baby-page {
    background: linear-gradient(135deg, #ffd3e1 0%, #c7e9ff 50%, #fff4ba 100%);
    min-height: 100vh;
    font-family: 'Georgia', serif;
    overflow-x: hidden;
}

.celebration-container {
    padding: 40px 20px;
}

.celebration-header {
    text-align: center;
    margin-bottom: 60px;
}

.celebration-title {
    font-size: 48px;
    color: #ff69b4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

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

.celebration-subtitle {
    font-size: 24px;
    color: #6a5acd;
    font-style: italic;
}

/* ==================== Horizontal Scrolling Gallery ==================== */
.scroll-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.scroll-content {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.scroll-content:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scroll-item {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-images {
    width: 100%;
    text-align: center;
    padding: 60px 20px;
}

.no-images p {
    font-size: 24px;
    color: #8b7ab8;
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
}

/* ==================== Footer ==================== */
.celebration-footer {
    text-align: center;
    margin-top: 80px;
}

.registry-link {
    display: inline-block;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #ffffff;
    font-size: 24px;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    font-weight: bold;
}

.registry-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

.footer-note {
    margin-top: 15px;
    font-size: 16px;
    color: #888;
    font-style: italic;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .celebration-title {
        font-size: 36px;
    }
    
    .celebration-subtitle {
        font-size: 18px;
    }
    
    .scroll-item {
        width: 200px;
        height: 200px;
    }
    
    .registry-link {
        font-size: 20px;
        padding: 15px 35px;
    }
}

@media (max-width: 480px) {
    .celebration-title {
        font-size: 28px;
    }
    
    .scroll-item {
        width: 150px;
        height: 150px;
    }
}

