    :root{
      --bg: #2a67e0;           /* deep navy */
      --card: #ffffff;         /* slightly lighter */
      --muted: #000000;        /* muted text */
      --text: #000000;         /* primary text */
      --brand: #2a67e0;        /* teal/mint */
      --accent: #2a67e0;       /* purple */
      --danger: #EF4444;       /* red */
      --shadow: 0 10px 30px rgba(0,0,0,.35);
      --radius: 18px;
    }
  
    *{box-sizing:border-box}
    html,body{min-height:100%}
    body{
      margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
      color:var(--text); background: radial-gradient(1200px 800px at 80% -10%, rgba(46, 110, 248, 0.15), transparent 60%),
                          radial-gradient(900px 600px at -10% 110%, rgba(70, 58, 237, 0.12), transparent 60%),
                          var(--bg);
      display:flex; align-items:center; justify-content:center; padding:24px;
    }
    .wrap{width:min(720px, 100%);}
    .card{
      background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:28px; position:relative; overflow:hidden;
      border:1px solid rgba(255,255,255,.06);
    }
    header{display:flex; align-items:center; gap:14px; margin-bottom:14px}
    .logo{
      width:52px; height:52px; border-radius:14px; display:grid; place-items:center; background:#2a67e0;
      border:1px solid rgba(255,255,255,.08);
    }
    .logo img{width:36px; height:36px; object-fit:contain; filter:drop-shadow(0 2px 8px rgba(0,0,0,.25))}
    .brand h1{font-size:1.35rem; line-height:1.1; margin:0; font-weight:800}
    .brand p{margin:.25rem 0 0; color:var(--muted); font-size:.95rem}

    .notice{
      display:flex; gap:10px; align-items:flex-start; background:rgba(124,58,237,.12); border:1px solid rgba(124,58,237,.35);
      padding:12px 14px; border-radius:14px; color:var(--text); margin:12px 0 18px; font-size:.92rem;
    }
    .notice svg{flex:0 0 20px; margin-top:2px}

    .grid{display:grid; grid-template-columns:1fr; gap:12px}
    @media (min-width:560px){ .grid{ grid-template-columns: 1fr 1fr; } }

    a.link{
      display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:14px; text-decoration:none; color:var(--text); background:#ffffff;
      border:1px solid rgba(0, 0, 0, 0.575); transition: transform .08s ease, box-shadow .2s ease, border-color .2s ease;
    }
    a.link:hover{ transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(255,255,255,.18); }
    .link .icon{width:22px; height:22px; opacity:.95}
    .link .meta{display:flex; flex-direction:column}
    .meta .title{font-weight:700}
    .meta .desc{font-size:.9rem; color:var(--muted)}

    .section{margin-top:22px}
    .section h2{font-size:1rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:12px 4px}

    .list{display:flex; flex-direction:column; gap:10px}
    .deal{
      display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 14px; border-radius:12px; background:rgba(255,255,255,.03);
      border:1px solid rgba(255,255,255,.08);
    }
    .deal .left{display:flex; align-items:center; gap:10px}
    .badge{font-size:.78rem; padding:4px 8px; border-radius:999px; background:rgba(79,209,197,.15); border:1px solid rgba(79,209,197,.4); color:var(--text)}
    .deal .title{font-weight:700}
    .deal .price{font-weight:800}
    .deal a{color:var(--text); text-decoration:none}
    .deal a:hover{text-decoration:underline}

    .deal-list {
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    
    footer{margin-top:26px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; color:var(--muted); font-size:.9rem}
    footer a{color:var(--muted)}

    /* Tiny helper buttons (copy) */
    .copy-btn{font-size:.8rem; padding:6px 10px; border-radius:10px; border:1px solid rgba(255,255,255,.14); background:transparent; color:var(--text); cursor:pointer}
    .copy-btn:hover{border-color:rgba(255,255,255,.28)}

    /* ====== DEALS – MOBILE-FIRST ====== */
    .deal{
      /* vira grid no mobile */
      display: grid;
      grid-template-columns: 56px 1fr;
      grid-template-areas:
        "badge top"
        "badge sub"
        "badge actions";
      gap: 8px 12px;
      align-items: center;
      padding: 12px 14px;
      border-radius: 12px;
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(19, 77, 235, 0.507);
    }

    .deal-badge{ grid-area: badge; display:flex; align-items:center; justify-content:center; }
    .deal-badge .badge{
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      width:56px; height:56px; border-radius:50%;
      background: rgba(79,209,197,.15);
      border: 1px solid rgba(79,209,197,.40);
      color: var(--text);
      font-size: 12px; line-height:1;
    }
    .deal-badge .badge strong{ font-size:16px; }

    /* Linha superior: rota e preço */
    .deal-top{ grid-area: top; display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; }
    .deal .title{ font-weight:700; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .deal .price{ font-weight:800; }

    /* Meses */
    .deal-sub{ grid-area: sub; color: var(--muted); font-size: .95rem; }

    /* Ações (Open / Copy) abaixo, lado a lado */
    .deal-actions{ grid-area: actions; display:flex; gap:8px; }
    .btn{
      font-size:.9rem; padding:10px 14px; border-radius:10px;
      border:1px solid rgba(255,255,255,.14);
      background:#1a2232; color:var(--text); text-decoration:none; cursor:pointer;
    }
    .btn-ghost{ background:transparent; }
    .btn:hover{ border-color: rgba(255,255,255,.28); }

    /* Open button style */
    .btn {
      font-size: 0.9rem;
      font-weight: 600;
      padding: 8px 16px;
      border-radius: 10px;
      border: none;
      background: #155cad;
      color: #fff !important; /* text color white */
      cursor: pointer;
      transition: all 0.2s ease;
      text-decoration: none; /* para <a> */
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        }

    /* Efeito ao passar o mouse */
    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    }

    /* Para o botão "Copy" manter estilo discreto */
    .btn-ghost {
      font-size: 0.9rem;
      padding: 8px 14px;
      color: #000000 !important; /* text color white */
      border-radius: 10px;
      border: 1px solid rgba(255,255,255,0.14);
      background: transparent;
      color: var(--text);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-ghost:hover {
      border-color: rgba(255,255,255,0.28);
      background: rgba(255,255,255,0.05);
    }


    /*css for all deals */
    .bar{display:flex; gap:10px; flex-wrap:wrap; justify-content:space-between; align-items:center; margin:6px 0 18px}
    .pill{font-size:.85rem; padding:6px 10px; border-radius:999px; background:rgba(55, 118, 252, 0.15); border:1px solid rgba(79,209,197,.4)}
    .back{font-size:.9rem; padding:8px 12px; border-radius:12px; background:transparent; color:var(--text); border:1px solid rgba(255,255,255,.16); text-decoration:none}

    /* if mobile */
    @media (max-width:560px){
      .deal-top{
        display: block;
        grid-area: top;
      }
      .deal .title{
        font-size: 0.95rem;  /* lower font size */
        font-weight: 700;
        white-space: normal;
        overflow: visible;
      }
      .deal .price{
        font-size: 1.05rem;  /* moderate emphasis */
        font-weight: 800;
        margin-top: 2px;
      }
      .deal-sub{
        grid-area: sub;
        font-size: 0.9rem;
        margin-top: 2px;
      }
      .deal-actions{
        grid-area: actions;
        display: flex;
        gap: 8px;
        margin-top: 4px;
      }
    }

