:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent: #3b82f6;
    --hover-bg: #2d2d2d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Профиль */
.profile { text-align: center; margin-top: 40px; }
.avatar img {
    width: 100px; height: 100px; border-radius: 50%;
    border: 3px solid var(--card-bg);
    margin-bottom: 15px;
}
h1 { font-size: 1.5rem; margin-bottom: 5px; }
.subtitle { color: var(--text-secondary); font-size: 0.9rem; }

/* Карточки */
.donation-list { display: flex; flex-direction: column; gap: 15px; }

.card {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    border: 1px solid #333;
}

.card:hover {
    background: var(--hover-bg);
    transform: translateY(-2px);
    border-color: #555;
}

.card:active { transform: scale(0.98); }

/* Иконки валют */
.card-icon {
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.usdt-color { background: rgba(38, 161, 123, 0.2); color: #26a17b; }
.btc-color { background: rgba(247, 147, 26, 0.2); color: #f7931a; }
.eth-color { background: rgba(98, 126, 234, 0.2); color: #627eea; }
.card-color { background: rgba(255, 255, 255, 0.1); color: #fff; }

.card-info { flex-grow: 1; overflow: hidden; }
.card-info h3 { font-size: 1rem; margin-bottom: 4px; }
.address {
    font-family: monospace;
    color: var(--text-secondary);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tap-hint { display: none; font-size: 0.7rem; color: var(--accent); margin-top: 2px; }
.card:hover .tap-hint { display: block; }
.card:hover .address { display: none; }

.card-action { color: var(--text-secondary); }

/* Подвал */
footer {
    text-align: center;
    margin-top: auto;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
footer a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
footer a:hover { color: var(--text-primary); }

/* Уведомление (Toast) */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: fixed;
    z-index: 1;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}
