/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #a8edea 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Elementos decorativos de fundo */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 177, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 237, 234, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #ff6b6b;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b6b;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-mascot {
    width: 50px;
    height: 50px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.btn-sobre {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    margin-left: 8px;
}

.btn-sobre:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.btn-historias {
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    color: #2d3748;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 154, 158, 0.3);
    margin-left: 8px;
}

.btn-historias:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 154, 158, 0.4);
}

.btn-plano {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin-left: 8px;
}

.btn-plano:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-assinatura {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
    margin-left: 8px;
}

.btn-assinatura:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.btn-logout {
    background: linear-gradient(45deg, #ffecd2, #fcb69f);
    color: #2d3748;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 182, 159, 0.3);
}

.btn-logout:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(252, 182, 159, 0.4);
}

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

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

/* Main Content */
.main {
    padding: 2rem 0;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Formulário */
.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.sugestoes {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sugestao {
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
}

.sugestao:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* Botão Gerar */
.btn-gerar {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gerar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-gerar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Resultado */
.resultado {
    animation: fadeInUp 0.5s ease;
}

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

.historia-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#historia-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

#historia-content h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

#historia-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.acoes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-acao {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e1e5e9;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-acao:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #5a6fd8;
}

/* Estilos de Login */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.login-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.login-logo {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.25rem;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-form {
    text-align: left;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-error {
    background: #fee;
    color: #c33;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Header com usuário logado */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Modal Sobre */
.modal-about {
    max-width: 500px;
    border: 3px solid #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 234, 167, 0.1));
}

.about-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ffeaa7;
}

.about-header svg {
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.about-header h2 {
    color: #ff6b6b;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #2d3748;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about-features li {
    background: rgba(255, 107, 107, 0.1);
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 15px;
    border-left: 4px solid #ff6b6b;
    font-size: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .form-container,
    .historia-container {
        padding: 1.5rem;
    }
    
    .acoes {
        flex-direction: column;
    }
    
    .btn-acao {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .login-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .login-logo {
        font-size: 2rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-plano,
    .btn-logout {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}/* =
==== ESTILOS PARA HISTÓRIAS ===== */

.btn-historias {
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    color: #2d3748;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 154, 158, 0.3);
    margin-right: 8px;
}

.btn-historias:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 154, 158, 0.4);
}

.modal-large {
    max-width: 900px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
}

#historias-container {
    max-height: 70vh;
    overflow-y: auto;
}

.loading-historias {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: #718096;
}

.loading-historias .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 107, 107, 0.2);
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.empty-state, .error-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #718096;
}

.empty-state h3, .error-state h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.empty-state p, .error-state p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-criar, .btn-retry {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    margin-top: 1rem;
}

.btn-criar:hover, .btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.historias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.historia-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.historia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
}

.historia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff6b6b;
}

.historia-header {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}

.historia-header h3 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.historia-header small {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 500;
}

.historia-imagem {
    text-align: center;
    margin-bottom: 1rem;
}

.historia-thumb {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
}

.historia-thumb:hover {
    transform: scale(1.02);
}

.historia-preview {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.historia-preview strong {
    color: #ff6b6b;
}

.historia-texto {
    background: rgba(255, 107, 107, 0.05);
    padding: 0.8rem;
    border-radius: 10px;
    border-left: 3px solid #ff6b6b;
    margin-top: 0.5rem;
    font-style: italic;
}

.historia-acoes {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.btn-ler {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(116, 185, 255, 0.3);
    flex: 1;
}

.btn-ler:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 185, 255, 0.4);
}

/* Modal de Leitura */
.leitura-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ff6b6b;
    position: relative;
}

.btn-voltar {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(116, 185, 255, 0.3);
}

.btn-voltar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 185, 255, 0.4);
}

.leitura-header h2 {
    color: #ff6b6b;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.leitura-header small {
    color: #718096;
    font-size: 0.9rem;
}

.leitura-imagem {
    text-align: center;
    margin-bottom: 2rem;
}

.historia-img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid #ffeaa7;
    transition: transform 0.3s ease;
}

.historia-img:hover {
    transform: scale(1.02);
}

/* Imagem principal da história (quando gerada) */
.imagem-historia {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid #ffeaa7;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
}

.imagem-historia:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Container da imagem principal */
.historia-imagem {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 234, 167, 0.1);
    border-radius: 25px;
    border: 2px solid rgba(255, 234, 167, 0.3);
}

.leitura-conteudo {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
    text-align: justify;
}

.leitura-acoes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsividade */
@media (max-width: 768px) {
    .historias-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .historia-card {
        padding: 1.2rem;
    }
    
    .leitura-header {
        padding-top: 3rem;
    }
    
    .btn-voltar {
        position: static;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .leitura-conteudo {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .btn-historias {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .historia-card {
        padding: 1rem;
    }
    
    .historia-header h3 {
        font-size: 1.1rem;
    }
    
    .historia-preview {
        font-size: 0.9rem;
    }
}

/* Animações */
@keyframes historiaSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.historia-card {
    animation: historiaSlideIn 0.4s ease-out;
}

.historias-grid .historia-card:nth-child(1) { animation-delay: 0.1s; }
.historias-grid .historia-card:nth-child(2) { animation-delay: 0.2s; }
.historias-grid .historia-card:nth-child(3) { animation-delay: 0.3s; }
.historias-grid .historia-card:nth-child(4) { animation-delay: 0.4s; }/* ===== 
PAYWALL PERSUASIVO ===== */

.paywall-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.paywall-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.paywall-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.paywall-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.paywall-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.paywall-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.paywall-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.paywall-benefits {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.paywall-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.benefit-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.benefit-text p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
    margin: 0;
}

.paywall-urgency {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.urgency-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.paywall-urgency p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.paywall-urgency small {
    opacity: 0.8;
    font-size: 0.9rem;
}

.paywall-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.btn-premium-main {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #2d3748;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-premium-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.paywall-testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Responsividade do Paywall */
@media (max-width: 768px) {
    .paywall-premium {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .paywall-header h2 {
        font-size: 1.6rem;
    }
    
    .paywall-subtitle {
        font-size: 1rem;
    }
    
    .paywall-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .paywall-urgency {
        padding: 1rem;
    }
    
    .paywall-urgency p {
        font-size: 1rem;
    }
    
    .btn-premium-main {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .paywall-premium {
        padding: 1.5rem 1rem;
    }
    
    .paywall-icon {
        font-size: 3rem;
    }
    
    .paywall-header h2 {
        font-size: 1.4rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 1.5rem;
    }
}

/* Animações especiais para o paywall */
@keyframes paywall-entrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.paywall-premium {
    animation: paywall-entrance 0.6s ease-out;
}

/* Efeito de pulso no botão principal */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7); }
}

.btn-premium-main {
    animation: pulse-gold 2s ease-in-out infinite;
}

/* Efeito especial nos benefícios */
.benefit-item:hover .benefit-icon {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Contador visual para urgência */
.urgency-badge::before {
    content: '⏰';
    margin-right: 0.5rem;
    animation: tick 1s ease-in-out infinite;
}

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

/* Mascote flutuante pequeno no canto inferior esquerdo */
.mascot-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    animation: jumpMascot 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mascot-float:hover {
    transform: scale(1.15) translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.mascot-float svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes jumpMascot {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-8px) rotate(-2deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-8px) rotate(2deg); 
    }
}

/* Responsivo para dispositivos móveis */
@media (max-width: 768px) {
    .mascot-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        left: 15px;
        padding: 6px;
    }
    
    /* Ajustes para imagens em mobile */
    .imagem-historia {
        max-height: 250px;
        border-width: 2px;
        padding: 4px;
    }
    
    .historia-imagem {
        margin: 1rem 0;
        padding: 0.5rem;
    }
    
    .historia-thumb {
        height: 150px;
    }
    
    .historia-img {
        max-height: 300px;
        border-width: 2px;
    }
}
/* 
===== ESTILOS PARA PORTAL DE ASSINATURA ===== */

/* Loading States */
.subscription-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
}

.loading-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 107, 107, 0.2);
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

.loading-container h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.loading-container p {
    color: #718096;
    font-size: 1rem;
}

/* Error States */
.subscription-error {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
}

.error-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    border: 2px solid #fed7d7;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-container h3 {
    color: #e53e3e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-container p {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-retry {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Subscription Dashboard */
.subscription-dashboard {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header da Assinatura */
.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.status-badge.status-active {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.status-badge.status-cancelled {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
    color: white;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.status-badge.status-refunded {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.status-badge.status-expired {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.status-badge.status-inactive {
    background: linear-gradient(45deg, #a0aec0, #718096);
    color: white;
    box-shadow: 0 4px 15px rgba(160, 174, 192, 0.3);
}

.status-icon {
    font-size: 1.3rem;
}

.user-info .user-email {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Card Principal de Status */
.status-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.status-card.card-active {
    border-color: #48bb78;
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05), rgba(255, 255, 255, 0.95));
}

.status-card.card-cancelled {
    border-color: #ed8936;
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.05), rgba(255, 255, 255, 0.95));
}

.status-card.card-refunded {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(255, 255, 255, 0.95));
}

.status-card.card-expired {
    border-color: #e53e3e;
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.05), rgba(255, 255, 255, 0.95));
}

.status-content h2 {
    color: #2d3748;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.status-description {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Countdown do Período de Estorno */
.refund-countdown {
    background: linear-gradient(45deg, #ffd89b, #19547b);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 216, 155, 0.4);
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.countdown-icon {
    font-size: 1.5rem;
}

.countdown-label {
    font-size: 1.2rem;
    font-weight: 600;
}

.countdown-timer {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Datas Importantes */
.subscription-dates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.date-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.date-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.date-info {
    display: flex;
    flex-direction: column;
}

.date-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.date-value {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Botões de Ação */
.subscription-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-refund {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-refund:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-cancel {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
    color: white;
}

.btn-cancel:hover {
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.4);
}

.btn-reactivate {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
}

.btn-reactivate:hover {
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.btn-renew {
    background: linear-gradient(45deg, #ffd89b, #19547b);
    color: white;
}

.btn-renew:hover {
    box-shadow: 0 8px 25px rgba(255, 216, 155, 0.4);
}

.btn-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Estado Não Premium */
.non-premium-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.non-premium-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    border: 2px solid #ffeaa7;
}

.non-premium-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.non-premium-card h2 {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.non-premium-card p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.premium-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 234, 167, 0.2);
    border-radius: 10px;
    text-align: left;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-subscribe {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    width: 100%;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Histórico da Assinatura */
.subscription-history {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.subscription-history h3 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border-left: 4px solid #e2e8f0;
    transition: all 0.3s ease;
}

.history-item:hover {
    background: rgba(255, 255, 255, 1);
    border-left-color: #667eea;
    transform: translateX(5px);
}

.history-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.history-content {
    flex: 1;
}

.history-title {
    color: #2d3748;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.history-date {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.history-reason {
    color: #4a5568;
    font-size: 0.85rem;
    font-style: italic;
}

/* Modais de Ação */
.modal-action {
    max-width: 500px;
    width: 95%;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-icon.refund-icon {
    color: #667eea;
}

.modal-icon.cancel-icon {
    color: #ed8936;
}

.modal-icon.reactivate-icon {
    color: #48bb78;
}

.modal-header h2 {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #718096;
    font-size: 1rem;
}

.action-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Caixas de Informação */
.warning-box, .info-box, .success-box {
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.warning-box {
    background: rgba(237, 137, 54, 0.1);
    border: 1px solid rgba(237, 137, 54, 0.3);
}

.info-box {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.success-box {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.warning-icon, .info-icon, .success-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.warning-icon {
    color: #ed8936;
}

.info-icon {
    color: #667eea;
}

.success-icon {
    color: #48bb78;
}

.warning-box p, .info-box p, .success-box p {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Informações de Reativação */
.reactivation-info {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #718096;
    font-weight: 500;
}

.info-value {
    color: #2d3748;
    font-weight: 600;
}

/* Ações dos Modais */
.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.btn-danger {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.btn-warning {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 137, 54, 0.4);
}

.btn-success {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

/* Notificação Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
}

.notification-toast.toast-success {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
}

.notification-toast.toast-error {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
}

.notification-toast.toast-warning {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
    color: white;
}

.notification-toast.toast-info {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-message {
    font-weight: 500;
    line-height: 1.4;
}

/* Responsividade */
@media (max-width: 768px) {
    .subscription-dashboard {
        padding: 1rem 0;
    }

    .subscription-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .status-card {
        padding: 1.5rem;
    }

    .status-content h2 {
        font-size: 1.5rem;
    }

    .subscription-dates {
        grid-template-columns: 1fr;
    }

    .subscription-actions {
        grid-template-columns: 1fr;
    }

    .action-btn {
        padding: 1.2rem;
    }

    .btn-icon {
        font-size: 2rem;
    }

    .btn-title {
        font-size: 1.1rem;
    }

    .countdown-timer {
        font-size: 2rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions button {
        width: 100%;
    }

    .notification-toast {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }

    .notification-toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .status-badge {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .status-content h2 {
        font-size: 1.3rem;
    }

    .status-description {
        font-size: 1rem;
    }

    .date-item {
        padding: 1rem;
    }

    .date-icon {
        font-size: 1.5rem;
    }

    .action-btn {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .btn-content {
        align-items: center;
    }

    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
    }

    .modal-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .modal-icon {
        font-size: 2.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }
}

/* Animações */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.subscription-dashboard {
    animation: slideInFromBottom 0.6s ease-out;
}

.action-btn {
    animation: slideInFromRight 0.4s ease-out;
}

.action-btn:nth-child(1) { animation-delay: 0.1s; }
.action-btn:nth-child(2) { animation-delay: 0.2s; }
.action-btn:nth-child(3) { animation-delay: 0.3s; }
.action-btn:nth-child(4) { animation-delay: 0.4s; }

/* Efeitos especiais */
.refund-countdown {
    position: relative;
    overflow: hidden;
}

.refund-countdown::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Pulso para elementos importantes */
.status-badge.status-active {
    animation: pulse-active 2s ease-in-out infinite;
}

@keyframes pulse-active {
    0%, 100% { box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3); }
    50% { box-shadow: 0 4px 15px rgba(72, 187, 120, 0.6); }
}

.countdown-timer {
    animation: pulse-countdown 1.5s ease-in-out infinite;
}

@keyframes pulse-countdown {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}/* Estilos p
ara seção de ajuda na página de assinatura */
.help-section {
    margin: 30px 0;
}

.help-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #dee2e6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.help-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.help-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.help-content h4 {
    margin: 0 0 8px 0;
    color: #495057;
    font-size: 1.2em;
}

.help-content p {
    margin: 0 0 15px 0;
    color: #6c757d;
    line-height: 1.5;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.help-link:hover {
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.help-link-icon {
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .help-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .help-icon {
        font-size: 2em;
    }
}/* 
Estilos para o painel administrativo */
.btn-admin {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.modal-admin {
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 10px;
}

.admin-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.admin-header h2 {
    margin: 0 0 5px 0;
    font-size: 1.8em;
}

.admin-header p {
    margin: 0;
    opacity: 0.9;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.admin-tab-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.admin-tab-btn:hover {
    background: #f8f9fa;
}

.admin-tab-btn.active {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    border-left: 4px solid #dc3545;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 5px;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9em;
}

.admin-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.admin-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
}

.admin-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.admin-item:hover {
    background-color: #f8f9fa;
}

.admin-item:last-child {
    border-bottom: none;
}

.admin-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.admin-item-title {
    font-weight: bold;
    color: #495057;
}

.admin-item-date {
    color: #6c757d;
    font-size: 0.9em;
}

.admin-item-content {
    color: #6c757d;
    line-height: 1.4;
}

.admin-item-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.admin-item-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.admin-item-btn:hover {
    background: #e9ecef;
}

.admin-item-btn.danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.admin-item-btn.danger:hover {
    background: #f1b0b7;
}

@media (max-width: 768px) {
    .admin-tabs {
        flex-wrap: wrap;
    }
    
    .admin-tab-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .admin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .admin-actions input {
        margin: 5px 0 !important;
    }
}