/* Reset */
html, body {
  height: 100%;
  margin: 0;
}

/* ===========================
   BUCKET HERO
   =========================== */
.bucket-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.bucket-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/bucket-bg.jpg') center/110% no-repeat;
  background-size: cover;
  background-position: center calc(50% + var(--bg-shift, 0px));
  will-change: background-position;
}

/* Content wrapper — no padding */
.bucket-hero .bucket-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0;
}

/* Logo — no extra margin below */
.bucket-logo {
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

/* Paragraph — flush with logo, gap below before CTA */
.bucket-hero p {
  margin: 0 auto 1rem; /* 1rem gap below before CTA */
  max-width: 40ch;
  line-height: 1.4;
}

/* Glassmorphic CTA idle */
.bucket-cta {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  font-weight: 600;
  overflow: hidden;
}

/* Smooth rainbow gradient hover */
.bucket-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    red,
    orange,
    yellow,
    green,
    cyan,
    blue,
    violet,
    red
  );
  background-size: 400% 400%;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.bucket-cta:hover::before {
  opacity: 1;
  animation: rainbowFlow 14s ease-in-out infinite;
}

@keyframes rainbowFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
