/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00c853;
    --primary-dark: #00a044;
    --primary-gradient: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    --secondary-color: #ff6f00;
    --secondary-gradient: linear-gradient(135deg, #ff6f00 0%, #ffa726 100%);
    --danger-color: #f44336;
    --dark: #212121;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.logo {
    display: flex;
    align-items: center;
    order: 1;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: 8px;
    align-items: center;
    order: 2;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
}

.icon-btn:hover {
    background: rgba(0, 200, 83, 0.1);
}

.icon-btn svg {
    stroke: var(--primary-color);
    stroke-width: 2.5;
    width: 24px;
    height: 24px;
}

.logo h1 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo h1::before {
    content: '♥';
    color: #00c853;
    margin-right: 8px;
    -webkit-text-fill-color: #00c853;
}



/* Alerts */
.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    text-align: center;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 0;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
}

.hero-image {
    width: 100%;
    order: 1;
}

.hero-info {
    width: 100%;
    order: 2;
    padding: 3rem 0;
}

.hero-info .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Carrossel de Imagens */
.carrossel {
    position: relative;
    width: 100%;
    height: 250px !important;
    overflow: hidden;
    border-radius: 0;
    min-height: 250px !important;
    max-height: 250px !important;
}

.carrossel-container {
    position: relative;
    width: 100%;
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
}

.carrossel-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    opacity: 0 !important;
    transition: opacity 0.6s ease-in-out !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.carrossel-slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

.imagem-campanha {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    display: block !important;
    max-width: 100% !important;
    min-height: 250px !important;
}

/* Botões de Navegação */
.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s;
    border-radius: 0 4px 4px 0;
}

.carrossel-btn:hover {
    background: rgba(0, 200, 83, 0.8);
}

.carrossel-btn.prev {
    left: 0;
}

.carrossel-btn.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

/* Indicadores */
.carrossel-indicadores {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicador:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicador.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-info h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.descricao {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.criador-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.badge {
    background: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.badge.status-ativo {
    background: #d4edda;
    color: #155724;
}

/* Progresso */
.progresso {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 2px solid #e8e8e8;
    box-shadow: var(--shadow);
}

.progresso-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat small {
    color: #666;
    font-size: 0.9rem;
}

.progresso-barra {
    height: 24px;
    background: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.progresso-fill {
    height: 100%;
    background: var(--primary-gradient);
    transition: width 0.5s ease;
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.3);
    position: relative;
    overflow: hidden;
}

.progresso-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progresso-porcentagem {
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
}

/* Botão Doar */
.btn-doar {
    width: 100%;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 200, 83, 0.6);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
        transform: scale(1);
    }
}

.btn-doar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-doar:hover::before {
    width: 300px;
    height: 300px;
}

.btn-doar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
}

.btn-doar:active {
    transform: translateY(-1px);
}

/* Sobre Campanha */
.sobre-campanha {
    background: var(--white);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.sobre-campanha h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.sobre-campanha h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.sobre-conteudo {
    max-width: 900px;
}

.sobre-conteudo p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.sobre-conteudo h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.sobre-conteudo ul {
    list-style: none;
    margin-left: 1rem;
}

.sobre-conteudo ul li {
    padding: 0.5rem 0 0.5rem 2rem;
    font-size: 1.05rem;
    position: relative;
}

.sobre-conteudo ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.alerta-urgente {
    background: #fff3cd;
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
}

.alerta-urgente h4 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Doações Recentes */
.doacoes-recentes {
    background: var(--white);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.doacoes-recentes h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.doacoes-recentes h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.lista-doacoes {
    display: grid;
    gap: 1rem;
}

.doacao-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 1rem;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 1.2rem;
    border-radius: 12px;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
}

.doacao-item:hover {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.doacao-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: var(--shadow);
    border: 3px solid var(--white);
}

/* Cores variadas para avatares */
.doacao-item:nth-child(3n+1) .doacao-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.doacao-item:nth-child(3n+2) .doacao-avatar {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.doacao-item:nth-child(3n+3) .doacao-avatar {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.doacao-item:nth-child(5n+1) .doacao-avatar {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.doacao-item:nth-child(5n+2) .doacao-avatar {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.doacao-item:nth-child(7n+1) .doacao-avatar {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.doacao-item:nth-child(7n+2) .doacao-avatar {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.doacao-info strong {
    display: block;
    color: var(--dark);
}

.doacao-info small {
    color: #666;
    font-size: 0.85rem;
}

.doacao-valor strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.no-doacoes {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Informações */
.informacoes {
    background: var(--white);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.informacoes h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.informacoes h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e8e8e8;
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    width: 90%;
    max-width: 380px;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    background: rgba(0,0,0,0.05);
}

.close:hover {
    color: var(--white);
    background: var(--danger-color);
    transform: rotate(90deg);
}

.modal-content h3 {
    color: var(--dark);
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.modal-content p {
    color: #666;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

/* Formulário */
.form-group {
    margin-bottom: 0.7rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
    transform: translateY(-1px);
}

.valores-sugeridos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.valores-sugeridos button {
    padding: 0.7rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.valores-sugeridos button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.4s;
    z-index: -1;
}

.valores-sugeridos button:hover::before {
    left: 0;
}

.valores-sugeridos button:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3);
}

.valores-sugeridos button:active {
    transform: translateY(0);
}

.btn-submit {
    width: 100%;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 0.9rem;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-info h2 {
        font-size: 1.8rem;
    }

    .progresso-stats {
        grid-template-columns: 1fr;
    }

    .valores-sugeridos {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Removido flex-direction: column do header para manter layout horizontal */
}

@media (max-width: 480px) {
    .hero-info h2 {
        font-size: 1.5rem;
    }

    .valores-sugeridos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Modal PIX Styles */
.modal-pix {
    max-width: 600px !important;
    animation: modalZoomIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: visible;
}

@keyframes modalZoomIn {
    0% {
        transform: scale(0.5) rotate(-5deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.modal-pix::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #00c853, #00e676, #69f0ae, #00c853);
    background-size: 400% 400%;
    border-radius: 18px;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
    filter: blur(10px);
    opacity: 0.7;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pix-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #00c853 0%, #00e676 50%, #69f0ae 100%);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
    border-radius: 12px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 200, 83, 0.4), 0 0 20px rgba(0, 230, 118, 0.6);
    position: relative;
    overflow: hidden;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pix-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pix-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

.pix-header p {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.pix-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pix-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    box-shadow: var(--shadow);
}

.info-item {
    text-align: center;
}

.info-item strong {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.info-item span {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.qrcode-container {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 12px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

#qrcode {
    display: inline-block;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.2), 0 0 40px rgba(0, 230, 118, 0.3);
    animation: qrPulse 2s ease-in-out infinite;
    line-height: 0;
}

@keyframes qrPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 200, 83, 0.2), 0 0 40px rgba(0, 230, 118, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 30px rgba(0, 200, 83, 0.4), 0 0 60px rgba(0, 230, 118, 0.5);
    }
}

#qrcode img,
#qrcode canvas {
    display: block;
    margin: 0;
}

.qrcode-instrucao {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.pix-code-container {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.pix-code-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.pix-code {
    display: flex;
    gap: 0.5rem;
}

.pix-code input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    background: white;
}

.btn-copiar {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 200, 83, 0.5), 0 0 30px rgba(0, 230, 118, 0.4);
    }
}

.btn-copiar::before {
    content: '✨';
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    animation: sparkleMove 2s linear infinite;
}

@keyframes sparkleMove {
    0% {
        left: -30px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: calc(100% + 30px);
        opacity: 0;
    }
}

.btn-copiar:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.5), 0 0 40px rgba(0, 230, 118, 0.6);
    background-position: 100% 0;
}

.btn-copiar:active {
    transform: translateY(0);
}

.pix-alert {
    background: #fff3cd;
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    border-radius: 6px;
    color: #856404;
    font-size: 0.9rem;
}

.pix-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-verificar {
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-verificar:hover {
    background: var(--primary-dark);
}

.btn-fechar {
    padding: 1rem;
    background: #666;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-fechar:hover {
    background: #555;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Groups adicional */
.form-group small {
    color: #999;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* Status de Pagamento */
.pix-status {
    text-align: center;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    background: #f8f9fa;
}

.status-aguardando {
    color: #856404;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-pago {
    color: #155724;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Botão único */
.btn-fechar-unico {
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-fechar-unico:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-fechar-unico:active {
    transform: translateY(0);
}

/* Overlay de confirmação de pagamento */
.pagamento-confirmado-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
    animation: fadeIn 0.3s ease-in;
}

.confirmacao-box {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    animation: slideUp 0.3s ease-out;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.confirmacao-box h3 {
    color: #28a745;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.confirmacao-box p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.recarregando {
    color: #999 !important;
    font-size: 0.9rem !important;
    font-style: italic;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Modal PIX */
@media (max-width: 768px) {
    .modal-pix {
        width: 95%;
        max-width: 95%;
        margin: 1rem;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .pix-header h3 {
        font-size: 1.2rem;
    }
    
    .pix-info {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .info-item {
        font-size: 0.9rem;
    }
    
    .qrcode-container {
        padding: 1rem !important;
        min-height: auto !important;
    }
    
    #qrcode {
        padding: 0.8rem !important;
        max-width: 95% !important;
    }
    
    #qrcode canvas,
    #qrcode img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Carrossel Mobile */
    .carrossel {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .carrossel-container {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .carrossel-slide {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .imagem-campanha {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .carrossel-btn {
        padding: 0.6rem 0.8rem !important;
        font-size: 1.2rem !important;
    }
    
    .carrossel-indicadores {
        bottom: 10px !important;
        gap: 8px !important;
    }
    
    .indicador {
        width: 10px !important;
        height: 10px !important;
    }
    
    .pix-code {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .pix-code input {
        font-size: 0.75rem;
        padding: 0.8rem;
    }
    
    .btn-copiar {
        width: 100%;
        padding: 1rem;
    }
    
    .pix-status {
        padding: 1rem;
    }
    
    .status-aguardando,
    .status-pago {
        font-size: 1rem;
    }
    
    .pix-actions {
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }
    
    .confirmacao-box {
        padding: 2rem;
        margin: 1rem;
    }
    
    .check-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .confirmacao-box h3 {
        font-size: 1.4rem;
    }
}
