/* ==============================================================================
   LINKZMINT "MINT JELLY" DESIGN SYSTEM
   Soft, Puffy, Warm & Tactile — Rich Clay & Candy-Coated Jelly Aesthetics
   Palette:
     Mint Jelly:   #7FE8B8  (Primary soft green, highlights, buttons)
     Deep Moss:    #0F3B2E  (Headings, dark panels, deep contrast)
     Cream Butter: #FFF4D6  (Default warm background)
     Pistachio:    #C9F2A8  (Secondary soft panels)
     Peach Coral:  #FF9475  (Secondary accent, alerts, hover pops)
     Marigold:     #FFC247  (Coins, money values, rewards)
     Plum Ink:     #2A1E3B  (Body text - soft, warm, unique)
     Berry:        #E5546B  (Soft error / warning pops)
   Night Jelly (Dark):
     Moss Bg:      #0A2A21
     Cards:        #123F32
     Text:         #FFF4D6
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&family=Baloo+2:wght@500;600;700;800&family=Fraunces:ital,opsz,wght@1,9..144,400;1,9..144,600;1,9..144,700&family=Nunito:wght@400;500;600;700;800;900&family=DM+Mono:wght@400;500&family=Noto+Sans+Tamil:wght@400;600;700&display=swap');

:root {
  /* Brand Palette */
  --c-mint: #7FE8B8;
  --c-mint-hover: #6ee0ac;
  --c-mint-light: #d8f9ea;
  --c-moss: #0F3B2E;
  --c-moss-night: #0A2A21;
  --c-card-night: #123F32;
  --c-cream: #FFF4D6;
  --c-cream-card: #FFF8E7;
  --c-cream-soft: #FFFDF5;
  --c-pistachio: #C9F2A8;
  --c-pistachio-soft: #eafbe0;
  --c-peach: #FF9475;
  --c-peach-soft: #ffe8e2;
  --c-marigold: #FFC247;
  --c-marigold-soft: #fff3d6;
  --c-plum: #2A1E3B;
  --c-plum-muted: #5e4f73;
  --c-berry: #E5546B;

  /* Theme Surfaces (Light: Cream Butter) */
  --bg-page: #FFF4D6;
  --bg-surface: #FFFDF5;
  --bg-surface-card: #FFFFFF;
  --text-heading: #0F3B2E;
  --text-body: #2A1E3B;
  --text-muted: #6b5c80;
  --border-soft: rgba(15, 59, 46, 0.08);

  /* Soft Radius System */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --r-pill: 999px;

  /* Spring Physics & Motion */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-squish: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layered Tinted Puffy Shadows (Green-tinted, never black) */
  --shadow-sm: 0 2px 4px rgba(15, 59, 46, 0.06), 0 6px 12px rgba(15, 59, 46, 0.06), inset 0 2px 0 rgba(255, 255, 255, 0.7);
  --shadow-md: 0 4px 10px rgba(15, 59, 46, 0.06), 0 12px 24px rgba(15, 59, 46, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(15, 59, 46, 0.05);
  --shadow-lg: 0 8px 18px rgba(15, 59, 46, 0.07), 0 24px 48px rgba(15, 59, 46, 0.09), inset 0 3px 0 rgba(255, 255, 255, 0.7), inset 0 -3px 0 rgba(15, 59, 46, 0.06);
  --shadow-xl: 0 14px 28px rgba(15, 59, 46, 0.08), 0 32px 64px rgba(15, 59, 46, 0.10), inset 0 3px 0 rgba(255, 255, 255, 0.75), inset 0 -4px 0 rgba(15, 59, 46, 0.08);

  --shadow-coin: 0 6px 18px rgba(255, 194, 71, 0.42), 0 2px 6px rgba(15, 59, 46, 0.1), inset 0 2px 0 rgba(255, 255, 255, 0.8), inset 0 -3px 0 rgba(199, 137, 8, 0.3);
  --shadow-mint: 0 6px 20px rgba(127, 232, 184, 0.45), 0 2px 6px rgba(15, 59, 46, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.75), inset 0 -3px 0 rgba(15, 59, 46, 0.1);
  --shadow-peach: 0 6px 20px rgba(255, 148, 117, 0.40), inset 0 2px 0 rgba(255, 255, 255, 0.7), inset 0 -3px 0 rgba(180, 70, 40, 0.2);
}

/* ==============================================================================
   NIGHT JELLY DARK THEME
   Moss Background #0A2A21, Cards #123F32, Text Cream #FFF4D6
   ============================================================================== */
html[data-theme="dark"],
body.dark,
.dark {
  --bg-page: #0A2A21;
  --bg-surface: #123F32;
  --bg-surface-card: #144839;
  --text-heading: #FFF4D6;
  --text-body: #FFF4D6;
  --text-muted: #A0D6BE;
  --border-soft: rgba(127, 232, 184, 0.16);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.18), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.5);

  background-color: var(--bg-page);
  color: var(--text-body);
}

/* Base Document Setup */
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-page);
  color: var(--text-body);
}

body {
  font-family: 'Nunito', 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  transition: background-color 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  color: var(--text-heading);
  letter-spacing: -0.015em;
  font-weight: 700;
  line-height: 1.18;
}

.font-emphasis, em.emphasis-word {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: normal;
}

.font-mono-numbers {
  font-family: 'DM Mono', monospace;
  font-variant-numeric: tabular-nums;
}

/* ==============================================================================
   EXACT BRAND LOGO (TEXT + CSS ONLY, NO IMAGE)
   ============================================================================== */
.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background-color: #10a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px -3px rgba(16, 163, 74, 0.42);
  flex-shrink: 0;
  transition: transform 0.22s var(--ease-spring);
}

.brand-logo-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo-text {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1;
  color: #0f7642;
  letter-spacing: -0.035em;
  display: inline-block;
  user-select: none;
  transition: color 0.2s ease;
}

html[data-theme="dark"] .brand-logo-text {
  color: #FFF4D6;
}

/* ==============================================================================
   TACTILE GRAIN NOISE OVERLAY (feTurbulence at 4-6% opacity)
   ============================================================================== */
.minty-grain-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

html[data-theme="dark"] .minty-grain-bg {
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* ==============================================================================
   SOFT-EDGE SYSTEM & PUFFY SURFACES
   ============================================================================== */
.puffy-card {
  border-radius: var(--r-xl);
  background: var(--bg-surface-card);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s var(--ease-spring);
  position: relative;
}

.puffy-card-lg {
  border-radius: var(--r-xl);
}

.puffy-card-md {
  border-radius: var(--r-lg);
}

.puffy-card-sm {
  border-radius: var(--r-md);
}

.puffy-card:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: var(--shadow-xl);
}

/* Clay / Jelly Surface Highlight */
.clay-surface {
  position: relative;
  overflow: hidden;
}

.clay-surface::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  border-radius: var(--r-pill);
  pointer-events: none;
}

/* ==============================================================================
   BUTTONS: PUFFY PILL WITH SPRING PHYSICS & GLOSSY HIGHLIGHT
   ============================================================================== */
.btn-jelly {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--r-pill);
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: manipulation;
  transition: transform 0.22s var(--ease-spring),
              box-shadow 0.22s var(--ease-spring),
              background-color 0.2s ease;
  min-height: 48px;
}

/* Gloss highlight on top edge */
.btn-jelly::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 12%;
  right: 12%;
  height: 35%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: var(--r-pill);
  pointer-events: none;
}

/* Squish on press */
.btn-jelly:active {
  transform: scale(0.95) translateY(2px) !important;
  transition: transform 0.08s var(--ease-squish) !important;
}

/* Mint Jelly Button */
.btn-jelly-mint {
  background-color: var(--c-mint);
  color: var(--c-moss);
  box-shadow: var(--shadow-mint);
}

.btn-jelly-mint:hover {
  background-color: var(--c-mint-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(127, 232, 184, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.85);
}

/* Peach Coral Button */
.btn-jelly-peach {
  background-color: var(--c-peach);
  color: #FFFFFF;
  box-shadow: var(--shadow-peach);
}

.btn-jelly-peach:hover {
  background-color: #ff815e;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 148, 117, 0.5);
}

/* Deep Moss Button */
.btn-jelly-moss {
  background-color: var(--c-moss);
  color: var(--c-cream);
  box-shadow: 0 6px 20px rgba(15, 59, 46, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.btn-jelly-moss:hover {
  background-color: #164f3e;
  transform: translateY(-2px) scale(1.02);
  color: #FFFFFF;
}

/* Marigold Gold Coin Button */
.btn-jelly-gold {
  background-color: var(--c-marigold);
  color: var(--c-moss);
  box-shadow: var(--shadow-coin);
}

.btn-jelly-gold:hover {
  background-color: #ffb82e;
  transform: translateY(-2px) scale(1.02);
}

/* Soft Outline Pill */
.btn-jelly-outline {
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--c-moss);
  border: 2px solid rgba(15, 59, 46, 0.16);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .btn-jelly-outline {
  background-color: rgba(18, 63, 50, 0.6);
  color: var(--c-cream);
  border-color: rgba(127, 232, 184, 0.25);
}

.btn-jelly-outline:hover {
  background-color: #FFFFFF;
  border-color: var(--c-mint);
  transform: translateY(-2px) scale(1.02);
}

/* Small Pill Button */
.btn-jelly-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.9rem;
  min-height: 40px;
}

/* Large Hero Pill Button */
.btn-jelly-xl {
  padding: 1.05rem 2.4rem;
  font-size: 1.25rem;
  border-radius: var(--r-pill);
}

/* ==============================================================================
   INPUTS: PILL SHAPES & WARM SOFT DEPTH
   ============================================================================== */
.input-jelly {
  border-radius: var(--r-pill);
  background-color: #FFFFFF;
  border: 2px solid rgba(15, 59, 46, 0.12);
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
  font-family: 'Nunito', sans-serif;
  color: var(--c-plum);
  box-shadow: inset 0 2px 4px rgba(15, 59, 46, 0.05), 0 2px 6px rgba(15, 59, 46, 0.03);
  transition: all 0.22s var(--ease-spring);
  outline: none;
  width: 100%;
}

html[data-theme="dark"] .input-jelly {
  background-color: #0F3B2E;
  color: var(--c-cream);
  border-color: rgba(127, 232, 184, 0.22);
}

.input-jelly:focus {
  border-color: var(--c-mint);
  box-shadow: 0 0 0 4px rgba(127, 232, 184, 0.35), inset 0 2px 4px rgba(15, 59, 46, 0.04);
  transform: translateY(-1px);
}

/* ==============================================================================
   COLOR BLOCKS & STACKED PAPER PANELS
   ============================================================================== */
.panel-cream {
  background-color: var(--c-cream);
  color: var(--c-moss);
}

.panel-pistachio {
  background-color: var(--c-pistachio);
  color: var(--c-moss);
}

.panel-mint {
  background-color: var(--c-mint);
  color: var(--c-moss);
}

.panel-moss {
  background-color: var(--c-moss);
  color: var(--c-cream);
}

.panel-peach {
  background-color: var(--c-peach);
  color: #FFFFFF;
}

/* Blobby Wave Dividers between sections */
.blob-divider {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
  margin: 0;
  border: none;
}

/* ==============================================================================
   SIGNATURE ELEMENT: JELLY PRESS HERO
   ============================================================================== */
.jelly-press-card {
  background: #FFFFFF;
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(127, 232, 184, 0.35);
  position: relative;
  transition: transform 0.3s var(--ease-spring);
}

html[data-theme="dark"] .jelly-press-card {
  background: #123F32;
  border-color: rgba(127, 232, 184, 0.25);
}

/* Squishy wobbling press animation on click */
@keyframes jellyPressSquish {
  0% { transform: scale(1, 1); }
  25% { transform: scale(0.96, 1.05) translateY(-4px); }
  50% { transform: scale(1.06, 0.90) translateY(8px); }
  75% { transform: scale(0.97, 1.03) translateY(-2px); }
  90% { transform: scale(1.02, 0.98); }
  100% { transform: scale(1, 1); }
}

.jelly-pressing {
  animation: jellyPressSquish 0.65s var(--ease-spring) both;
}

/* Coin Popout */
@keyframes coinPopIn {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(40px) rotate(-15deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.08) translateY(-10px) rotate(4deg);
  }
  80% {
    transform: scale(0.96) translateY(2px) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
  }
}

.minted-coin-pop {
  animation: coinPopIn 0.55s var(--ease-spring) forwards;
}

/* ==============================================================================
   SIGNATURE ELEMENT: PILLOW COIN COUNTER & STACK
   ============================================================================== */
.pillow-coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE885 0%, #FFC247 65%, #DF9D1C 100%);
  box-shadow: 0 4px 10px rgba(223, 157, 28, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.8), inset 0 -3px 3px rgba(168, 110, 8, 0.35);
  position: relative;
  user-select: none;
}

.pillow-coin-inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px dashed rgba(168, 110, 8, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #7A4E04;
}

@keyframes coinWiggle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-4deg); }
  75% { transform: translateY(-2px) rotate(4deg); }
}

.coin-wiggle {
  animation: coinWiggle 0.4s var(--ease-spring);
}

.money-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-pill);
  background-color: var(--c-marigold-soft);
  color: #8C5804;
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(255, 194, 71, 0.4);
}

/* ==============================================================================
   SIGNATURE ELEMENT: SOFT LEDGER FLOATING ROWS
   ============================================================================== */
.soft-ledger {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.soft-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border-radius: var(--r-md);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring);
}

html[data-theme="dark"] .soft-ledger-row {
  background: #144839;
  border-color: rgba(127, 232, 184, 0.12);
}

.soft-ledger-row:hover {
  transform: translateX(4px) scale(1.01);
  box-shadow: var(--shadow-md);
}

/* Sticker Status Chips */
.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill-status-paid {
  background-color: var(--c-mint);
  color: var(--c-moss);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.pill-status-processing {
  background-color: var(--c-pistachio);
  color: var(--c-moss);
}

.pill-status-pending {
  background-color: var(--c-peach-soft);
  color: #A33C24;
}

/* ==============================================================================
   SIGNATURE ELEMENT: SCALLOPED WAVY BOTTOM CARDS
   ============================================================================== */
.card-scalloped {
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: #FFFFFF;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

html[data-theme="dark"] .card-scalloped {
  background: #123F32;
}

.scallop-edge {
  width: 100%;
  height: 18px;
  display: block;
}

/* ==============================================================================
   SIGNATURE ELEMENT: WOBBLY ROPE CASH-OUT FLOW
   ============================================================================== */
.step-bubble {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--c-mint);
  position: relative;
  z-index: 2;
  transition: transform 0.25s var(--ease-spring);
}

html[data-theme="dark"] .step-bubble {
  background: #144839;
  border-color: var(--c-mint);
}

.step-bubble:hover {
  transform: scale(1.1) rotate(-3deg);
}

/* ==============================================================================
   MASCOT: MINTY THE PUFFY COIN
   ============================================================================== */
@keyframes mintyBlink {
  0%, 96%, 100% { transform: scaleY(1); }
  98% { transform: scaleY(0.1); }
}

@keyframes mintyFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes mintyCelebrate {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.15) rotate(-6deg) translateY(-8px); }
  50% { transform: scale(1.1) rotate(6deg) translateY(-12px); }
  75% { transform: scale(1.12) rotate(-3deg) translateY(-4px); }
}

.minty-float {
  animation: mintyFloat 4s ease-in-out infinite;
}

.minty-eye-blink {
  transform-origin: center;
  animation: mintyBlink 4.5s ease-in-out infinite;
}

.minty-celebrate {
  animation: mintyCelebrate 0.8s var(--ease-spring) both;
}

/* ==============================================================================
   ICONS STYLE: 2px Stroke, Round Caps, Round Joins, Duotone Back-Shape
   ============================================================================== */
.minty-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background-color: var(--c-mint-light);
  color: var(--c-moss);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.25s var(--ease-spring);
  flex-shrink: 0;
}

html[data-theme="dark"] .minty-icon-badge {
  background-color: rgba(127, 232, 184, 0.2);
  color: var(--c-mint);
}

.minty-icon-badge:hover {
  transform: scale(1.08) rotate(4deg);
}

.minty-icon-badge svg {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}


/* ==============================================================================
   THEME TOGGLE SWITCH: SQUISHY SUN/MOON PILL
   ============================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 59, 46, 0.12);
  color: var(--c-moss);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.22s var(--ease-spring), background 0.2s ease;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

html[data-theme="dark"] .theme-toggle-btn {
  background: #144839;
  border-color: rgba(127, 232, 184, 0.25);
  color: var(--c-cream);
}

.theme-toggle-btn:hover {
  transform: scale(1.05);
}

.theme-toggle-btn:active {
  transform: scale(0.92);
}

/* ==============================================================================
   SCROLL REVEAL & STAGGER
   ============================================================================== */
.scroll-reveal, [data-aos] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible, [data-aos].is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  will-change: auto;
}

/* ==============================================================================
   REDUCED MOTION SUPPORT
   ============================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-reveal, [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
  .minty-float, .minty-celebrate, .jelly-pressing, .minted-coin-pop, .coin-wiggle {
    animation: none !important;
    transform: none !important;
  }
}

/* Minimal interface layer */
.minimal-skin {
  --minimal-bg: #f4f7f3;
  --minimal-surface: #ffffff;
  --minimal-ink: #17322b;
  --minimal-muted: #65766e;
  --minimal-line: #d9e4dc;
  --minimal-accent: #167d57;
  background: var(--minimal-bg) !important;
  color: var(--minimal-ink) !important;
}

.minimal-skin .minty-grain-bg,
.minimal-skin #calculator,
.minimal-skin #calculator + .relative {
  display: none !important;
}

.minimal-skin header > div {
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid var(--minimal-line) !important;
  box-shadow: 0 8px 24px rgba(23, 50, 43, 0.06) !important;
}

.minimal-skin .puffy-card,
.minimal-skin .clay-surface {
  border-radius: 16px !important;
  border: 1px solid var(--minimal-line) !important;
  box-shadow: 0 10px 28px rgba(23, 50, 43, 0.07) !important;
}

.minimal-skin [class*="bg-[#FFFDF5]"],
.minimal-skin [class*="bg-[#FFF4D6]"],
.minimal-skin [class*="bg-[#F2FCE9]"],
.minimal-skin [class*="bg-[#C9F2A8]"] {
  background-color: var(--minimal-bg) !important;
}

.minimal-skin [class*="text-[#0F3B2E]"],
.minimal-skin [class*="text-[#2A1E3B]"] {
  color: var(--minimal-ink) !important;
}

.minimal-skin .btn-jelly,
.minimal-skin .input-jelly,
.minimal-skin .money-chip {
  border-radius: 10px !important;
  box-shadow: none !important;
}

.minimal-skin .btn-jelly {
  background-image: none !important;
  transform: none !important;
}

.minimal-skin .btn-jelly-mint {
  background: var(--minimal-accent) !important;
  color: #fff !important;
}

.minimal-skin .btn-jelly-peach,
.minimal-skin .btn-jelly-moss {
  background: #e6f0e9 !important;
  color: var(--minimal-ink) !important;
}

.minimal-skin .page-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: #f4f7f3;
  color: var(--minimal-accent);
  animation: page-intro-out 900ms 250ms ease forwards;
}

.page-intro-mark {
  width: 72px;
  height: 72px;
  animation: page-mark-in 700ms cubic-bezier(.2,.8,.2,1) both;
}

.page-intro-ring {
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  animation: page-ring-draw 600ms ease forwards;
}

.page-intro-path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: page-path-draw 450ms 300ms ease forwards;
}

@keyframes page-intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes page-mark-in { from { opacity: 0; transform: scale(.7) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes page-ring-draw { to { stroke-dashoffset: 0; } }
@keyframes page-path-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .minimal-skin .page-intro { display: none; }
}

/* Clean homepage presentation */
.home-page {
  --home-ink: #17322b;
  --home-muted: #65766e;
  --home-line: #d9e8df;
  --home-green: #167d57;
  background: #f4f8f5 !important;
}

html[data-theme="dark"] .home-page {
  --home-ink: #e6f4eb;
  --home-muted: #b4cfc0;
  --home-line: rgba(154, 219, 185, 0.22);
  --home-green: #70d49b;
  background: #0d2d23 !important;
}

html[data-theme="dark"] .home-page #hero,
html[data-theme="dark"] .home-page main > section:not(#hero) {
  background: #0d2d23 !important;
}

html[data-theme="dark"] .home-page .jelly-press-card,
html[data-theme="dark"] .home-page .puffy-card,
html[data-theme="dark"] .home-page .clay-surface,
html[data-theme="dark"] .home-page main > section:not(#hero) .puffy-card,
html[data-theme="dark"] .home-page main > section:not(#hero) .clay-surface {
  background: #123f32 !important;
  color: var(--home-ink) !important;
}

.home-page #hero {
  min-height: auto !important;
  padding-top: 72px !important;
  padding-bottom: 84px !important;
  background: #f4f8f5 !important;
}

.home-page #hero .parallax-layer,
.home-page .minty-grain-bg {
  display: none !important;
}

.home-page #hero > .relative.z-10 {
  max-width: 1080px !important;
}

.home-page #hero h1 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--home-ink) !important;
  font-size: clamp(2.5rem, 6vw, 5.2rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
}

.home-page #hero h1 em,
.home-page #hero h1 .font-emphasis {
  color: var(--home-green) !important;
}

.home-page #hero p {
  color: var(--home-muted) !important;
}

.home-hero-visual {
  width: min(520px, 100%);
  margin: -4px auto 20px;
}

.home-hero-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-svg-dash {
  animation: hero-dash-flow 8s linear infinite;
}

.hero-svg-orbit {
  transform-origin: 273px 130px;
  animation: hero-orbit 16s linear infinite;
}

.hero-svg-dot-one { animation: hero-dot-one 3.5s ease-in-out infinite; }
.hero-svg-dot-two { animation: hero-dot-two 4.5s ease-in-out .4s infinite; }

@keyframes hero-dash-flow { to { stroke-dashoffset: -64; } }
@keyframes hero-orbit { to { transform: rotate(360deg); } }
@keyframes hero-dot-one { 50% { transform: translate(5px, -9px); } }
@keyframes hero-dot-two { 50% { transform: translate(-8px, 6px); } }

.home-page .jelly-press-card,
.home-page .puffy-card,
.home-page .clay-surface {
  background: #fff !important;
  border: 1px solid var(--home-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 34px rgba(23, 50, 43, 0.07) !important;
}

.home-page .jelly-press-card {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.home-page .btn-jelly-mint,
.home-page .btn-jelly-moss {
  background: var(--home-green) !important;
  color: #fff !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.home-page .btn-jelly-peach,
.home-page .btn-jelly-outline {
  background: #edf5ef !important;
  color: var(--home-ink) !important;
  border: 1px solid var(--home-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.home-page .blob-divider,
.home-page section[id="calculator"] {
  display: none !important;
}

.home-page main > section:not(#hero) {
  background: #f4f8f5 !important;
  color: var(--home-ink) !important;
}

.home-page main > section:not(#hero) .puffy-card,
.home-page main > section:not(#hero) .clay-surface {
  background: #fff !important;
  border: 1px solid var(--home-line) !important;
}

.home-page main > section:not(#hero) h2,
.home-page main > section:not(#hero) h3,
.home-page main > section:not(#hero) h4 {
  color: var(--home-ink) !important;
}

@media (max-width: 640px) {
  .home-page #hero { padding-top: 42px !important; padding-bottom: 56px !important; }
  .home-page #hero h1 { font-size: 2.65rem !important; }
  .home-hero-visual { margin-top: 10px; }
}

/* New clean homepage */
.home-page main > *:not(.clean-home) {
  display: none !important;
}

.clean-home {
  --clean-ink: #17322b;
  --clean-muted: #61736a;
  --clean-green: #21865e;
  --clean-pale: #e8f5ed;
  --clean-line: #d8e9de;
  background: #f6faf7;
  color: var(--clean-ink);
  overflow: hidden;
}

.clean-hero,
.clean-shortener,
.clean-benefits,
.clean-final-cta {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.clean-hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 42px;
  padding: 62px 0 56px;
}

.clean-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--clean-green) !important;
  font: 700 .74rem/1.2 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.clean-eyebrow span,
.clean-proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clean-green);
  display: inline-block;
}

.clean-hero h1,
.clean-section-heading h2,
.clean-shortener-heading h2,
.clean-final-cta h2 {
  margin: 0;
  color: var(--clean-ink) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800;
  letter-spacing: -.055em;
}

.clean-hero h1 { max-width: 560px; font-size: clamp(3.3rem, 6vw, 5.8rem); line-height: .98; }
.clean-hero h1 strong,
.clean-final-cta h2 strong { color: var(--clean-green) !important; }
.clean-lede { max-width: 470px; margin: 26px 0 30px; color: var(--clean-muted) !important; font-size: 1.04rem; line-height: 1.7; }

.clean-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.clean-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 19px; border-radius: 10px; text-decoration: none; font: 700 .82rem/1 'Plus Jakarta Sans', sans-serif; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.clean-button:hover { transform: translateY(-2px); }
.clean-button-primary { background: var(--clean-green); color: #fff !important; box-shadow: 0 10px 22px rgba(33, 134, 94, .18); }
.clean-button-secondary { background: #fff; border: 1px solid var(--clean-line); color: var(--clean-ink) !important; }
.clean-button span { font-size: 1.15rem; }
.clean-proof { display: flex; align-items: center; gap: 9px; margin-top: 28px; color: var(--clean-muted); font-size: .77rem; }

.clean-hero-art { min-width: 0; }
.clean-art-svg {
  display: block;
  width: min(100%, 520px);
  height: auto;
  aspect-ratio: 40 / 27;
  margin: auto;
}

.clean-shortener { padding: 34px; background: #fff; border: 1px solid var(--clean-line); border-radius: 18px; box-shadow: 0 14px 35px rgba(23, 50, 43, .06); }
.clean-shortener-heading h2 { max-width: 570px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.1; }
.clean-url-form { display: flex; gap: 10px; margin-top: 26px; }
.clean-url-form input { flex: 1; min-width: 0; height: 54px; padding: 0 17px; border: 1px solid var(--clean-line); border-radius: 10px; outline: none; color: var(--clean-ink); background: #fbfdfb; font: .92rem 'Nunito', sans-serif; }
.clean-url-form input:focus { border-color: var(--clean-green); box-shadow: 0 0 0 3px rgba(33, 134, 94, .1); }
.clean-url-form button { height: 54px; padding: 0 21px; border: 0; border-radius: 10px; background: var(--clean-green); color: #fff; font: 700 .82rem 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.clean-url-form button span { margin-left: 8px; font-size: 1.05rem; }
.clean-form-note { margin: 13px 0 0; color: var(--clean-muted) !important; font-size: .76rem; }
.clean-result { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--clean-line); font-size: .78rem; }
.clean-result span { color: var(--clean-muted); }
.clean-result a { color: var(--clean-green); font-weight: 700; }
.clean-result button { margin-left: auto; border: 0; background: var(--clean-pale); color: var(--clean-green); border-radius: 7px; padding: 8px 12px; font-size: .74rem; font-weight: 700; cursor: pointer; }

.clean-benefits { padding: 110px 0 96px; }
.clean-section-heading { max-width: 560px; margin-bottom: 30px; }
.clean-section-heading h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; }
.clean-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.clean-benefit-grid article { padding: 25px; min-height: 230px; background: #fff; border: 1px solid var(--clean-line); border-radius: 14px; }
.clean-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 26px; border-radius: 10px; background: var(--clean-pale); color: var(--clean-green); font-size: 1.3rem; font-weight: 800; }
.clean-benefit-grid h3 { margin: 0 0 10px; color: var(--clean-ink) !important; font: 800 1.05rem 'Plus Jakarta Sans', sans-serif; }
.clean-benefit-grid p { min-height: 65px; margin: 0 0 18px; color: var(--clean-muted) !important; font-size: .84rem; line-height: 1.55; }
.clean-benefit-grid a { color: var(--clean-green); font-size: .78rem; font-weight: 800; text-decoration: none; }
.clean-benefit-grid a span { margin-left: 6px; }

.clean-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 90px; padding: 43px; border-radius: 18px; background: #e8f5ed; }
.clean-final-cta h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.05; }

html[data-theme="dark"] .clean-home { --clean-ink: #e9f7ee; --clean-muted: #b8d2c2; --clean-line: rgba(166, 219, 185, .2); background: #0d2d23; }
html[data-theme="dark"] .clean-shortener,
html[data-theme="dark"] .clean-benefit-grid article { background: #123f32; }
html[data-theme="dark"] .clean-url-form input { background: #0e3327; color: var(--clean-ink); }
html[data-theme="dark"] .clean-button-secondary { background: #123f32; color: var(--clean-ink) !important; }
html[data-theme="dark"] .clean-final-cta { background: #164936; }

@media (max-width: 880px) {
  .clean-hero { grid-template-columns: 1fr; gap: 18px; padding-top: 44px; }
  .clean-hero h1 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .clean-hero-art { order: -1; }
  .clean-url-form { flex-direction: column; }
  .clean-url-form button { width: 100%; }
  .clean-benefit-grid { grid-template-columns: 1fr; }
  .clean-benefit-grid article { min-height: auto; }
  .clean-final-cta { align-items: flex-start; flex-direction: column; padding: 28px; }
}

/* LinkzMint emerald design system */
:root {
  --c-mint: #16A34A;
  --c-mint-hover: #15803D;
  --c-mint-light: #DCFCE7;
  --c-moss: #14532D;
  --c-cream: #FFFFFF;
  --c-cream-card: #FFFFFF;
  --c-cream-soft: #F8FAF9;
  --c-pistachio: #84CC16;
  --c-plum: #111827;
  --c-plum-muted: #4B5563;
  --bg-page: #FFFFFF;
  --bg-surface: #F8FAF9;
  --bg-surface-card: #FFFFFF;
  --text-heading: #111827;
  --text-body: #1F2937;
  --text-muted: #6B7280;
  --border-soft: #E5E7EB;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04), 0 2px 8px rgba(17, 24, 39, .04);
  --shadow-md: 0 8px 24px rgba(17, 24, 39, .07);
  --shadow-lg: 0 16px 42px rgba(17, 24, 39, .09);
  --shadow-xl: 0 22px 55px rgba(17, 24, 39, .12);
}

html:not([data-theme="dark"]) {
  color-scheme: light;
  background: #fff;
}

body.minimal-skin {
  color: #1F2937;
  background: #fff !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.minimal-skin h1,
.minimal-skin h2,
.minimal-skin h3,
.minimal-skin h4,
.minimal-skin h5,
.minimal-skin h6 {
  color: #111827;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.025em;
}

.minimal-skin :focus-visible {
  outline: 3px solid rgba(22, 163, 74, .35);
  outline-offset: 3px;
}

.minimal-skin button,
.minimal-skin [role="button"],
.minimal-skin a,
.minimal-skin input,
.minimal-skin select,
.minimal-skin textarea {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.minimal-skin button:active,
.minimal-skin [role="button"]:active,
.minimal-skin a[class*="bg-brand-"]:active,
.minimal-skin a[class*="bg-[#"]:active {
  transform: translateY(1px) scale(.985);
}

.minimal-skin input:focus,
.minimal-skin select:focus,
.minimal-skin textarea:focus {
  border-color: #16A34A !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12) !important;
  outline: none;
}

.minimal-skin .clean-home {
  --clean-green: #16A34A;
  --clean-pale: #F0FDF4;
  --clean-ink: #111827;
  --clean-muted: #6B7280;
  --clean-line: #E5E7EB;
  background: #fff;
}

.minimal-skin #dashboard-sidebar {
  background: #fff;
  border-color: #E5E7EB;
  box-shadow: 8px 0 28px rgba(17, 24, 39, .035);
}

.minimal-skin #dashboard-sidebar > div:first-child {
  border-color: #F0F2F1;
}

.minimal-skin #dashboard-sidebar nav {
  padding: 16px 12px;
}

.minimal-skin #dashboard-sidebar .dashboard-nav-link {
  min-height: 42px;
  border-radius: 10px;
}

.minimal-skin #dashboard-sidebar .dashboard-nav-active {
  color: #fff !important;
  background: #16A34A !important;
  box-shadow: 0 5px 14px rgba(22, 163, 74, .2) !important;
}

.minimal-skin #dashboard-sidebar .dashboard-nav-active svg {
  color: #fff;
}

.minimal-skin #dashboard-sidebar .dashboard-nav-link:not(.dashboard-nav-active):hover {
  color: #14532D !important;
  background: #F0FDF4 !important;
}

.minimal-skin #dashboard-sidebar nav svg,
.minimal-skin #dashboard-sidebar button svg,
.minimal-skin #dashboard-sidebar a svg,
.minimal-skin #notification-bell-btn svg {
  transition: transform .22s ease, color .22s ease;
}

.minimal-skin #dashboard-sidebar nav a:hover svg,
.minimal-skin #dashboard-sidebar button:hover svg,
.minimal-skin #dashboard-sidebar a:hover svg,
.minimal-skin #notification-bell-btn:hover svg {
  transform: translateY(-1px) scale(1.08);
}

.minimal-skin #dashboard-sidebar nav a svg path,
.minimal-skin #notification-bell-btn svg path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: emerald-icon-draw .65s ease forwards;
}

.minimal-skin #dashboard-sidebar nav a:nth-child(2) svg path { animation-delay: .05s; }
.minimal-skin #dashboard-sidebar nav a:nth-child(3) svg path { animation-delay: .1s; }
.minimal-skin #dashboard-sidebar nav a:nth-child(4) svg path { animation-delay: .15s; }
.minimal-skin #dashboard-sidebar nav a:nth-child(5) svg path { animation-delay: .2s; }

@keyframes emerald-icon-draw {
  to { stroke-dashoffset: 0; }
}

.minimal-skin #dashboard-sidebar ~ div > header {
  min-height: 68px;
  background: rgba(255, 255, 255, .96);
  border-color: #E5E7EB;
  box-shadow: 0 2px 10px rgba(17, 24, 39, .025);
  backdrop-filter: blur(12px);
}

.minimal-skin main {
  background: #F8FAF9;
}

.minimal-skin main > div,
.minimal-skin main > section {
  animation: page-content-in .48s cubic-bezier(.2, .8, .2, 1) both;
}

.minimal-skin main .rounded-2xl,
.minimal-skin main .rounded-3xl,
.minimal-skin main .rounded-xl {
  border-radius: 14px;
}

.minimal-skin main .bg-white[class*="border"],
.minimal-skin main [class*="bg-white"][class*="shadow"] {
  box-shadow: 0 2px 10px rgba(17, 24, 39, .035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.minimal-skin main .bg-white[class*="border"]:hover,
.minimal-skin main [class*="bg-white"][class*="shadow"]:hover {
  border-color: #BBF7D0;
  box-shadow: 0 10px 25px rgba(22, 101, 52, .08);
}

.minimal-skin table {
  border-collapse: separate;
  border-spacing: 0;
}

.minimal-skin table tbody tr {
  transition: background-color .16s ease;
}

.minimal-skin table tbody tr:hover {
  background-color: #F8FAF9;
}

.minimal-skin [id$="-dropdown"],
.minimal-skin [role="menu"],
.minimal-skin dialog {
  transform-origin: top right;
  animation: dropdown-in .18s ease both;
}

@keyframes page-content-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-4px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1023px) {
  .minimal-skin #dashboard-sidebar {
    box-shadow: 20px 0 50px rgba(17, 24, 39, .16);
  }

  .minimal-skin main {
    min-height: calc(100vh - 64px);
  }
}

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

/* Shared component polish for public, publisher, advertiser, and admin pages */
.minimal-skin main {
  min-width: 0;
  color: #1F2937;
  line-height: 1.55;
}

.minimal-skin main h1 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  font-weight: 750;
}

.minimal-skin main h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  font-weight: 700;
}

.minimal-skin main h3,
.minimal-skin main h4 {
  line-height: 1.35;
  font-weight: 650;
}

.minimal-skin .bg-brand-600 {
  background-color: #16A34A !important;
}

.minimal-skin .bg-brand-600:hover,
.minimal-skin .hover\:bg-brand-700:hover {
  background-color: #15803D !important;
}

.minimal-skin .bg-brand-50,
.minimal-skin .bg-brand-100 {
  background-color: #F0FDF4 !important;
}

.minimal-skin .text-brand-600,
.minimal-skin .text-brand-700,
.minimal-skin .text-brand-800 {
  color: #15803D !important;
}

.minimal-skin .border-brand-200 {
  border-color: #BBF7D0 !important;
}

.minimal-skin main p {
  line-height: 1.65;
}

.minimal-skin main > div > :is(h1, h2, p) {
  margin-bottom: .35rem;
}

.minimal-skin a:not([class*="bg-"]):not([class*="btn-"]) {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.minimal-skin a:not([class*="bg-"]):not([class*="btn-"]):hover {
  color: #15803D;
}

.minimal-skin :is(button, input[type="submit"], a[class*="btn-"], a[class*="bg-brand-"]) {
  -webkit-tap-highlight-color: transparent;
}

.minimal-skin :is(button, input[type="submit"]):disabled {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
}

.minimal-skin :is(input, select, textarea) {
  max-width: 100%;
  border-radius: 10px;
}

.minimal-skin label {
  color: #374151;
  font-size: .875rem;
  font-weight: 600;
}

.minimal-skin main :is(.overflow-x-auto, .overflow-x-scroll) {
  max-width: 100%;
  overscroll-behavior-x: contain;
  scrollbar-color: #BBF7D0 #F8FAF9;
  scrollbar-width: thin;
}

.minimal-skin main table {
  border-color: #E5E7EB;
  font-variant-numeric: tabular-nums;
}

.minimal-skin main thead {
  color: #4B5563;
  font-size: .72rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.minimal-skin main th {
  font-weight: 650;
}

.minimal-skin main :is(td, th) {
  vertical-align: middle;
}

.minimal-skin #dashboard-sidebar .workspace-switcher {
  background: #F8FAF9;
}

.minimal-skin #dashboard-sidebar .workspace-switcher a {
  color: #fff !important;
  background: #16A34A !important;
}

.minimal-skin #dashboard-sidebar .workspace-switcher a:hover {
  background: #15803D !important;
}

.minimal-skin #dashboard-sidebar .dashboard-nav-link {
  position: relative;
  isolation: isolate;
}

.minimal-skin #dashboard-sidebar .dashboard-nav-link::before {
  position: absolute;
  inset: 7px auto 7px 0;
  width: 3px;
  border-radius: 99px;
  background: #84CC16;
  content: "";
  opacity: 0;
  transform: scaleY(.45);
  transition: opacity .18s ease, transform .18s ease;
}

.minimal-skin #dashboard-sidebar .dashboard-nav-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.minimal-skin #dashboard-sidebar .dashboard-nav-link svg,
.minimal-skin #dashboard-sidebar .dashboard-nav-link span {
  position: relative;
  z-index: 1;
}

.minimal-skin #dashboard-sidebar .dashboard-nav-link svg path,
.minimal-skin #dashboard-sidebar .dashboard-nav-link svg rect,
.minimal-skin #dashboard-sidebar .dashboard-nav-link svg circle,
.minimal-skin #dashboard-sidebar .dashboard-nav-link svg line,
.minimal-skin #dashboard-sidebar .dashboard-nav-link svg polyline {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: emerald-icon-draw .7s ease forwards;
}

.minimal-skin #dashboard-sidebar .dashboard-nav-link:nth-of-type(2) svg > *,
.minimal-skin #dashboard-sidebar .dashboard-nav-link:nth-of-type(2) svg path { animation-delay: 40ms; }
.minimal-skin #dashboard-sidebar .dashboard-nav-link:nth-of-type(3) svg > *,
.minimal-skin #dashboard-sidebar .dashboard-nav-link:nth-of-type(3) svg path { animation-delay: 80ms; }
.minimal-skin #dashboard-sidebar .dashboard-nav-link:nth-of-type(4) svg > *,
.minimal-skin #dashboard-sidebar .dashboard-nav-link:nth-of-type(4) svg path { animation-delay: 120ms; }

.minimal-skin a svg,
.minimal-skin button svg {
  flex-shrink: 0;
  transform-origin: center;
}

.minimal-skin a:hover > svg,
.minimal-skin button:hover > svg {
  color: #16A34A;
}

.minimal-skin .animate-svg-icon {
  transition: transform .2s ease, color .2s ease, filter .2s ease;
}

.minimal-skin a:hover > .animate-svg-icon,
.minimal-skin button:hover > .animate-svg-icon {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 2px 4px rgba(22, 163, 74, .18));
}

.minimal-skin .animate-svg-icon {
  overflow: visible;
}

.minimal-skin .animate-svg-icon :is(path, line, rect, circle, polyline, polygon, ellipse)[style*="stroke-dasharray"] {
  stroke-dasharray: var(--svg-path-length) !important;
  stroke-dashoffset: var(--svg-path-length) !important;
}

.minimal-skin .animate-svg-icon.svg-is-visible :is(path, line, rect, circle, polyline, polygon, ellipse)[style*="stroke-dasharray"] {
  animation: svg-path-loop 3.6s cubic-bezier(.4, 0, .2, 1) infinite;
}

.minimal-skin a:hover > .animate-svg-icon,
.minimal-skin button:hover > .animate-svg-icon {
  transform: translateY(-1px) scale(1.08) rotate(2deg);
}

@keyframes svg-path-loop {
  0%, 8% { stroke-dashoffset: var(--svg-path-length); }
  42%, 78% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: var(--svg-path-length); }
}

.minimal-skin .scroll-reveal.reveal-fade-up:not(.is-visible),
.minimal-skin [data-aos].reveal-fade-up:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.minimal-skin .scroll-reveal.reveal-slide-left:not(.is-visible),
.minimal-skin [data-aos].reveal-slide-left:not(.is-visible) {
  opacity: 0;
  transform: translate3d(-28px, 0, 0);
}

.minimal-skin .scroll-reveal.reveal-slide-right:not(.is-visible),
.minimal-skin [data-aos].reveal-slide-right:not(.is-visible) {
  opacity: 0;
  transform: translate3d(28px, 0, 0);
}

.minimal-skin .scroll-reveal.reveal-fade-up.is-visible,
.minimal-skin [data-aos].reveal-fade-up.is-visible,
.minimal-skin .scroll-reveal.reveal-slide-left.is-visible,
.minimal-skin [data-aos].reveal-slide-left.is-visible,
.minimal-skin .scroll-reveal.reveal-slide-right.is-visible,
.minimal-skin [data-aos].reveal-slide-right.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.minimal-skin main .grid > :is(div, article) {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.minimal-skin main .grid > :is(div, article):hover {
  transform: translateY(-2px);
}

.minimal-skin #mobile-navigation:not(.hidden) {
  animation: dropdown-in .2s ease both;
}

.minimal-skin #notification-dropdown:not(.hidden) {
  box-shadow: 0 18px 45px rgba(17, 24, 39, .12);
}

.minimal-skin #flash-toast-container {
  width: min(100%, 28rem);
  padding-right: 1rem;
}

.minimal-skin .flash-toast {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, .13);
  animation: toast-enter .28s cubic-bezier(.2, .8, .2, 1) both;
}

.minimal-skin .flash-toast[data-toast-category="success"] {
  color: #14532D;
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.minimal-skin .flash-toast[data-toast-category="info"] {
  color: #14532D;
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.minimal-skin .flash-toast[data-toast-category="danger"],
.minimal-skin .flash-toast[data-toast-category="error"] {
  background: #FFF1F2;
  border-color: #FECDD3;
  color: #9F1239;
}

.minimal-skin .flash-toast[data-toast-category="warning"] {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #854D0E;
}

@keyframes toast-enter {
  from { opacity: 0; transform: translate3d(12px, -5px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

html[data-theme="dark"] body.minimal-skin {
  color: #E5E7EB;
  background: #0F1F17 !important;
}

html[data-theme="dark"] .minimal-skin h1,
html[data-theme="dark"] .minimal-skin h2,
html[data-theme="dark"] .minimal-skin h3,
html[data-theme="dark"] .minimal-skin h4,
html[data-theme="dark"] .minimal-skin h5,
html[data-theme="dark"] .minimal-skin h6 {
  color: #F3F4F6;
}

html[data-theme="dark"] .minimal-skin main {
  color: #E5E7EB;
  background: #0F1F17;
}

html[data-theme="dark"] .minimal-skin #dashboard-sidebar {
  background: #14251C;
  border-color: #26382E;
}

html[data-theme="dark"] .minimal-skin #dashboard-sidebar ~ div > header {
  background: rgba(20, 37, 28, .96);
  border-color: #26382E;
}

html[data-theme="dark"] body.minimal-skin header > div {
  background: rgba(20, 37, 28, .96) !important;
  border-color: #2B4033 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22) !important;
}

html[data-theme="dark"] body.minimal-skin #mobile-navigation {
  background: rgba(20, 37, 28, .98) !important;
  border-color: #2B4033 !important;
}

html[data-theme="dark"] .minimal-skin #dashboard-sidebar .workspace-switcher {
  background: #192D22;
}

html[data-theme="dark"] .minimal-skin main .bg-white[class*="border"],
html[data-theme="dark"] .minimal-skin main [class*="bg-white"][class*="shadow"] {
  background-color: #172A20;
  border-color: #2B4033;
}

html[data-theme="dark"] .minimal-skin main table tbody tr:hover {
  background-color: #1B3225;
}

html[data-theme="dark"] .minimal-skin label {
  color: #D1D5DB;
}

@media (max-width: 767px) {
  .minimal-skin #dashboard-sidebar ~ div > main {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .minimal-skin main .grid {
    min-width: 0;
  }

  .minimal-skin #dashboard-sidebar ~ div > header {
    min-height: 60px;
    padding-left: max(.75rem, env(safe-area-inset-left));
    padding-right: max(.75rem, env(safe-area-inset-right));
  }

  .minimal-skin #notification-dropdown {
    position: fixed;
    top: 4.5rem;
    right: .75rem;
    left: .75rem;
    width: auto;
    max-width: none;
  }

  .minimal-skin #flash-toast-container {
    top: .75rem;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
  }

  .minimal-skin main :is(button, input[type="submit"], a[class*="btn-"]) {
    min-height: 40px;
  }

  .minimal-skin main .overflow-x-auto table {
    min-width: 620px;
  }
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-header-brand-logo,
.dashboard-brand-logo {
  flex: 0 0 auto;
}

html[data-theme="dark"] .site-header-brand-logo,
html[data-theme="dark"] .dashboard-brand-logo {
  filter: brightness(0) invert(1);
}

.site-footer-social-link {
  flex: 0 0 2.5rem;
  width: 2.5rem !important;
  height: 2.5rem !important;
  color: #fff !important;
  background: #176b51 !important;
}

.site-footer-social-link:hover,
.site-footer-social-link:focus-visible {
  color: #fff !important;
  background: #21865e !important;
}

.site-footer-social-icon,
.site-footer-social-icon path {
  width: 1.125rem;
  height: 1.125rem;
  fill: #fff !important;
  color: #fff !important;
}

.site-footer-grid > div {
  min-width: 0;
}

.site-footer a {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .site-footer {
    border-top-left-radius: 2rem !important;
    border-top-right-radius: 2rem !important;
  }

  .site-footer-inner {
    padding-top: 2.75rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .site-footer-grid {
    gap: 2rem 1.25rem;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    line-height: 1.65;
  }

  .clean-home {
    width: 100%;
  }

  .clean-hero,
  .clean-shortener,
  .clean-benefits,
  .clean-final-cta {
    width: calc(100% - 2rem);
  }

  .clean-shortener {
    padding: 1.5rem;
  }

  .clean-url-form input {
    width: 100%;
    font-size: 16px;
  }

  .clean-result {
    align-items: flex-start;
  }

  .clean-result a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .clean-result button {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .site-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .site-footer-brand {
    grid-column: auto;
  }

  .site-footer-grid h4 {
    margin-bottom: .75rem;
  }

  .clean-hero,
  .clean-shortener,
  .clean-benefits,
  .clean-final-cta {
    width: calc(100% - 1.5rem);
  }

  .clean-shortener {
    padding: 1.25rem;
  }

  .clean-hero-art {
    width: 100%;
  }
}
