body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    min-height: 100vh;
}

.memory-book {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.book-header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.book-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #e91e63;
    margin: 0 0 10px 0;
}

.book-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.memories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.memory-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.memory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b9d, #feca57);
}

.memory-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.memory-date {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: #e91e63;
    margin-bottom: 10px;
}

.memory-card h3 {
    color: #333;
    margin: 15px 0;
}

.memory-card p {
    color: #666;
    line-height: 1.6;
}

.memory-emoji {
    text-align: center;
    font-size: 2rem;
    margin-top: 20px;
}

.special-memory {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.photo-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 40px;
}

.photo-section h2 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #e91e63;
    margin-bottom: 30px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.photo-placeholder {
    background: linear-gradient(135deg, #f8b5ce, #ffd3e1);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    border: 3px dashed #ff6b9d;
    transition: all 0.3s ease;
}

.photo-placeholder:hover {
    transform: scale(1.05);
    border-style: solid;
}

.photo-placeholder p {
    color: #666;
    margin-bottom: 10px;
}

.photo-placeholder span {
    font-size: 3rem;
}

.memory-footer {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
}

.back-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #e91e63, #ff6b9d);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
}
