/* =========================================================
   DealAura — Premium Dark UI
   Replacement stylesheet for the current DealAura Index.html
   ========================================================= */

:root{
  --bg:#0b0f12;
  --bg-2:#10161a;
  --card:#151d22;
  --card-2:#1a242a;
  --line:rgba(235,245,238,.10);
  --line-strong:rgba(200,255,82,.24);
  --text:#f3f6ef;
  --muted:#9aa69f;
  --muted-2:#69756f;
  --accent:#c8ff52;
  --accent-2:#8ee3d0;
  --accent-3:#dfff8b;
  --warm:#ffd48a;
  --shadow:0 24px 70px rgba(0,0,0,.34);
  --radius:24px;
  --radius-sm:16px;
  --ease:cubic-bezier(.22,.8,.24,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 15% 0%,rgba(200,255,82,.07),transparent 28rem),
    radial-gradient(circle at 88% 18%,rgba(142,227,208,.055),transparent 26rem),
    linear-gradient(180deg,#0b0f12 0%,#0d1216 55%,#0a0e11 100%);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.5;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
body::selection{background:var(--accent);color:#0a0e0d}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}

/* ambient background */
.ambient{
  position:fixed;
  width:360px;height:360px;
  border-radius:50%;
  filter:blur(90px);
  pointer-events:none;
  opacity:.13;
  z-index:-1;
}
.ambient-a{left:-220px;top:12%;background:var(--accent)}
.ambient-b{right:-220px;top:44%;background:var(--accent-2)}

/* header */
.topbar{
  width:min(1240px,calc(100% - 36px));
  margin:18px auto 0;
  min-height:72px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  position:sticky;
  top:14px;
  z-index:50;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  background:rgba(13,18,21,.72);
  backdrop-filter:blur(22px) saturate(140%);
  box-shadow:0 18px 50px rgba(0,0,0,.20);
}
.brand{display:inline-flex;align-items:center;gap:11px;white-space:nowrap}
.brand-mark{
  position:relative;
  width:40px;height:40px;
  border:1px solid rgba(200,255,82,.32);
  background:linear-gradient(145deg,#253029,#12181b);
  border-radius:13px;
  display:block;
  overflow:hidden;
  box-shadow:inset 0 0 22px rgba(200,255,82,.06),0 8px 24px rgba(0,0,0,.24);
}
.brand-mark::after{
  content:"";
  position:absolute;
  width:24px;height:24px;
  border:1px solid rgba(142,227,208,.25);
  border-radius:50%;
  top:7px;left:7px;
  transform:rotate(-25deg);
}
.brand-mark span,.brand-mark i,.brand-mark b{
  position:absolute;
  display:block;
  background:linear-gradient(180deg,var(--accent),var(--accent-2));
  border-radius:8px;
  transform:rotate(-32deg);
}
.brand-mark span{width:6px;height:22px;left:10px;top:9px}
.brand-mark i{width:6px;height:16px;left:17px;top:13px;opacity:.75}
.brand-mark b{width:6px;height:25px;left:24px;top:7px;opacity:.48}
.brand-word{font-size:21px;font-weight:850;letter-spacing:-.055em}
.brand-word span{font-weight:500;color:#d9dfd7}

.topbar nav{display:flex;align-items:center;gap:7px}
.topbar nav a{
  padding:10px 13px;
  border-radius:12px;
  color:#aeb8b2;
  font-size:13px;
  font-weight:650;
  transition:.25s var(--ease);
}
.topbar nav a:hover{color:var(--text);background:rgba(255,255,255,.05)}
.topbar nav .nav-admin{
  color:#0b100d;
  background:var(--accent);
  margin-left:5px;
  box-shadow:0 8px 25px rgba(200,255,82,.12);
}
.topbar nav .nav-admin:hover{background:var(--accent-3);color:#0b100d;transform:translateY(-1px)}
.mobile-search{
  display:none;
  width:42px;height:42px;
  align-items:center;justify-content:center;
  border:1px solid var(--line);
  border-radius:13px;
  color:var(--text);
}

/* hero */
main{width:100%}
.hero-shell{
  width:min(1240px,calc(100% - 36px));
  min-height:650px;
  margin:70px auto 0;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:42px;
}
.hero-copy{padding:35px 0 55px}
.eyebrow,.section-kicker{
  display:flex;
  align-items:center;
  gap:9px;
  color:#b8c1bb;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.eyebrow{margin-bottom:20px}
.pulse{
  width:7px;height:7px;border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(200,255,82,.08),0 0 18px rgba(200,255,82,.45);
  animation:pulse 2.1s infinite;
}
.hero-copy h1{
  margin:0;
  max-width:700px;
  font-size:clamp(54px,7vw,92px);
  line-height:.91;
  letter-spacing:-.075em;
  font-weight:850;
}
.hero-copy h1 span{
  color:transparent;
  background:linear-gradient(105deg,var(--accent),var(--accent-2));
  -webkit-background-clip:text;
  background-clip:text;
}
.hero-sub{
  max-width:560px;
  margin:25px 0 28px;
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
}
.search-wrap{
  width:min(620px,100%);
  height:62px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 10px 0 18px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 16px 50px rgba(0,0,0,.18);
  transition:.3s var(--ease);
}
.search-wrap:focus-within{
  border-color:rgba(200,255,82,.38);
  box-shadow:0 0 0 4px rgba(200,255,82,.055),0 18px 60px rgba(0,0,0,.24);
}
.search-icon{font-size:23px;color:#89948e}
.search-wrap input{
  flex:1;min-width:0;
  border:0;outline:0;
  background:transparent;
  color:var(--text);
  font-size:14px;
}
.search-wrap input::placeholder{color:#707b75}
.search-kbd{
  padding:6px 8px;
  border:1px solid var(--line);
  border-radius:8px;
  color:#7e8983;
  font-size:10px;
  letter-spacing:.06em;
}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.chips button,.chips a{
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  color:#9ea9a3;
  border-radius:999px;
  padding:8px 12px;
  font-size:11px;
  font-weight:700;
  transition:.25s var(--ease);
}
.chips button:hover,.chips a:hover,.chips .active{
  color:#0b100d;
  border-color:var(--accent);
  background:var(--accent);
  transform:translateY(-1px);
}
.micro-trust{
  display:flex;flex-wrap:wrap;gap:18px;
  margin-top:20px;
  color:#77827c;
  font-size:11px;
  font-weight:650;
}
.micro-trust span{display:inline-flex;align-items:center;gap:6px}

/* hero visual */
.hero-bento{
  min-height:520px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-glass{
  width:min(410px,72%);
  padding:14px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:28px;
  background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.025));
  backdrop-filter:blur(20px);
  box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.08);
  transform:rotate(3deg);
  animation:floatMain 6s ease-in-out infinite;
}
.card-top{display:flex;align-items:center;justify-content:space-between;padding:5px 6px 12px}
.tiny-label{font-size:9px;letter-spacing:.17em;color:#8e9992;font-weight:850}
.save-dot{
  width:27px;height:27px;
  display:grid;place-items:center;
  border-radius:50%;
  background:rgba(0,0,0,.22);
  color:#bbc5bf;
}
.hero-photo{
  aspect-ratio:4/4.4;
  border-radius:20px;
  background:
    radial-gradient(circle at 70% 25%,rgba(200,255,82,.25),transparent 22%),
    linear-gradient(135deg,#28332d,#151d20 45%,#0c1114);
  position:relative;
  overflow:hidden;
  /* Keep the Deal of the Moment image fully visible instead of zooming/cropping it. */
  background-size:contain !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}
.hero-photo::before{
  content:"";
  position:absolute;
  width:210px;height:280px;
  right:-40px;bottom:-70px;
  border-radius:55% 45% 10% 20%;
  background:linear-gradient(145deg,rgba(200,255,82,.26),rgba(142,227,208,.06));
  transform:rotate(-18deg);
  filter:blur(1px);
}
.hero-photo::after{
  content:"";
  position:absolute;
  inset:18%;
  border:1px solid rgba(200,255,82,.12);
  border-radius:45% 55% 60% 40%;
  transform:rotate(-24deg);
}
.hero-card-info{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:15px 5px 10px;
}
.hero-card-info>div{display:flex;align-items:center;gap:9px}
.brand-mini{
  width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:9px;
  background:var(--accent);
  color:#0b100d;
  font-size:9px;font-weight:900;
}
/* Keep the Deal of the Moment brand logo small and contained. */
.hero-card-info .hero-deal-logo{
  width:40px;
  height:28px;
  flex:0 0 40px;
  display:block;
  object-fit:contain;
  object-position:center;
  border-radius:6px;
}
.hero-card-info strong{font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-card-info>b{
  color:var(--accent);
  font-size:11px;
  line-height:1.2;
  white-space:nowrap;
  flex:0 0 auto;
}
.hero-progress{
  height:3px;
  border-radius:99px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.hero-progress span{
  display:block;width:64%;height:100%;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  border-radius:inherit;
  animation:progress 4s ease-in-out infinite alternate;
}
.float-card{
  position:absolute;
  display:flex;align-items:center;gap:11px;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:17px;
  background:rgba(17,23,26,.76);
  backdrop-filter:blur(18px);
  box-shadow:0 18px 45px rgba(0,0,0,.27);
  animation:floatSmall 5s ease-in-out infinite;
}
.float-card>span{
  width:32px;height:32px;
  display:grid;place-items:center;
  border-radius:10px;
  color:#0b100d;
  background:var(--accent);
  font-size:12px;font-weight:900;
}
.float-card b{display:block;font-size:11px}
.float-card small{display:block;color:#7f8a84;font-size:9px;margin-top:2px}
.float-save{left:2%;top:17%}
.float-pick{right:1%;bottom:15%;animation-delay:-2s}
.orb{position:absolute;border-radius:50%;filter:blur(.3px);pointer-events:none}
.orb-a{width:120px;height:120px;right:7%;top:6%;background:radial-gradient(circle at 30% 30%,rgba(200,255,82,.32),transparent 70%);animation:orb 7s ease-in-out infinite}
.orb-b{width:170px;height:170px;left:0;bottom:2%;background:radial-gradient(circle at 60% 40%,rgba(142,227,208,.18),transparent 68%);animation:orb 9s ease-in-out infinite reverse}

/* ticker */
.ticker{
  margin:18px 0 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  overflow:hidden;
  white-space:nowrap;
}
.ticker>div{
  width:max-content;
  display:flex;align-items:center;gap:22px;
  padding:15px 0;
  color:#68736d;
  font-size:10px;
  font-weight:850;
  letter-spacing:.2em;
  animation:ticker 28s linear infinite;
}
.ticker b{color:var(--accent);font-size:13px}

/* generic sections */
.section{
  width:min(1240px,calc(100% - 36px));
  margin:115px auto 0;
}
.section-head{
  display:flex;align-items:end;justify-content:space-between;
  gap:20px;margin-bottom:25px;
}
.section-kicker{margin-bottom:9px}
.section h2{
  margin:0;
  font-size:clamp(30px,4vw,48px);
  line-height:1;
  letter-spacing:-.055em;
}
.result-side{display:flex;align-items:center;gap:18px}
.result-count{color:#65716b;font-size:11px}
.result-side>a{
  color:var(--accent);
  font-size:12px;font-weight:800;
}
.result-side>a b{margin-left:5px}
.grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

/* deal cards — image intentionally contained so brand artwork isn't cropped */
.deal-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  transition:transform .38s var(--ease),border-color .38s var(--ease),box-shadow .38s var(--ease);
  cursor:pointer;
}
.deal-card:hover{
  transform:translateY(-7px);
  border-color:rgba(200,255,82,.24);
  box-shadow:0 25px 65px rgba(0,0,0,.28);
}
.deal-image,.card-image{
  width:100%;
  aspect-ratio:1/1;
  padding:10px;
  background:
    radial-gradient(circle at 50% 20%,rgba(255,255,255,.05),transparent 50%),
    #11171a;
  overflow:hidden;
}
.deal-image img,.card-image img{
  width:100%;height:100%;
  object-fit:contain; /* full brand/product image stays visible */
  object-position:center;
  border-radius:18px;
  transition:transform .55s var(--ease),filter .55s var(--ease);
}
.deal-card:hover .deal-image img,.deal-card:hover .card-image img{
  transform:scale(1.035);
}
.deal-body{padding:16px 16px 17px}
.deal-brand{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.deal-brand h3{margin:0;font-size:16px;letter-spacing:-.025em}
.deal-category,.pill{
  display:inline-flex;align-items:center;
  padding:5px 8px;
  border:1px solid rgba(200,255,82,.15);
  border-radius:999px;
  color:#a5b0aa;
  background:rgba(200,255,82,.045);
  font-size:9px;font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.deal-offer{
  margin:9px 0 12px;
  color:var(--accent);
  font-size:13px;font-weight:850;
}
.deal-description{
  margin:0 0 15px;
  color:#78837d;
  font-size:11px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.deal-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.deal-actions button,.deal-actions a{
  flex:1;
  border:0;
  border-radius:11px;
  padding:10px 11px;
  text-align:center;
  font-size:11px;
  font-weight:800;
}
.deal-actions button{background:rgba(255,255,255,.06);color:#c4cdc7}
.deal-actions a{background:var(--accent);color:#0b100d}
.deal-actions a:hover{background:var(--accent-3)}
.empty{
  padding:70px 20px;
  text-align:center;
  border:1px dashed rgba(255,255,255,.10);
  border-radius:var(--radius);
  color:#7c8781;
}
.empty[hidden]{display:none}
.empty-icon{font-size:28px;color:var(--accent)}
.empty h3{margin:10px 0 5px;color:#dce4de}
.empty p{margin:0;font-size:12px}

/* categories */
.category-section{margin-top:120px}
.category-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-top:25px;
}
.category-card{
  min-height:130px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.025);
  transition:.35s var(--ease);
}
.category-card:hover{
  transform:translateY(-5px);
  background:rgba(200,255,82,.045);
  border-color:rgba(200,255,82,.20);
}
.category-icon{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:13px;
  background:rgba(200,255,82,.08);
  color:var(--accent);
  font-size:18px;
  margin-bottom:22px;
}
.category-card h3{margin:0;font-size:12px;color:var(--text)}
.category-card p{margin:4px 0 0;color:var(--muted);font-size:10px}

/* why */
.why-wrap{
  width:min(1240px,calc(100% - 36px));
  margin:145px auto 0;
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:70px;
  align-items:start;
}
.why-intro h2{
  margin:0;
  font-size:clamp(42px,5vw,64px);
  line-height:.96;
  letter-spacing:-.07em;
}
.why-intro h2 span{color:var(--accent)}
.why-intro p{
  max-width:420px;
  color:#7e8983;
  font-size:13px;
  line-height:1.8;
  margin-top:22px;
}
.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.why-card{
  min-height:285px;
  padding:20px;
  position:relative;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.025);
  transition:.35s var(--ease);
}
.why-card:hover{transform:translateY(-5px);border-color:rgba(200,255,82,.18)}
.featured-why{
  background:linear-gradient(145deg,rgba(200,255,82,.10),rgba(142,227,208,.035));
  border-color:rgba(200,255,82,.17);
}
.why-num{font-size:10px;color:#66716b;font-weight:800;letter-spacing:.12em}
.why-icon{
  width:46px;height:46px;
  display:grid;place-items:center;
  margin-top:45px;
  border-radius:14px;
  background:rgba(200,255,82,.08);
  color:var(--accent);
  font-size:19px;
}
.why-card h3{margin:18px 0 7px;font-size:16px}
.why-card p{margin:0;color:#758079;font-size:11px;line-height:1.7}

/* final CTA */
.final-cta{
  width:min(1240px,calc(100% - 36px));
  margin:120px auto 0;
  padding:48px 52px;
  display:flex;align-items:end;justify-content:space-between;
  gap:30px;
  border:1px solid rgba(200,255,82,.14);
  border-radius:30px;
  background:
    radial-gradient(circle at 78% 20%,rgba(142,227,208,.10),transparent 30%),
    radial-gradient(circle at 10% 90%,rgba(200,255,82,.08),transparent 30%),
    #12191d;
  box-shadow:var(--shadow);
}
.final-cta h2{
  margin:0;
  font-size:clamp(40px,5vw,68px);
  line-height:.93;
  letter-spacing:-.07em;
}
.final-cta em{font-style:normal;color:var(--accent)}
.cta-btn,.primary-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-height:50px;
  padding:0 20px;
  border-radius:14px;
  background:var(--accent);
  color:#0a100c;
  font-size:12px;font-weight:850;
  transition:.28s var(--ease);
  box-shadow:0 12px 32px rgba(200,255,82,.10);
}
.cta-btn:hover,.primary-btn:hover{transform:translateY(-2px);background:var(--accent-3);box-shadow:0 18px 40px rgba(200,255,82,.16)}
.cta-btn b,.primary-btn b{font-size:16px}

/* footer */
footer{
  width:min(1240px,calc(100% - 36px));
  margin:100px auto 0;
  padding:38px 0 30px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr auto;
  gap:30px;
}
.footer-brand .brand-mark{width:34px;height:34px}
.footer-brand p{margin:12px 0 0;color:#69746e;font-size:11px}
.footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:18px}
.footer-links a{color:#6f7a74;font-size:10px;transition:.2s}
.footer-links a:hover{color:var(--accent)}
.copyright{grid-column:1/-1;margin:0;color:#4e5953;font-size:9px}

/* modal */
.modal[hidden]{display:none}
.modal{
  position:fixed;inset:0;
  z-index:100;
  display:grid;place-items:center;
  padding:20px;
}
.modal-backdrop{
  position:absolute;inset:0;
  background:rgba(3,6,7,.78);
  backdrop-filter:blur(14px);
}
.modal-card{
  position:relative;
  z-index:1;
  width:min(850px,100%);
  max-height:min(720px,calc(100vh - 40px));
  overflow:auto;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  background:#12191d;
  box-shadow:0 40px 100px rgba(0,0,0,.55);
  animation:modalIn .32s var(--ease);
}
.close{
  position:absolute;right:14px;top:14px;
  z-index:3;
  width:38px;height:38px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
  background:rgba(0,0,0,.32);
  color:#c8d0ca;
  font-size:24px;
  line-height:1;
}
.modal-image-wrap{
  min-height:420px;
  padding:20px;
  display:grid;place-items:center;
  background:#0d1316;
}
.modal-image-wrap img{
  width:100%;height:100%;
  max-height:560px;
  object-fit:contain;
  border-radius:18px;
}
.modal-content{padding:48px 38px 34px}
.modal-kicker{display:flex;align-items:center;gap:10px;color:#6f7a74;font-size:9px;font-weight:800;letter-spacing:.13em}
.modal-content h2{margin:18px 0 8px;font-size:38px;letter-spacing:-.055em;line-height:1}
.modal-content .offer{margin:0;color:var(--accent);font-size:16px;font-weight:850}
.modal-content #modalDescription{color:#7e8983;font-size:12px;line-height:1.8}
.coupon{
  margin:20px 0;
  padding:12px;
  display:flex;align-items:center;gap:10px;
  border:1px dashed rgba(200,255,82,.25);
  border-radius:14px;
  background:rgba(200,255,82,.035);
}
.coupon span{font-size:8px;color:#7e8983;letter-spacing:.12em;font-weight:850}
.coupon strong{flex:1;color:var(--accent);font-size:13px}
.coupon button{
  border:1px solid rgba(255,255,255,.10);
  border-radius:9px;
  background:rgba(255,255,255,.06);
  color:#c9d1cc;
  padding:8px 10px;
  font-size:10px;font-weight:800;
}
.primary-btn{width:100%;border:0}
.modal-content>small{
  display:block;margin-top:14px;
  color:#5f6a64;font-size:9px;line-height:1.6;
}

/* useful generic admin-compatible controls */
.admin,.admin-page,.dashboard{
  color:var(--text);
}
.admin input,.admin select,.admin textarea,
.admin-page input,.admin-page select,.admin-page textarea,
.dashboard input,.dashboard select,.dashboard textarea{
  border:1px solid var(--line);
  background:#11181c;
  color:var(--text);
  border-radius:12px;
  outline:0;
}
.admin button,.admin-page button,.dashboard button{
  border:0;border-radius:12px;
  background:var(--accent);color:#0b100d;
  font-weight:800;
}

/* animations */
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 5px rgba(200,255,82,.07),0 0 16px rgba(200,255,82,.35)}
  50%{box-shadow:0 0 0 9px rgba(200,255,82,.02),0 0 25px rgba(200,255,82,.55)}
}
@keyframes floatMain{
  0%,100%{transform:rotate(3deg) translateY(0)}
  50%{transform:rotate(1deg) translateY(-10px)}
}
@keyframes floatSmall{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}
@keyframes orb{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(12px,-16px,0)}
}
@keyframes progress{
  from{width:46%}to{width:78%}
}
@keyframes ticker{to{transform:translateX(-50%)}}
@keyframes modalIn{
  from{opacity:0;transform:translateY(15px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

/* scroll reveal hook if App.js adds .reveal */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.visible{opacity:1;transform:none}

/* responsive */
@media (max-width:1050px){
  .hero-shell{grid-template-columns:1fr;min-height:auto;margin-top:55px}
  .hero-copy{text-align:center;padding-bottom:10px}
  .eyebrow,.micro-trust{justify-content:center}
  .hero-sub,.search-wrap{margin-left:auto;margin-right:auto}
  .chips{justify-content:center}
  .hero-bento{min-height:500px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .why-wrap{grid-template-columns:1fr;gap:35px}
}
@media (max-width:760px){
  .topbar{width:calc(100% - 20px);margin-top:10px;min-height:62px;padding:0 10px 0 13px}
  .topbar nav{display:none}
  .mobile-search{display:flex}
  .brand-word{font-size:19px}
  .brand-mark{width:36px;height:36px}
  .hero-shell,.section,.why-wrap,.final-cta,footer{width:calc(100% - 24px)}
  .hero-shell{margin-top:42px}
  .hero-copy h1{font-size:clamp(48px,14vw,72px)}
  .hero-sub{font-size:14px}
  .search-wrap{height:58px}
  .search-kbd{display:none}
  .hero-bento{min-height:430px}
  .hero-glass{width:74%}
  .float-save{left:0;top:12%}
  .float-pick{right:0;bottom:11%}
  .section,.category-section{margin-top:85px}
  .section-head{align-items:flex-start}
  .result-side{display:block;text-align:right}
  .result-count{display:block;margin-bottom:7px}
  .grid{grid-template-columns:1fr 1fr;gap:10px}
  .deal-body{padding:12px}
  .deal-description{display:none}
  .deal-brand h3{font-size:13px}
  .deal-offer{font-size:11px}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .why-grid{grid-template-columns:1fr}
  .why-card{min-height:220px}
  .final-cta{padding:32px 25px;align-items:flex-start;flex-direction:column}
  footer{grid-template-columns:1fr}
  .footer-links{justify-content:flex-start}
  .copyright{grid-column:auto}
  .modal-card{grid-template-columns:1fr;max-height:calc(100vh - 24px)}
  .modal-image-wrap{min-height:250px;height:34vh}
  .modal-content{padding:25px 22px 25px}
  .modal-content h2{font-size:31px}
}
@media (max-width:460px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .deal-image,.card-image{aspect-ratio:1.25/1}
  .hero-glass{width:78%}
  .float-card{padding:10px 11px}
  .float-card small{display:none}
  .float-card>span{width:28px;height:28px}
  .micro-trust{gap:10px;font-size:9px}
  .section h2{font-size:32px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
}
/* =========================================================
   DealAura — ADMIN ONLY
   Scoped to .admin-body so the public Home page is untouched.
   ========================================================= */

.admin-body{
  min-height:100vh;
  background:
    radial-gradient(circle at 10% 0%,rgba(200,255,82,.055),transparent 30rem),
    radial-gradient(circle at 90% 20%,rgba(142,227,208,.045),transparent 28rem),
    linear-gradient(180deg,#0b0f12 0%,#0d1216 55%,#0a0e11 100%);
}

/* Admin header */
.admin-body .topbar{
  position:relative;
  top:auto;
  width:min(1180px,calc(100% - 36px));
  margin:18px auto 0;
}

.admin-body .topbar > a:last-child{
  color:var(--accent);
  font-size:12px;
  font-weight:800;
}

/* Main admin container */
.admin-body .admin{
  width:min(1180px,calc(100% - 36px));
  margin:52px auto 90px;
  color:var(--text);
}

.admin-body .admin-intro{
  margin-bottom:28px;
}

.admin-body .admin-intro .eyebrow{
  margin-bottom:10px;
}

.admin-body .admin-intro h1{
  margin:0;
  font-size:clamp(34px,5vw,58px);
  line-height:1;
  letter-spacing:-.06em;
}

.admin-body .admin-intro p{
  max-width:680px;
  margin:14px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

/* Panels */
.admin-body .panel{
  width:100%;
  margin:0 0 22px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow:0 18px 55px rgba(0,0,0,.18);
}

.admin-body .panel h2{
  margin:0 0 22px;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.035em;
}

.admin-body .panel.notice{
  margin-top:8px;
}

.admin-body .panel.notice h3{
  margin:0 0 7px;
  font-size:16px;
}

.admin-body .panel.notice p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

/* Login */
.admin-body #loginBox{
  margin-bottom:22px;
}

.admin-body .admin > .panel:first-child:has(#loginEmail){
  max-width:520px;
}

.admin-body #loginEmail,
.admin-body #loginPassword{
  display:block;
  width:100%;
  height:48px;
  margin:0 0 12px;
  padding:0 14px;
}

/* Form layout */
.admin-body .form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.admin-body .form-grid > label{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#cbd3ce;
  font-size:11px;
  font-weight:750;
  line-height:1.3;
}

.admin-body .form-grid > label.full{
  grid-column:1 / -1;
}

.admin-body .form-grid input,
.admin-body .form-grid textarea{
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  border-radius:13px;
  background:#11181c;
  color:var(--text);
  outline:0;
  transition:border-color .2s,box-shadow .2s,background .2s;
}

.admin-body .form-grid input{
  height:48px;
  padding:0 13px;
}

.admin-body .form-grid textarea{
  min-height:100px;
  padding:12px 13px;
  resize:vertical;
}

.admin-body .form-grid input:focus,
.admin-body .form-grid textarea:focus,
.admin-body #loginEmail:focus,
.admin-body #loginPassword:focus{
  border-color:rgba(200,255,82,.42);
  box-shadow:0 0 0 4px rgba(200,255,82,.055);
  background:#121b1f;
}

.admin-body .form-grid input[type="file"]{
  height:auto;
  min-height:48px;
  padding:9px;
  cursor:pointer;
}

.admin-body .form-grid input[type="file"]::file-selector-button{
  margin-right:10px;
  border:0;
  border-radius:9px;
  padding:8px 12px;
  background:rgba(200,255,82,.12);
  color:var(--accent);
  font-weight:800;
  cursor:pointer;
}

.admin-body .muted{
  color:var(--muted-2);
}

.admin-body .form-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:22px;
}

.admin-body .form-actions button{
  width:auto;
  min-width:150px;
}

.admin-body .primary-btn{
  width:auto;
  min-height:48px;
  padding:0 20px;
}

.admin-body .secondary-btn{
  min-height:44px;
  padding:0 15px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.045);
  color:#cbd3ce;
  font-size:12px;
  font-weight:800;
  transition:.2s;
}

.admin-body .secondary-btn:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(200,255,82,.2);
}

.admin-body .danger{
  min-height:44px;
  padding:0 15px;
  border:1px solid rgba(255,100,100,.18);
  border-radius:12px;
  background:rgba(255,80,80,.08);
  color:#ffaaa5;
  font-size:12px;
  font-weight:800;
}

.admin-body .danger:hover{
  background:rgba(255,80,80,.14);
}

/* Manage header */
.admin-body .section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.admin-body .section-head h2{
  margin:5px 0 0;
}

.admin-body #adminCount{
  white-space:nowrap;
}

/* Deal list */
.admin-body .admin-list{
  display:grid;
  gap:10px;
}

.admin-body .admin-item{
  display:grid;
  grid-template-columns:76px minmax(0,1fr) auto auto;
  align-items:center;
  gap:14px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}

.admin-body .admin-item > img{
  width:76px;
  height:76px;
  object-fit:contain;
  border-radius:12px;
  background:#10171a;
  border:1px solid rgba(255,255,255,.06);
}

.admin-body .admin-item .grow{
  min-width:0;
}

.admin-body .admin-item strong{
  display:block;
  margin-bottom:4px;
  color:var(--text);
  font-size:14px;
}

.admin-body .admin-item small{
  display:block;
  color:var(--muted);
  font-size:11px;
}

.admin-body .admin-item button{
  width:auto;
}

/* Upload preview */
.admin-body #imagePreview{
  border:1px solid var(--line);
  background:#10171a;
  padding:6px;
}

/* Prevent accidental public-page card rules from affecting admin */
.admin-body .admin .deal-card,
.admin-body .admin .grid,
.admin-body .admin .category-grid{
  all:unset;
}

/* Mobile */
@media (max-width:760px){
  .admin-body .topbar{
    width:calc(100% - 20px);
  }

  .admin-body .admin{
    width:calc(100% - 20px);
    margin-top:34px;
  }

  .admin-body .panel{
    padding:18px;
    border-radius:18px;
  }

  .admin-body .form-grid{
    grid-template-columns:1fr;
    gap:15px;
  }

  .admin-body .form-grid > label.full{
    grid-column:auto;
  }

  .admin-body .form-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .admin-body .form-actions button{
    width:100%;
  }

  .admin-body .admin-item{
    grid-template-columns:58px minmax(0,1fr);
    gap:10px;
  }

  .admin-body .admin-item > img{
    width:58px;
    height:58px;
  }

  .admin-body .admin-item .secondary-btn,
  .admin-body .admin-item .danger{
    grid-row:2;
    width:100%;
  }

  .admin-body .admin-item .secondary-btn{
    grid-column:1;
  }

  .admin-body .admin-item .danger{
    grid-column:2;
  }

  .admin-body .section-head{
    align-items:flex-start;
  }
}

@media (max-width:460px){
  .admin-body .admin-intro h1{
    font-size:34px;
  }

  .admin-body .admin-item{
    grid-template-columns:52px minmax(0,1fr);
  }

  .admin-body .admin-item > img{
    width:52px;
    height:52px;
  }
}

/* DealAura uploaded logo */
.brand-logo{
  width:138px;
  height:auto;
  display:block;
  object-fit:contain;
}
.footer-brand .brand-logo{
  width:122px;
}
@media (max-width:760px){
  .brand-logo{
    width:112px;
  }
  .footer-brand .brand-logo{
    width:112px;
  }
}


/* FIX: category buttons are generated as button elements, so explicitly override browser button text color */
.category-card{
  color:var(--text) !important;
  text-align:left;
}
.category-card span{
  display:block;
  margin-top:5px;
  color:var(--muted-2) !important;
  font-size:10px;
  line-height:1.3;
}
