/* ============================
   WHALESLAUGHTER SITE.CSS
   Baseline: Floating Nav + Tools + Donation Banner
   Update: Lemon-yellow raw links (http/https only)
=============================*/

:root {
  --nav-h: 56px;
  --nav-bg: rgba(10, 10, 30, 0.45);
}

/* ===== Base layout & typography ===== */
html, body {
  margin: 0;
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #191970, #483d8b) fixed;
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  padding: calc(var(--nav-h) + 24px) 20px 40px;
  flex: 1;
  text-align: center;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}
.donate-description p {
  max-width: 700px;
  margin: 1.5rem auto;
  text-align: left; /* or use justify if you want clean edges */
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ===== Floating Nav Bar (white text, semi-transparent) ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 35px;
}

.site-nav a {
  color: #fff;               /* keep nav links WHITE */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== Accessibility: Skip link ===== */
.skip-link {
  position: absolute;
  left: 8px;
  top: 8px;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  transform: translateY(-120%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ===== Footer ===== */
.site-footer {
  margin-top: auto;
  padding: 24px 20px;
  font-size: 0.95rem;
  opacity: 0.8;
  text-align: center;
}

/* ===== Raw hyperlinks in body copy → Lemon Yellow =====
   Only target plain external links so we don't touch nav/buttons. */
a[href^="http"]:not(.btn):not(.button-link):not(.tool-name) {
  color: #fff44f;            /* lemon yellow */
  text-decoration: underline;
}
a[href^="http"]:not(.btn):not(.button-link):not(.tool-name):hover,
a[href^="http"]:not(.btn):not(.button-link):not(.tool-name):focus {
  color: #ffffff;
}

/* ===== Buttons (generic helper, not used by nav) ===== */
.btn, .button-link {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.1s;
}
.btn:hover, .button-link:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ======================
   Tools page (glass cards)
====================== */
.tools {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1rem;
}
.tools h1 { margin-bottom: .5rem; }
.tools .tools-note { opacity: .9; margin-bottom: 2rem; }

.tool-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  text-align: left;  /* keep right column left-aligned */
}

.tool-left { display: grid; align-content: start; gap: .5rem; }

/* Tool "button" link styling */
.tool-name {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #00f0ff; /* cyan accent for tool names */
  text-decoration: none;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.1s;
}
.tool-name:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

.price {
  display: inline-block;
  padding: .25rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  font-size: .9rem;
}
.whales { font-size: 1.15rem; line-height: 1; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips span {
  font-size: .8rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
}

.tool-right p { margin: 0 0 .5rem; }
.meta { opacity: .8; font-size: .9rem; }

.disclosure {
  margin-top: 2rem;
  opacity: .8;
  font-size: .9rem;
  border-left: 3px solid rgba(255,255,255,.25);
  padding-left: .6rem;
}

/* Mobile stacking */
@media (max-width: 720px) {
  .tool-card { grid-template-columns: 1fr; }
  .tool-left { grid-auto-rows: min-content; }
}
/* ======================
   Donation banner (polished crop + contrast)
====================== */
.donate-banner {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: clamp(8px, 1.5vh, 16px); /* clears the floating nav a touch */
}

.banner-image {
  display: block;
  width: 100%;

  /* Responsive, cinematic height without being huge on laptops */
  height: clamp(280px, 48vh, 560px);

  object-fit: cover;
  object-position: 50% 32%;  /* keeps both faces nicely in frame */
  margin: 0 auto;
  border-radius: 14px;
  filter: brightness(0.96) saturate(1.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.donate-content { 
  margin-top: clamp(12px, 2.4vh, 22px); 
}

.donate-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.donate-buttons .btn {
  margin: 0;
  padding: 12px 18px;
  font-weight: 800;
  border-radius: 12px;
  min-width: 220px; /* avoids awkward wrapping */
  line-height: 1.1;
}

/* Accessible gold/silver (better contrast + focus) */
.btn.gold { 
  background-color: #ffd600; /* stronger gold */
  color: #000;
  border: 1px solid rgba(0,0,0,.25);
}
.btn.gold:hover,
.btn.gold:focus { background-color: #ffea00; outline: 2px solid #000; outline-offset: 2px; }

.btn.silver { 
  background-color: #d0d6df; /* brighter silver for contrast on purple */
  color: #000;
  border: 1px solid rgba(0,0,0,.25);
}
.btn.silver:hover,
.btn.silver:focus { background-color: #e2e7ee; outline: 2px solid #000; outline-offset: 2px; }

/* Mobile: favor faces a bit higher and let buttons stack full-width */
@media (max-width: 640px) {
  .banner-image {
    height: 52vh;
    object-position: 50% 26%;
  }
  .donate-buttons .btn { min-width: 100%; }
}
.btn-link {
  padding: .45rem .9rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;                /* makes text readable on dark backgrounds */
  background: rgba(255,255,255,.1);  /* faint translucent backing */
  font-weight: 600;
  transition: background .25s, color .25s, border-color .25s;
}

.btn-link:hover {
  background: rgba(255,255,255,.25);
  color: #000;                /* inverts on hover for contrast */
  border-color: rgba(255,255,255,.5);
}
