
#footer {
  background: linear-gradient(
    to bottom,
    #82BE21 0%,
    rgba(130,190,33,0.6) 30%,
    rgba(130,190,33,0.35) 70%,
    rgba(130,190,33,0.2) 100%
  );
}

/* strong visual separation line */
#footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: rgba(130,190,33,0.35);
}

/* subtle “panel lift” feel */
.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  gap: 28px;
  padding-top: 10px;
}

/* =========================
   AD BOX (clean card)
========================= */

.footer-ad {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.ad-label {
  font-size: 12px;
  opacity: 0.6;
  margin-bottom: 8px;
}

/* =========================
   LINKS (clean grid cards)
========================= */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 👈 this centers everything */
  gap: 16px 24px;
  text-align: center;
}

/* DESKTOP DEFAULT */
.footer-links a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  color: #374151;
  background: none;
  border: none;
  box-shadow: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* subtle hover */
.footer-links a:hover {
  color: #82BE21;
  text-decoration: underline;
}

/* =========================
   DISCLAIMER
========================= */

.footer-disclaimer {
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
  padding: 15px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   COPYRIGHT
========================= */

.footer-copy {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}

/* =========================
   ADMIN BADGE (light style)
========================= */

.admin-badge {
  position: fixed;
  bottom: 12px;
  left: 12px;
  background: #82BE21;
  color: #0f172a;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  z-index: 9999;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* admin buttons */
.admin-panel-wrap {
  text-align: center;
  padding-top: 10px;
}

.admin-panel-wrap a {
  display: inline-block;
  padding: 6px 10px;        /* smaller */
  font-size: 12px;          /* reduced text */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.85;            /* slightly subtle */
  transition: 0.2s;
}

.admin-panel-wrap a:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {

  #footer {
    padding: 40px 15px 25px;
  }

  .footer-container {
    gap: 22px;
  }

  /* AD FIX */
  .footer-ad {
    padding: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 12px;
  }

  .footer-ad ins.adsbygoogle {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
  }

  /* LINKS STACK */
 @media (max-width: 768px) {

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 14px 10px;
    font-size: 14px;
    font-weight: 600;

    background: #ffffff;
    border-radius: 14px;

    color: #1f2937;
    text-decoration: none;

    /* 👇 THIS is what makes it feel like a button */
    box-shadow: 
      0 6px 16px rgba(0,0,0,0.08),
      0 2px 4px rgba(0,0,0,0.04);

    border: 1px solid rgba(0,0,0,0.05);

    transition: all 0.15s ease;
  }

  /* 👇 press effect (important for “button feel”) */
  .footer-links a:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  /* 👇 subtle brand highlight */
  .footer-links a:hover {
    border-color: rgba(130,190,33,0.5);
  }
}

  /* TEXT */
  .footer-disclaimer {
    font-size: 12.5px;
    line-height: 1.4;
    padding: 12px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

  .footer-copy {
    font-size: 12px;
    padding-top: 8px;
  }

  /* ADMIN BUTTON FIX */
  .admin-panel-wrap a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  max-width: 260px;   /* stops it going huge */
  width: auto;        /* prevents full width */
}

  .admin-badge {
    font-size: 11px;
    padding: 8px 10px;
  }

  .admin-panel-wrap a {
    padding: 5px 8px;
    font-size: 11px;
  }
}
