/* ======================================
   CSS VARIABLES (THEME)
   ====================================== */
:root {
  /* Colors */
  --grum-color-primary: #4f29a1;
  --grum-color-primary-light: #7254b4;
  --grum-color-primary-dark: #3b1f7a;
  --grum-color-secondary: #f77737;
  --grum-color-text-primary: #000;
  --grum-color-text-secondary: #444;
  --grum-color-text-tertiary: #777;
  --grum-color-text-light: #999;
  --grum-color-background: #faebd7;
  --grum-color-background-light: #fff;
  --grum-color-background-card: #fdfdfd;
  --grum-color-background-alt: #f5f5f5;
  --grum-color-background-result: #f9f9f9;
  --grum-color-background-analysis: #f3f0f9;
  --grum-color-border: #e3e3e3;
  --grum-color-border-input: #ccc;

  /* Shadows */
  --grum-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --grum-shadow-md: 0 3px 3px rgba(0, 0, 0, 0.4);
  --grum-shadow-lg: 0 5px 5px rgba(0, 0, 0, 0.15);
  --grum-shadow-input: 0 0 5px rgba(79, 41, 161, 0.3);
  --grum-shadow-card: 0 3px 7px rgba(0, 0, 0, 0.17);
  --grum-shadow-inset: inset 0 0 10px rgba(0, 0, 0, 0.1);

  /* Spacing */
  --grum-space-xs: 5px;
  --grum-space-sm: 8px;
  --grum-space-md: 10px;
  --grum-space-lg: 15px;
  --grum-space-xl: 20px;
  --grum-space-xxl: 30px;

  /* Typography */
  --grum-font-family-base: "Open Sans", sans-serif;
  --grum-font-size-xs: 10px;
  --grum-font-size-sm: 12px;
  --grum-font-size-md: 14px;
  --grum-font-size-base: 15px;
  --grum-font-size-lg: 16px;
  --grum-font-size-xl: 18px;
  --grum-font-size-xxl: 20px;
  --grum-font-size-heading: 25px;

  /* Border radius */
  --grum-border-radius-sm: 4px;
  --grum-border-radius-md: 5px;
  --grum-border-radius-lg: 8px;
  --grum-border-radius-xl: 10px;
  --grum-border-radius-xxl: 12px;
  --grum-border-radius-round: 50%;

  /* Transitions */
  --grum-transition-fast: 0.3s ease;
  --grum-transition-medium: 0.4s ease;
  --grum-transition-slow: 0.8s ease;
}

/* Base Selection Styles */
::selection {
  background-color: rgba(79, 41, 161, 0.2) !important;
  color: #4f29a1 !important;
}

::-moz-selection {
  background-color: rgba(79, 41, 161, 0.2) !important;
  color: #4f29a1 !important;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--grum-space-xl);
  background-color: var(--grum-color-background-light);
  max-width: 600px !important;
  border-radius: var(--grum-border-radius-xl);
  padding: var(--grum-space-xl);
  box-shadow: var(--grum-shadow-card);
  position: relative;
  margin: 0 auto;
  margin-bottom: 50px !important;
}

.container-heading {
  font-family: var(--grum-font-family-base) !important;
  font-size: var(--grum-font-size-xl) !important;
  font-weight: 600;
  text-transform: none !important;
  text-align: left !important;
  line-height: 27px !important;
  margin-bottom: -15px !important;
  color: var(--grum-color-text-primary) !important;
  align-self: flex-start;
}

@media (max-width: 544px) {
  .container {
    margin: auto 20px;
    margin-bottom: 50px !important;
  }
}

.inputs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--grum-space-md);
  margin-top: var(--grum-space-md);
  width: 100%;
}

.input {
  width: 100%;
}

.dropdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--grum-space-xs);
}

.inputs .chars {
  font-size: var(--grum-font-size-sm);
  font-weight: 500;
  color: var(--grum-color-text-light);
  margin-bottom: var(--grum-space-xs);
  margin-top: -10px;
}

.inputs .field {
  resize: none;
  font-family: inherit;
  font-size: var(--grum-font-size-base);
  width: 100%;
  height: 40px;
  padding: var(--grum-space-md);
  border-radius: var(--grum-border-radius-md);
  border: 1px solid var(--grum-color-border-input);
  transition: var(--grum-transition-fast);
  scroll-behavior: smooth;
  overflow: auto;
  user-select: text !important;
}

input[type="number"].field {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"].field::-webkit-outer-spin-button,
input[type="number"].field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inputs .field::placeholder {
  font-family: inherit;
  font-size: var(--grum-font-size-base);
  color: var(--grum-color-text-light);
}

.inputs .field::selection {
  background-color: #d3d3d3 !important;
}

.inputs .field:focus {
  outline: 2px solid var(--grum-color-primary);
  border-color: var(--grum-color-primary);
  box-shadow: var(--grum-shadow-input);
}

.input label {
  height: 30px;
}

.input select {
  border: 2px solid var(--grum-color-primary) !important;
  border-radius: var(--grum-border-radius-md) !important;
  padding: 0 var(--grum-space-md) !important;
  cursor: pointer !important;
  width: auto !important;
  font-size: var(--grum-font-size-base) !important;
  color: var(--grum-color-text-primary) !important;
}

#realFollowers {
  align-items: center;
}

#highQualityFollowers h3,
#realFollowers h3 {
  margin: 0 !important;
}

.btn {
  text-align: center;
  border-radius: var(--grum-border-radius-md);
  background-color: var(--grum-color-primary);
  transition: var(--grum-transition-medium);
  cursor: pointer;
  border: none;
  color: var(--grum-color-background-light);
  font-size: var(--grum-font-size-md);
  padding: var(--grum-space-md);
}

.submit-btn {
  width: 80%;
}

.submit-btn:disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn:hover {
  transform: scale(1.02);
  background-color: var(--grum-color-primary-light);
}

.results {
  align-self: center;
}

.results .results-response {
  font-size: var(--grum-font-size-base);
  text-align: center;
  color: var(--grum-color-primary);
  font-weight: bolder;
  line-height: 1.5;
  margin-bottom: 0 !important;
}

/* Toggle Switch Styling */
.toggle-container {
  margin-top: var(--grum-space-md);
}

.toggle-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--grum-space-md);
}

.toggle-input {
  height: 0;
  width: 0;
  visibility: hidden;
  position: absolute;
}

.toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 200px;
  position: relative;
  background-color: var(--grum-color-background-alt);
  border-radius: var(--grum-border-radius-xl);
  padding: var(--grum-space-xs);
}

.toggle-option {
  color: var(--grum-color-text-secondary);
  font-weight: 500;
  font-size: var(--grum-font-size-md);
  z-index: 1;
  transition: var(--grum-transition-fast);
  min-width: 90px;
  text-align: center;
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 100px;
  height: calc(100% - 6px);
  border-radius: var(--grum-border-radius-lg);
  transition: var(--grum-transition-fast);
  background-color: var(--grum-color-primary);
}

.toggle-input:checked + .toggle-label .toggle-slider {
  left: calc(100% - 103px);
}

.toggle-input:checked + .toggle-label .toggle-option:last-child {
  color: var(--grum-color-background-light);
}

.toggle-input:not(:checked) + .toggle-label .toggle-option:first-child {
  color: var(--grum-color-background-light);
}

.loader {
  margin: 16px auto !important;
}

.hidden {
  display: none;
}

/* Rate Limit Status */
.rate-limit-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--grum-space-lg);
  width: 100%;
  padding: var(--grum-space-md);
  background-color: var(--grum-color-background-analysis);
  border-radius: var(--grum-border-radius-md);
  font-size: var(--grum-font-size-md);
  font-weight: 500;
  color: var(--grum-color-text-secondary);
}

.timer-display {
  color: #dc3545;
  font-weight: 600;
}

.usage-display {
  color: var(--grum-color-primary);
  font-weight: 600;
}

/* Tool Note */
.tool-note {
  width: 100%;
  padding: var(--grum-space-md);
  background-color: var(--grum-color-background-alt);
  border-radius: var(--grum-border-radius-md);
  border-left: 4px solid var(--grum-color-secondary);
}

.tool-note p {
  margin: 0 !important;
  font-size: var(--grum-font-size-sm);
  color: var(--grum-color-text-tertiary);
  text-align: center;
}
/* ======================================
   APP LAYOUT (MATCHES EARNING CALCULATOR)
   ====================================== */

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--grum-space-xl) 0;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--grum-space-xxl);
  align-items: stretch;
}

.controls-section,
.results-section {
  display: flex;
}

.card {
  background-color: var(--grum-color-background-light);
  border-radius: var(--grum-border-radius-xxl);
  box-shadow: var(--grum-shadow-card);
  padding: var(--grum-space-xl);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--grum-space-lg);
}

/* Mobile behavior */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
  }
}
/* ======================================
   CONTAINER OVERRIDES (NON-DESTRUCTIVE)
   ====================================== */

.controls-section .container {
  max-width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.results-section .rate-limit-status {
  justify-content: space-between;
  margin-bottom: var(--grum-space-sm);
}

.results-section .tool-note p {
  text-align: left;
}
.results-section .rate-limit-status {
  justify-content: space-between;
  margin-bottom: var(--grum-space-sm);
}

.results-section .tool-note p {
  text-align: left;
}
/* ======================================
   OFFER BLOCKS
   ====================================== */

.offer-block {
  background-color: var(--grum-color-background-alt);
  border-radius: var(--grum-border-radius-lg);
  padding: var(--grum-space-lg);
  font-size: var(--grum-font-size-sm);
}

.offer-block h4 {
  margin: 0 0 var(--grum-space-sm);
  font-size: var(--grum-font-size-md);
  font-weight: 600;
  color: var(--grum-color-text-primary);
}

.offer-block ul {
  padding-left: 18px;
  margin: 0;
}

.offer-block p {
  color: var(--grum-color-text-secondary);
}

.offer-block li {
  margin-bottom: 6px;
  color: var(--grum-color-text-secondary);
}

.offer-block.highlight {
  background-color: var(--grum-color-background-analysis);
  border-left: 4px solid var(--grum-color-primary);
}

.offer-block.disabled {
  opacity: 0.6;
}
/* ======================================
   BADGES
   ====================================== */

.badge {
  font-size: var(--grum-font-size-xs);
  padding: 3px 6px;
  border-radius: var(--grum-border-radius-sm);
  background-color: #e0e0e0;
  color: #333;
  margin-left: 6px;
  text-transform: uppercase;
}

.badge.fast {
  background-color: var(--grum-color-secondary);
  color: #fff;
}

.badge.soon {
  background-color: #999;
  color: #fff;
}
/* ======================================
   PAYMENT ICONS
   ====================================== */

.payment-icons {
  display: flex;
  gap: var(--grum-space-md);
  margin-top: var(--grum-space-md);
  font-size: var(--grum-font-size-sm);
  color: var(--grum-color-text-secondary);
}
/* =========================
   RIGHT SIDE – NEW UX BLOCK
========================= */

.right-intro {
  margin-bottom: 20px;
}

.right-intro h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--grum-primary);
  margin-bottom: 6px;
}

.right-intro p {
  font-size: 14px;
  color: var(--grum-dark-gray);
  max-width: 90%;
}

/* =========================
   OPTIONS (3 CARDS)
========================= */

.mini-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 30px;
}

.mini-card {
  background: var(--grum-light-gray);
  border-radius: var(--grum-border-radius);
  padding: 14px;
  text-align: center;
  transition: var(--grum-transition);
}

.mini-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--grum-black);
  margin-bottom: 4px;
}

.mini-card p {
  font-size: 12px;
  color: var(--grum-dark-gray);
  margin-bottom: 6px;
}

.mini-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--grum-primary);
}

.mini-card.highlight {
  background: linear-gradient(
    135deg,
    var(--grum-primary),
    var(--grum-button-hover)
  );
  color: #fff;
}

.mini-card.highlight h4,
.mini-card.highlight p,
.mini-card.highlight span {
  color: #fff;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(79, 41, 161, 0.15);
}

/* =========================
   MAIN OFFER SECTIONS
========================= */

.offer-section {
  background: var(--grum-light-gray);
  border-radius: var(--grum-border-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.offer-section.highlight {
  background: var(--grum-primary-light);
}

.offer-section h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--grum-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.offer-section p {
  font-size: 14px;
  color: var(--grum-dark-gray);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* =========================
   BADGES
========================= */

.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 50px;
  background: rgba(79, 41, 161, 0.1);
  color: var(--grum-primary);
}

.badge.fast {
  background: rgba(39, 174, 96, 0.15);
  color: var(--grum-green);
}

/* =========================
   LABEL ROW
========================= */

.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.labels span {
  font-size: 12px;
  background: #fff;
  padding: 5px 10px;
  border-radius: 50px;
  color: var(--grum-dark-gray);
  font-weight: 600;
}

/* =========================
   SECONDARY BUTTON
========================= */

.secondary-btn {
  background: transparent;
  color: var(--grum-primary);
  border: 2px solid var(--grum-primary);
}

.secondary-btn:hover {
  background: var(--grum-primary);
  color: #fff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .mini-options {
    grid-template-columns: 1fr;
  }

  .right-intro p {
    max-width: 100%;
  }
}

/* Screenshot modal styles copied from followers to ensure consistent modal behavior */
.screenshot-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.screenshot-modal.is-open {
  display: flex;
}

.screenshot-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.screenshot-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--grum-color-background-light);
  border-radius: var(--grum-border-radius-xxl);
  box-shadow: var(--grum-shadow-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screenshot-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--grum-color-text-secondary);
  cursor: pointer;
}

.screenshot-modal-title {
  margin: 0;
  font-size: var(--grum-font-size-lg);
  color: var(--grum-color-text-primary);
}

.screenshot-modal-image {
  width: 100%;
  height: auto;
  border-radius: var(--grum-border-radius-xl);
  border: 1px solid var(--grum-color-border);
}

.modal-taskwall-btn {
  width: 100%;
  margin: 4px 0 0;
  animation: taskwallCtaMove 1.5s ease-in-out infinite;
}

@keyframes taskwallCtaMove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .screenshot-trigger {
    width: 100%;
  }

  .screenshot-modal-dialog {
    padding: 14px;
    gap: 10px;
  }

  .screenshot-modal-title {
    font-size: var(--grum-font-size-base);
    padding-right: 24px;
  }

  .modal-taskwall-btn {
    padding: 12px;
    font-size: var(--grum-font-size-md);
  }
}
/* ======================================
   VARIABLE FALLBACK FIX (DO NOT REMOVE)
   ====================================== */

:root {
  --grum-primary: var(--grum-color-primary);
  --grum-primary-light: var(--grum-color-primary-light);
  --grum-button-hover: var(--grum-color-primary-dark);

  --grum-dark-gray: var(--grum-color-text-secondary);
  --grum-black: var(--grum-color-text-primary);
  --grum-green: #27ae60;

  --grum-light-gray: var(--grum-color-background-alt);
}
/* ======================================
   VARIABLE FALLBACK FIX (DO NOT REMOVE)
   ====================================== */

:root {
  --grum-primary: var(--grum-color-primary);
  --grum-primary-light: var(--grum-color-primary-light);
  --grum-button-hover: var(--grum-color-primary-dark);

  --grum-dark-gray: var(--grum-color-text-secondary);
  --grum-black: var(--grum-color-text-primary);
  --grum-green: #27ae60;

  --grum-light-gray: var(--grum-color-background-alt);
}
/* =========================
   FIX: Usage & Cooldown TEXT VISIBILITY
========================= */

.usage-cooldown,
.usage-cooldown h4,
.usage-cooldown p,
.usage-cooldown span {
  color: var(--grum-color-text-secondary);
}

.usage-cooldown h4 {
  color: var(--grum-color-text-primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.usage-cooldown .rate-limit-status {
  margin-top: 8px;
}
/* =========================
   FIX: MINI TITLE SPACING
========================= */

.right-intro {
  margin-bottom: 10px; /* was too large */
}

.mini-options {
  margin-top: 10px;
}
/* =========================
   FIX: TOP-UP CARD CONTRAST
========================= */

.offer-section.highlight {
  background: linear-gradient(
    135deg,
    var(--grum-color-primary),
    var(--grum-color-primary-dark)
  );
}

.offer-section.highlight h4,
.offer-section.highlight p,
.offer-section.highlight span,
.offer-section.highlight strong {
  color: #fff;
}

.offer-section.highlight .labels span {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
/* =========================
   MINI CARDS – PREMIUM LOOK
========================= */

.mini-card {
  border-radius: var(--grum-border-radius-xl);
  padding: 18px 14px;
  background-color: var(--grum-color-background-alt);
  box-shadow: var(--grum-shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.mini-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(79, 41, 161, 0.08),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(79, 41, 161, 0.18);
}

.mini-card:hover::before {
  opacity: 1;
}
.mini-card.highlight {
  background: linear-gradient(
    135deg,
    var(--grum-color-primary),
    var(--grum-color-primary-light)
  );
}

.mini-card.highlight h4,
.mini-card.highlight p,
.mini-card.highlight span {
  color: #fff;
}
/* =========================
   OFFER SECTIONS – PREMIUM
========================= */

.offer-section {
  border-radius: var(--grum-border-radius-xl);
  box-shadow: var(--grum-shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.offer-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
}
/* =========================
   BUTTON POLISH
========================= */

.btn {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.secondary-btn {
  border-radius: 999px;
}

.submit-btn {
  border-radius: 999px;
}
/* =========================
   LEFT CARD – PREMIUM LOOK
========================= */

.controls-section .card {
  border-radius: var(--grum-border-radius-xxl);
  box-shadow: 0 14px 40px rgba(79, 41, 161, 0.15);
  position: relative;
  overflow: hidden;
}
/* =========================
   LEFT HEADINGS
========================= */

.controls-section .container-heading {
  font-size: 18px !important;
  font-weight: 700;
  margin-bottom: 6px !important;
  color: var(--grum-color-text-primary);
}

.controls-section .toggle-container .container-heading {
  font-size: 16px !important;
  margin-bottom: 0 !important;
}
/* =========================
   INPUT FIELD ENHANCEMENT
========================= */

.inputs .field {
  height: 46px;
  border-radius: 999px;
  padding-left: 16px;
  border: 1.5px solid var(--grum-color-border-input);
  background-color: #fff;
  transition: all 0.3s ease;
}

.inputs .field:hover {
  border-color: var(--grum-color-primary-light);
}

.inputs .field:focus {
  border-color: var(--grum-color-primary);
  box-shadow: 0 0 0 4px rgba(79, 41, 161, 0.15);
}
/* =========================
   DROPDOWNS
========================= */

.input select {
  height: 42px;
  border-radius: 999px !important;
  background-color: var(--grum-color-background-alt);
  padding: 0 16px !important;
  font-weight: 600;
}
/* =========================
   TOGGLE SWITCH POLISH
========================= */

.toggle-label {
  background-color: var(--grum-color-background-alt);
  box-shadow: inset 0 0 0 1px var(--grum-color-border);
}

.toggle-slider {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* =========================
   PRIMARY CTA BUTTON
========================= */

.submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--grum-color-primary),
    var(--grum-color-primary-dark)
  );
  box-shadow: 0 10px 30px rgba(79, 41, 161, 0.35);
  margin-top: 10px;
  margin-bottom: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(79, 41, 161, 0.45);
}
/* =========================
   USAGE & COOLDOWN CARD
========================= */

.usage-cooldown {
  margin-top: 18px;
  background-color: var(--grum-color-background-alt);
  padding: 14px;
  border-radius: var(--grum-border-radius-lg);
  box-shadow: var(--grum-shadow-inset);
}

.usage-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--grum-color-text-primary);
  margin-bottom: 8px;
}
.rate-limit-status {
  border-radius: 999px;
  background-color: #fff;
  box-shadow: var(--grum-shadow-sm);
}

.timer-display {
  font-weight: 700;
}

.usage-display {
  font-weight: 700;
}
/* =========================
   DAILY LIMIT NOTE
========================= */

.usage-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--grum-color-text-tertiary);
  text-align: center;
}
.usage-note {
  line-height: 1.3;
}
/* =========================
   RIGHT SIDE: VERTICAL COMPACTNESS
========================= */

.results-section .card {
  gap: 16px;
}

.right-intro {
  margin-bottom: 12px;
}

.mini-options {
  margin: 12px 0 20px;
}

.offer-section {
  margin-bottom: 14px;
  padding: 16px;
}

.offer-section p {
  margin-bottom: 10px;
}
/* =========================
   FASTEST BADGE – LIGHT STYLE
========================= */

.offer-section.highlight .badge.fast {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
/* =========================
   WALLET BUTTON VISIBILITY
========================= */

.offer-section.highlight .submit-btn {
  border: 2px solid #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

.offer-section.highlight .submit-btn:hover {
  background-color: #fff;
  color: var(--grum-color-text-light);
}
/* =========================
   RIGHT INTRO – TIGHTEN
========================= */

.right-intro {
  margin-bottom: 8px;
}

.right-intro h3 {
  margin-bottom: 4px;
  line-height: 1.25;
}

.right-intro p {
  margin: 0;
  line-height: 1.4;
}
/* =========================
   MINI CARDS – COMPACT
========================= */

.mini-options {
  margin: 8px 0 14px;
  gap: 10px;
}
/* =========================
   OFFER SECTIONS – VERTICAL COMPACT
========================= */

.results-section .card {
  gap: 14px;
}

.offer-section {
  margin-bottom: 10px;
  padding: 14px;
}

.offer-section h4 {
  margin-bottom: 6px;
}

.offer-section p {
  margin-bottom: 8px;
  line-height: 1.45;
}

.labels {
  margin-bottom: 10px;
}
/* =========================
   BUTTON SPACING – TIGHTER
========================= */

.offer-section .btn {
  margin-top: 4px;
}
/* =========================
   SCROLL INDICATOR ARROW
========================= */

.scroll-indicator {
  display: flex;
  justify-content: center;
  margin: 2px 0 4px;
}

.scroll-indicator i {
  font-size: 20px;
  color: var(--grum-color-primary);
  opacity: 0.7;
  animation: scrollBounce 1.6s infinite;
}

/* Smooth bounce animation */
@keyframes scrollBounce {
  0% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
}
/* =========================
   MINI CARD STEP INDICATOR
========================= */

.mini-card {
  position: relative;
}

.mini-step {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--grum-color-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-right: 2px;
}

/* Highlighted (purple) card version */
.mini-card.highlight .mini-step {
  background: rgba(255, 255, 255, 0.9);
  color: var(--grum-color-primary);
  border: none;
}
.offer-section.highlight .submit-btn {
  line-height: 1.2;
}
/* =========================
   WALLET CTA – FINAL POLISH
========================= */

.offer-section.highlight .submit-btn {
  margin-top: 14px; /* more vertical breathing room */
  font-size: 14px; /* slightly smaller, more premium */
  padding: 10px 18px; /* balanced height after font change */
}
.offer-section.highlight .submit-btn {
  line-height: 1.2;
}
/* =========================
   MOBILE FULL-WIDTH FIX
========================= */

@media (max-width: 768px) {
  .app-container,
  .main-container,
  .layout,
  .content-wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }

  .controls-section,
  .results-section {
    width: 100%;
    max-width: 100%;
  }

  .controls-section .card,
  .results-section .card {
    width: 100%;
  }
}
/* =========================
   LABELS MOBILE FIX
========================= */

.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.labels span {
  white-space: nowrap;
}
/* =========================
   LABEL STYLE REFINEMENT
========================= */

.labels span {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 999px;
}

/* =========================
   RATE LIMIT COMPACT
========================= */

.rate-limit-status {
  line-height: 1.25;
  padding: 8px 10px;
  font-size: 13px;
}
.labels span {
  text-wrap: nowrap;
}
.submit-wrap {
  margin-top: 20px;
  margin-bottom: 15px;
}
.mini-card-span {
  line-height: 1;
}
.offer-section span {
  border: 1px solid black;
  margin-bottom: 8px;
}
