@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #f7fbf8;
  --surface: rgba(255, 255, 255, .94);
  --surface-soft: rgba(244, 251, 246, .9);
  --line: rgba(25, 119, 68, .15);
  --text: #102417;
  --muted: #5c7567;
  --green: #12ad58;
  --green-2: #36d785;
  --mint: #e6fff1;
  --lime: #9fe85a;
  --gold: #b7790d;
  --danger: #d94459;
  --shadow: 0 22px 58px rgba(28, 109, 62, .14);
  --shadow-small: 0 10px 28px rgba(28, 109, 62, .1);
  --radius: 26px;
  --radius-small: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 7%, rgba(54, 215, 133, .23), transparent 30rem),
    radial-gradient(circle at 86% 18%, rgba(159, 232, 90, .2), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, #f7fbf8 48%, #eef9f2 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: rgba(54, 215, 133, .15);
  filter: blur(58px);
  pointer-events: none;
  animation: floatGlow 10s ease-in-out infinite alternate;
  z-index: -1;
}
.glow.one { left: -8rem; top: 12rem; }
.glow.two { right: -8rem; bottom: 2rem; animation-delay: -4s; background: rgba(159, 232, 90, .16); }

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2rem, -1.5rem, 0) scale(1.12); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(28, 109, 62, .08);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: .75rem;
  font-weight: 900;
  letter-spacing: 0;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 17px;
  background: white;
  box-shadow: var(--shadow-small);
}
.navlinks { display: flex; flex-wrap: wrap; gap: .45rem; }
.navlinks a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: .55rem .9rem;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
}
.navlinks a:hover { color: var(--green); border-color: var(--line); background: rgba(18, 173, 88, .08); }

.shell, .wide {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) 0;
}
.wide { width: min(1280px, calc(100% - 2rem)); }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  align-items: center;
  gap: clamp(1.4rem, 5vw, 4rem);
  padding-bottom: 2rem;
}
.hero h1 {
  margin: .75rem 0;
  font-size: clamp(3.8rem, 11vw, 8rem);
  line-height: .88;
  letter-spacing: 0;
  color: #0d2b19;
}
.hero p, .section-head p, .panel p, .offer-card p, .quick p { color: var(--muted); line-height: 1.65; }
.hero-copy p { font-size: 1.15rem; max-width: 650px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.hero-board {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}
.hero-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(237,249,242,.82));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.metric {
  position: relative;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px);
}
.metric b { display: block; font-size: clamp(1.8rem, 5vw, 3rem); color: var(--green); }
.metric span { color: var(--muted); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.2rem;
}
.section-head h1, .section-head h2, .panel h1, .panel h2, .admin-main h1 { margin: 0; letter-spacing: 0; color: #132c1b; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.offer-card, .panel, .auth-card, .quick, .wallet-head {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.offer-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.offer-card:hover { transform: translateY(-4px); border-color: rgba(18, 173, 88, .38); box-shadow: 0 28px 70px rgba(28, 109, 62, .18); }
.offer-card img { width: 100%; height: 170px; object-fit: cover; background: white; }
.offer-card > div { padding: 1rem; }
.offer-card h3 { margin: .7rem 0 .35rem; font-size: 1.2rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.card-foot strong, .payout { color: var(--gold); font-size: 1.25rem; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.quick { padding: 1.15rem; min-height: 145px; transition: transform .22s ease; }
.quick:hover { transform: translateY(-3px); }
.quick h3 { margin: 0; color: #132c1b; }

.panel, .auth-card { padding: clamp(1rem, 3vw, 1.5rem); margin-bottom: 1rem; }
.auth-card { width: min(460px, 100%); margin: 2rem auto; }
.auth-logo { width: 98px; height: 98px; object-fit: contain; background: white; border-radius: 22px; margin-bottom: 1rem; box-shadow: var(--shadow-small); }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .35rem .7rem;
  border: 1px solid rgba(18, 173, 88, .24);
  border-radius: 999px;
  color: #08773c;
  background: rgba(18, 173, 88, .09);
  font-size: .88rem;
  font-weight: 750;
}
.btn, .mini {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.82);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(28, 109, 62, .08);
}
.btn.primary {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 14px 28px rgba(18, 173, 88, .24);
}
.btn.ghost:hover, .mini:hover { background: rgba(18,173,88,.08); color: var(--green); }
.btn.small, .mini { min-height: 34px; padding: .45rem .7rem; font-size: .9rem; }
.btn.danger, .mini.danger { background: rgba(217, 68, 89, .08); border-color: rgba(217, 68, 89, .28); color: var(--danger); }

.form { display: grid; gap: .9rem; }
.grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: .38rem; color: var(--muted); font-weight: 700; }
input, textarea, select {
  width: 100%;
  color: var(--text);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: .82rem .9rem;
  outline: none;
}
textarea { min-height: 104px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,173,88,.12); }
.check { display: flex; align-items: center; grid-template-columns: auto 1fr; }
.check input { width: auto; }
.inline-search { grid-template-columns: 1fr auto; align-items: end; }
.inline-form { display: flex; gap: .4rem; align-items: center; }
.row-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.row-actions form { margin: 0; }
.copybox { margin: .6rem 0; font-weight: 800; }

.campaign-landing {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 1.2rem;
}
.campaign-banner {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.steps { color: var(--muted); line-height: 1.7; padding-left: 1.3rem; }
.success-panel { text-align: center; }

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.admin-side {
  position: sticky;
  top: 86px;
  display: grid;
  gap: .45rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.admin-side h2 { margin: 0 0 .5rem; color: #132c1b; }
.admin-side a { padding: .7rem .85rem; border-radius: 999px; color: var(--muted); font-weight: 700; }
.admin-side a:hover { color: var(--green); background: rgba(18,173,88,.08); }
.admin-main { min-width: 0; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .8rem;
}
.stat {
  min-height: 108px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}
.stat span { color: var(--muted); }
.stat b { display: block; margin-top: .45rem; font-size: 1.45rem; color: var(--green); overflow-wrap: anywhere; }
.section-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }

.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #08773c; font-size: .9rem; }
td small { display: block; color: var(--muted); margin-top: .25rem; }
.status { padding: .22rem .55rem; border-radius: 999px; background: rgba(18,173,88,.08); font-weight: 700; }
.status.active, .status.approved { color: #08773c; }
.status.disabled, .status.denied { color: var(--danger); }
.status.pending, .status.clicked { color: var(--gold); }
.hint, .muted-link { color: var(--muted); }
.hint.bad { color: var(--danger); font-weight: 700; }
.muted-link { text-align: center; }
.alert {
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  margin-bottom: 1rem;
}
.alert.good { border-color: rgba(18,173,88,.32); background: rgba(18,173,88,.1); }
.alert.bad { border-color: rgba(217,68,89,.32); background: rgba(217,68,89,.1); }
.wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.wallet-head h1 { margin: .45rem 0 .2rem; }
.wallet-head strong { color: var(--gold); font-size: clamp(1.8rem, 6vw, 3rem); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero, .campaign-landing, .admin-shell { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2rem; gap: 1.5rem; }
  .offer-grid, .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-side { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-side h2 { grid-column: 1 / -1; }
  .hero-board { max-width: 560px; }
  .campaign-banner { max-height: 420px; }
}

@media (max-width: 620px) {
  .shell, .wide {
    width: min(100% - 1rem, 1120px);
    padding: 1rem 0 2rem;
  }
  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: .75rem;
    padding: .75rem;
  }
  .brand { justify-content: flex-start; }
  .brand img { width: 42px; height: 42px; border-radius: 15px; }
  .navlinks {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
  }
  .navlinks a {
    min-height: 42px;
    justify-content: center;
    padding: .55rem .35rem;
    font-size: .88rem;
    background: rgba(255,255,255,.72);
    border-color: var(--line);
  }
  .hero {
    padding-top: .75rem;
    padding-bottom: 1rem;
  }
  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.2rem);
    line-height: .95;
    overflow-wrap: anywhere;
  }
  .hero-copy p { font-size: 1rem; }
  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem;
    margin-top: 1rem;
  }
  .actions .btn, .inline-search .btn, .grid-form .btn { width: 100%; }
  .hero-board {
    gap: .7rem;
    padding: .65rem;
  }
  .hero-board::before { transform: rotate(-1deg); }
  .metric { padding: 1rem; }
  .metric b { font-size: 2rem; }
  .offer-grid, .quick-grid, .grid-form, .inline-search, .stats-grid, .admin-side { grid-template-columns: 1fr; }
  .offer-card { min-height: auto; }
  .offer-card img { height: 145px; }
  .card-foot {
    align-items: stretch;
    flex-direction: column;
  }
  .card-foot .btn { width: 100%; }
  .panel, .auth-card, .quick, .wallet-head { border-radius: 22px; }
  .panel, .auth-card { padding: 1rem; }
  .auth-card { margin: 1rem auto; }
  .auth-logo { margin-inline: auto; }
  .campaign-landing { gap: .85rem; }
  .campaign-banner {
    aspect-ratio: 16 / 10;
    border-radius: 22px;
  }
  .wallet-head, .section-head, .section-line {
    align-items: stretch;
    flex-direction: column;
  }
  .wallet-head strong { font-size: 2.2rem; }
  .inline-form, .row-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .inline-form input, .inline-form select, .inline-form .mini, .row-actions .mini { width: 100%; }
  .admin-side {
    gap: .5rem;
    padding: .75rem;
  }
  .admin-side a {
    text-align: center;
    background: rgba(18,173,88,.06);
  }
  .stats-grid { gap: .65rem; }
  .stat { min-height: 92px; }
  input, textarea, select { min-height: 46px; }
  table { min-width: 640px; }
  th, td { padding: .7rem .65rem; }
}

@media (max-width: 420px) {
  .shell, .wide { width: min(100% - .7rem, 1120px); }
  .topbar { padding: .6rem; }
  .navlinks a { font-size: .84rem; }
  .hero h1 { font-size: clamp(2.75rem, 17vw, 3.5rem); }
  .pill { font-size: .8rem; }
  .btn, .mini { min-height: 44px; padding: .68rem .85rem; }
  .offer-card > div { padding: .9rem; }
  .quick { min-height: auto; }
  table { min-width: 590px; }
}

/* Premium Ultramoney polish */
:root {
  --bg: #f4faf6;
  --surface: rgba(255, 255, 255, .82);
  --surface-soft: rgba(239, 250, 244, .78);
  --line: rgba(10, 104, 58, .16);
  --text: #0b2415;
  --muted: #5c7065;
  --green: #0fb35c;
  --green-2: #39df8b;
  --mint: #dcfff0;
  --lime: #b8f05f;
  --gold: #a66f05;
  --shadow: 0 24px 70px rgba(20, 104, 55, .14), 0 3px 12px rgba(9, 55, 31, .06);
  --shadow-small: 0 12px 32px rgba(20, 104, 55, .11);
  --ring: 0 0 0 4px rgba(15, 179, 92, .13);
}

html { background: #f4faf6; }
body {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(255,255,255,.95) 0%, rgba(240,250,245,.88) 45%, rgba(250,255,252,.96) 100%);
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
body::before {
  background:
    linear-gradient(rgba(10, 104, 58, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 104, 58, .045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(18, 173, 88, .08), transparent 36%, rgba(184, 240, 95, .1));
  background-size: 44px 44px, 44px 44px, 100% 100%;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.22));
}
body::after {
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.36) 22%, transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(218,247,230,.26));
  background-size: 220% 100%, 100% 100%;
  animation: sheenWash 16s ease-in-out infinite;
}
.glow { display: none; }

@keyframes sheenWash {
  0%, 100% { background-position: -90% 0, 0 0; }
  50% { background-position: 120% 0, 0 0; }
}

.topbar {
  border-bottom-color: rgba(10,104,58,.12);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 44px rgba(13, 79, 40, .09);
}
.topbar.scrolled {
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 54px rgba(13, 79, 40, .13);
}
.topbar::after {
  content: "";
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  right: clamp(1rem, 4vw, 3rem);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,179,92,.45), transparent);
}
.brand span {
  color: #071f11;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.brand { width: auto; flex: 0 1 auto; }
.navlinks { flex: 0 0 auto; }
.brand img {
  transform: translateZ(0);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.brand:hover img { transform: translateY(-2px) rotate(-2deg) scale(1.04); box-shadow: 0 16px 34px rgba(18,173,88,.18); }
.navlinks a {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.58);
  border-color: rgba(10,104,58,.08);
  transition: transform .25s ease, color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.navlinks a::before,
.btn::before,
.mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 10%, rgba(255,255,255,.58) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.navlinks a:hover,
.btn:hover,
.mini:hover {
  transform: translateY(-2px);
}
.navlinks a:hover::before,
.btn:hover::before,
.mini:hover::before { transform: translateX(120%); }

.shell, .wide { padding-top: clamp(1.2rem, 4vw, 3.4rem); }
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 78px));
}
.hero h1 {
  color: transparent;
  font-size: clamp(3rem, 6.3vw, 5.25rem);
  line-height: .96;
  overflow-wrap: anywhere;
  background: linear-gradient(110deg, #071f11 0%, #0e7b41 46%, #0b2415 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 12px 24px rgba(14, 123, 65, .13));
}
.hero-copy .pill { animation: gentleLift 4s ease-in-out infinite; }
.hero-copy p {
  color: #526c5d;
  text-wrap: pretty;
}
.actions { align-items: center; }

.hero-board {
  perspective: 900px;
  transform-style: preserve-3d;
}
.hero-board::before {
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(235,250,241,.74)),
    linear-gradient(135deg, rgba(18,173,88,.18), transparent);
  box-shadow: 0 34px 90px rgba(18, 118, 63, .16);
  animation: boardFloat 5.5s ease-in-out infinite;
}
.metric {
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.metric::after,
.stat::after,
.quick::after,
.panel::after,
.auth-card::after,
.wallet-head::after,
.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.42), transparent 34%, rgba(57,223,139,.08));
  opacity: 0;
  transition: opacity .35s ease;
}
.metric:hover,
.stat:hover { transform: translateY(-5px); border-color: rgba(15,179,92,.32); box-shadow: var(--shadow); }
.metric:hover::after,
.stat:hover::after,
.quick:hover::after,
.panel:hover::after,
.auth-card:hover::after,
.wallet-head:hover::after,
.offer-card:hover::after { opacity: 1; }

.section-head h1,
.section-head h2,
.panel h1,
.panel h2,
.admin-main h1 {
  color: #0c2918;
}
.section-head h1::after,
.section-head h2::after,
.panel h1::after,
.panel h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: .45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--lime));
}

.offer-grid,
.quick-grid,
.stats-grid { gap: clamp(.8rem, 2vw, 1.15rem); }
.offer-card,
.panel,
.auth-card,
.quick,
.wallet-head,
.stat,
.admin-side {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(244,252,247,.76)),
    linear-gradient(135deg, rgba(255,255,255,.8), transparent);
  border-color: rgba(10,104,58,.13);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.offer-card {
  border-radius: 30px;
  transition: transform .42s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.offer-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 34px 86px rgba(20,104,55,.18);
}
.offer-card img {
  height: 190px;
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}
.offer-card:hover img { transform: scale(1.055); filter: saturate(1.08) contrast(1.03); }
.offer-card h3 { color: #0b2415; }
.card-foot {
  border-top: 1px solid rgba(10,104,58,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(235,250,241,.42));
}
.card-foot strong,
.payout {
  color: #9b6908;
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
}

.quick {
  min-height: 130px;
  transform: translateZ(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.quick:hover {
  transform: translateY(-7px);
  border-color: rgba(15,179,92,.3);
  box-shadow: 0 28px 72px rgba(20,104,55,.16);
}
.quick h3 { font-size: 1.05rem; }

.pill {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 8px 22px rgba(18,173,88,.08);
}
.btn,
.mini {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}
.btn.primary {
  background: linear-gradient(135deg, #0ba957 0%, #26ce78 54%, #88e056 100%);
  box-shadow: 0 16px 34px rgba(15,179,92,.26);
}
.btn.primary:hover { box-shadow: 0 22px 46px rgba(15,179,92,.34); }
.btn.ghost,
.mini {
  background: rgba(255,255,255,.7);
}
.btn:active,
.mini:active { transform: translateY(0) scale(.98); }
.ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  transform: translate(-50%, -50%) scale(1);
  animation: ripple .62s ease-out forwards;
  pointer-events: none;
}

input,
textarea,
select {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 18px rgba(20,104,55,.05);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease, transform .22s ease;
}
input:hover,
textarea:hover,
select:hover { background: rgba(255,255,255,.98); }
input:focus,
textarea:focus,
select:focus {
  box-shadow: var(--ring), inset 0 1px 0 rgba(255,255,255,.9);
  transform: translateY(-1px);
}

.campaign-banner {
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.campaign-banner:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 32px 82px rgba(20,104,55,.17);
}
.steps li { margin-bottom: .35rem; }

.admin-side a,
.status {
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.admin-side a:hover { transform: translateX(3px); }
tr { transition: background .2s ease; }
tbody tr:hover { background: rgba(18,173,88,.045); }
.table-wrap {
  border-radius: 18px;
  border: 1px solid rgba(10,104,58,.08);
}
table { background: rgba(255,255,255,.42); }
th {
  background: rgba(239,250,244,.86);
  position: sticky;
  top: 0;
  z-index: 1;
}

.alert {
  box-shadow: var(--shadow-small);
}
.wallet-head strong {
  color: transparent;
  background: linear-gradient(110deg, #9b6908, #16a45b);
  -webkit-background-clip: text;
  background-clip: text;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .72s cubic-bezier(.2,.8,.2,1), transform .72s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@keyframes boardFloat {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-8px); }
}
@keyframes gentleLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes ripple {
  to { transform: translate(-50%, -50%) scale(18); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 900px) {
  .hero h1 { filter: none; }
  .offer-card:hover,
  .quick:hover,
  .metric:hover,
  .stat:hover,
  .campaign-banner:hover {
    transform: none;
  }
}

@media (max-width: 620px) {
  body::before { background-size: 34px 34px, 34px 34px, 100% 100%; }
  .topbar { border-radius: 0 0 24px 24px; }
  .brand span { font-size: .98rem; overflow-wrap: anywhere; }
  .hero { text-align: left; }
  .hero-board::before { animation: none; }
  .offer-card img { height: 160px; }
  .table-wrap { border-radius: 16px; }
}

/* Dark Fluid Ultramoney theme */
:root {
  --bg: #070d0a;
  --surface: rgba(14, 24, 19, .9);
  --surface-soft: rgba(18, 34, 27, .82);
  --line: rgba(92, 255, 169, .14);
  --text: #eefbf3;
  --muted: #9db5a8;
  --green: #38f28f;
  --green-2: #08ba6a;
  --mint: #143324;
  --lime: #d5ee79;
  --gold: #f6c868;
  --danger: #ff6678;
  --shadow: 0 18px 48px rgba(0, 0, 0, .34);
  --shadow-small: 0 10px 26px rgba(0, 0, 0, .26);
  --ring: 0 0 0 4px rgba(56, 242, 143, .16);
}

html {
  background: #070d0a;
}

body {
  color: var(--text);
  background:
    linear-gradient(rgba(56, 242, 143, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 200, 104, .035) 1px, transparent 1px),
    radial-gradient(ellipse at 28% 12%, rgba(56, 242, 143, .16), transparent 34%),
    radial-gradient(ellipse at 76% 24%, rgba(246, 200, 104, .12), transparent 30%),
    linear-gradient(135deg, #070d0a 0%, #0b1711 42%, #08100c 100%);
  background-size: 42px 42px, 42px 42px, 100% 100%, 100% 100%, 100% 100%;
}

body::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .04), transparent 36%, rgba(56, 242, 143, .06)),
    linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
  background-size: 100% 100%;
  mask-image: none;
}

body::after {
  display: none;
}

.glow {
  display: none;
}

.topbar {
  background: rgba(8, 15, 12, .82);
  border-bottom-color: rgba(92, 255, 169, .14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .36);
  backdrop-filter: none;
}

.topbar.scrolled {
  background: rgba(8, 15, 12, .94);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .42);
}

.topbar::after {
  background: linear-gradient(90deg, transparent, rgba(56, 242, 143, .55), rgba(246, 200, 104, .32), transparent);
}

.brand {
  width: auto;
  flex: 0 1 auto;
}

.brand span {
  color: #f3fff7;
  text-shadow: 0 0 20px rgba(56, 242, 143, .22);
}

.brand img,
.auth-logo {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(56, 242, 143, .16);
}

.navlinks {
  flex: 0 0 auto;
}

.navlinks a,
.btn,
.mini {
  color: var(--text);
  background: rgba(18, 31, 25, .78);
  border-color: rgba(92, 255, 169, .13);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
}

.navlinks a:hover,
.btn.ghost:hover,
.mini:hover {
  color: #0a130e;
  background: linear-gradient(135deg, rgba(56, 242, 143, .95), rgba(213, 238, 121, .92));
  border-color: rgba(213, 238, 121, .42);
  box-shadow: 0 14px 34px rgba(56, 242, 143, .2);
}

.hero {
  min-height: min(720px, calc(100vh - 78px));
}

.hero h1 {
  color: transparent;
  font-size: clamp(3rem, 6.2vw, 5.2rem);
  line-height: .96;
  background: linear-gradient(110deg, #f5fff8 0%, #38f28f 42%, #f6c868 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 14px 24px rgba(56, 242, 143, .16));
}

.hero p,
.section-head p,
.panel p,
.offer-card p,
.quick p,
.steps,
label,
td small,
.hint,
.muted-link,
.metric span,
.stat span {
  color: var(--muted);
}

.hero-copy .pill {
  animation: pulseLine 3.2s ease-in-out infinite;
}

.hero-board::before {
  background: linear-gradient(145deg, rgba(18, 34, 27, .86), rgba(10, 18, 14, .9));
  border-color: rgba(92, 255, 169, .14);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .3);
  animation: none;
}

.metric,
.offer-card,
.panel,
.auth-card,
.quick,
.wallet-head,
.stat,
.admin-side {
  background:
    linear-gradient(145deg, rgba(18, 31, 25, .92), rgba(9, 16, 13, .9)),
    linear-gradient(135deg, rgba(56, 242, 143, .07), transparent 44%, rgba(246, 200, 104, .045));
  border-color: rgba(92, 255, 169, .13);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.metric::after,
.stat::after,
.quick::after,
.panel::after,
.auth-card::after,
.wallet-head::after,
.offer-card::after {
  background: linear-gradient(120deg, rgba(56, 242, 143, .08), transparent 42%, rgba(246, 200, 104, .08));
}

.metric b,
.stat b {
  color: var(--green);
  text-shadow: 0 0 18px rgba(56, 242, 143, .24);
}

.section-head h1,
.section-head h2,
.panel h1,
.panel h2,
.admin-main h1,
.quick h3,
.offer-card h3,
.admin-side h2 {
  color: #f3fff7;
}

.section-head h1::after,
.section-head h2::after,
.panel h1::after,
.panel h2::after {
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.offer-card:hover,
.quick:hover,
.metric:hover,
.stat:hover,
.campaign-banner:hover {
  transform: translateY(-5px);
  border-color: rgba(92, 255, 169, .28);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .36);
}

.offer-card img,
.campaign-banner {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(92, 255, 169, .13);
}

.card-foot {
  border-top-color: rgba(92, 255, 169, .1);
  background: rgba(7, 13, 10, .34);
}

.card-foot strong,
.payout,
.wallet-head strong {
  color: transparent;
  background: linear-gradient(110deg, var(--gold), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.pill,
.status {
  color: #a9ffd0;
  background: rgba(56, 242, 143, .1);
  border-color: rgba(92, 255, 169, .2);
  box-shadow: none;
}

.status.active,
.status.approved {
  color: #8effbd;
}

.status.pending,
.status.clicked {
  color: var(--gold);
}

.btn.primary {
  color: #06100b;
  background: linear-gradient(135deg, #38f28f 0%, #12c875 54%, #d5ee79 100%);
  box-shadow: 0 16px 34px rgba(56, 242, 143, .22);
}

.btn.primary:hover {
  box-shadow: 0 20px 44px rgba(56, 242, 143, .3);
}

input,
textarea,
select {
  color: var(--text);
  background: rgba(7, 13, 10, .78);
  border-color: rgba(92, 255, 169, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

input:hover,
textarea:hover,
select:hover,
input:focus,
textarea:focus,
select:focus {
  background: rgba(11, 20, 15, .96);
}

input::placeholder,
textarea::placeholder {
  color: rgba(157, 181, 168, .72);
}

.table-wrap {
  border-color: rgba(92, 255, 169, .12);
  background: rgba(7, 13, 10, .44);
}

table {
  background: rgba(7, 13, 10, .34);
}

th {
  color: #a9ffd0;
  background: rgba(18, 31, 25, .94);
}

td {
  border-bottom-color: rgba(92, 255, 169, .09);
}

tbody tr:hover {
  background: rgba(56, 242, 143, .055);
}

.alert.good {
  color: #c9ffdc;
  border-color: rgba(56, 242, 143, .28);
  background: rgba(56, 242, 143, .09);
}

.alert.bad {
  color: #ffd9df;
  border-color: rgba(255, 102, 120, .28);
  background: rgba(255, 102, 120, .1);
}

.reveal {
  transform: translateY(16px);
  transition: opacity .46s ease, transform .46s ease;
}

.ripple {
  background: rgba(213, 238, 121, .42);
}

@keyframes pulseLine {
  0%, 100% {
    border-color: rgba(92, 255, 169, .18);
    box-shadow: 0 0 0 rgba(56, 242, 143, 0);
  }
  50% {
    border-color: rgba(213, 238, 121, .34);
    box-shadow: 0 0 24px rgba(56, 242, 143, .14);
  }
}

@media (max-width: 900px) {
  .hero h1 {
    filter: none;
  }
}

@media (max-width: 620px) {
  body {
    background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%, 100% 100%;
  }

  .topbar {
    background: rgba(8, 15, 12, .94);
  }

  .brand span {
    color: #f3fff7;
  }
}

/* Final dark polish and fluid motion pass */
.btn,
.mini {
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(18, 31, 25, .92), rgba(9, 16, 13, .9));
  border-color: rgba(92, 255, 169, .14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.btn:hover,
.mini:hover {
  color: #f3fff7;
  background:
    linear-gradient(145deg, rgba(23, 43, 34, .96), rgba(10, 20, 15, .96));
  border-color: rgba(92, 255, 169, .28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .34);
  transform: translateY(-2px);
}

.btn.ghost {
  color: #dff9e8;
  background:
    linear-gradient(145deg, rgba(18, 31, 25, .92), rgba(9, 16, 13, .9));
  border-color: rgba(92, 255, 169, .16);
}

.btn.danger,
.mini.danger {
  color: #ffb7c2;
  background: rgba(255, 102, 120, .1);
  border-color: rgba(255, 102, 120, .24);
}

.btn:focus-visible,
.mini:focus-visible,
.navlinks a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(56, 242, 143, .18), 0 14px 32px rgba(0, 0, 0, .28);
}

label,
.hint,
.muted-link,
.steps,
td small {
  color: var(--muted);
}

.steps li::marker {
  color: var(--green);
}

.auth-logo {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(92, 255, 169, .12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.copybox,
.split-summary {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .62rem .85rem;
  color: #c9ffdc;
  background: rgba(56, 242, 143, .08);
  border: 1px solid rgba(92, 255, 169, .14);
  border-radius: 999px;
  overflow-wrap: anywhere;
}

.split-summary.bad {
  color: #ffd8de;
  background: rgba(255, 102, 120, .1);
  border-color: rgba(255, 102, 120, .26);
}

.admin-side a {
  color: #c5dbce;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .025);
}

.admin-side a:hover {
  color: #06100b;
  background: linear-gradient(135deg, rgba(56, 242, 143, .95), rgba(213, 238, 121, .92));
  border-color: transparent;
}

input[type="checkbox"] {
  accent-color: var(--green);
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #0b140f inset;
  caret-color: var(--text);
}

.hero-board .metric {
  animation: metricDrift 6.5s ease-in-out infinite;
}

.hero-board .metric:nth-child(2) {
  animation-delay: -1.3s;
}

.hero-board .metric:nth-child(3) {
  animation-delay: -2.4s;
}

.campaign-banner,
.offer-card img {
  filter: saturate(1.06) contrast(1.03);
}

.table-wrap::-webkit-scrollbar {
  height: 8px;
}

.table-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .04);
  border-radius: 999px;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: rgba(92, 255, 169, .28);
  border-radius: 999px;
}

@keyframes metricDrift {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
