@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --bg:#050505;
  --panel:#0b0b0c;
  --panel2:#101011;
  --line:#3b3b3d;
  --line2:#68686b;
  --text:#f1f1ef;
  --muted:#9b9b9d;
  --soft:#c9c9c7;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at 70% 10%,#222 0,#090909 28%,#030303 65%);
  font-family:Inter,Arial,sans-serif;
  min-height:100vh;
}
body:before{
  content:"";
  position:fixed;inset:0;pointer-events:none;opacity:.10;
  background-image:url("hero-reference.jpg");
  background-size:cover;background-position:center top;
  filter:grayscale(1) contrast(1.2);
  mix-blend-mode:screen;
}
.grain{position:fixed;inset:0;pointer-events:none;opacity:.08;z-index:50;background-image:radial-gradient(#fff .6px,transparent .7px);background-size:6px 6px}
a{text-decoration:none;color:inherit}
button{font:inherit}
.header{
  height:68px;position:sticky;top:0;z-index:20;
  display:flex;align-items:center;gap:32px;padding:0 5%;
  background:#050505e8;border-bottom:1px solid #333;
  backdrop-filter:blur(14px);
}
.brand{font-family:"Cormorant Garamond",serif;font-size:25px;letter-spacing:1px}
.brand span{font-weight:600}
nav{display:flex;gap:30px;margin:auto}
nav a{color:#bbb;font-size:13px}
nav a:hover{color:#fff}
.support,.primary,.ghost,.order{
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #777;border-radius:3px;
  padding:11px 18px;font-weight:700;font-size:12px;
  letter-spacing:.3px;
}
.support,.primary{background:#eee;color:#070707;border-color:#eee}
.support:hover,.primary:hover{background:#fff}
.ghost{color:#eee;background:#0b0b0b}
.hero{
  position:relative;min-height:560px;max-width:1500px;margin:auto;
  overflow:hidden;border-bottom:1px solid #444;
  display:flex;align-items:center;
}
.hero-photo{
  position:absolute;inset:0;
  background-image:url("hero-reference.jpg");
  background-size:cover;background-position:center 28%;
  filter:grayscale(1) contrast(1.18);
  transform:scale(1.015);
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg,#020202 0%,#020202d9 26%,#02020266 55%,#02020218 100%),
             linear-gradient(0deg,#030303 0%,transparent 40%);
}
.hero-content{position:relative;z-index:2;padding:70px 6%;max-width:720px}
.small-mark{font-size:12px;letter-spacing:5px;color:#d0d0d0;margin-bottom:18px}
.hero h1{
  font-family:"Cormorant Garamond",serif;
  font-size:92px;line-height:.78;margin:0 0 25px;
  font-weight:500;letter-spacing:-3px;
  text-shadow:0 5px 25px #000;
}
.hero h1 span{font-style:italic}
.hero-content>p{letter-spacing:4px;font-size:12px;color:#ddd;margin:0 0 28px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.quote{
  position:absolute;right:5%;top:80px;z-index:2;
  font-family:"Cormorant Garamond",serif;font-style:italic;
  color:#ddd;font-size:18px;line-height:1.25;text-align:right;
}
.categories{
  max-width:1400px;margin:0 auto;padding:18px 4%;
  display:grid;grid-template-columns:repeat(6,1fr);gap:8px;
  border-bottom:1px solid #2f2f30;
}
.category{
  min-height:58px;background:#090909;color:#aaa;border:1px solid #303032;
  border-radius:2px;cursor:pointer;display:flex;align-items:center;justify-content:center;
  gap:9px;letter-spacing:.4px;font-size:12px;
}
.category.active,.category:hover{color:#fff;border-color:#aaa;background:#151515}
.content{
  max-width:1400px;margin:auto;padding:52px 4% 70px;
  display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;
}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px}
.eyebrow{font-size:11px;letter-spacing:5px;color:#8e8e91;margin-bottom:5px}
.section-heading h2{font-family:"Cormorant Garamond",serif;font-size:48px;font-weight:500;margin:0}
#taskCount{color:#8f8f92;font-size:12px}
.task-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.task{
  min-height:104px;display:grid;grid-template-columns:54px 1fr;
  border:1px solid #353537;background:linear-gradient(135deg,#111112,#080808);
  position:relative;overflow:hidden;
}
.task:before{content:"";position:absolute;inset:4px;border:1px solid #1d1d1e;pointer-events:none}
.task:hover{border-color:#8d8d90}
.task-symbol{
  display:grid;place-items:center;font-size:20px;color:#d6d6d5;
  border-right:1px solid #29292a;font-family:"Cormorant Garamond",serif;
}
.task-info{padding:15px 15px 13px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.task h3{margin:0 0 4px;font-size:14px;font-weight:600}
.task p{margin:0;color:#88888b;font-size:11px}
.task-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}
.task-bottom strong{font-family:"Cormorant Garamond",serif;font-size:23px;font-weight:600}
.order{padding:7px 12px;color:#eee;background:#171718;border-color:#555;font-size:10px}
.order:hover{background:#eee;color:#080808;border-color:#eee}
.suggest{
  margin-top:16px;padding:20px;border:1px solid #3a3a3b;background:#0a0a0a;
  display:grid;grid-template-columns:48px 1fr auto;gap:15px;align-items:center
}
.suggest-symbol{font-family:"Cormorant Garamond",serif;font-size:28px;text-align:center}
.suggest strong{font-size:13px}.suggest p{margin:4px 0 0;color:#858589;font-size:11px}
.sidebar{display:flex;flex-direction:column;gap:12px}
.side-card{border:1px solid #373738;background:#0b0b0c;padding:20px}
.side-card.dark{background:#111112}
.side-title{font-size:11px;letter-spacing:2px;color:#cfcfcf;margin-bottom:18px}
.side-card ol{list-style:none;padding:0;margin:0;display:grid;gap:17px}
.side-card li{display:flex;gap:13px;align-items:center;color:#b5b5b7;font-size:12px}
.side-card li b{font-family:"Cormorant Garamond",serif;font-size:21px;color:#eee;font-weight:500}
.side-card p{font-size:11px;line-height:1.7;color:#888;margin:0 0 18px}
.full{width:100%}
footer{
  border-top:1px solid #303031;text-align:center;padding:34px 20px 50px;
  background:#030303
}
.footer-brand{font-family:"Cormorant Garamond",serif;font-size:30px}
.footer-brand span{font-style:italic}
footer p{font-size:9px;letter-spacing:4px;color:#666;margin-top:10px}
@media(max-width:900px){
  nav{display:none}
  .header{justify-content:space-between}
  .hero{min-height:520px}
  .hero-photo{background-position:62% center}
  .hero-overlay{background:linear-gradient(90deg,#020202f2 0%,#020202b5 45%,#02020235 100%),linear-gradient(0deg,#030303 0%,transparent 55%)}
  .hero-content{padding:60px 7%;max-width:600px}
  .hero h1{font-size:72px}
  .quote{right:6%;top:35px;font-size:14px}
  .categories{grid-template-columns:repeat(3,1fr)}
  .content{grid-template-columns:1fr}
  .sidebar{display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .header{height:60px;padding:0 16px}
  .brand{font-size:22px}
  .support{padding:9px 11px;font-size:10px}
  .hero{min-height:490px}
  .hero-photo{background-position:67% center}
  .hero-content{padding:65px 22px 35px}
  .hero h1{font-size:59px;line-height:.82;letter-spacing:-2px}
  .hero-content>p{font-size:9px;letter-spacing:2.4px}
  .quote{display:none}
  .hero-actions{flex-direction:column;align-items:stretch}
  .categories{padding:12px 12px;grid-template-columns:repeat(2,1fr)}
  .category{min-height:52px;font-size:11px}
  .content{padding:38px 12px 50px}
  .section-heading h2{font-size:39px}
  .task-grid{grid-template-columns:1fr}
  .task{min-height:98px}
  .suggest{grid-template-columns:1fr;text-align:center}
  .suggest .primary{width:100%}
  .sidebar{display:flex}
}


/* === NESTANY 3D / INTERACTIVE DETAILS === */
.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.sound-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:38px;
  padding:0 11px;
  color:#d9d9d9;
  background:linear-gradient(145deg,#1b1b1d,#090909);
  border:1px solid #555;
  border-radius:4px;
  box-shadow:0 4px 0 #020202, 0 7px 16px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  cursor:pointer;
  font-size:10px;
  font-weight:800;
  letter-spacing:1px;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.sound-toggle:hover{border-color:#aaa}
.sound-toggle:active{
  transform:translateY(3px);
  box-shadow:0 1px 0 #020202, 0 3px 8px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
}
.sound-toggle.is-off{opacity:.55}

.primary,.ghost,.support,.order{
  position:relative;
  top:0;
  box-shadow:0 4px 0 #020202, 0 8px 16px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
}
.primary:hover,.ghost:hover,.support:hover,.order:hover{
  transform:translateY(-1px);
}
.primary:active,.ghost:active,.support:active,.order:active{
  transform:translateY(3px);
  box-shadow:0 1px 0 #020202, 0 3px 7px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
}

.category{
  position:relative;
  box-shadow:0 4px 0 #020202, 0 7px 13px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.04);
  transition:transform .12s ease, box-shadow .12s ease, color .15s ease, border-color .15s ease, background .15s ease;
}
.category:active{
  transform:translateY(3px);
  box-shadow:0 1px 0 #020202, 0 2px 6px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.03);
}
.category.active{
  box-shadow:0 4px 0 #050505, 0 8px 18px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}

.task{
  border-color:#444;
  box-shadow:0 5px 0 #020202, 0 12px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
  transform:translateY(0);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.task:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 0 #020202, 0 18px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.045);
}
.task:active{
  transform:translateY(2px);
  box-shadow:0 2px 0 #020202, 0 5px 10px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.025);
}
.task-symbol{
  text-shadow:0 0 12px rgba(255,255,255,.15);
}

@media(max-width:560px){
  .header-actions{gap:5px}
  .sound-toggle{min-height:34px;padding:0 8px}
  .sound-toggle span{display:none}
}

/* === NESTANY CART === */
.cart-button{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:38px;
  padding:0 10px;
  color:#e7e7e7;
  background:linear-gradient(145deg,#202023,#090909);
  border:1px solid #666;
  border-radius:4px;
  box-shadow:0 4px 0 #020202, 0 8px 16px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
  cursor:pointer;
  font-size:10px;
  font-weight:900;
  letter-spacing:1px;
  transition:transform .12s ease,box-shadow .12s ease,border-color .15s ease;
}
.cart-button:hover{border-color:#aaa;transform:translateY(-1px)}
.cart-button:active{transform:translateY(3px);box-shadow:0 1px 0 #020202,0 3px 8px rgba(0,0,0,.2)}
.cart-icon{font-size:14px}
.cart-count{
  min-width:17px;height:17px;padding:0 4px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #777;border-radius:50%;
  background:#111;color:#fff;font-size:9px;
}
.cart-overlay{
  position:fixed;inset:0;z-index:9999;
  display:flex;justify-content:flex-end;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(3px);
}
.cart-overlay[hidden]{display:none}
.cart-panel{
  width:min(430px,94vw);height:100%;
  display:flex;flex-direction:column;
  background:linear-gradient(160deg,#151517,#070708);
  border-left:1px solid #555;
  box-shadow:-18px 0 45px rgba(0,0,0,.55);
  color:#eee;
  animation:cartIn .18s ease-out;
}
@keyframes cartIn{from{transform:translateX(35px);opacity:.5}to{transform:none;opacity:1}}
.cart-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 20px 17px;border-bottom:1px solid #333;
}
.cart-kicker{font-size:9px;letter-spacing:2px;color:#aaa;margin-bottom:4px}
.cart-head h2{margin:0;font-size:24px;letter-spacing:2px}
.cart-close{
  width:36px;height:36px;border:1px solid #555;border-radius:4px;
  color:#eee;background:#111;cursor:pointer;font-size:25px;line-height:1;
  box-shadow:0 3px 0 #020202;
}
.cart-close:active{transform:translateY(2px);box-shadow:0 1px 0 #020202}
.cart-items{flex:1;overflow:auto;padding:14px 16px}
.cart-row{
  display:grid;grid-template-columns:1fr auto;gap:10px;
  padding:13px 12px;margin-bottom:9px;
  border:1px solid #3c3c3e;border-radius:5px;
  background:linear-gradient(145deg,#1a1a1d,#0d0d0f);
  box-shadow:0 4px 0 #020202,0 8px 14px rgba(0,0,0,.2);
}
.cart-row-title{font-weight:800;font-size:13px;line-height:1.2}
.cart-row-price{margin-top:5px;font-family:Georgia,serif;color:#bbb;font-size:12px}
.cart-controls{display:flex;align-items:center;gap:5px}
.qty-btn,.remove-btn{
  width:28px;height:28px;border:1px solid #555;border-radius:3px;
  background:#101012;color:#eee;cursor:pointer;
  box-shadow:0 3px 0 #020202;font-weight:900;
}
.qty-btn:active,.remove-btn:active{transform:translateY(2px);box-shadow:0 1px 0 #020202}
.qty{min-width:18px;text-align:center;font-weight:900;font-size:12px}
.remove-btn{margin-left:4px;color:#aaa}
.cart-empty{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:#aaa;text-align:center;padding:30px;font-size:15px;
}
.cart-empty[hidden]{display:none}
.empty-symbol{font-size:38px;margin-bottom:10px;color:#777}
.cart-empty small{margin-top:7px;max-width:260px;line-height:1.45;color:#666}
.cart-bottom{padding:15px 16px 18px;border-top:1px solid #333;background:#0a0a0b}
.cart-total{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}
.cart-total span{font-size:10px;letter-spacing:2px;color:#888}
.cart-total strong{font-family:Georgia,serif;font-size:25px}
.checkout-button{
  width:100%;min-height:48px;
  border:1px solid #777;border-radius:4px;
  color:#fff;background:linear-gradient(145deg,#29292c,#0a0a0b);
  box-shadow:0 5px 0 #020202,0 10px 18px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.12);
  font-size:12px;font-weight:900;letter-spacing:2px;cursor:pointer;
  transition:transform .12s ease,box-shadow .12s ease;
}
.checkout-button:hover{transform:translateY(-1px)}
.checkout-button:active{transform:translateY(4px);box-shadow:0 1px 0 #020202,0 3px 7px rgba(0,0,0,.2)}
.checkout-button:disabled{opacity:.4;cursor:not-allowed}
.cart-note{text-align:center;margin-top:8px;color:#666;font-size:9px}
.add-to-cart{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:36px;height:32px;padding:0 9px;
  border:1px solid #555;border-radius:3px;
  color:#eee;background:#101012;cursor:pointer;
  box-shadow:0 3px 0 #020202;
  font-weight:900;font-size:11px;
  transition:transform .1s ease,box-shadow .1s ease,border-color .15s ease;
}
.add-to-cart:hover{border-color:#aaa}
.add-to-cart:active{transform:translateY(3px);box-shadow:0 0 0 #020202}
@media(max-width:560px){
  .cart-label{display:none}
  .cart-button{padding:0 8px}
  .cart-panel{width:96vw}
}

/* === VISIBLE ADD-TO-CART BUTTON ON EVERY TASK === */
.task{
  position:relative;
}
.add-to-cart{
  width:100%;
  min-height:40px;
  margin-top:11px;
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid #666;
  border-radius:4px;
  color:#fff;
  background:linear-gradient(145deg,#252528,#0a0a0b);
  box-shadow:0 4px 0 #020202,0 8px 15px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.10);
  cursor:pointer;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.5px;
  transition:transform .11s ease,box-shadow .11s ease,border-color .15s ease;
}
.add-to-cart:hover{
  border-color:#aaa;
  transform:translateY(-1px);
}
.add-to-cart:active{
  transform:translateY(4px);
  box-shadow:0 0 0 #020202,0 3px 7px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.05);
}
.cart-plus{
  font-size:17px;
  line-height:1;
  font-weight:400;
}
@media(max-width:560px){
  .add-to-cart{min-height:36px;font-size:9px}
}

/* === NESTANY: SUBTLE WHITE NEON + MOTION === */
:root{
  --n-glow:rgba(255,255,255,.13);
  --n-glow-strong:rgba(255,255,255,.24);
  --n-line:rgba(255,255,255,.30);
}

/* Slow atmospheric light, deliberately very subtle. */
body::before{
  content:"";
  position:fixed;
  inset:-20%;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.045), transparent 24%),
    radial-gradient(circle at 88% 72%, rgba(255,255,255,.028), transparent 26%);
  animation:nestanyAura 10s ease-in-out infinite alternate;
}
@keyframes nestanyAura{
  from{transform:translate3d(-1%,0,0) scale(1)}
  to{transform:translate3d(1%,1%,0) scale(1.035)}
}

/* Gothic cards get a restrained edge glow on hover. */
.task{
  overflow:hidden;
  isolation:isolate;
}
.task::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border:1px solid transparent;
  border-radius:inherit;
  opacity:0;
  box-shadow:inset 0 0 22px var(--n-glow), 0 0 18px var(--n-glow);
  transition:opacity .25s ease;
}
.task:hover::after{
  opacity:1;
}
.task:hover .task-symbol{
  animation:nestanySymbolPulse 1.15s ease-in-out infinite;
}
@keyframes nestanySymbolPulse{
  0%,100%{transform:scale(1);opacity:.75}
  50%{transform:scale(1.08);opacity:1;text-shadow:0 0 14px var(--n-glow-strong)}
}

/* Buttons: brighter edge only while interacting. */
.add-to-cart:hover,
.cart-button:hover,
.sound-toggle:hover,
.primary:hover,
.ghost:hover,
.support:hover,
.order:hover,
.category:hover{
  border-color:var(--n-line);
  box-shadow:0 4px 0 #020202,0 0 15px var(--n-glow),inset 0 1px 0 rgba(255,255,255,.10);
}

/* Add-to-cart success pulse. */
.add-to-cart.cart-added{
  animation:nestanyAdded .42s ease;
}
@keyframes nestanyAdded{
  0%{box-shadow:0 4px 0 #020202,0 0 0 rgba(255,255,255,0)}
  45%{box-shadow:0 4px 0 #020202,0 0 24px rgba(255,255,255,.30)}
  100%{box-shadow:0 4px 0 #020202,0 0 10px rgba(255,255,255,.10)}
}

/* Cart counter briefly wakes up when an item is added. */
.cart-count.cart-bump{
  animation:nestanyBump .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes nestanyBump{
  0%{transform:scale(1)}
  45%{transform:scale(1.35);box-shadow:0 0 15px rgba(255,255,255,.28)}
  100%{transform:scale(1)}
}

/* Modal gets a faint halo, not a bright white wash. */
.cart-panel{
  box-shadow:-18px 0 45px rgba(0,0,0,.55),-2px 0 18px rgba(255,255,255,.055);
}

/* A tiny moving highlight on the checkout button. */
.checkout-button{
  overflow:hidden;
}
.checkout-button::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:-35%;
  width:18%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transform:skewX(-18deg);
  animation:nestanySweep 4.8s ease-in-out infinite;
}
@keyframes nestanySweep{
  0%,70%,100%{left:-35%}
  88%{left:120%}
}

/* Slight page entrance, without distracting movement. */
@keyframes nestanyRise{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}
.task{animation:nestanyRise .45s ease both}

/* === NESTANY: MOVING NEON BORDER AROUND EVERY TASK === */
.task{
  position:relative;
  isolation:isolate;
  border:1px solid rgba(255,255,255,.16);
  overflow:hidden;
  --neon-speed:4.2s;
}

/* Animated luminous border layer. */
.task::before{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:-2;
  border-radius:inherit;
  padding:2px;
  background:conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 245deg,
    rgba(255,255,255,.08) 270deg,
    rgba(255,255,255,.82) 292deg,
    rgba(255,255,255,.16) 315deg,
    transparent 340deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:nestanyNeonOrbit var(--neon-speed) linear infinite;
  filter:drop-shadow(0 0 4px rgba(255,255,255,.22))
         drop-shadow(0 0 10px rgba(255,255,255,.10));
}

/* Soft halo behind the moving edge. */
.task::after{
  content:"";
  position:absolute;
  inset:1px;
  z-index:-1;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.018),transparent 42%,rgba(255,255,255,.018));
  box-shadow:inset 0 0 22px rgba(255,255,255,.035);
  animation:nestanyCardBreath 3.8s ease-in-out infinite;
}

@keyframes nestanyNeonOrbit{
  to{transform:rotate(360deg)}
}
@keyframes nestanyCardBreath{
  0%,100%{opacity:.55}
  50%{opacity:1}
}

/* Different speeds make the cards feel alive instead of synchronized. */
.task:nth-child(2n){--neon-speed:5.1s}
.task:nth-child(3n){--neon-speed:4.6s}
.task:nth-child(4n){--neon-speed:5.8s}

/* Hover intensifies the orbit slightly. */
.task:hover{
  border-color:rgba(255,255,255,.32);
  box-shadow:
    0 8px 0 #020202,
    0 0 18px rgba(255,255,255,.10),
    0 18px 28px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.06);
}
.task:hover::before{
  animation-duration:2.8s;
  filter:drop-shadow(0 0 5px rgba(255,255,255,.38))
         drop-shadow(0 0 14px rgba(255,255,255,.15));
}

/* A tiny traveling highlight on the card surface. */
.task .task-symbol{
  position:relative;
}
.task .task-symbol::after{
  content:"";
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 6px rgba(255,255,255,.65),0 0 12px rgba(255,255,255,.22);
  opacity:.7;
  animation:nestanySpark 3.6s ease-in-out infinite;
}
@keyframes nestanySpark{
  0%,100%{transform:translate(0,0);opacity:.15}
  45%{transform:translate(8px,-5px);opacity:.8}
  65%{transform:translate(-3px,4px);opacity:.3}
}

@media(prefers-reduced-motion:reduce){
  .task::before,.task::after,.task .task-symbol::after{
    animation:none;
  }
}


/* Telegram button — gothic white neon */
.telegram-button{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:6px;
  color:#fff;
  text-decoration:none;
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  background:rgba(255,255,255,.025);
  box-shadow:inset 0 0 14px rgba(255,255,255,.025), 0 0 10px rgba(255,255,255,.025);
  overflow:hidden;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.telegram-button::after{
  content:"";
  position:absolute;
  top:0;
  left:-45%;
  width:28%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);
  transform:skewX(-20deg);
  animation:nestanyTelegramSweep 4.8s ease-in-out infinite;
}
.telegram-button:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.48);
  background:rgba(255,255,255,.055);
  box-shadow:0 0 12px rgba(255,255,255,.10), 0 0 24px rgba(255,255,255,.045), inset 0 0 14px rgba(255,255,255,.035);
}
.telegram-button:active{transform:translateY(1px) scale(.98)}
.telegram-icon{
  font-size:15px;
  line-height:1;
  filter:drop-shadow(0 0 5px rgba(255,255,255,.35));
}
@keyframes nestanyTelegramSweep{
  0%,58%{left:-45%;opacity:0}
  65%{opacity:1}
  78%,100%{left:125%;opacity:0}
}
@media (max-width:700px){
  .telegram-button span:last-child{display:none}
  .telegram-button{width:38px;padding:0}
}


/* Living anime character: smooth scroll/swipe parallax */
.hero-photo{
  --char-x: 0px;
  --char-y: 0px;
  --char-r: 0deg;
  --char-s: 1;
  transform: translate3d(var(--char-x), var(--char-y), 0) rotate(var(--char-r)) scale(var(--char-s));
  transform-origin: 50% 70%;
  will-change: transform, filter;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.10));
  animation: nestanyCharacterFloat 5.5s ease-in-out infinite;
  transition: filter .35s ease;
}
.hero-photo:hover{
  filter: drop-shadow(0 0 14px rgba(255,255,255,.16));
}
@keyframes nestanyCharacterFloat{
  0%,100%{margin-top:0}
  50%{margin-top:-5px}
}

/* A tiny highlight that follows the movement */
.hero:has(.hero-photo){
  perspective: 900px;
}
@media (prefers-reduced-motion: reduce){
  .hero-photo{
    animation:none;
    transform:none !important;
  }
}
