  
    :root{
      --bg: #0b1220;         /* fondo */
      --card: #0f172a;       /* tarjetas */
      --muted: #94a3b8;      /* texto secundario */
      --text: #e2e8f0;       /* texto base */
      --brand: #0ea5e9;      /* acento */
      --brand-2:#22d3ee;     /* acento 2 */
      --ring: rgba(34,211,238,.25);
      --border: #1f2937;
      --ok: #22c55e;
      --warn: #f59e0b;
    }

    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
      background: radial-gradient(1200px 800px at 10% -20%, rgba(34,211,238,.08), transparent),
                  radial-gradient(1000px 700px at 120% 10%, rgba(14,165,233,.12), transparent),
                  var(--bg);
      color:var(--text);
    }

    header {
        position: sticky;
        top: 0;
        z-index: 10;
        backdrop-filter: blur(8px);
        background: linear-gradient(180deg, rgb(7 31 78 / 85%), rgb(8 0 99 / 65%) 60%, rgb(180 204 255 / 0%));
        border-bottom: 1px solid var(--border);
    }
    .container{max-width:1100px; margin:0 auto; padding:24px;}

    .topbar{display:flex; gap:16px; align-items:center; justify-content:space-between}
    .brand{display:flex; gap:12px; align-items:center}
    .brand img{width: 100px;height: 100px; border-radius:8px}
    .brand h1{ font-weight:700; letter-spacing:.3px; margin:0}
    .brand span{font-size:12px; color:var(--muted)}

    .controls{display:flex; gap:12px; flex-wrap:wrap; align-items:center}

    input[type="search"]{
      width: min(380px, 90vw); padding:12px 14px; border-radius:12px; background:#0b1326; color:var(--text);
      border:1px solid var(--border); outline: none;
    }
    input[type="search"]:focus{box-shadow: 0 0 0 6px var(--ring); border-color: var(--brand)}

    select, button{border:1px solid var(--border); background:#0b1326; color:var(--text); border-radius:12px; padding:10px 12px}
    button.icon{padding:10px; aspect-ratio:1/1}
    .hint{font-size:12px; color:var(--muted); margin-top:8px}

    .tags{display:flex; gap:8px; flex-wrap:wrap; margin-top:16px}
    .tag{font-size:12px; color:var(--text); background:#0b1326; border:1px solid var(--border); padding:6px 10px; border-radius:999px; cursor:pointer; user-select:none}
    .tag.active{outline:2px solid var(--brand); background:rgba(14,165,233,.08)}

    main{padding-top:12px}

    .grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
    @media (max-width: 980px){
        html, body {
            height: auto;
        }
        header{
            position: static;;
        }
        .grid{
            grid-template-columns: repeat(2, 1fr);
        }
        .topbar{
            display: block;
        }
        .tag{
            display: none;
        }
    }
    @media (max-width: 640px){
        html, body {
            height: auto;
        }
        header{
            position: static;;
        }
        .grid{
            grid-template-columns: 1fr
        }
        .topbar{
            display: block;
        }        
        .tag{
            display: none;
        }
    }

    .card{
      position:relative; border:1px solid var(--border); background:linear-gradient(180deg,#001a56 0%, #0e1629 100%);
      padding:18px; border-radius:16px; transition:.25s transform, .25s box-shadow, .25s border-color;
    }
    .card:hover{transform:translateY(-2px); box-shadow: 0 0px 30px rgba(1, 165, 233, .5); border-color:#243047}
    .card h3{margin:0 0 6px; font-size:16px}
    .meta{display:flex; gap:10px; align-items:center; color:var(--muted); font-size:12px; margin-bottom:10px}
    .desc{font-size:14px; line-height:1.5; color:#cbd5e1; margin-bottom:14px}
    .actions{display:flex; gap:8px; align-items:center; justify-content:space-between}
    .pill{font-size:12px; background:rgba(14,165,233,.12); color:#7dd3fc; padding:6px 10px; border-radius:999px; border:1px solid #1c2a3b}
    .btn{display:inline-flex; gap:8px; align-items:center; text-decoration:none}
    .btn svg{width:16px; height:16px}
    .copy{cursor:pointer}

    .footer{margin:40px 0 24px; color:var(--muted); font-size:12px; text-align:center}

    .counter{font-size:12px; color:var(--muted)}
    .badge{display:inline-flex; align-items:center; gap:6px; font-size:12px; border:1px solid var(--border); padding:6px 10px; border-radius:999px}
    .badge .dot{width:8px; height:8px; border-radius:999px; background:var(--ok)}

    /* subtle gradient title */
    .title{
      font-size: clamp(22px, 3.4vw, 36px); font-weight:800; letter-spacing:.2px; margin: 2px 0 8px;
      background: linear-gradient(90deg, #7dd3fc, #a78bfa 40%, #22d3ee 80%);
      -webkit-background-clip: text; background-clip: text; color: transparent;
    }