body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #16305d;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a5f, #0d1a2c);
    overflow: hidden;
    z-index: -1; 
}

.dot-pattern, .line-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.dot-pattern {
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    animation: dot-move 60s linear infinite;
}

.line-pattern {
    background-image: linear-gradient(90deg, transparent 99%, rgba(255,255,255,0.05) 1%),
                      linear-gradient(180deg, transparent 99%, rgba(255,255,255,0.05) 1%);
    background-size: 40px 40px;
    animation: line-fade 40s linear infinite;
}

@keyframes dot-move {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

@keyframes line-fade {
    0% { opacity: 0.05; }
    50% { opacity: 0.15; }
    100% { opacity: 0.05; }
}

.animated-background::before, .animated-background::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.05);
    animation: float-bubble 20s ease-in-out infinite alternate;
}

.animated-background::before {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 15%;
    animation-duration: 25s;
}

.animated-background::after {
    width: 200px;
    height: 200px;
    bottom: 5%;
    right: 10%;
    animation-duration: 30s;
    animation-delay: 5s;
}

@keyframes float-bubble {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.05;
    }
    100% {
        transform: translate(20px, 30px) scale(1.1);
        opacity: 0.1;
    }
}

header {
    width: 100%;
}

#upper-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.8rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#site-branding h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

#home-link {
    background-color: #ffd700;
    color: #16305d;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#home-link:hover {
    background-color: #ffeb3b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.donate-main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

#donate-container {
    background: rgba(25, 25, 25, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 900px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#donate-container h1 {
    color: #ffd700;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

#donate-container p {
    font-size: .85rem;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 30px;
}

.small-text-section {
    max-width: 700px;
    margin: 2rem auto 3rem auto;
    text-align: center;
    color: #b0b0b0;
    
    line-height: 1.6;
    padding: 0 1rem; 
}

.small-text-section p {
    font-size: 0.7rem !important;
}

.donation-wallets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.wallet-card {
    background: rgba(62, 62, 62, 0.9);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wallet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.wallet-card h2 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.qr-code {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    filter: invert(1);
}
.qr-code canvas {
    background-color: transparent !important;
}

.wallet-address {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 15px;
    border-radius: 8px;
    font-family: monospace;
    word-break: break-all;
    font-size: 0.95rem;
    color: #eee;
    width: calc(100% - 30px);
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.copy-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.copy-btn.copied {
    background-color: #28a745;
    animation: copiedFadeOut 1.5s forwards;
}

@keyframes copiedFadeOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-5px); }
}

.network-info {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 15px;
}

.note {
    font-size: 0.95rem;
    color: #888;
    margin-top: 50px;
    padding: 0 20px;
}

.site-footer {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  color: #f0f0f0;
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: '';
  position: absolute;
  background: rgba(255, 215, 0, 0.03);
  border-radius: 50%;
  animation: float-bubble-footer 25s ease-in-out infinite alternate;
  z-index: 0;
}

.site-footer::before {
  width: 100px;
  height: 100px;
  top: -30px;
  left: 10%;
  animation-duration: 20s;
  animation-delay: 0s;
}

.site-footer::after {
  width: 120px;
  height: 120px;
  bottom: -40px;
  right: 15%;
  animation-duration: 28s;
  animation-delay: 8s;
}

@keyframes float-bubble-footer {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.03;
  }
  100% {
    transform: translate(20px, 30px) scale(1.05);
    opacity: 0.06;
  }
}


.footer-content {
  max-width: 960px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}


.contact-info {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.contact-info a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  font-size: 0.85rem;
  color: #999;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
    #upper-hud {
        padding: 0.8rem 1rem;
    }
    #site-branding h1 {
        font-size: 1.5rem;
    }
    #home-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .donate-main {
        padding-top: 80px;
    }
    #donate-container {
        padding: 20px;
        width: 95%;
    }
    #donate-container h1 {
        font-size: 2rem;
    }
    #donate-container p {
        font-size: 1rem;
    }
    .donation-wallets-grid {
        grid-template-columns: 1fr;
    }
    .wallet-card h2 {
        font-size: 1.6rem;
    }
    .wallet-address {
        font-size: 0.85rem;
        padding: 10px;
    }
    .copy-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    #site-branding h1 {
        font-size: 1.3rem;
    }
    .donate-main {
        padding-top: 70px;
    }
    #donate-container h1 {
        font-size: 1.8rem;
    }
}