/* 레시피 배너 카드 스타일 */
.banner-card {
    flex: 0 0 calc(100% - 32px);
    max-width: calc(100% - 32px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    min-height: 240px;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.banner-card:active {
    transform: scale(0.98);
}

.banner-image {
    position: relative;
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 24px 20px;
    width: 100%;
}

.banner-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* 레시피 카드 스타일 (기존 - 사용 안 함) */
.recipe-card-container {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.recipe-card-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.recipe-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.recipe-card-content {
    padding: 16px;
    background: white;
}

.recipe-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.recipe-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recipe-card-benefit {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.5;
}

.recipe-card-nutrients {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.recipe-nutrient-tag {
    font-size: 0.75rem;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 500;
}

/* 레시피 상세 모달 */
.recipe-modal-header {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
}

.recipe-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.recipe-modal-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.recipe-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.recipe-modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.recipe-section {
    margin-bottom: 24px;
}

.recipe-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recipe-section-content {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.6;
}

.recipe-ingredients-list,
.recipe-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recipe-ingredients-list li {
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.9375rem;
}

.recipe-steps-list li {
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 36px;
}

.recipe-steps-list li::before {
    content: attr(data-step);
    position: absolute;
    left: 12px;
    top: 12px;
    background: #f59e0b;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.recipe-tip-box {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.recipe-tip-title {
    font-weight: 700;
    color: #065f46;
    margin-bottom: 6px;
}

.recipe-tip-content {
    color: #047857;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.recipe-science-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 12px 16px;
    border-radius: 8px;
}

.recipe-science-title {
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 6px;
}

.recipe-science-content {
    color: #1e3a8a;
    font-size: 0.9375rem;
    line-height: 1.5;
}
