
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  }

  body {
    background: linear-gradient(145deg, #f0f8f0 0%, #e8f3e8 100%);
    min-height: 100vh;
    color: #1a2e1a;
    line-height: 1.5;
  }

  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
  }

  header {
    background: linear-gradient(135deg, #0d3b1a 0%, #1a5c2e 50%, #0f451f 100%);
    color: white;
    padding: 18px 0;
    box-shadow: 0 8px 32px rgba(13, 59, 26, 0.3);
    position: relative;
    overflow: hidden;
  }

  header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 8s infinite linear;
  }

  @keyframes shimmer {
    0% { transform: translate(-30%, -30%) rotate(0deg); }
    100% { transform: translate(-30%, -30%) rotate(360deg); }
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }

  .logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo::before {
    content: "🥗";
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  }

  nav {
    display: flex;
    gap: 8px;
  }

  nav a {
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
  }

  nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
  }

  nav a.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    color: #5a7e5a;
    font-size: 14px;
  }

  .breadcrumb a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
  }

  .breadcrumb a:hover {
    text-decoration: underline;
  }

  .breadcrumb span {
    color: #8aab8a;
  }

  .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 36px 32px;
    margin-bottom: 36px;
    box-shadow: 0 20px 40px rgba(20, 60, 20, 0.08),
                0 4px 12px rgba(0, 0, 0, 0.03),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(180, 215, 180, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    box-shadow: 0 30px 60px rgba(30, 80, 30, 0.12),
                0 8px 20px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
  }

  .section-title {
    font-size: 24px;
    color: #0f3d1a;
    margin-bottom: 24px;
    font-weight: 700;
    border-left: 8px solid #2e7d32;
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(46, 125, 50, 0.08) 0%, transparent 80%);
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .recipe-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
  }

  .recipe-image {
    flex: 0 0 280px;
    height: 220px;
    background: linear-gradient(145deg, #c8e0c8, #a8d4a8);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.15);
    border: 2px solid #b8d8b8;
  }

  .recipe-info {
    flex: 1;
    min-width: 280px;
  }

  .recipe-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a4a1a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .recipe-badge {
    padding: 6px 16px;
    background: linear-gradient(135deg, #e8f5e9, #d4ead4);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
    border: 1px solid #b8d8b8;
  }

  .recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }

  .meta-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f8f0;
    border-radius: 30px;
    font-size: 14px;
    color: #3d6b3d;
    border: 1px solid #d0e4d0;
  }

  .recipe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .tag-small {
    padding: 6px 14px;
    background: white;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #2e7d32;
    border: 1.5px solid #c8e0c8;
  }

  .nutrition-detail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
  }

  .nutri-item {
    background: linear-gradient(145deg, #f8fcf8, #eef6ee);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #d0e4d0;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .nutri-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  }

  .nutri-info {
    flex: 1;
  }

  .nutri-label {
    font-size: 13px;
    color: #5a7e5a;
    margin-bottom: 4px;
  }

  .nutri-number {
    font-size: 22px;
    font-weight: 800;
    color: #1a5c2e;
  }

  .nutri-unit {
    font-size: 13px;
    color: #7a9e7a;
    margin-left: 4px;
    font-weight: 400;
  }

  .progress-bar {
    margin-top: 8px;
    height: 6px;
    background: #d8ead8;
    border-radius: 3px;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2e7d32, #4caf50);
    border-radius: 3px;
  }

  .meal-section {
    margin-bottom: 32px;
  }

  .meal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .meal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, #e4f3e4, #d4ead4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 1px solid #b8d8b8;
  }

  .meal-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a4a1a;
  }

  .meal-detail-card {
    background: #f8fcf8;
    border-radius: 20px;
    padding: 24px;
    margin-left: 60px;
    border: 1px solid #d8ead8;
  }

  .food-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 20px;
  }

  .food-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #2e4e2e;
  }

  .food-amount {
    color: #7a9e7a;
    font-size: 13px;
  }

  .cooking-steps {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #c8e0c8;
  }

  .step-title {
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 12px;
    font-size: 15px;
  }

  .step-list {
    list-style: none;
  }

  .step-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #456b45;
  }

  .step-number {
    width: 24px;
    height: 24px;
    background: #e4f3e4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #2e7d32;
    flex-shrink: 0;
  }

  .ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
  }

  .ingredient-category {
    background: #f8fcf8;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #d8ead8;
  }

  .category-title {
    font-weight: 700;
    color: #1a4a1a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
  }

  .ingredient-list {
    list-style: none;
  }

  .ingredient-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #d0e4d0;
    font-size: 14px;
  }

  .ingredient-list li:last-child {
    border-bottom: none;
  }

  .ingredient-name {
    color: #2e4e2e;
  }

  .ingredient-amount {
    color: #5a7e5a;
    font-weight: 500;
  }

  .tips-box {
    background: linear-gradient(135deg, #fff8e1, #fff3c4);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #ffe082;
    margin-top: 24px;
  }

  .tips-title {
    font-size: 18px;
    font-weight: 700;
    color: #b26500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .tips-list {
    list-style: none;
  }

  .tips-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: #6b4a00;
    font-size: 14px;
  }

  .tips-list li::before {
    content: "💡";
    flex-shrink: 0;
  }

  .action-bar {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
  }

  .action-btn {
    padding: 14px 28px;
    border: 2px solid #2e7d32;
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #1a5c2e;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .action-btn:hover {
    background: #2e7d32;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(46, 125, 50, 0.25);
  }

  .btn-primary {
    background: linear-gradient(135deg, #1a5c2e 0%, #2b7a3e 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 20px rgba(26, 92, 46, 0.25);
  }

  .btn-primary:hover {
    background: linear-gradient(135deg, #236b36 0%, #358f4a 100%);
    box-shadow: 0 15px 30px rgba(26, 92, 46, 0.35);
  }

  .related-section {
    margin-top: 24px;
  }

  .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
  }

  .related-item {
    background: #f8fcf8;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #d8ead8;
    cursor: pointer;
    transition: all 0.25s;
  }

  .related-item:hover {
    background: white;
    border-color: #a8d4a8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.1);
  }

  .related-icon {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .related-name {
    font-weight: 700;
    color: #1a4a1a;
    margin-bottom: 4px;
  }

  .related-desc {
    font-size: 13px;
    color: #6b8e6b;
  }

  .empty-state {
    text-align: center;
    padding: 60px 40px;
  }

  .empty-icon {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.6;
  }

  .empty-state h3 {
    color: #1a4a1a;
    margin-bottom: 12px;
    font-size: 22px;
  }

  .empty-state p {
    color: #5a7e5a;
    margin-bottom: 28px;
  }

  .empty-state .btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #1a5c2e, #2b7a3e);
    color: white;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
  }

  footer {
    background: linear-gradient(135deg, #0d3b1a 0%, #145a24 100%);
    color: white;
    text-align: center;
    padding: 28px 0;
    margin-top: 50px;
    border-radius: 60px 60px 0 0;
    box-shadow: 0 -10px 30px rgba(13, 59, 26, 0.15);
    position: relative;
    overflow: hidden;
  }

  footer::after {
    content: "🌱 🥑 🍅 🥦";
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 24px;
    opacity: 0.15;
  }

  @media (max-width: 768px) {
    .header-inner {
      flex-direction: column;
      gap: 15px;
    }

    nav {
      flex-wrap: wrap;
      justify-content: center;
    }

    .recipe-header {
      flex-direction: column;
    }

    .recipe-image {
      flex: 0 0 auto;
      width: 100%;
    }

    .meal-detail-card {
      margin-left: 0;
    }

    .nutrition-detail {
      grid-template-columns: 1fr;
    }

    .action-btn {
      flex: 1;
      justify-content: center;
    }
  }

  @media (max-width: 480px) {
    .card {
      padding: 24px 18px;
    }

    .recipe-title {
      font-size: 24px;
    }

    .ingredients-grid {
      grid-template-columns: 1fr;
    }
  }