/* This part is important for the animation to work smoothly */
@property --angle {
  syntax: '&lt;angle&gt;';
  initial-value: 0deg;
  inherits: false;
}
:root{
  --bg1:#dfeafe;
  --bg2:#fff;
  --bg3:#ffe6d6;
  --card: rgba(255,255,255,0.6);
  --border: rgba(255,255,255,0.6);
  --text:#0f172a;
  --muted:#475569;
  --link:#0ea5e9;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: linear-gradient(135deg,var(--bg1),var(--bg2),var(--bg3));
  min-height:100vh;
}
.container{max-width:1000px;margin:0 auto;padding:24px}
.header{
  position:sticky;top:0;backdrop-filter:saturate(180%) blur(8px);
  background:rgba(255,255,255,0.55); border-bottom:1px solid var(--border); z-index:10;
}
.nav{display:flex;justify-content:space-between;align-items:center;height:60px}
.brand{font-weight:700}
.nav a{color:inherit;text-decoration:none;margin-left:16px}
.cta{background:#000;color:#fff;padding:8px 14px;border-radius:999px}
.card{
  background:var(--card); border:1px solid var(--border); border-radius:20px; padding:24px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}
h1{font-size:34px;margin:0 0 8px 0}
h2{margin-top:28px}
.lede{color:var(--muted)}
.grid{display:grid;gap:16px}
@media(min-width:720px){.grid-3{grid-template-columns:repeat(3,1fr)}}
a{color:var(--link)}
.meta{color:var(--muted);font-size:14px}
/* === Animated Gradient Border for Buttons === */

/* Optional: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .grad-border-anim,
  .grad-border-anim::before,
  .grad-border-anim::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Turn on the gradient-border system when this class is present */
.action-chip.grad-border-anim {
  /* This is crucial for positioning the rainbow border behind the button */
  position: relative; 
  z-index: 1;

  /* You can change these styles to match your site */
  padding: 1rem 2rem;
  border: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

/* --- The Rainbow Border and Glow Effect --- */
.action-chip.grad-border-anim::before,
.action-chip.grad-border-anim::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  
  /* Places the border behind the button */
  z-index: -1; 
  
  /* Creates the rainbow gradient using special CSS */
  background-image: conic-gradient(
    from var(--angle),
    #ff0000,
    #ff7f00,
    #ffff00,
    #00ff00,
    #0000ff,
    #4b0082,
    #9400d3,
    #ff0000
  );
  
  /* Applies the spinning animation */
  animation: spin 3s linear infinite;
}

/* This adds the soft "glow" behind the main border */
.action-chip.grad-border-anim::before {
  filter: blur(1.5rem);
  opacity: 0.5;
}


/* --- The Spinning Animation --- */
@keyframes spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}
.tag{display:inline-block;border:1px solid var(--border);background:rgba(255,255,255,0.8);border-radius:999px;padding:2px 10px;margin-right:6px;font-size:12px}
.footer{margin:40px 0;color:var(--muted);}
.search{width:100%;max-width:360px;padding:10px 14px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,0.85)}
ul.cta-list{list-style:disc;padding-left:20px}
hr{border:none;border-top:1px solid var(--border);margin:24px 0}

