* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: url('../a/RBCBack3.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #080808;
}

p {
    font-weight: 600;
}

header {
    background: url('../a/xlm2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 150px;
    background-color: #000000;
    color: #a855f7;
    padding: 2rem;
    text-align: center;
    text-shadow: -1px -1px 0 white,  
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
}

header h1 {
    font-family: rbc;
    font-weight: 100;
    font-size: 3.5rem;
}

.message {
    display: flex;
    flex-direction: column;
    text-align: center;
    text-shadow: -1px -1px 0 #8b5cf6,  
    1px -1px 0 #8b5cf6,
    -1px 1px 0 #8b5cf6,
    1px 1px 0 #8b5cf6;
}

.download-btn {
    background-color: #8b5cf6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #a855f7;
}

.back-btn {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.back-btn:hover {
    background-color: #7f8c8d;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contributions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contribution-card {
    background: url('../a/Stars.png');
    background-size: 300px;
    background-color: rgb(0, 0, 0);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contribution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.card-image {
    width: 100%;
    border: white double 4px;
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    object-fit: contain;
}

.card-content {
    padding: 1.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: -1px -1px 0 #8b5cf6,  
    1px -1px 0 #8b5cf6,
    -1px 1px 0 #8b5cf6,
    1px 1px 0 #8b5cf6;
}

.card-description {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.instructions-btn {
    background-color: #8b5cf6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
}

.instructions-btn:hover {
    background-color: #a855f7;
}

.instructions-container {
    background: rgb(29, 29, 29);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.audio-controls {
    text-align: center;
    margin-bottom: 2rem;
}

.audio-btn {
    background-color: #8b5cf6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.audio-btn:hover {
    background-color: #a855f7;
}

.img-preview {
    display: flex;
    align-items: center;
    width: 70%;
    border-radius: 20px;
    border-style: solid;
}

.instructions-content {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.instructions-content h2 {
    color: #a855f7;
    margin-bottom: 1rem;
}

.instructions-content p {
    margin-bottom: 1rem;
}

.instructions-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.instructions-content li {
    margin-bottom: 0.5rem;
}

.download-section {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.donate {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.supportbox {
    display: flex;
    margin: 10px;
    width: 750px;
    border: #8b5cf6 5px outset;
    background-color: rgba(0, 0, 0, 0.877);
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

.topT {
    display: flex;
    width: 100%;
    height: 35%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.qrcode {
    display: block;
    width: 200px;
    height: 200px;
    margin-bottom: 25px;
    border: #8b5cf6 inset 5px;
    border-radius: 10px;
    background: url('../a/RBC2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.top {
    display: flex;
    width: 100%;
    height: 35%;
}

.bottom {
    display: flex;
    width: 100%;
    height: 35%;
}

.box1 {
    display: block;
    width: 100%;
    height: 75px;
    border: #8b5cf6 4px outset;
    background: url('../l/PP.png');
    background-color: black;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50px;
    transition: background-color 0.3s ease;
}

.box1:hover {
    border: white 4px inset;
    background: url('../l/pplong.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 150px;
    background-color: #8b5cf6;
    cursor: pointer;
}

.box2 {
    display: block;
    width: 100%;
    height: 75px;
    border: #8b5cf6 4px outset;
    background: url('../l/z.png');
    background-color: black;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60px;
    transition: background-color 0.3s ease;
}

.box2:hover {
    border: white 4px inset;
    background-color: #8b5cf6;
    background: url('../l/zlong.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 120px;
    cursor: pointer;
}

.box3 {
    display: block;
    width: 100%;
    height: 75px;
    border: #8b5cf6 4px outset;
    background: url('../l/xlm.png');
    background-color: black;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60px;
    transition: background-color 0.3s ease;
}

.box3:hover {
    border: white 4px inset;
    background-color: #8b5cf6;
    background: url('../l/stellar.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 120px;
    cursor: pointer;
}

.box4 {
    display: block;
    width: 100%;
    height: 75px;
    border: #8b5cf6 4px outset;
    background: url('../l/sol.png');
    background-color: black;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70px;
    transition: background-color 0.3s ease;
}

.box4:hover {
    border: white 4px inset;
    background-color: #8b5cf6;
    background: url('../l/solana.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 160px;
    cursor: pointer;
}

.wallet-section {
    display: flex;
    margin: 7px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    word-break: break-all;
    border: #6d28d9 solid 3px;
    color: lime;
    background-color: #000000c7;
    text-shadow: -1px -1px 0 #8b5cf6,  
    1px -1px 0 #8b5cf6,
    -1px 1px 0 #8b5cf6,
    1px 1px 0 #8b5cf6;
}

#walletStatus {
    word-break: break-all;
}

button {
    padding: 12px 24px;
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

button:hover {
    background: linear-gradient(45deg, #6d28d9, #9333ea);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

@font-face {
    font-family: rbc;
    src: url('../f/Helicopta.otf');
}

.send-form-container {
    background: rgba(0, 0, 0, 0.9);
    border: #8b5cf6 3px solid;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    text-align: center;
}

.send-form-container h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: -1px -1px 0 #8b5cf6,  
                 1px -1px 0 #8b5cf6,
                 -1px 1px 0 #8b5cf6,
                 1px 1px 0 #8b5cf6;
}

.send-form-container input,
.send-form-container select {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #8b5cf6;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.send-form-container input:focus,
.send-form-container select:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.send-form-container input::placeholder {
    color: #a0a0a0;
}

.send-form-container select option {
    background: #000000;
    color: #ffffff;
}

#sendDonationBtn {
    width: 100%;
    padding: 12px 24px;
    margin-top: 0.5rem;
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

#sendDonationBtn:hover {
    background: linear-gradient(45deg, #6d28d9, #9333ea);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
    transform: translateY(-2px);
}

.send-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    min-height: 20px;
}

.send-status.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    color: #22c55e;
}

.send-status.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.send-status.loading {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid #a855f7;
    color: #a855f7;
}