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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(156, 39, 176, 0.2);
    padding: 40px;
    text-align: center;
    border: 2px solid #f8bbd9;
}

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 3.5rem;
    color: #ec407a;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 #f8bbd9;
    letter-spacing: 1px;
}

.title {
    color: #d81b60;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: #8e24aa;
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.family-photo-section {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.family-photo-section h2 {
    color: #8e24aa;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.photo-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
}

.family-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.family-photo:hover {
    transform: scale(1.03);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(140, 0, 140, 0.8), transparent);
    color: white;
    padding: 20px;
    text-align: center;
}

.photo-overlay p {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.photo-caption {
    color: #4a148c;
    margin-top: 15px;
    font-style: italic;
    font-size: 1rem;
}

/* СТИЛИ КРАСИВОГО ТАЙМЕРА */
.timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.timer-item {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    border-radius: 20px;
    padding: 25px 15px;
    min-width: 130px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timer-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.timer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ec407a, #f48fb1);
}

.timer-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: #d81b60;
    margin-bottom: 5px;
    font-family: 'Roboto', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.timer-label {
    font-size: 1.1rem;
    color: #8e24aa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.separator {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
    color: #ec407a;
    font-weight: bold;
    margin: 0 5px;
}

.baby-icon {
    font-size: 4rem;
    color: #f06292;
    margin: 20px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.wishes-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
    gap: 20px;
}

.wish-item {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.wish-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.health-wish {
    background: linear-gradient(135deg, #ffe0e0, #ffcdd2);
    border-left: 5px solid #f44336;
}

.health-wish .wish-icon {
    color: #f44336;
}

.health-wish h3 {
    color: #c62828;
}

.health-wish p {
    color: #b71c1c;
}

.wish-icon {
    font-size: 2.5rem;
    color: #ec407a;
    margin-bottom: 15px;
}

.wish-item h3 {
    color: #8e24aa;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.wish-item p {
    color: #4a148c;
    line-height: 1.5;
}

.message {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    padding: 25px;
    border-radius: 20px;
    margin: 30px 0;
    color: #4a148c;
    font-size: 1.1rem;
    line-height: 1.6;
    border-left: 5px solid #ba68c8;
}

.timer-complete {
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
    color: #1b5e20;
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    font-size: 1.8rem;
    font-weight: bold;
    animation: celebrate 2s infinite;
    display: none;
}

@keyframes celebrate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.footer {
    margin-top: 40px;
    color: #8e24aa;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid #f8bbd9;
}

.heart {
    color: #ec407a;
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@media (max-width: 992px) {
    .photo-frame {
        max-width: 90%;
    }
    
    .photo-overlay p {
        font-size: 1rem;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .logo {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .title {
        font-size: 1.7rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .family-photo-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .family-photo-section h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .photo-frame {
        max-width: 100%;
        border-width: 3px;
    }
    
    .photo-overlay p {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .photo-caption {
        font-size: 0.9rem;
    }
    
    .timer {
        gap: 15px;
        margin: 30px 0;
    }
    
    .timer-item {
        min-width: 100px;
        padding: 20px 10px;
        border-radius: 15px;
    }
    
    .timer-value {
        font-size: 2.5rem;
    }
    
    .timer-label {
        font-size: 0.9rem;
    }
    
    .separator {
        font-size: 2rem;
        margin: 0 2px;
    }
    
    .baby-icon {
        font-size: 3rem;
        margin: 15px 0;
    }
    
    .wishes-section {
        margin: 30px 0;
        gap: 15px;
    }
    
    .wish-item {
        min-width: 100%;
        padding: 20px;
    }
    
    .wish-icon {
        font-size: 2rem;
    }
    
    .wish-item h3 {
        font-size: 1.2rem;
    }
    
    .message {
        padding: 20px;
        font-size: 1rem;
        margin: 25px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .family-photo-section {
        padding: 15px;
    }
    
    .family-photo-section h2 {
        font-size: 1.3rem;
    }
    
    .photo-overlay p {
        font-size: 0.8rem;
        padding: 8px;
    }
    
    .timer {
        gap: 10px;
    }
    
    .timer-item {
        min-width: 80px;
        padding: 15px 8px;
    }
    
    .timer-value {
        font-size: 2rem;
    }
    
    .timer-label {
        font-size: 0.8rem;
    }
    
    .separator {
        font-size: 1.5rem;
    }
    
    .wishes-section {
        gap: 10px;
    }
}