/* Badge-specific styles */

/* Badge icon styles */
.badge-icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon:hover {
    transform: scale(1.1);
}

.badge-icon:active {
    transform: scale(0.95);
}

.badge-icon.holographic {
    position: relative;
    overflow: hidden;
}

/* Badge modal styles */
.badge-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    font-family: 'Open Sans', sans-serif;
}

/* Light mode adjustments */
@media (prefers-color-scheme: light) {
    .badge-modal {
        background-color: rgba(255, 255, 255, 0.7);
    }
}

.badge-modal-content {
    width: 100%;
    background-color: var(--tg-bg);
    border-radius: 20px 20px 0 0;
    padding: 24px;
    position: relative;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(143, 126, 252, 0.2);
    border-left: 1px solid rgba(143, 126, 252, 0.2);
    border-right: 1px solid rgba(143, 126, 252, 0.2);
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

/* Handle at the top of the slider */
.badge-modal-content::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background-color: var(--tg-hint);
    opacity: 0.5;
    border-radius: 3px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}


.badge-close-button {
    position: absolute;
    top: 20px;
    right: 15px;
    background: none;
    border: none;
    color: var(--tg-text);
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(143, 126, 252, 0.1);
    transition: background-color 0.3s;
    z-index: 2;
}

.badge-close-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.badge-close-button:active {
    transform: scale(0.95);
}

/* Badge loading container */
.badge-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 15px;
}

.badge-loading-container .loading-spinner {
    width: 30px;
    height: 30px;
    border-width: 3px;
}

.badge-loading-container p {
    color: var(--tg-hint);
    margin: 0;
}

/* Badge container */
.badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px 0 10px 0;
    margin-top: 10px;
}

.badge-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 10px;
}

.badge-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.badge-details {
    width: 100%;
    text-align: left;
}

.badge-details h2 {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 24px;
    color: var(--tg-text);
}

.badge-details p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tg-hint);
    margin: 0 0 16px 0;
}

.badge-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--badge-color, #FFD700);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.badge-owned {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.buy-badge-button {
    background: var(--tg-button);
    color: var(--tg-button-text);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(143, 126, 252, 0.3);
    display: block;
    margin: 32px auto 0 auto;
    width: fit-content;
}

.buy-badge-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.buy-badge-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px var(--shadow-color-light);
}

.buy-badge-button:disabled {
    background: var(--tg-hint);
    color: var(--tg-bg);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

/* Mission section styles */
.mission-section {
    margin-bottom: 24px;
}

.mission-section h3 {
    font-family: 'Satoshi', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--tg-text);
    margin: 0 0 12px 0;
}

.mission-section p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tg-hint);
    margin: 0 0 16px 0;
}

/* Stats list styles */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(143, 126, 252, 0.08);
    border-radius: 12px;
    border-left: 4px solid var(--tg-blue);
    transition: background-color 0.3s ease;
}

.stat-number {
    font-family: 'Satoshi', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-blue);
    min-width: 60px;
    flex-shrink: 0;
}

.stat-text {
    font-size: 14px;
    color: var(--tg-text);
    line-height: 1.4;
}

/* Support list styles */
.support-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(143, 126, 252, 0.1);
    transition: all 0.3s ease;
}

.support-item:hover {
    border-color: rgba(143, 126, 252, 0.2);
    box-shadow: 0 2px 8px var(--shadow-color-light);
}

.support-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.support-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.support-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--tg-text);
    line-height: 1.3;
}

.support-detail {
    font-size: 13px;
    color: var(--tg-hint);
    font-style: italic;
}

/* User quote styles - журнальная врезка */
.user-quote {
    position: relative;
    background: linear-gradient(135deg, rgba(143, 126, 252, 0.1), rgba(181, 126, 252, 0.05));
    border-left: 5px solid var(--tg-blue);
    border-radius: 0 16px 16px 0;
    padding: 24px 20px 20px 20px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(143, 126, 252, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.user-quote:hover {
    box-shadow: 0 6px 25px rgba(143, 126, 252, 0.15);
    transform: translateY(-2px);
}

.quote-mark {
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 60px;
    font-family: 'Georgia', serif;
    color: var(--tg-blue);
    opacity: 0.3;
    line-height: 1;
}

.quote-text {
    font-size: 17px;
    font-style: italic;
    color: var(--tg-text);
    line-height: 1.5;
    margin: 8px 0 12px 0;
    position: relative;
    z-index: 1;
}

.quote-author-donate {
    font-size: 13px;
    color: var(--tg-hint);
    text-align: right;
    font-weight: 500;
    margin-top: 8px;
}

/* Light mode adjustments */
@media (prefers-color-scheme: light) {
    .badge-modal-content {
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(143, 126, 252, 0.3);
    }
    
    .badge-close-button {
        background-color: rgba(143, 126, 252, 0.2);
    }
    
    .badge-close-button:hover {
        background-color: rgba(143, 126, 252, 0.3);
    }
    
    .stat-item {
        background: rgba(143, 126, 252, 0.12);
    }
    
    .support-item {
        background: rgba(143, 126, 252, 0.05);
        border: 1px solid rgba(143, 126, 252, 0.15);
    }
    
    .support-item:hover {
        background: rgba(143, 126, 252, 0.08);
        border-color: rgba(143, 126, 252, 0.25);
    }
    
    .user-quote {
        background: linear-gradient(135deg, rgba(143, 126, 252, 0.08), rgba(181, 126, 252, 0.03));
        box-shadow: 0 4px 20px rgba(143, 126, 252, 0.08);
    }
    
    .user-quote:hover {
        box-shadow: 0 6px 25px rgba(143, 126, 252, 0.12);
    }
}

/* Dark mode specific adjustments */
@media (prefers-color-scheme: dark) {
    .stat-item {
        background: rgba(143, 126, 252, 0.08);
    }
    
    .support-item {
        background: rgba(37, 37, 37, 0.6);
        border: 1px solid rgba(143, 126, 252, 0.1);
    }
    
    .support-item:hover {
        background: rgba(37, 37, 37, 0.8);
        border-color: rgba(143, 126, 252, 0.2);
    }
    
    .user-quote {
        background: linear-gradient(135deg, rgba(143, 126, 252, 0.1), rgba(181, 126, 252, 0.05));
        box-shadow: 0 4px 20px rgba(143, 126, 252, 0.1);
    }
    
    .user-quote:hover {
        box-shadow: 0 6px 25px rgba(143, 126, 252, 0.15);
    }
}


/* Sponsors section styles */
.sponsors-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--shadow-color-light);
}

.sponsors-section h3 {
    font-family: 'Satoshi', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--tg-text);
    margin: 0 0 12px 0;
    text-align: left;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--shadow-color-light);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 140px;
    height: 80px;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%) opacity(0.8);
    transition: filter 0.3s ease;
}

.sponsor-item:hover .sponsor-logo {
    filter: grayscale(0%) opacity(1);
}

@media (max-width: 600px) {
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .sponsor-item {
        height: 70px;
        padding: 12px;
    }
}

/* Crypto donation styles */
.crypto-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--shadow-color-light);
}

.crypto-section h3 {
    font-family: 'Satoshi', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--tg-text);
    margin: 0 0 12px 0;
    text-align: left;
}

.crypto-selector {
    position: relative;
    margin-bottom: 24px;
}

.crypto-dropdown {
    width: 100%;
    padding: 14px 16px;
    background: var(--card-bg);
    border: 2px solid var(--shadow-color-light);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--tg-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    min-height: 48px;
}

.crypto-dropdown:hover {
    border-color: var(--tg-blue);
    box-shadow: 0 2px 8px var(--shadow-color-light);
}

.crypto-dropdown:focus {
    outline: none;
    border-color: var(--tg-blue);
    box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.1);
}

.crypto-dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--tg-hint);
    transition: transform 0.3s ease;
    pointer-events: none;
    flex-shrink: 0;
}

.crypto-dropdown.open .crypto-dropdown-arrow {
    transform: rotate(180deg);
}

.crypto-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 2px solid var(--shadow-color-light);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px var(--shadow-color-light);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.crypto-options.open {
    max-height: 300px;
}

.crypto-option {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--shadow-color-light);
}

.crypto-option:last-child {
    border-bottom: none;
}

.crypto-option:hover {
    background: var(--shadow-color-light);
}

.crypto-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.crypto-icon.usdt { background: #26A17B; }
.crypto-icon.btc { background: #F7931A; }
.crypto-icon.eth { background: #627EEA; }
.crypto-icon.bank { background: #6C757D; }
.crypto-icon.eur { background: #003399; }
.crypto-icon.usd { background: #228B22; }
.crypto-icon.gbp { background: #C8102E; }

.crypto-network {
    font-size: 13px;
    color: var(--tg-hint);
    margin-left: auto;
    flex-shrink: 0;
}

.crypto-donation-card {
    background: var(--card-bg);
    border: 2px solid var(--shadow-color-light);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: none;
}

.crypto-donation-card.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.crypto-donation-card:hover {
    border-color: var(--tg-blue);
    box-shadow: 0 4px 16px var(--shadow-color-light);
}

.crypto-qr-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.crypto-qr {
    width: 180px;
    height: 180px;
    border: 4px solid var(--tg-bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-color-light);
}

.crypto-address-container {
    background: var(--tg-bg);
    border: 1px solid var(--shadow-color-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.crypto-address-container:hover {
    border-color: var(--tg-blue);
    box-shadow: 0 2px 8px var(--shadow-color-light);
}

.crypto-address-container:active {
    transform: scale(0.98);
}

.crypto-address-label {
    font-size: 12px;
    color: var(--tg-hint);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.crypto-address {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    color: var(--tg-text);
    word-break: break-all;
    line-height: 1.4;
    margin-bottom: 8px;
}

.crypto-copy-hint {
    font-size: 12px;
    color: var(--tg-hint);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.crypto-copy-hint::before {
    content: "📋";
    font-size: 14px;
}

.crypto-success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--tg-blue);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(34, 158, 217, 0.3);
    z-index: 2000;
    opacity: 0;
    animation: successPulse 2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successPulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
}

/* Mobile optimizations for crypto section */
@media (max-width: 600px) {
    .crypto-dropdown {
        padding: 12px 14px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .crypto-option {
        padding: 12px 14px;
    }
    
    .crypto-qr {
        width: 160px;
        height: 160px;
    }
    
    .crypto-donation-card {
        padding: 16px;
    }
    
    .crypto-address {
        font-size: 12px;
    }
    
    .crypto-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .crypto-network {
        font-size: 12px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .crypto-dropdown {
        padding: 10px 12px;
        font-size: 13px;
        min-height: 40px;
    }
    
    .crypto-option {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .crypto-qr {
        width: 140px;
        height: 140px;
    }
    
    .crypto-donation-card {
        padding: 14px;
    }
    
    .crypto-address {
        font-size: 11px;
    }
    
    .crypto-address-container {
        padding: 12px;
    }
}

/* Donation Flow Bottom Sheet Styles */
.donation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.donation-modal.show {
    opacity: 1;
    transform: translateY(0);
}

.donation-modal-content {
    width: 100%;
    background-color: var(--tg-bg);
    border-radius: 20px 20px 0 0;
    padding: 24px;
    position: relative;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(143, 126, 252, 0.2);
    border-left: 1px solid rgba(143, 126, 252, 0.2);
    border-right: 1px solid rgba(143, 126, 252, 0.2);
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUpDonation 0.3s ease-out;
    transform: translateY(100%);
}

.donation-modal.show .donation-modal-content {
    transform: translateY(0);
}

/* Handle at the top of the donation modal */
.donation-modal-content::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background-color: var(--tg-hint);
    opacity: 0.5;
    border-radius: 3px;
}

@keyframes slideUpDonation {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.donation-header {
    text-align: center;
    margin-bottom: 24px;
    padding-top: 10px;
}

.donation-header h3 {
    font-family: 'Satoshi', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-text);
    margin: 0 0 8px 0;
}

.donation-header p {
    font-size: 14px;
    color: var(--tg-hint);
    margin: 0;
    line-height: 1.4;
}

.crypto-options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.crypto-option-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--card-bg);
    border: 1px solid var(--shadow-color-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 40px;
}

.crypto-option-item:hover {
    border-color: var(--tg-blue);
    box-shadow: 0 2px 8px var(--shadow-color-light);
    transform: translateY(-1px);
}

.crypto-option-item:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px var(--shadow-color-light);
}


.crypto-option-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.crypto-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--tg-text);
}

.crypto-network {
    font-size: 13px;
    color: var(--tg-hint);
    margin-left: auto;
}

.donation-cancel-button {
    width: 100%;
    padding: 14px;
    background: var(--shadow-color-light);
    color: var(--tg-hint);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.donation-cancel-button:hover {
    background: var(--tg-hint);
    color: var(--tg-bg);
}

.donation-cancel-button:active {
    transform: scale(0.98);
}

/* QR Code Display Styles */
.qr-container {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.qr-code {
    width: 200px;
    height: 200px;
    border: 4px solid var(--tg-bg);
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow-color-light);
}

.address-container {
    background: var(--card-bg);
    border: 1px solid var(--shadow-color-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.address-container:hover {
    border-color: var(--tg-blue);
    box-shadow: 0 2px 8px var(--shadow-color-light);
}

.address-container:active {
    transform: scale(0.98);
}

.address-label {
    font-size: 12px;
    color: var(--tg-hint);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.address-text {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    color: var(--tg-text);
    word-break: break-all;
    line-height: 1.4;
    margin-bottom: 8px;
    padding: 8px;
    background: var(--tg-bg);
    border-radius: 8px;
}

.copy-hint {
    font-size: 12px;
    color: var(--tg-hint);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.donation-success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--tg-blue);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(34, 158, 217, 0.3);
    z-index: 2000;
    opacity: 0;
    animation: donationSuccessPulse 2s ease;
}

@keyframes donationSuccessPulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
}

/* Light mode adjustments for donation flow */
@media (prefers-color-scheme: light) {
    .donation-modal {
        background-color: rgba(255, 255, 255, 0.7);
    }
    
    .donation-modal-content {
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(143, 126, 252, 0.3);
    }
    
    .crypto-option-item {
        background: rgba(143, 126, 252, 0.05);
        border: 1px solid rgba(143, 126, 252, 0.15);
    }
    
    .crypto-option-item:hover {
        background: rgba(143, 126, 252, 0.08);
        border-color: rgba(143, 126, 252, 0.25);
    }
    
    .address-container {
        background: rgba(143, 126, 252, 0.05);
        border: 1px solid rgba(143, 126, 252, 0.15);
    }
    
    .address-container:hover {
        background: rgba(143, 126, 252, 0.08);
        border-color: rgba(143, 126, 252, 0.25);
    }
}

/* Bank Details Styles */
.bank-details-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.bank-detail-item {
    background: var(--card-bg);
    border: 1px solid var(--shadow-color-light);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bank-detail-item:hover {
    border-color: var(--tg-blue);
    box-shadow: 0 2px 8px var(--shadow-color-light);
    transform: translateY(-1px);
}

.bank-detail-item:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px var(--shadow-color-light);
}

.bank-detail-label {
    font-size: 12px;
    color: var(--tg-hint);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.bank-detail-value {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    color: var(--tg-text);
    word-break: break-all;
    line-height: 1.4;
}

.bank-copy-hint {
    font-size: 12px;
    color: var(--tg-hint);
    text-align: center;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bank-copy-hint::before {
    content: "📋";
    font-size: 14px;
}

/* Mobile optimizations for donation flow */
@media (max-width: 600px) {
    .donation-modal-content {
        padding: 20px;
        max-height: 90vh;
    }
    
    .crypto-option-item {
        padding: 14px;
    }
    
    .qr-code {
        width: 180px;
        height: 180px;
    }
    
    .address-text {
        font-size: 12px;
    }
    
    .donation-header h3 {
        font-size: 18px;
    }
    
    .bank-detail-item {
        padding: 14px;
    }
    
    .bank-detail-value {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .donation-modal-content {
        padding: 16px;
    }
    
    .crypto-option-item {
        padding: 12px;
        gap: 12px;
    }
    
    .qr-code {
        width: 160px;
        height: 160px;
    }
    
    .address-text {
        font-size: 11px;
    }
    
    .crypto-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .bank-detail-item {
        padding: 12px;
    }
    
    .bank-detail-value {
        font-size: 12px;
    }
}
