* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #fef9e7 0%, #fdebd0 100%);
    color: #5d4037;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    overflow-x: hidden;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    position: relative;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-container {
    position: relative;
    height: 120px;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Georgia', serif;
    font-size: 4.5rem;
    color: #8d6e63;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    text-align: center;
    transition: all 0.5s ease;
}

.title-piece {
    position: absolute;
    font-family: 'Georgia', serif;
    font-size: 4.5rem;
    color: #8d6e63;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.tagline {
    font-size: 1.2rem;
    color: #a1887f;
    max-width: 600px;
    margin: 0 auto;
}

.recipe-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards 3s;
}

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

.recipe-image {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), 
                url('https://images.unsplash.com/photo-1549931319-a545dcf3bc73?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.floating-ingredient {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-500px) rotate(360deg);
        opacity: 0;
    }
}

.recipe-content {
    padding: 30px;
}

h2 {
    color: #8d6e63;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #d7ccc8;
    font-size: 1.8rem;
}

h3 {
    color: #a1887f;
    margin: 20px 0 10px;
    font-size: 1.4rem;
}

.ingredients-list, .instructions-list, .variations-list {
    margin-left: 20px;
}

.ingredients-list li, .instructions-list li, .variations-list li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.ingredients-list li {
    list-style-type: none;
    position: relative;
}

.ingredients-list li:before {
    content: "•";
    color: #8d6e63;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.instructions-list li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.time-info {
    display: flex;
    justify-content: space-between;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.time-item {
    text-align: center;
}

.time-item i {
    font-size: 1.5rem;
    color: #8d6e63;
    margin-bottom: 5px;
}

.variations-list li {
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.variations-list li:before {
    content: "★";
    color: #ff9800;
    position: absolute;
    left: 0;
}

.note {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 5px solid #8d6e63;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #a1887f;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: #8d6e63;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .recipe-card {
        grid-template-columns: 1fr;
    }
    
    .recipe-image {
        min-height: 300px;
    }
    
    h1 {
        font-size: 3rem;
    }
}