/* Estilos para a seção de download do Maxthon Browser */
.maxthon-download {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.maxthon-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.maxthon-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.maxthon-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.maxthon-icon {
    flex-shrink: 0;
}

.maxthon-icon img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.maxthon-info {
    flex: 1;
    color: #fff;
}

.maxthon-info h3 {
    color: #64b5f6;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.maxthon-info h2 {
    color: #fff;
    font-size: 28px;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.maxthon-info p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.maxthon-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.maxthon-features .feature {
    background: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(100, 181, 246, 0.3);
    transition: all 0.3s ease;
}

.maxthon-features .feature:hover {
    background: rgba(100, 181, 246, 0.3);
    transform: translateY(-2px);
}

.maxthon-download-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-maxthon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-maxthon.primary {
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(100, 181, 246, 0.4);
}

.btn-maxthon.primary:hover {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
    box-shadow: 0 8px 25px rgba(100, 181, 246, 0.6);
    transform: translateY(-2px);
}

.btn-maxthon.secondary {
    background: transparent;
    color: #64b5f6;
    border: 2px solid #64b5f6;
}

.btn-maxthon.secondary:hover {
    background: #64b5f6;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 181, 246, 0.3);
}

.btn-maxthon .btn-icon {
    font-size: 20px;
    font-weight: bold;
}

.btn-maxthon .btn-text {
    white-space: nowrap;
}

/* Responsividade */
@media (max-width: 768px) {
    .maxthon-download {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .maxthon-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .maxthon-info h2 {
        font-size: 24px;
    }
    
    .maxthon-features {
        justify-content: center;
    }
    
    .maxthon-download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-maxthon {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .maxthon-features .feature {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .btn-maxthon {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .maxthon-info h2 {
        font-size: 20px;
    }
    
    .maxthon-info p {
        font-size: 14px;
    }
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.maxthon-download {
    animation: fadeInUp 0.8s ease-out;
}

/* Efeito de brilho nos botões */
.btn-maxthon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-maxthon:hover::before {
    left: 100%;
}

/* Garantir que modais e elementos de registro tenham prioridade sobre a seção Maxthon */
#userRegister {
    z-index: 9999 !important;
}

#bgMask {
    z-index: 9998 !important;
}

.login-p {
    z-index: 10 !important;
    position: absolute !important;
}

/* Ajustar visibilidade do botão de registro */
#openRegisterWin {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Garantir que o container de login não seja afetado */
.container.login {
    position: relative;
    z-index: 5;
}

/* Ajustar espaçamento para evitar sobreposição */
.maxthon-download {
    clear: both;
    margin-top: 40px;
}

/* ===== SEÇÃO FLASH PLAYER ===== */

/* Estilos para a seção de download do Flash Player */
.flash-download {
    background: linear-gradient(135deg, #2e1a1a 0%, #3e1616 50%, #601f0f 100%);
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.flash-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="flash-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,100,100,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23flash-grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.flash-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.flash-icon {
    flex-shrink: 0;
}

.flash-icon img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.flash-info {
    flex: 1;
    color: #fff;
}

.flash-info h3 {
    color: #ff6b6b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.flash-info h2 {
    color: #fff;
    font-size: 28px;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.flash-info p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.flash-version {
    margin: 10px 0;
}

.flash-version small {
    color: #ff9999;
    font-size: 12px;
    background: rgba(255, 107, 107, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.flash-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.flash-features .feature {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.flash-features .feature:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}

.flash-download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.flash-info-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    text-align: center;
    max-width: 400px;
}

.flash-info-box small {
    color: #ffc107;
    font-size: 14px;
    font-weight: 500;
}

.btn-flash {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-flash.primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-flash.primary:hover {
    background: linear-gradient(135deg, #ff5252 0%, #f44336 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    transform: translateY(-2px);
}

.btn-flash.secondary {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-flash.secondary:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-flash .btn-icon {
    font-size: 20px;
    font-weight: bold;
}

.btn-flash .btn-text {
    white-space: nowrap;
}

/* Efeito de brilho nos botões do Flash */
.btn-flash::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-flash:hover::before {
    left: 100%;
}

/* Responsividade para Flash */
@media (max-width: 768px) {
    .flash-download {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .flash-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .flash-info h2 {
        font-size: 24px;
    }
    
    .flash-features {
        justify-content: center;
    }
    
    .flash-download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-flash {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .flash-features .feature {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .btn-flash {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .flash-info h2 {
        font-size: 20px;
    }
    
    .flash-info p {
        font-size: 14px;
    }
}

/* Animação de entrada para Flash */
.flash-download {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
