#app {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #efefef 100%);
}

/* Header Section */
.recipes-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, #2c1810 0%, #3d2817 100%);
}

.header-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #fff;
    margin: 0;
}

.header-featured {
    display: block;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #d4af37;
    text-transform: uppercase;
}

.header-main {
    display: block;
    font-size: 48px;
    font-weight: 300;
}

/* Recipes Container */
.recipes-container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Recipe Card */
.recipe-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #d4af37;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-left-color: #e8c547;
}

.recipe-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.recipe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-card-image img {
    transform: scale(1.05);
}

.recipe-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recipe-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c1810;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.recipe-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Modal Styles */
.modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    padding: 8px 12px;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 32px;
    font-weight: 300;
    color: #2c1810;
    margin-bottom: 30px;
    letter-spacing: 1px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 15px;
}

/* Modal Sections */
.modal-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c1810;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.ingredients-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ingredients-list li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: #555;
    font-size: 15px;
}

.ingredients-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
    font-size: 18px;
}

.directions-list {
    list-style: none;
    counter-reset: step-counter;
    margin: 0;
    padding: 0;
}

.directions-list li {
    counter-increment: step-counter;
    padding: 12px 0 12px 40px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.directions-list li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 10px;
    background: #d4af37;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Social Sharing */
.social-sharing {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #eee;
}

.social-link:hover {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recipes-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .header-title {
        font-size: 36px;
    }

    .header-featured {
        font-size: 12px;
    }

    .modal-content {
        padding: 30px 20px;
        max-height: 95vh;
    }

    .modal-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 14px;
    }

    .recipes-container {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .recipes-grid {
        grid-template-columns: 1fr;
    }

    .header-title {
        font-size: 28px;
    }

    .recipe-card-content {
        padding: 20px 15px;
    }

    .modal-overlay {
        padding: 10px;
    }

    .modal-content {
        border-radius: 8px;
        padding: 25px 15px;
    }

    .ingredients-list li,
    .directions-list li {
        font-size: 14px;
    }

    .social-sharing {
        gap: 12px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }
}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #c49b2e;
}