:root{
    --donate-bg-top: #ff4d4f;
    --donate-bg: #e10202;
    --donate-contrast: #fff;
    --donate-radius: 7px;
    --donate-padding: 8px 30px;
    --donate-font-size: 1.25rem; /* ~20px */
}

html {
  scroll-behavior: smooth;
}

@keyframes beat {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(225, 2, 2, 0);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 18px rgba(225, 2, 2, 0.4);
  }
}

.donate-btn {
display:inline-flex;
align-items: center;
gap: .65rem;
padding: var(--donate-padding);
font-size: var(--donate-font-size);
font-weight: 700;
color: var(--donate-contrast);
text-decoration: none;
border: none;
border-radius: var(--donate-radius);
background: var(--donate-bg);
cursor: pointer;
transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
-webkit-tap-highlight-color: transparent;
user-select: none;
text-transform: uppercase;
animation: beat 1.4s ease-in-out infinite;
border: 2px solid white;
}

.donate-btn:hover {
transform: translateY(-2px);
box-shadow: 0 12px 26px rgba(178,34,34,0.28), inset 0 -2px 0 rgba(255,255,255,0.02);
filter: brightness(1.02);
}

.donate-btn:active{
transform: translateY(0);
box-shadow: 0 6px 12px rgba(0,0,0,0.12), inset 0 -2px 0 rgba(0,0,0,0.08);
}

.donate-btn:focus{
outline: 3px solid rgba(255,77,79,0.18);
outline-offset: 4px;
}

/* Smaller screens -> scale to fit */
@media (max-width:420px){
.donate-btn{
    padding: 14px 22px;
    font-size: 1.05rem;
    border-radius: 12px;
}
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
.donate-btn{
    transition: none;
}
}

.donate-fixed {
  position: fixed;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: #e10202;
  color: #fff;
  border: 1px solid white;
  border-radius: 4px;
  padding: 8px 4px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease;
  animation: beat 1.4s ease-in-out infinite;
  z-index: 1000;
}

.donate-fixed:hover {
  background: #ff4d4f;
  transform: translateY(-50%) scale(1.1);
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: black;
  color: #FFF;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}