body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #0057b7; /* Blue for Ukraine */
    color: white;
    text-align: center;
    padding: 20px;
}

.header-image {
    width: 180px;
    height: auto;
}

h1, h2, h3 {
    margin: 10px 0;
}

.plea, .why-crypto, .donations, .tutorials {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.plea-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #555;
    font-size: 0.95em;
    margin: 0 auto 40px auto;
    max-width: 80%;
}

.crypto-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.crypto-item {
    background-color: #ffd700; /* Yellow for Ukraine */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.qr-code {
    width: 130px;
    height: auto;
    display: block;
    margin: 10px auto;
    border: 2px solid #0057b7;
    border-radius: 8px;
}

.tutorials p {
    margin-bottom: 20px;
}

.video-item {
    margin-bottom: 30px;
    text-align: center;
}

.video-item h3 {
    margin-bottom: 10px;
}

iframe {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #0057b7;
    color: white;
}

/* === NEW STYLES === */
.crypto-container {
    position: relative;
}

.crypto-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
}

#revealDonateBtn {
    padding: 20px 40px;
    font-size: 1.5em;
    background-color: #0057b7;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

#revealDonateBtn:hover {
    background-color: #003d80;
}

.blurred {
    filter: blur(12px);
}

.address-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.wallet-address {
    font-family: monospace;
    font-size: 0.9em;
    word-break: break-all;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 6px;
    max-width: 220px;
    text-align: center;
}

.copy-btn {
    padding: 8px 15px;
    background-color: #0057b7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
}

.copy-btn:hover {
    background-color: #003d80;
}

.chain-info {
    font-weight: bold;
    margin: 8px 0 4px;
    color: #333;
}

/* === MODAL STYLES – MUCH IMPROVED === */
dialog {
    max-width: 90%;
    width: 520px;
    border: none;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    background: white;
}

dialog::backdrop {
    background: rgba(0,0,0,0.7);
}

dialog h2 {
    color: #0057b7;
    font-size: 1.9em;
    font-weight: 700;
    text-align: center;
    margin: 0 0 15px 0;
}

.modal-form > p:first-of-type {
    text-align: center;
    font-size: 1.1em;
    margin: 0 0 25px 0;
    color: #444;
}

.anonymous-label {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.25em;
    font-weight: 700;
    margin: 25px 0;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 28px;
    height: 28px;
    accent-color: #0057b7;
    cursor: pointer;
}

.modal-note {
    font-style: italic;
    color: #555;
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0057b7;
    margin: 20px 0;
    font-size: 1em;
}

.modal-form label:not(.anonymous-label) {
    display: block;
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 6px;
    color: #333;
}

.modal-form input:not([type="checkbox"]) {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

.modal-form input:not([type="checkbox"]):focus {
    outline: none;
    border-color: #0057b7;
    box-shadow: 0 0 0 3px rgba(0,87,183,0.2);
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.modal-buttons button {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
}

.modal-buttons button[type="submit"] {
    background-color: #0057b7;
    color: white;
}

.modal-buttons button[type="submit"]:hover {
    background-color: #003d80;
}

#cancelBtn {
    background-color: #ffd700;
    color: #333;
}

#cancelBtn:hover {
    background-color: #e6c200;
}