:root{
      --bg: #0f172a;           /* slate-900 */
      --panel: #111827;        /* gray-900 */
      --panel-2: #0b1220;      /* deep blend */
      --text: #e5e7eb;         /* gray-200 */
      --muted: #9ca3af;        /* gray-400 */
      --brand: #f59e0b;        /* amber-500 */
      --brand-2:#22d3ee;       /* cyan-400 */
      --ok: #10b981;           /* emerald-500 */
      --danger:#ef4444;        /* red-500 */
      --shadow: 0 20px 50px rgba(0,0,0,.35);
      --radius: 22px;
    }

    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
      background:
        radial-gradient(1200px 600px at 90% -10%, rgba(34,211,238,.08), transparent 60%),
        radial-gradient(800px 400px at -10% 10%, rgba(245,158,11,.08), transparent 60%),
        var(--bg);
      color:var(--text);
      line-height:1.6;
      -webkit-font-smoothing: antialiased;
    }

    .wrap{
      max-width: 1100px;
      margin: 32px auto;
      padding: 24px;
    }

    .card{
      background: linear-gradient(180deg, var(--panel), var(--panel-2));
      border: 1px solid rgba(255,255,255,.06);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      animation: floatIn .6s ease-out both;
    }

    .header{
      display:flex; align-items:center; gap:20px;
      padding: 22px 24px;
      background: linear-gradient(90deg, rgba(34,211,238,.06), rgba(245,158,11,.06));
      border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .title{
      font-size: clamp(22px, 4vw, 34px);
      margin:0;
      letter-spacing:.3px;
    }
    .meta{
      margin-left:auto; display:flex; gap:14px; flex-wrap:wrap;
    }
    .badge{
      display:inline-flex; align-items:center; gap:8px;
      background: rgba(255,255,255,.06);
      padding:8px 12px; border-radius:999px; font-size:14px; color:var(--muted);
      border:1px solid rgba(255,255,255,.06);
    }

    .grid{
      display:grid;
      grid-template-columns: 380px 1fr;
      gap: 20px;
      padding: 22px;
    }

    .dish{
      position:relative; overflow:hidden; border-radius: 18px; border:1px solid rgba(255,255,255,.06);
    }
    .dish img{ width:100%; height:100%; object-fit:cover; display:block; }
    .dish .shine{ position:absolute; inset:0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.08), transparent 60%);
      transform: translateX(-120%); animation: shine 5s linear infinite; }

    .section{ background: rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.06); border-radius:18px; overflow:hidden; }
    .section-header{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; cursor:pointer; user-select:none; }
    .section-header h3{ margin:0; font-size:18px; letter-spacing:.2px; }

    .toggle-btn{ all:unset; cursor:pointer; padding:8px 12px; border-radius:10px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); font-size:13px; color:var(--muted); }
    .toggle-btn:hover{ transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }

    .content{ padding: 0 16px 16px 16px; max-height: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease; opacity:.0; }
    .content.open{ padding: 0 16px 16px 16px; opacity:1; }

    /* Ingredients */
    .ingredients li{ padding:10px 12px; border-bottom:1px dashed rgba(255,255,255,.08); display:flex; align-items:center; gap:10px; }
    .ingredients li:last-child{ border-bottom:none; }
    .ingredients input[type="checkbox"]{ width:18px; height:18px; accent-color: var(--ok); }
    .ingredients li:hover{ background: rgba(34,211,238,.06); transform: translateX(2px); transition: transform .2s ease, background .2s ease; }

    /* Steps */
    .steps li{ padding:12px 14px; border-left: 3px solid transparent; background: rgba(255,255,255,.02); border-radius: 12px; margin:8px 0; }
    .steps li.active{ border-left-color: var(--brand); background: rgba(245,158,11,.09); animation: pulse .9s ease both; }
    .steps li.done{ border-left-color: var(--ok); opacity:.7; }

    .controls{ display:flex; gap:10px; padding: 12px 16px; border-top:1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
    .btn{ all:unset; cursor:pointer; padding:10px 14px; border-radius: 12px; background: linear-gradient(180deg, rgba(34,211,238,.25), rgba(34,211,238,.1)); border:1px solid rgba(34,211,238,.35); font-weight:600; }
    .btn.primary{ background: linear-gradient(180deg, rgba(245,158,11,.25), rgba(245,158,11,.1)); border-color: rgba(245,158,11,.4); }
    .btn.danger{ background: linear-gradient(180deg, rgba(239,68,68,.25), rgba(239,68,68,.1)); border-color: rgba(239,68,68,.45); }
    .btn:disabled{ opacity:.5; cursor:not-allowed; }

    /* Progress */
    .progress{ position:relative; height:10px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius:999px; overflow:hidden; }
    .bar{ position:absolute; inset:0 auto 0 0; width:0%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .35s ease; }

    .status{ display:flex; align-items:center; gap:14px; font-size:14px; color:var(--muted); }

    /* Layout adjustments */
    .stack{ display:grid; gap:20px; }

    /* Responsive */
    @media (max-width: 900px){
      .grid{ grid-template-columns: 1fr; }
    }

    /* Print styles (bonus) */
    @media print{
      body{ background:#fff; color:#111; }
      .header, .controls, .toggle-btn, .progress, .badge.print-hide{ display:none !important; }
      .grid{ grid-template-columns: 1fr; }
      .card{ box-shadow:none; border: none; }
      .section .content{ max-height: none !important; opacity: 1 !important; }
    }

    /* Keyframes */
    @keyframes floatIn{ from{ transform: translateY(16px); opacity:.0 } to{ transform:none; opacity:1 } }
    @keyframes shine{ from{ transform: translateX(-120%)} to{ transform: translateX(120%)} }
    @keyframes pulse{ 0%{ transform: scale(1)} 50%{ transform: scale(1.01)} 100%{ transform: scale(1)} }