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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.gradient-sphere.delay {
    top: auto;
    bottom: -200px;
    left: -200px;
    right: auto;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.logo-emoji {
    font-size: 50px;
    animation: fly 3s ease-in-out infinite;
}

@keyframes fly {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

.logo-text {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e0d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text span {
    background: linear-gradient(135deg, #ffd89b 0%, #c7e9fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    font-weight: 500;
}

.emoji {
    display: inline-block;
    animation: bounce 1s ease-in-out infinite;
}

.operadoras-badge {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.card {
    background: rgba(255,255,255,0.98);
    border-radius: 32px;
    padding: 32px 28px;
    margin-bottom: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

.input-emoji {
    margin-right: 8px;
    font-size: 18px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.input-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.valor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.valor-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.valor-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

.valor-btn.selected {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(245,87,108,0.4);
}

.valor-recarga {
    font-size: 16px;
    font-weight: 700;
}

.valor-pago {
    font-size: 12px;
    opacity: 0.9;
}

.valor-btn small {
    font-size: 11px;
    opacity: 0.8;
}

.loading-valores {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 14px;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #00d4ff 0%, #667eea 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,212,255,0.3);
}

.btn-emoji {
    font-size: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

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

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

.message-box {
    text-align: center;
    padding: 20px;
}

.qr-container {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 20px;
}

.qr-container img {
    max-width: 200px;
    height: auto;
}

.qr-copia-cola {
    text-align: center;
    margin-top: 20px;
}

.btn-copiar {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copiar:hover {
    background: #5a67d8;
    transform: scale(1.02);
}

.payment-info {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 16px;
}

.status-pagamento {
    margin-top: 15px;
    padding: 10px;
    border-radius: 40px;
    background: #fff3cd;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
}

.status-pagamento.paid {
    background: #d4edda;
    color: #155724;
}

@media (max-width: 480px) {
    .card {
        padding: 24px 20px;
    }
    
    .logo-text {
        font-size: 32px;
    }
    
    .valor-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}