body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
}

.bg-gradient-dark {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
}

/* Carousel Styles */
#heroCarousel {
    margin-top: -1px;
}

.carousel-img {
    height: 350px;
    object-fit: cover;
    filter: brightness(0.6);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.carousel-caption h1, .carousel-caption h2 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.carousel-caption p {
    font-size: 1.1rem;
}

.carousel-control-prev, .carousel-control-next {
    width: 8%;
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
}

@media (max-width: 768px) {
    .carousel-img {
        height: 250px;
    }
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .carousel-caption h2 {
        font-size: 1.4rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

.hero-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    margin-top: -1px;
}

.main-card {
    border-radius: 20px;
    background: rgba(255,255,255,0.98);
}

.card {
    border-radius: 15px;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
    background: linear-gradient(90deg, #e65c2e 0%, #e0851a 100%);
}

.btn-generating {
    background: linear-gradient(90deg, #00b09b 0%, #96c93d 100%) !important;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Recipe Card */
.recipe-card {
    border-radius: 20px;
    background: #fff;
}

.recipe-header-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-image: url('https://images.unsplash.com/photo-1495521821758-ee18ece6d660?w=1600&h=600&fit=crop');
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-image 0.5s ease-in-out;
}

.recipe-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.recipe-title-container {
    position: relative;
    z-index: 1;
    padding: 15px;
}

/* Compact Recipe Content */
.recipe-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.recipe-content h2 {
    display: none; /* Hide duplicate title */
}

.recipe-content h3 {
    color: #ff6b35;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #ffecd2;
    font-weight: 600;
}

.recipe-content p {
    margin-bottom: 0.5rem;
}

.recipe-content ul, .recipe-content ol {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
}

.recipe-content li {
    margin-bottom: 0.3rem;
}

.recipe-content strong {
    color: #333;
}

/* Q&A Card */
.qa-card .card-header {
    background: linear-gradient(90deg, #17a2b8 0%, #138496 100%);
}

.avatar {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-question:hover {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.badge-custom {
    background-color: #ff9800;
    color: white;
    margin-right: 5px;
}
