:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --light-color: #ecf0f1;
    --dark-color: #34495e;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: var(--dark-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.password-generator {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    padding: 30px;
    margin: 20px 0;
}

.header {
    text-align: center;
    margin-bottom: 25px;
}

.header .logo {
    width: 185px;
    height: 80px;
    margin-bottom: 1px;
    object-fit: contain;
}

.header h1 {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 5px;
}

.header p {
    color: #7f8c8d;
    font-size: 14px;
}

.result {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    background-color: var(--light-color);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.password-display {
    flex-grow: 1;
    padding: 15px;
    font-size: 18px;
    word-break: break-all;
    color: var(--secondary-color);
    min-height: 50px;
}

.copy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background-color: #c0392b;
}

.options {
    margin-bottom: 25px;
}

.option {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.option input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.option label {
    flex: 1;
    cursor: pointer;
}

.option input[type="range"] {
    width: 100%;
    margin-top: 5px;
    cursor: pointer;
}

.generate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.generate-btn:active {
    transform: translateY(0);
}

.generate-btn i {
    margin-right: 8px;
    transition: transform 0.4s;
}

.generate-btn:hover i {
    transform: rotate(360deg);
}

.generate-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.4s;
}

.generate-btn:hover::after {
    left: 100%;
}

.strength-meter {
    margin-top: 20px;
}

.strength-bar {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #ddd;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

/* Banner */
.banner {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background-color: var(--secondary-color);
}

.banner-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: #FF0000;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer p {
    margin: 5px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .banner {
        max-height: 150px;
    }
    
    .password-generator {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .banner {
        max-height: 120px;
    }
    
    .footer {
        padding: 15px 0;
        font-size: 12px;
    }
    
    .password-display {
        font-size: 16px;
        padding: 10px;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .option label {
        font-size: 14px;
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.password-display {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}


/* ... (mantenha todas as regras anteriores) ... */

.security-warning {
    color: var(--success-color);
    font-size: 13px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Adicione ao final do arquivo */
.secure-badge {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: var(--success-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}