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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: white;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5em;
    background: linear-gradient(135deg, #fff, #e94560);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pix-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.pix-key {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 16px;
    font-family: monospace;
    font-size: 1.2em;
    word-break: break-all;
    margin: 20px 0;
}

.copy-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin: 10px 0;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: scale(1.02);
}

.amount-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.amount-btn:hover,
.amount-btn.active {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
}

.custom-input {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.custom-input input {
    padding: 15px;
    border-radius: 50px;
    border: none;
    width: 200px;
}

.btn-donate {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s;
}

.btn-donate:hover {
    transform: scale(1.02);
}

.btn-buymeacoffee {
    background: linear-gradient(135deg, #FFDD00, #F5A623);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: #1a1a2e;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 1.1em;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-buymeacoffee:hover {
    transform: scale(1.02);
}

.btn-buymeacoffee img {
    height: 24px;
}

.instructions {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.instructions ol {
    margin-left: 20px;
    margin-top: 10px;
}

.instructions li {
    margin: 10px 0;
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8em;
}

.btn-login {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    margin-top: 20px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1a1a2e;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    text-align: center;
}

.close-modal {
    float: right;
    cursor: pointer;
    font-size: 24px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.3);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.divider span {
    padding: 0 15px;
    font-size: 0.9em;
}

/* --- ESTILOS DA LISTA DE CONTRIBUIDORES --- */
.contributors-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.contributors-section h2 {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contributors-list {
    margin: 20px 0;
}

.contributor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 8px;
    transition: background 0.3s;
}

.contributor-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contributor-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contributor-name {
    font-weight: 500;
}

.contributor-date {
    font-size: 0.8em;
    opacity: 0.6;
}

.contributor-amount {
    font-weight: 700;
    color: #28a745;
    font-size: 1.1em;
}

.total-raised {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.2), rgba(255, 107, 107, 0.2));
    border-radius: 12px;
    margin-top: 15px;
    font-size: 1.2em;
}

.total-raised span {
    color: #ffd700;
    font-size: 1.4em;
}

.no-contributors {
    text-align: center;
    padding: 30px;
    opacity: 0.7;
}

.error-message {
    text-align: center;
    padding: 20px;
    color: #ff6b6b;
}

.loading {
    text-align: center;
    padding: 20px;
    opacity: 0.7;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* --- BOTÃO ADMIN --- */
.btn-admin {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 0.8em;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.btn-admin:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}
