* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Quicksand', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
    background: linear-gradient(145deg, #fde2c4 0%, #ffe0b5 40%, #b8dbd9 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== ЗАГОЛОВОК ===== */
header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem;
    color: #d68b5c;
    text-shadow: 3px 3px 0 #fff3cf;
    margin-bottom: 10px;
}

.subtitle {
    color: #7cae9e;
    font-size: 1rem;
}

/* ===== СЕТКА БЛОКОВ (как на скриншоте) ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Стиль каждой карточки-блока */
.card {
    background: rgba(255, 252, 240, 0.9);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #4a5b5e;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 235, 190, 0.8);
    cursor: pointer;
    display: block;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 252, 240, 0.98);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.card h2 {
    font-size: 1.5rem;
    color: #cf8d60;
    margin-bottom: 8px;
    font-weight: 500;
}

.card p {
    font-size: 0.85rem;
    color: #9bbfaf;
}

/* ===== ПОДВАЛ ===== */
footer {
    text-align: center;
    padding-top: 30px;
    border-top: 2px dashed #ffd6a5;
    color: #b88b65;
    font-size: 0.8rem;
}

.small {
    font-size: 0.7rem;
    margin-top: 8px;
    color: #c9ab8a;
}

/* ===== АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ ===== */
@media (max-width: 600px) {
    body {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .grid {
        gap: 15px;
    }
    
    .card {
        padding: 20px 15px;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
}


.wishes-page {
    background: rgba(255, 252, 240, 0.85);
    border-radius: 40px;
    padding: 30px;
    margin-bottom: 30px;
}

.wish-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.wish-item {
    background: white;
    padding: 18px 22px;
    border-radius: 24px;
    border-left: 6px solid #f7c49c;
}

.wish-item p {
    margin-bottom: 8px;
    font-style: italic;
}

.wish-author {
    font-size: 0.8rem;
    color: #9bbfaf;
    display: block;
    text-align: right;
}

.add-wish {
    background: #e6f0ec;
    padding: 18px;
    border-radius: 24px;
    text-align: center;
}


.gallery-page {
    background: rgba(255, 252, 240, 0.85);
    border-radius: 40px;
    padding: 30px;
    margin-bottom: 30px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.photo-card {
    text-align: center;
    background: white;
    padding: 12px 12px 18px 12px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.photo-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.photo-card p {
    margin-top: 10px;
    color: #7cae9e;
    font-size: 0.85rem;
}

.back-link {
    text-decoration: none;
    color: #7cae9e;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.back-link:hover {
    color: #d68b5c;
}

.music-page {
    background: rgba(255, 252, 240, 0.85);
    border-radius: 40px;
    padding: 30px;
    margin-bottom: 30px;
}

.music-player-large {
    text-align: center;
    margin-bottom: 30px;
}

.music-player-large audio {
    width: 100%;
    margin: 15px 0;
}

.tracklist ul {
    list-style: none;
    padding-left: 20px;
}

.tracklist li {
    margin: 10px 0;
    padding-left: 20px;
}

.tiny {
    font-size: 0.7rem;
    color: #bda07a;
}